Skip to content

iamcxa/kc-dev-flow

v3.0.0MIT

Profile-native POC, Pilot, and Production delivery routes with a minimal shared authority core.

KC Dev Flow

KC Dev Flow supplies one minimal authority core and three profile-native delivery routes. A repository keeps its own tracker, iteration authority, workflow runtime, and delivery provider. The design rationale records the observed pain, trade-offs, directional evidence, and conditions that would falsify this direction.

Routes

ProfileWorking routeIntended result
POC / Explorationbuild -> proveOne real journey and its riskiest assumption are observed; cleanup and unproved limits are recorded.
Pilot / Product sliceshape -> build -> verify-deliverA bounded slice works for limited real use with appropriate persistence, diagnostics, recovery, and data safety.
Productionshape -> build -> verify -> releaseAn operated capability has the applicable lifecycle, compatibility, recovery, observability, integrity, rollback, release, and ownership proof.
flowchart TB
    A["Backlog<br/>capture the problem"] --> B["Captain selects a profile<br/>commit the work-item receipt"]
    B --> L["At each working stage, load<br/>shared core + selected base + selected stage"]
    L --> C{Selected profile}

    C -->|POC| P1["Build<br/>smallest real journey"]
    P1 --> P2["RoboRev exit observation<br/>High+ · Spacedock adopters"]
    P2 --> P3["Prove<br/>journey + riskiest assumption"]
    P3 --> D[Done]

    C -->|Pilot| T1["Shape<br/>bounded user journey"]
    T1 --> T2["Build<br/>real seams + recovery"]
    T2 --> T3["RoboRev exit observation<br/>Medium+ · Spacedock adopters"]
    T3 --> T4["Verify and deliver<br/>journey + data safety"]
    T4 --> D

    C -->|Production| R1["Shape<br/>operational boundaries"]
    R1 --> R2["Build<br/>operable lifecycle"]
    R2 --> R3["RoboRev exit observation<br/>thorough Medium+ · Spacedock adopters"]
    R3 --> R4["Verify<br/>exact-revision obligations"]
    R4 --> R5["Release<br/>rollout + recovery + authority"]
    R5 --> D

Backlog and done are state boundaries, not working stages; a runtime may expose the union of route states and skip inactive ones. The profile loader rejects a stage outside the committed route, so POC does not pay for Production policy merely because both ship in the package. The receipt belongs to the work item rather than the repository: one project can run POC, Pilot, and Production items concurrently, and each loader result hash-binds the exact item that selected its route.

Each stage contract names a one-line working perspective — a cognitive cue, not another agent, review, or gate.

Seats and gates

  • Captain owns scope, profile, irreversible actions, spend/permission, red residuals, and merge/release authorization.
  • First Officer resolves authority, loads and dispatches the selected route, and applies declared gates.
  • Chief Engineer gives bounded normal-delivery advice about the next smallest integrated step. It is not a mandatory reviewer.
  • Science Officer gives independent assurance on a contested, high-risk, hard-to-reverse, or low-confidence technical claim. It is advisory. Both seats are trigger-based and stay unloaded on ordinary green transitions.
  • Deterministic checks and named accountable owners hold scoped gates. No agent is a general-purpose gatekeeper.

Skills

  • choose-work-profile — recommend and ask for POC, Pilot, or Production before the first working stage.
  • continue-dev-flow — load and advance only the selected route.
  • chief-engineer — advise the next integrated delivery step when the route is unclear, blocked, or drifting.
  • science-officer — provide bounded independent technical assurance.
  • science-officer-em — legacy report-envelope compatibility only.
  • adopt-dev-flow — bind or upgrade a brownfield repository without replacing its existing authorities.
  • setup-github-project-projection — install a deterministic one-way Spacedock projection without making GitHub lifecycle authority.

Selection and promotion

The Captain selects a profile through the host's structured Ask UI when available, with plain chat as fallback. The authorized work-item actor commits a kc-dev-flow-work-profile/v2 receipt before the first working stage. Selection is not deferred to ideation because POC has no ideation stage.

Promote POC to Pilot when accepted scope adds limited real users, persistent valuable state, reused shortcuts, beyond-session operation, or retry/recovery duty. Promote either lower profile to Production when production data or credentials, destructive external mutation, irreversible migration, public compatibility, unattended operation, broad exposure, SLO/support, or release/rollback ownership enters accepted scope.

Distribution and adoption

scripts/profile-contract-loader.py is the closed route and loading mechanism. For a selected work item it emits exactly references/kernel.md, that profile's base.md, and that stage's contract — the build.md one carrying the typed implementation-exit observation.

Everything else under references/ is conditional. Selecting a profile activates none of it; a reference link is not activation, and vendoring one adds no ordinary-stage work.

ReferenceLoads when
reverse-recovery-audit.mdA POC build or Pilot/Production shape proposes an addition, replacement, removal, or missing claim in existing code.
journey-slicing.mdA Pilot or Production journey cannot be one integrated slice.
retained-document-policy.mdAn accepted or observed retained-document change reaches the selected shape/build/verification stage. Adds no receipt.
project-context-maintenance.mdAccepted behavior, architecture, or a public contract may change a claim in bound project context.
delivery-branch-base.mdThe work item is delivered through a review artifact, so its base branch must be chosen. Forge-neutral, and it loads even when a provider mod owns the ceremony.
pr-delivery.mdNo adopter-owned mod, such as Spacedock pr-merge, already owns the forge-PR ceremony.
roborev-implementation-exit.mdThe build observation names a provider and the repository meets its precondition — a Spacedock-registered state holder, which RoboRev needs for single-flight. Any other repository records the observation as out of scope once.

Retained-document and project-context policy both carry a build obligation and are independently rechecked at validation. An unavailable provider cannot silently become a delivery failure.

adopt-dev-flow vendors these files and binds their local paths in the workflow's ## Local Profile. continue-dev-flow then reads that binding, the exact work item and receipt, and invokes the local loader — not the full workflow README, unselected profiles, or installed package fallback. An adopter moving from an earlier vendored layout follows MIGRATION.md.

Install through the kc-claude-plugins marketplace in Claude Code. Codex uses the co-shipped .codex-plugin manifest and the same skill and contract files.

Hermes Agent

KC Dev Flow ships both an Agent Plugins v1 plugin.json and a small native Hermes registration layer. Install the kc-dev-flow subdirectory through hermes plugins install; Hermes keeps the package disabled until an operator enables it. Once enabled, the native layer exposes the package skills with stable names such as kc-dev-flow:choose-work-profile and kc-dev-flow:continue-dev-flow.

The Hermes package is a distribution route, not a repository runtime fallback: an adopter still vendors and binds its own selected contracts in ## Local Profile.