Skip to content

Backlog capture: housekeeping needs a light path — a reviewed chore PR, not a milestone — and a roles sync verb #343

Closed

Description

@davison

Backlog capture (deliberately unlabeled). Operator, 2026-09-11, from an agent's note in another CodeCrew project: "the codecrew CLI has moved to protocol 2.0 and reports all five role contracts drifted from the embedded v2.0.1 text, so a housekeeping milestone is due after M3."

The observation. The protocol offers exactly one path for any change: milestone → task → plan → PR → review → verdict → record. The implementer contract's first obligation is "no task issue, no work", and a task must be a sub-issue of a milestone. So an agent that sees five contract files drifted from the installed release concludes, correctly under the contract, that a milestone is due — and the project runs stale contracts for the whole of the milestone in progress. This hub did the same in M11 ("Housekeeping": a README cut and a commitlint config), which produced a record nobody needed.

The SPEC half-admits a lighter path already: §7 says contracts are the project's fork, roles diff the mechanism and reconciliation the project's judgment, and status's drift note calls the quiet period between milestones the time to reconcile. That describes an operator making a commit, not a milestone. The contract and the SPEC disagree.

What the ceremony buys, per step. The gates make agent work auditable: a plan before code, decisions recorded as they happen, an independent review, a QA verdict against a requirement, a record. For "make these five files equal the embedded v2.0.1 text" none of those adds information the diff does not carry: the plan is the command, there is no decision, QA would verify that a file equals a constant. The one step that earns its keep is the review — and the org ruleset requires it anyway.

Shape proposed.

  1. Housekeeping is defined mechanically, not by size. A change qualifies when a tool states the target and the diff is the whole decision: contracts to the embedded release, labels to the palette, a dependency bump with green CI, a typo. "Small" is not the test; "no Decision to write" is. The moment the PR body needs a "because", it is a task.
  2. The light path is a PR plus the reviewer seat's approval, nothing else. A chore: conventional commit whose body names the tool that defined the target; a PR; the reviewer's approval; merge. No task issue, no milestone, no plan, no verdict, no record entry. task finish is not involved, so the review and the ruleset are the gate.
  3. Reconciliation gets a verb. roles sync writes the embedded contracts into .codecrew/roles/ in the shape migrate uses — one local commit, never pushed; the operator opens the PR — so the commit message is the record. status's drift note names it.
  4. The fence is explicit in both contracts. The implementer contract's "no task issue, no work" gains the exception and its test; the reviewer contract's checklist carries the same test (a housekeeping PR whose diff needs explaining is refused as one and sent back for a task). The risk is classification creep, not the path itself.

This is a protocol change — the implementer and coordinator contracts, SPEC §4's stance that every change has a task, §7's reconciliation text — so it waits for the operator to lift the bedding-in rule (M16's Goal). It should be in the first protocol milestone after that.

Source: the operator's question, 2026-09-11, and the coordination layer's assessment; SPEC §7; .codecrew/roles/implementer.md ("No task issue, no work"); the M11 record.

Activity

  1. davison commented on Sep 23, 2026

    @davison
    ContributorAuthor

    Appraisal (coordination layer, 2026-09-23; agreed with the operator). Valid, and adopted into the next protocol milestone together with #348, #349 and #350 — the operator is lifting the bedding-in rule for it. Three refinements to the shape:

    1. The fence cannot lean on the ruleset. "The org ruleset requires it anyway" holds for radiusred, not for a personal repository or a plan tier without rulesets on private repos. In the pure solo tier there is no independent reviewer at all, so a light path defined as "PR plus the reviewer's approval" has no gate there. The contract text has to say what the light path is in each tier — at minimum, that in pure solo it is an operator confirmation on the PR, as task finish already posts — rather than assume the ruleset.
    2. roles sync never clobbers a fork. Contracts edited in place (before .local.md existed, or by hand since) are the project's fork (SPEC §7). The verb writes a contract only where the local file equals some embedded release's text or is absent; anything else it refuses or diffs, naming roles diff and the .local.md mechanism.
    3. Backlog capture: status reports contract drift but never contract absence #266 folds in. A contract added upstream with no local file is the same reconciliation: roles sync writes it, and status reports its absence the way it reports drift. Adopt Backlog capture: status reports contract drift but never contract absence #266 with this.

    The record delivery in #349 is proposed to ride this path — see the appraisal there.

  2. davison commented on Sep 23, 2026

    @davison
    ContributorAuthor

    Adopted by #364 — this issue is delivered as that task, and gh codecrew task finish closes it when the task's pull request merges (SPEC §4). The PR needs no Closes line for it.

  3. radiusred-cody commented on Sep 24, 2026

    @radiusred-cody
    Contributor

    Closed by gh codecrew task finish 364: adopted by #364 and delivered by #368, merged as eef858e.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions