chore: kernel doc-comment and stale-comment fixes #128
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.36) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.36 · 206 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.319
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #128"
general
weight: 0.35
garrickdabbs
No behaviour change — doc-comment and stale-comment fixes only.
kernel/src/main.rs: the doc comment describing the guard-page stack-overflow mechanism satabove
force_oominstead offorce_stack_overflow. Moved it to the right function.main.rs: the inline comment "Guard page at TEST_STACK_BASE - 4 KiB" named a constant thatdoesn't exist. Reworded in terms of
base.main.rsmodule doc: replaced the stale "P1.1 state" opening with a current summary of theP1.1–P1.7 boot sequence.
main.rs: moved theRSDPrequest static up with the other Limine requests, betweenREQUESTS_STARTandREQUESTS_END, for readability (linker.ldalready orders the sectionscorrectly regardless of source order, so this changes nothing at runtime).
kernel/src/test.rs,interrupts_are_disabled_at_boot: the comment "we have no IDT yet" wasstale — the IDT is loaded before tests run. Reworded to say interrupts stay off until
kmainenables them after the tests (verified against
main.rs:test_main()runs beforeenable_interrupts()).cargo fmt --check,cargo clippy --workspace --exclude chisel -- -D warnings,cargo clippy -p chisel --target x86_64-unknown-none -- -D warnings, andcargo xtask docs-gate --base origin/mainall pass locally.Docs-only/comment change, no
task:ID (not a PLAN.md roadmap task).