Skip to content

Lane Y: macro/micro lifecycle orchestrator — name, grouping, home #2948

Closed

Description

@kyle-sexton

Parent

Refs #2933. Source: topic pocock-shipping-breakdown (PR backfilled when opened). Deferred interview question Q18 — arbiter: USER-RESERVED (consumer-facing naming and flow grouping).

What to decide

The marketplace has the phases (discovery → pre-planning → planning → implementation → testing → review) but no named grouping for the macro workflow: those phases spanning a whole spec/container, with micro cycles of the same phases inside each work item. Design requirements gathered so far:

  • Must express BOTH PR topologies as configuration, not doctrine: per-item PRs (independent parallel items) and integration-branch/single-PR with items as sequential checkpoints (the Pocock flow: prompt → run → clear → close item → next → one PR at the end)
  • Quality-gate + e2e verification placement: repeatable inside micro cycles AND once at macro close (relates to Lane D's container close-out review)
  • Distributed execution: cloud agent + local machine on the same feature branch requires shared-branch push/pull discipline + item claims; parallel items require separate branches — the orchestrator should say which mode is in effect
  • Vocabulary decision: item vs checkpoint vs phase boundary (an item is always a graph node; only sometimes a checkpoint) — feed resolved terms to the glossary
  • Candidate homes to evaluate (not presumed): session-flow:workflow, work-items:work/work-loop, a new skill, or a documented composition pattern with no new skill

Acceptance criteria

  • Named, documented macro flow with its micro relationship, PR-topology configuration, and phase vocabulary
  • Decision on skill home recorded (build vs document-composition), with the user making the naming call

Blocked by

None — can start immediately (Lane A and Lane D outputs feed it but are not prerequisites for the design conversation).

Activity

  1. added
    needs-human
    on Aug 17, 2026
  2. added
    needs-triage
    on Aug 17, 2026
  3. kyle-sexton commented on Aug 17, 2026

    @kyle-sexton
    MemberAuthor

    Design resolved (interview 2026-08-17, maintainer accepted all recommendations; Q18's USER-RESERVED naming call made by the maintainer). The locked design — implementation sessions execute this, deviations escalate:

    1. Shape and home: a THIN user-invocable router skill, /work-items:ship, homed in work-items (the macro state it reads — container, frontier, sub-item rollup — lives on the tracker seam that plugin owns; Lane A's container lifecycle just landed there via Lane A: spec-on-tracker lifecycle — publish, pass-by-reference, close-at-ship #2934/PR feat(work-items): spec-on-tracker container lifecycle, remappable container label #2996). It owns the macro map ("where is this spec's journey, what's next") and ROUTES to existing machinery — decompose, work, plan close-out, review, session-flow — never duplicating mechanics. Rejected: documentation-only (undiscoverable at the moment of need); extending session-flow:workflow (session-continuation altitude, cross-plugin seam coupling); extending work-loop (autonomous drain lane, wrong altitude). Name rejected: orchestrate (collides with session-flow:orchestrate), journey/lifecycle/pipeline (declined in favor of ship).
    2. PR topology is per-container, chosen at decompose's approval gate, recorded as a durable line in the container body — **Execution shape:** per-item PRs (default) | integration branch → single PR. Never a repo-level config (would force one topology on all efforts). /work-items:ship reads the line and states the active mode's discipline: shared-branch ⇒ item claims + mid-flight lease renewal + push/pull ordering; parallel ⇒ separate branches + per-item PRs. Decompose's container-lifecycle section gains the one-line prompt at the existing approval gate.
    3. Vocabulary to canonize (glossary via /domain-driven-design:curate-language at implementation time): item = always a node in the dependency graph, phase-agnostic; checkpoint = an item closed within a shared-branch flow (progress durably recorded; safe to clear context); phase boundary = the session-level decision moment (continue/clear/compact/handoff). A checkpoint is a phase boundary with durable progress; not every phase boundary is a checkpoint.
    4. Consumer-configurability doctrine applies throughout: the skill hard-codes no labels, paths, or topology — container label resolves from the binding (per PR feat(work-items): spec-on-tracker container lifecycle, remappable container label #2996), topology from the container body, phase machinery by presence-gated composition.

    Requirements this design answers (accumulated live on the board 2026-08-17): dual PR topologies observed in practice (this very topic shipped checkpoint-style — one branch, items closed sequentially, single PR — while lane items ship per-item PRs); distributed cloud+local execution needing stated mode discipline; the sub-issue/checkpoint/phase-boundary terminology collision surfaced during publication.

    Implementation in a fresh worker session per the container's execution contract; work-items version bump + CHANGELOG; evals for the router's mode statements.


    Generated by Claude Code

  4. added
    agent-ready
    and removed
    needs-human
    on Aug 17, 2026
  5. kyle-sexton commented on Aug 19, 2026

    @kyle-sexton
    MemberAuthor

    Implementation up as PR #3010 (per-item PR per the container's execution contract; closes this issue on merge). The locked design was implemented as specified: thin /work-items:ship router homed in work-items (macro map + routing only, seam verbs for container/rollup/frontier, mutates nothing on the happy path), per-container **Execution shape:** line chosen at decompose's approval gate (per-item PRs default | integration branch → single PR, absent-line default applied loudly), each mode's discipline stated (shared-branch ⇒ seam claims + mid-flight lease renewal + pull/push ordering; parallel ⇒ separate branches + per-item PRs), container label binding-resolved throughout. work-items 0.35.31 → 0.36.0; 5 evals cover the router's mode statements.

    One deviation to record, per the design's "glossary via /domain-driven-design:curate-language at implementation time": that skill's convention-resolution ladder defers glossary creation when no repo glossary convention exists and interaction is unavailable (rung 5) — both true in this worker session. The item / checkpoint / phase-boundary vocabulary is therefore canonized in the new plugins/work-items/reference/execution-shape.md (which decompose and ship cite), with the deferral recorded in that file; a future interactive session can run /domain-driven-design:curate-language to establish the marketplace-wide glossary and lift the terms from there. Semantics match the locked design exactly (item = always a graph node; checkpoint = item closed within a shared-branch flow; phase boundary = session-level decision moment; a checkpoint is a phase boundary with durable progress, not vice versa).


    Generated by Claude Code

  6. added 2 commits that reference this issue on Aug 19, 2026
    8ef3928
    7c3557b
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

    agent-readyneeds-triage

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions