Skip to content

feat(loop)!: delete the polling loop (v2.0.0) - #101

Merged
Ardnived merged 1 commit into
mainfrom
claude/retire-polling-loop
Sep 16, 2026
Merged

Ardnived merged 1 commit into
mainfrom
claude/retire-polling-loop

Conversation

@Ardnived

Copy link
Copy Markdown
Contributor

Steps 2 and 3 of docs/cleanup.md. The four product-repo callers stopped naming state-machine.yml first — a caller pointing at a workflow that does not exist fails the whole run — and all four are merged.

Deleted

workflow/skills/work-routine/, preflight/ and journal/, with their scripts. state-machine.yml and this repo's own legacy caller job. writing.budgets.journalComment's default in budget.mjs.

Nothing has read any of it since BOT_DISPATCH went to on: handler-preflight and handler-journal replaced the bookends, the handlers replaced the ladder. BOT_DISPATCH=off now means "nothing runs" rather than "fall back", and each caller's header comment says so.

The rule delta is wrong, and that is worth knowing

directives: 61 → 61        No directive disappeared.

That is false. The three skills carried 25 directives between them, and rule-delta.mjs never visits a deleted file — it walks the current tree. So the repo's standing rule ("account for every removal") has a blind spot exactly where a deletion happens. Adjudicated by hand instead:

Survive elsewhere (4). Never call get_comments on a journal issue and Do not try to end the session are in handler-journal. Never improvise around a missing credential and Never call subscribe_pr_activity are in handler-preflight. Never diagnose the harness survives as "Report anomalies. Do not explain them."

Deliberately gone (20). Each names a mechanism that no longer exists: Stage, the bot assignee, per-run ceilings, Hold Until, the rungs, and the merge decisions the ruleset now owns — Never derive the decision yourself, Never decide mergeability yourself, Do not merge, Never substitute method:get_status.

One judgement call. Never read the board back has no successor. A session cannot reach Projects v2 at all (probed absent), so the rule is unreachable rather than relaxed.

docs/why.md keeps all fourteen stories

Retired under a ## Retired heading, not deleted, each with one line saying what replaced it. They are failures someone paid for, and the mechanism going away does not make the lesson wrong. 71 live sections remain.

Checks

88 tests pass. claude plugin validate --strict passes. No dangling reference to a retired anchor or a deleted skill anywhere in workflow/, docs/, README.md or AGENTS.md.

plugin.json → 2.0.0. It is a cache key, and this removes skills an installed plugin would otherwise keep offering.

work-routine, preflight and journal go, with state-machine.yml and this
repo's legacy caller job. Nothing has read them since BOT_DISPATCH went to
`on`: handler-preflight and handler-journal replaced the bookends, and the
handlers replaced the ladder.

docs/why.md keeps all fourteen retired stories under a `## Retired`
heading, each saying what took its place. They are failures someone paid
for, and the mechanism going away does not make the lesson wrong.

rule-delta reports 61 -> 61 and no directive gone, which is wrong: it never
visits a deleted file, so the 25 directives those three skills carried were
invisible to it. Adjudicated by hand in the PR body.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
@Ardnived
Ardnived merged commit a575047 into main Sep 16, 2026
3 checks passed
@Ardnived
Ardnived deleted the claude/retire-polling-loop branch September 16, 2026 00:59
@sydevs-bot sydevs-bot moved this from Revising to Done in SYDevelopers Technical Roadmap Sep 16, 2026
Ardnived pushed a commit that referenced this pull request Oct 9, 2026
The version string is the installed plugin's cache directory name, so an
unchanged one keeps serving the old skills however far main has moved. It
has stood at 2.8.1 since #161 while #165 and #167 rewrote 47 files under
workflow/skills, workflow/hooks and workflow/lib — every installed copy
still runs the pre-#165 skill names.

Major, not minor: #165 is `feat(loop)!`, and it renamed or deleted nearly
every skill, so an installed copy's command names are gone. The two prior
`feat(loop)!` commits each took a major bump — #71 to 1.0.0 and #101 to
2.0.0.

Found by Friday's cut-release audit.


Claude-Session: https://claude.ai/code/session_0134LSrTLenQog7g9n7TShtV

Co-authored-by: Claude <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

1 participant