Repository navigation
feat(program-tending): slice 2 — real epics + roadmaps sections (#1352) - #8377
Conversation
Epics: child progress from body refs verified live, body-vs-reality mismatches, 7-day silence check-ins, completion proposals, hard-stop + PR guards, 7-day re-tend suppression. Roadmaps: certain drift (forward item, all refs closed) fixed by PR removing the item; ambiguous drift flagged on #1352 with meta/roadmap-drift; Done rows never edited. Dry-run by default; --live posts via the token; 12-action run cap. Workflow: live mode, write permissions, 30m timeout. 22 unit tests pass; live dry-run on developing-today/code planned 9 epic comments + 1 roadmap flag, certain drift verified clean.
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 24 minutes. View limit details
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. |
Codex Review Summary: ✅ CompletedThis 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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 743f1213e2
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…epo token + write isolation, completion suppression, table-row roadmaps, git identity, link-label refs (#1352)
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6f6efa0014
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| # other cross-repo workflows here already use; fall back to | ||
| # the workflow token when it is not configured. | ||
| GH_TOKEN: ${{ secrets.REPO_AUTOMATION_TOKEN || github.token }} | ||
| run: python3 -I scripts/program_tending.py --run --live |
There was a problem hiding this comment.
Register the newly live Actions schedule
Enabling --live changes this daily 13:00 UTC job from read-only reporting to scheduled writes, but the commit does not update doc/fleet-schedule-registry.md. Its GitHub Actions section lists only bws-freshness; the existing program-tending entry describes a separate Muse schedule at daily@09:12:00. Register this Actions job and its live behavior in the same PR, as required by the root schedule-maintenance rule, so the fleet inventory reflects the automation being enabled.
AGENTS.md reference: AGENTS.md:L53-L58
Useful? React with 👍 / 👎.
| _REF_RE = re.compile(r"(?<![\w/])#(\d+)") | ||
| _URL_REF_RE = re.compile(r"github\.com/([\w.-]+/[\w.-]+)/(?:issues|pull)/(\d+)") |
There was a problem hiding this comment.
Preserve qualified references before classifying certain drift
The checked-in planning/roadmaps/mcpx.md explicitly uses nix#N references, but neither reference regex recognizes that format: the bare-reference regex rejects a preceding word character. Consequently, the Legacy client robustness row loses its nix#201 remaining-work reference while retaining the local references describing landed work. Once those local references are closed, _roadmap_drift classifies the whole row as certain drift and proposes deleting work that remains outstanding. Parse qualified references and resolve them, or retain them as unverified so they prevent automatic removal.
Useful? React with 👍 / 👎.
| by_file.setdefault(entry["file"], set()).add(entry["line"]) | ||
| for rel, linenos in by_file.items(): | ||
| _remove_lines(root / rel, linenos) | ||
| branch = f"program-tending/roadmap-drift-{today}" |
There was a problem hiding this comment.
Reuse outstanding roadmap repair PRs across daily runs
If a roadmap repair PR remains open until the following day's scheduled run, the checkout still contains the same drift, but this date-based branch name causes _open_drift_pr to publish another branch and PR for the same removals. There is no outstanding-PR lookup in this path. The inspected gh pr create --help describes the command as “Create a pull request on GitHub,” and the invocation here supplies each newly dated branch as --head. Look up an existing tending repair PR and update or skip it rather than creating duplicate review work every day until someone merges the first repair.
Useful? React with 👍 / 👎.
Program-tending slice 2/3 for issue #1352 (task 8167, lane code-j): the epics and roadmaps sections of
scripts/program_tending.pyare real now. Projects / stalled-PRs / loose-ends remain slice 3 stubs.Epics
epicissues per repo: child progress computed from the issue refs in the body and verified against live issue state (memoised per run); body-vs-reality checkbox mismatches counted.status/blocked). An epic tended within 7 days (marker comment) is skipped; hard-stop labels and PRs returned by the issues endpoint are skipped.Roadmaps
ROADMAP.md+planning/roadmaps/*.mdin the checked-out home repo vs live issue states.meta/roadmap-drift, per the 2026-11-01 precedent / issue docs(roadmap): replace the finished Now rows in ROADMAP.md — #308/#309/#311 closed 2026-11-01 (code + nix set) #4412.Runner / workflow
--liveposts (comments, drift label, drift PR via git+gh) and degrades to dry-run when no token is present. 12-action cap per run shared across sections.--livewithcontents/issues/pull-requests: writeand a 30-minute timeout; schedule and run-log shape unchanged.Verification
python3 -m unittest discover -s scripts/tests -p 'test_program_tending.py'— 22 pass (11 slice-1 contracts preserved, 11 new slice-2 tests).--run --repo developing-today/code, 2026-11-11): 43 epics checked — 8 completion proposals + 1 status check-in planned, 1 hard-stop skip, body-vs-reality mismatches on 5 epics; roadmaps: certain drift verified clean across 7 files, 1 ambiguous item flagged (ROADMAP.md Next item referencing the Phase 3: range read_flight buffers frames with no cap while more is set #178–P5.6: document removal keeps content; who may remove and what 'stops new content' means #195 range — one end closed, one open). Full record on issue Program tending: scheduled care for roadmaps, epics, projects, and stalled PRs #1352.Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.