Repository navigation
refactor: shrink backlog-doctor.js and setup-dev-backlog.js to the surviving guards (#446) - #454
Conversation
…rviving guards (#446) The doctor keeps only the shared-state checks charter rev 19 admits: active_sprint (overlap / scopeless warn), sprint_shape, in_flight_trace, in_flight_staleness, context_bloat. Gone: buildReassessSignal and all its accounting (closed-sprint counting, triage/*-reassess.md lookup, sprints_since_last_report, accounting_rule, the reassess_signal JSON key and its text line), the legacy_execution_root check, and the --close-summary / --closing-sprint / --reassess-threshold flags that only fed them. Reassess is a human call at sprint close, not a counter. 795 -> 490 lines. sprint-close.sh still runs the doctor before the status flip and echoes the [PASS]/[WARN]/[FAIL] lines under its own "=== Backlog Doctor (pre-close) ===" header; it no longer prints a reassess summary. Setup is create-root + legacy `backlog/` migration only: the GitHub-evidence probe (isGithubRemote / collectGithubEvidence / githubAvailabilityFromEvidence, no caller outside its own tests) and the undocumented --project-name / positional name are removed; --tracker, --non-interactive, --json, --help stay. config.yml is still never written -- nothing reads it. 374 -> 150 lines. execution-root.js drops the two exports nothing imports. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01X9gZYk7FcYSLAZBBe7JXvZ
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01X9gZYk7FcYSLAZBBe7JXvZ
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01X9gZYk7FcYSLAZBBe7JXvZ
|
GPT-6 Astra read-only review: MERGE. Its one caution (between-sprints |
Summary
backlog-doctor.js795 → 490: keepsactive_sprint,sprint_shape,in_flight_trace,in_flight_staleness,context_bloat(names, per-track tags,schema_version: 1,exit_hintunchanged); drops the reassess-signal counter and accounting, the legacy-root check, and the close-summary/closing-sprint/reassess-threshold flags only they fed. Not ≤ 400: the remaining lines are the five checks' own bodies, and the issue said cut, don't refactor.sprint-close.shno longer prints a reassess summary (reassess is a human call at close).setup-dev-backlog.js374 → 150: create root + legacybacklog/migration only; does not writeconfig.yml(nothing reads it);--trackeraccepted and ignored with the notice; GitHub-evidence probe,--project-name,--dry-runremoved (no consumer)._context.md(reassess gotcha) updated. −908 lines. Decided by charter rev 19.Test plan
node --test161 pass (exit 0);bash tests/smoke/smoke-test.sh165/165 (exit 0); doc-drift OK; live doctor on this repo passesCloses #446 (part of #440).
🤖 Generated with Claude Code
https://claude.ai/code/session_01X9gZYk7FcYSLAZBBe7JXvZ