create-agdf 0.20.2 → 0.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +148 -191
- package/generated/.agdf/control/README.md +31 -110
- package/generated/.agdf/control/planned-urs.md +95 -0
- package/generated/.agdf/control/templates/RUN_STATE.md +15 -64
- package/generated/.agdf/control/templates/artefacts/UR.md +1 -1
- package/generated/.agents/plugins/marketplace.json +12 -0
- package/generated/.opencode/agdf-agent-router.md +3 -3
- package/generated/.opencode/agdf-interaction-locales.json +2668 -2682
- package/generated/.opencode/contracts/closeout.md +1 -1
- package/generated/.opencode/contracts/control-scaffold.md +63 -46
- package/generated/.opencode/contracts/gate-artifact-preparation.md +58 -48
- package/generated/.opencode/contracts/gate-transition.md +5 -6
- package/generated/.opencode/contracts/interaction.md +43 -126
- package/generated/.opencode/contracts/modes.md +4 -3
- package/generated/.opencode/contracts/prd-definition.md +6 -6
- package/generated/.opencode/contracts/quality.md +10 -2
- package/generated/.opencode/contracts/request-activation.md +9 -8
- package/generated/.opencode/contracts/sd-definition.md +3 -3
- package/generated/.opencode/contracts/task-target-resolution.md +24 -0
- package/generated/.opencode/contracts/tp-definition.md +1 -1
- package/generated/.opencode/contracts/ur-definition.md +41 -7
- package/generated/.opencode/skills/agdf-brownfield-analysis/SKILL.md +8 -5
- package/generated/.opencode/skills/agdf-clean-implementation-review/SKILL.md +3 -2
- package/generated/.opencode/skills/agdf-code-review/SKILL.md +5 -3
- package/generated/.opencode/skills/agdf-delivery-closeout/SKILL.md +3 -2
- package/generated/.opencode/skills/agdf-delivery-path-search/SKILL.md +3 -2
- package/generated/.opencode/skills/agdf-gate-check/SKILL.md +35 -31
- package/generated/.opencode/skills/agdf-prd-definition/SKILL.md +3 -2
- package/generated/.opencode/skills/agdf-qa-gate/SKILL.md +3 -2
- package/generated/.opencode/skills/agdf-release-or/SKILL.md +8 -5
- package/generated/.opencode/skills/agdf-sd-definition/SKILL.md +3 -2
- package/generated/.opencode/skills/agdf-task-plan-review/SKILL.md +3 -2
- package/generated/.opencode/skills/agdf-tp-definition/SKILL.md +3 -2
- package/generated/.opencode/skills/agdf-ur-definition/SKILL.md +12 -4
- package/generated/.opencode/skills/agdf-ux-intent-definition/SKILL.md +5 -4
- package/generated/plugins/agdf/.claude-plugin/plugin.json +3 -2
- package/generated/plugins/agdf/.codex-plugin/plugin.json +1 -1
- package/generated/plugins/agdf/companion/assignment.mjs +65 -0
- package/generated/plugins/agdf/companion/companion.json +4 -0
- package/generated/plugins/agdf/companion/core.mjs +16 -0
- package/generated/plugins/agdf/companion/figure.mjs +137 -0
- package/generated/plugins/agdf/companion/gate-bar.mjs +54 -0
- package/generated/plugins/agdf/companion/hooks.json +3 -0
- package/generated/plugins/agdf/companion/locales.json +200 -0
- package/generated/plugins/agdf/companion/localization.mjs +89 -0
- package/generated/plugins/agdf/companion/notice.mjs +90 -0
- package/generated/plugins/agdf/companion/persistence.mjs +36 -0
- package/generated/plugins/agdf/companion/register.mjs +444 -0
- package/generated/plugins/agdf/companion/run-state.mjs +110 -0
- package/generated/plugins/agdf/companion/state.mjs +48 -0
- package/generated/plugins/agdf/companion/view.mjs +84 -0
- package/generated/plugins/agdf/control/README.md +31 -110
- package/generated/plugins/agdf/control/planned-urs.md +95 -0
- package/generated/plugins/agdf/control/templates/RUN_STATE.md +15 -64
- package/generated/plugins/agdf/control/templates/artefacts/UR.md +1 -1
- package/generated/plugins/agdf/mcp/server/README.md +119 -7
- package/generated/plugins/agdf/mcp/server/package.json +12 -7
- package/generated/plugins/agdf/mcp/server/src/generation-entry.js +3 -85
- package/generated/plugins/agdf/mcp/server/src/generation-protocol.js +2 -44
- package/generated/plugins/agdf/mcp/server/src/generation-runtime.js +94 -0
- package/generated/plugins/agdf/mcp/server/src/generation-thread-entry.js +8 -0
- package/generated/plugins/agdf/mcp/server/src/generation.js +64 -20
- package/generated/plugins/agdf/mcp/server/src/main.js +42 -10
- package/generated/plugins/agdf/mcp/server/src/server.js +24 -15
- package/generated/plugins/agdf/mcp/server/src/stdio-output.js +42 -0
- package/generated/plugins/agdf/mcp/server/src/worker-entry.js +2 -2
- package/generated/plugins/agdf/mcp/server/src/worker.js +53 -7
- package/generated/plugins/agdf/mcp/server/ui/cockpit.html +31 -31
- package/generated/plugins/agdf/mcp/server/ui/decision-manifest.json +3 -3
- package/generated/plugins/agdf/mcp/server/ui/decision.html +36 -36
- package/generated/plugins/agdf/mcp/server/ui/manifest.json +4 -4
- package/generated/plugins/agdf/meta/agdf-agent-router.md +3 -3
- package/generated/plugins/agdf/meta/agdf-defaults.json +9 -0
- package/generated/plugins/agdf/meta/agdf-defaults.schema.json +20 -0
- package/generated/plugins/agdf/meta/agdf-interaction-locales.json +2668 -2682
- package/generated/plugins/agdf/meta/agdf-mcp-capability.json +1 -1
- package/generated/plugins/agdf/meta/agdf-plugin.definition.json +8 -3
- package/generated/plugins/agdf/meta/contracts/closeout.md +1 -1
- package/generated/plugins/agdf/meta/contracts/control-scaffold.md +63 -46
- package/generated/plugins/agdf/meta/contracts/gate-artifact-preparation.md +58 -48
- package/generated/plugins/agdf/meta/contracts/gate-transition.md +5 -6
- package/generated/plugins/agdf/meta/contracts/interaction.md +43 -126
- package/generated/plugins/agdf/meta/contracts/modes.md +4 -3
- package/generated/plugins/agdf/meta/contracts/prd-definition.md +6 -6
- package/generated/plugins/agdf/meta/contracts/quality.md +10 -2
- package/generated/plugins/agdf/meta/contracts/request-activation.md +9 -8
- package/generated/plugins/agdf/meta/contracts/sd-definition.md +3 -3
- package/generated/plugins/agdf/meta/contracts/task-target-resolution.md +24 -0
- package/generated/plugins/agdf/meta/contracts/tp-definition.md +1 -1
- package/generated/plugins/agdf/meta/contracts/ur-definition.md +41 -7
- package/generated/plugins/agdf/meta/copilot-payload-baseline.json +3 -3
- package/generated/plugins/agdf/meta/distribution-profile-history.json +7 -0
- package/generated/plugins/agdf/runtime/agdf-session-check.js +25 -21
- package/generated/plugins/agdf/runtime/create-agdf/generated/plugins/agdf/meta/agdf-defaults.json +9 -0
- package/generated/plugins/agdf/runtime/create-agdf/generated/plugins/agdf/meta/agdf-defaults.schema.json +20 -0
- package/generated/plugins/agdf/runtime/create-agdf/generated/plugins/agdf/meta/agdf-interaction-locales.json +2668 -2682
- package/generated/plugins/agdf/runtime/create-agdf/generated/plugins/agdf/meta/agdf-plugin.definition.json +8 -3
- package/generated/plugins/agdf/runtime/create-agdf/generated/plugins/agdf/meta/contracts/closeout.md +1 -1
- package/generated/plugins/agdf/runtime/create-agdf/generated/plugins/agdf/meta/contracts/control-scaffold.md +63 -46
- package/generated/plugins/agdf/runtime/create-agdf/generated/plugins/agdf/meta/contracts/gate-artifact-preparation.md +58 -48
- package/generated/plugins/agdf/runtime/create-agdf/generated/plugins/agdf/meta/contracts/gate-transition.md +5 -6
- package/generated/plugins/agdf/runtime/create-agdf/generated/plugins/agdf/meta/contracts/interaction.md +43 -126
- package/generated/plugins/agdf/runtime/create-agdf/generated/plugins/agdf/meta/contracts/modes.md +4 -3
- package/generated/plugins/agdf/runtime/create-agdf/generated/plugins/agdf/meta/contracts/prd-definition.md +6 -6
- package/generated/plugins/agdf/runtime/create-agdf/generated/plugins/agdf/meta/contracts/quality.md +10 -2
- package/generated/plugins/agdf/runtime/create-agdf/generated/plugins/agdf/meta/contracts/request-activation.md +9 -8
- package/generated/plugins/agdf/runtime/create-agdf/generated/plugins/agdf/meta/contracts/sd-definition.md +3 -3
- package/generated/plugins/agdf/runtime/create-agdf/generated/plugins/agdf/meta/contracts/task-target-resolution.md +24 -0
- package/generated/plugins/agdf/runtime/create-agdf/generated/plugins/agdf/meta/contracts/tp-definition.md +1 -1
- package/generated/plugins/agdf/runtime/create-agdf/generated/plugins/agdf/meta/contracts/ur-definition.md +41 -7
- package/generated/plugins/agdf/runtime/create-agdf/lib/cli/codex-document-command.js +195 -0
- package/generated/plugins/agdf/runtime/create-agdf/lib/cli/command-registry.js +82 -148
- package/generated/plugins/agdf/runtime/create-agdf/lib/cli/control-maintenance-command.js +8 -37
- package/generated/plugins/agdf/runtime/create-agdf/lib/cli/parse-args.js +98 -16
- package/generated/plugins/agdf/runtime/create-agdf/lib/cli/planned-command.js +55 -0
- package/generated/plugins/agdf/runtime/create-agdf/lib/cli/project-read-command.js +35 -0
- package/generated/plugins/agdf/runtime/create-agdf/lib/cli/run-command-aliases.js +116 -0
- package/generated/plugins/agdf/runtime/create-agdf/lib/cli/runtime-context.js +1 -59
- package/generated/plugins/agdf/runtime/create-agdf/lib/cli/validation-handlers.js +33 -103
- package/generated/plugins/agdf/runtime/create-agdf/lib/control-evaluation/git-observation.js +7 -5
- package/generated/plugins/agdf/runtime/create-agdf/lib/control-maintenance/startup.js +2 -2
- package/generated/plugins/agdf/runtime/create-agdf/lib/mcp-decision-protocol.js +40 -0
- package/generated/plugins/agdf/runtime/create-agdf/lib/mcp-dispatch-runtime.js +71 -306
- package/generated/plugins/agdf/runtime/create-agdf/lib/mcp-lifecycle/facade-entry.js +3 -24
- package/generated/plugins/agdf/runtime/create-agdf/lib/mcp-lifecycle/facade-owner-entry.js +31 -15
- package/generated/plugins/agdf/runtime/create-agdf/lib/mcp-lifecycle/facade-runtime.js +29 -0
- package/generated/plugins/agdf/runtime/create-agdf/lib/mcp-lifecycle/facade-thread-entry.js +11 -0
- package/generated/plugins/agdf/runtime/create-agdf/lib/mcp-lifecycle/owner-client.js +79 -0
- package/generated/plugins/agdf/runtime/create-agdf/lib/mcp-lifecycle/package.js +14 -80
- package/generated/plugins/agdf/runtime/create-agdf/lib/mcp-lifecycle/plugin-runtime.js +29 -9
- package/generated/plugins/agdf/runtime/create-agdf/lib/mcp-lifecycle/thread-owner.js +164 -0
- package/generated/plugins/agdf/runtime/create-agdf/lib/mcp-owner-protocol.js +1 -0
- package/generated/plugins/agdf/runtime/create-agdf/lib/mcp-protocol-runtime.js +308 -0
- package/generated/plugins/agdf/runtime/create-agdf/lib/mcp-worker-runtime.js +152 -0
- package/generated/plugins/agdf/runtime/create-agdf/lib/runtime/control-command-service.js +22 -7
- package/generated/plugins/agdf/runtime/create-agdf/lib/runtime/control-context.js +8 -1
- package/generated/plugins/agdf/runtime/create-agdf/lib/runtime/validator-application.js +2 -2
- package/generated/plugins/agdf/runtime/create-agdf/package.json +5 -1
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-evaluation/closeout-readiness.js +10 -2
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-evaluation/decision-content-placeholder.js +9 -0
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-evaluation/decision-content-readiness.js +2 -7
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-evaluation/definition-sources.js +3 -2
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-evaluation/delivery-map.js +2 -12
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-evaluation/doctor.js +162 -172
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-evaluation/gate-check.js +10 -9
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-evaluation/gate-policy-inputs.js +11 -0
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-evaluation/gate-policy-pure.js +446 -0
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-evaluation/gate-policy.js +3 -434
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-evaluation/next-action.js +2 -0
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-evaluation/parent-reconciliation.js +2 -1
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-evaluation/qa-follow-up.js +2 -1
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-evaluation/required-files.js +9 -7
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-evaluation/run-state-policy.js +1 -1
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-evaluation/run-state.js +15 -9
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-evaluation/run-step-policy.js +2 -1
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-evaluation/run-work-summary.js +6 -4
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-evaluation/shared-value.js +7 -0
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-evaluation/shared.js +5 -254
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-evaluation/tp-planning.js +3 -2
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-evaluation/ur-readiness.js +7 -2
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-evaluation/verified-change.js +11 -9
- package/{runtime/core/lib/control-evaluation/backlog-vocabulary.js → generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-evaluation/work-vocabulary.js} +2 -2
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-inspect/artifact-readiness.js +5 -3
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-inspect/authoring-inputs.js +110 -0
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-inspect/cockpit-archive.js +53 -0
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-inspect/cockpit-context.js +2 -1
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-inspect/cockpit-contract.js +11 -4
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-inspect/cockpit-list.d.ts +10 -6
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-inspect/cockpit-list.js +32 -41
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-inspect/cockpit-session.js +8 -8
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-inspect/cockpit-work.js +33 -0
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-inspect/cockpit.js +75 -44
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-inspect/contract.js +124 -32
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-inspect/decision-session.js +53 -11
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-inspect/doctor-observation.js +91 -0
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-inspect/project-operation-call.js +5 -0
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-inspect/project-state.js +48 -0
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-inspect/result.js +61 -0
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-inspect/selection.js +9 -3
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-inspect/service.js +119 -67
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-maintenance/compatibility.js +42 -132
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-maintenance/contract.js +5 -5
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-maintenance/presentation.js +27 -119
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-maintenance/service.js +9 -37
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-read/cockpit-pool.js +25 -9
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-read/cockpit-worker.js +4 -3
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-read/doctor-reader.js +92 -0
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-read/doctor-worker.js +11 -0
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-read/fs.js +18 -0
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-read/snapshot.js +68 -17
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/aggregate.js +3 -1
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/approval-command.js +13 -10
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/approval-operations.js +10 -7
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/artefact-binding-proof.js +12 -20
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/artefact-bindings.js +10 -7
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/canonical-initialization.js +761 -0
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/control-layout.js +183 -0
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/decision-action-contract.js +10 -1
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/decision-action-service.js +24 -3
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/decision-material-contract.js +2 -1
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/evidence-bindings.js +7 -7
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/git-identity.js +86 -0
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/index.js +0 -1
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/input-resolution.js +99 -0
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/planned-entry.js +273 -0
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/planned-handoff.js +174 -0
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/planned-inventory.js +90 -0
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/planned-origin-reader.js +48 -0
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/planned-origin.js +40 -0
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/presentation-decision.js +12 -7
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/presentation-delivery.js +90 -0
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/preview-render.js +5 -2
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/preview-review.js +3 -2
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/preview-snapshot.js +9 -6
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/recording-formats.js +12 -16
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-artefact-recording.js +54 -66
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-closure.js +343 -0
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-command-contract.js +33 -250
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-command-schema.js +508 -0
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-command-service.js +198 -34
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-create-command.js +60 -0
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-identity.d.ts +14 -0
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-identity.js +40 -0
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-input-resolution.js +72 -0
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-inventory-reader.js +31 -0
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-inventory.js +179 -0
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-material.js +211 -0
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-mutation.js +51 -0
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-operation-identity.js +2 -1
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-operation-proof.js +7 -4
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-operation-status.js +20 -4
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-operations.js +70 -13
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-owned-outputs.js +21 -9
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-presentation-envelope.js +25 -33
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-presentation-render.js +8 -7
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-presentation.js +45 -21
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-recording.js +10 -179
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-revision-boundary.js +7 -21
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-revision-history.js +23 -16
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-revision.js +84 -161
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-seal-compute.js +19 -44
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-seal.js +6 -1
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-source-revisions.js +19 -18
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-state-document.js +110 -42
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-state-edits.js +13 -5
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-state-parser.js +14 -6
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-state-reader.js +27 -18
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-state-repository.js +112 -48
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-state-resolver.js +12 -15
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-state-writer.js +21 -377
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-step-pending.js +2 -1
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-step-transaction.js +125 -114
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-steps.js +136 -248
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-store-inspection.js +14 -2
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-verified-change.js +81 -0
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-work-summary-shape.d.ts +1 -0
- package/{runtime/core/lib/control-state/backlog-summary-shape.js → generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-work-summary-shape.js} +7 -19
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/delivery-continuation/service.js +5 -66
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/delivery-path-search/persistence.js +26 -8
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/delivery-path-search/state-adapter.js +1 -1
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/index.js +14 -6
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/interaction-catalog.js +3 -3
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/interaction-presentation.js +29 -11
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/mcp-input-hints.js +46 -0
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/mcp-input-resolution.js +98 -0
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/mcp-input-schema.js +15 -0
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/mcp-resource-contract.js +1 -1
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/mcp-tool-errors.js +31 -15
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/owned-file-lock.js +266 -0
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/owner-placement.js +50 -0
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/resources/canonical-init-plan.js +34 -0
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/resources/configuration.js +92 -0
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/resources/context.js +7 -11
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/resources/language-preference.js +59 -0
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/runtime/mcp-owner-protocol.js +102 -0
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/runtime/plugin-provenance.js +173 -18
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/skill-dispatch/compact-continuation.js +3 -3
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/skill-dispatch/contract.js +28 -9
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/skill-dispatch/delivery-intake.js +11 -5
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/skill-dispatch/delivery-run-assignment.js +6 -10
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/skill-dispatch/mcp-continuation.js +64 -0
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/skill-dispatch/prd-definition.js +14 -5
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/skill-dispatch/sd-definition.js +2 -1
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/skill-dispatch/service.js +49 -14
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/skill-dispatch/tp-definition.js +2 -1
- package/generated/plugins/agdf/runtime/runtime-manifest.json +2 -2
- package/generated/plugins/agdf/scripts/check-runtime-integrity.mjs +60 -42
- package/generated/plugins/agdf/scripts/instruction-footprint.mjs +5 -5
- package/generated/plugins/agdf/skills/brownfield-analysis/SKILL.md +8 -5
- package/generated/plugins/agdf/skills/clean-implementation-review/SKILL.md +3 -2
- package/generated/plugins/agdf/skills/code-review/SKILL.md +5 -3
- package/generated/plugins/agdf/skills/delivery-closeout/SKILL.md +3 -2
- package/generated/plugins/agdf/skills/delivery-path-search/SKILL.md +3 -2
- package/generated/plugins/agdf/skills/gate-check/SKILL.md +35 -31
- package/generated/plugins/agdf/skills/prd-definition/SKILL.md +3 -2
- package/generated/plugins/agdf/skills/qa-gate/SKILL.md +3 -2
- package/generated/plugins/agdf/skills/release-or/SKILL.md +8 -5
- package/generated/plugins/agdf/skills/sd-definition/SKILL.md +3 -2
- package/generated/plugins/agdf/skills/task-plan-review/SKILL.md +3 -2
- package/generated/plugins/agdf/skills/tp-definition/SKILL.md +3 -2
- package/generated/plugins/agdf/skills/ur-definition/SKILL.md +12 -4
- package/generated/plugins/agdf/skills/ux-intent-definition/SKILL.md +5 -4
- package/generated/plugins/agdf/submission/openai/availability.md +1 -1
- package/generated/plugins/agdf/submission/openai/capability-matrix.json +1 -1
- package/generated/plugins/agdf/submission/openai/release-notes.md +9 -1
- package/generated/plugins/agdf/submission/openai/reviewer-cases.json +1 -1
- package/generated/plugins/agdf-planning/.codex-plugin/plugin.json +40 -0
- package/generated/plugins/agdf-planning/README.md +21 -0
- package/generated/plugins/agdf-planning/assets/agdf-icon.svg +16 -0
- package/generated/plugins/agdf-planning/assets/agdf-logo.svg +16 -0
- package/generated/plugins/agdf-planning/meta/agdf-planning.definition.json +9 -0
- package/generated/plugins/agdf-planning/plugin.json +45 -0
- package/generated/plugins/agdf-planning/skills/planning/SKILL.md +56 -0
- package/generated/plugins/copilot/agdf/.agdf-payload-inventory.json +878 -475
- package/generated/plugins/copilot/agdf/control/README.md +31 -110
- package/generated/plugins/copilot/agdf/control/planned-urs.md +95 -0
- package/generated/plugins/copilot/agdf/control/templates/RUN_STATE.md +15 -64
- package/generated/plugins/copilot/agdf/control/templates/artefacts/UR.md +1 -1
- package/generated/plugins/copilot/agdf/mcp/server/README.md +119 -7
- package/generated/plugins/copilot/agdf/mcp/server/package.json +12 -7
- package/generated/plugins/copilot/agdf/mcp/server/src/generation-entry.js +3 -85
- package/generated/plugins/copilot/agdf/mcp/server/src/generation-protocol.js +2 -44
- package/generated/plugins/copilot/agdf/mcp/server/src/generation-runtime.js +94 -0
- package/generated/plugins/copilot/agdf/mcp/server/src/generation-thread-entry.js +8 -0
- package/generated/plugins/copilot/agdf/mcp/server/src/generation.js +64 -20
- package/generated/plugins/copilot/agdf/mcp/server/src/main.js +42 -10
- package/generated/plugins/copilot/agdf/mcp/server/src/server.js +24 -15
- package/generated/plugins/copilot/agdf/mcp/server/src/stdio-output.js +42 -0
- package/generated/plugins/copilot/agdf/mcp/server/src/worker-entry.js +2 -2
- package/generated/plugins/copilot/agdf/mcp/server/src/worker.js +53 -7
- package/generated/plugins/copilot/agdf/meta/agdf-agent-router.md +3 -3
- package/generated/plugins/copilot/agdf/meta/agdf-plugin.definition.json +8 -3
- package/generated/plugins/copilot/agdf/meta/distribution-profile-history.json +7 -0
- package/generated/plugins/copilot/agdf/plugin.json +1 -1
- package/generated/plugins/copilot/agdf/runtime/agdf-session-check.js +25 -21
- package/generated/plugins/copilot/agdf/runtime/create-agdf/generated/plugins/agdf/meta/agdf-defaults.json +9 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/generated/plugins/agdf/meta/agdf-defaults.schema.json +20 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/generated/plugins/agdf/meta/agdf-interaction-locales.json +2668 -2682
- package/generated/plugins/copilot/agdf/runtime/create-agdf/generated/plugins/agdf/meta/agdf-plugin.definition.json +8 -3
- package/generated/plugins/copilot/agdf/runtime/create-agdf/generated/plugins/agdf/meta/contracts/closeout.md +1 -1
- package/generated/plugins/copilot/agdf/runtime/create-agdf/generated/plugins/agdf/meta/contracts/control-scaffold.md +63 -46
- package/generated/plugins/copilot/agdf/runtime/create-agdf/generated/plugins/agdf/meta/contracts/gate-artifact-preparation.md +58 -48
- package/generated/plugins/copilot/agdf/runtime/create-agdf/generated/plugins/agdf/meta/contracts/gate-transition.md +5 -6
- package/generated/plugins/copilot/agdf/runtime/create-agdf/generated/plugins/agdf/meta/contracts/interaction.md +43 -126
- package/generated/plugins/copilot/agdf/runtime/create-agdf/generated/plugins/agdf/meta/contracts/modes.md +4 -3
- package/generated/plugins/copilot/agdf/runtime/create-agdf/generated/plugins/agdf/meta/contracts/prd-definition.md +6 -6
- package/generated/plugins/copilot/agdf/runtime/create-agdf/generated/plugins/agdf/meta/contracts/quality.md +10 -2
- package/generated/plugins/copilot/agdf/runtime/create-agdf/generated/plugins/agdf/meta/contracts/request-activation.md +9 -8
- package/generated/plugins/copilot/agdf/runtime/create-agdf/generated/plugins/agdf/meta/contracts/sd-definition.md +3 -3
- package/generated/plugins/copilot/agdf/runtime/create-agdf/generated/plugins/agdf/meta/contracts/task-target-resolution.md +24 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/generated/plugins/agdf/meta/contracts/tp-definition.md +1 -1
- package/generated/plugins/copilot/agdf/runtime/create-agdf/generated/plugins/agdf/meta/contracts/ur-definition.md +41 -7
- package/generated/plugins/copilot/agdf/runtime/create-agdf/lib/cli/codex-document-command.js +195 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/lib/cli/command-registry.js +82 -148
- package/generated/plugins/copilot/agdf/runtime/create-agdf/lib/cli/control-maintenance-command.js +8 -37
- package/generated/plugins/copilot/agdf/runtime/create-agdf/lib/cli/parse-args.js +98 -16
- package/generated/plugins/copilot/agdf/runtime/create-agdf/lib/cli/planned-command.js +55 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/lib/cli/project-read-command.js +35 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/lib/cli/run-command-aliases.js +116 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/lib/cli/runtime-context.js +1 -59
- package/generated/plugins/copilot/agdf/runtime/create-agdf/lib/cli/validation-handlers.js +33 -103
- package/generated/plugins/copilot/agdf/runtime/create-agdf/lib/control-evaluation/git-observation.js +7 -5
- package/generated/plugins/copilot/agdf/runtime/create-agdf/lib/control-maintenance/startup.js +2 -2
- package/generated/plugins/copilot/agdf/runtime/create-agdf/lib/mcp-decision-protocol.js +40 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/lib/mcp-dispatch-runtime.js +71 -306
- package/generated/plugins/copilot/agdf/runtime/create-agdf/lib/mcp-lifecycle/facade-entry.js +3 -24
- package/generated/plugins/copilot/agdf/runtime/create-agdf/lib/mcp-lifecycle/facade-owner-entry.js +31 -15
- package/generated/plugins/copilot/agdf/runtime/create-agdf/lib/mcp-lifecycle/facade-runtime.js +29 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/lib/mcp-lifecycle/facade-thread-entry.js +11 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/lib/mcp-lifecycle/owner-client.js +79 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/lib/mcp-lifecycle/package.js +14 -80
- package/generated/plugins/copilot/agdf/runtime/create-agdf/lib/mcp-lifecycle/plugin-runtime.js +29 -9
- package/generated/plugins/copilot/agdf/runtime/create-agdf/lib/mcp-lifecycle/thread-owner.js +164 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/lib/mcp-owner-protocol.js +1 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/lib/mcp-protocol-runtime.js +308 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/lib/mcp-worker-runtime.js +152 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/lib/runtime/control-command-service.js +22 -7
- package/generated/plugins/copilot/agdf/runtime/create-agdf/lib/runtime/control-context.js +8 -1
- package/generated/plugins/copilot/agdf/runtime/create-agdf/lib/runtime/validator-application.js +2 -2
- package/generated/plugins/copilot/agdf/runtime/create-agdf/package.json +5 -1
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-evaluation/closeout-readiness.js +10 -2
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-evaluation/decision-content-placeholder.js +9 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-evaluation/decision-content-readiness.js +2 -7
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-evaluation/definition-sources.js +3 -2
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-evaluation/delivery-map.js +2 -12
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-evaluation/doctor.js +162 -172
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-evaluation/gate-check.js +10 -9
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-evaluation/gate-policy-inputs.js +11 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-evaluation/gate-policy-pure.js +446 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-evaluation/gate-policy.js +3 -434
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-evaluation/next-action.js +2 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-evaluation/parent-reconciliation.js +2 -1
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-evaluation/qa-follow-up.js +2 -1
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-evaluation/required-files.js +9 -7
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-evaluation/run-state-policy.js +1 -1
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-evaluation/run-state.js +15 -9
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-evaluation/run-step-policy.js +2 -1
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-evaluation/run-work-summary.js +6 -4
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-evaluation/shared-value.js +7 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-evaluation/shared.js +5 -254
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-evaluation/tp-planning.js +3 -2
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-evaluation/ur-readiness.js +7 -2
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-evaluation/verified-change.js +11 -9
- package/generated/plugins/{agdf/runtime/create-agdf/runtime/core/lib/control-evaluation/backlog-vocabulary.js → copilot/agdf/runtime/create-agdf/runtime/core/lib/control-evaluation/work-vocabulary.js} +2 -2
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-inspect/artifact-readiness.js +5 -3
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-inspect/authoring-inputs.js +110 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-inspect/cockpit-archive.js +53 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-inspect/contract.js +124 -32
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-inspect/doctor-observation.js +91 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-inspect/project-operation-call.js +5 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-inspect/project-state.js +48 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-inspect/result.js +61 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-inspect/selection.js +9 -3
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-inspect/service.js +119 -67
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-maintenance/compatibility.js +42 -132
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-maintenance/contract.js +5 -5
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-maintenance/presentation.js +27 -119
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-maintenance/service.js +9 -37
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-read/cockpit-pool.js +121 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-read/doctor-reader.js +92 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-read/doctor-worker.js +11 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-read/fs.js +18 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-read/snapshot.js +68 -17
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/aggregate.js +3 -1
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/approval-command.js +13 -10
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/approval-operations.js +10 -7
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/artefact-binding-proof.js +12 -20
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/artefact-bindings.js +10 -7
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/canonical-initialization.js +761 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/control-layout.js +183 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/decision-material-contract.js +2 -1
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/evidence-bindings.js +7 -7
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/git-identity.js +86 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/index.js +0 -1
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/input-resolution.js +99 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/planned-entry.js +273 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/planned-handoff.js +174 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/planned-inventory.js +90 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/planned-origin-reader.js +48 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/planned-origin.js +40 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/presentation-decision.js +12 -7
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/presentation-delivery.js +90 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/preview-render.js +5 -2
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/preview-review.js +3 -2
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/preview-snapshot.js +9 -6
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/recording-formats.js +12 -16
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-artefact-recording.js +54 -66
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-closure.js +343 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-command-contract.js +33 -250
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-command-schema.js +508 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-command-service.js +198 -34
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-create-command.js +60 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-identity.d.ts +14 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-identity.js +40 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-input-resolution.js +72 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-inventory-reader.js +31 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-inventory.js +179 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-material.js +211 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-mutation.js +51 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-operation-identity.js +2 -1
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-operation-proof.js +7 -4
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-operation-status.js +20 -4
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-operations.js +70 -13
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-owned-outputs.js +21 -9
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-presentation-envelope.js +25 -33
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-presentation-render.js +8 -7
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-presentation.js +45 -21
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-recording.js +10 -179
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-revision-boundary.js +7 -21
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-revision-history.js +23 -16
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-revision.js +84 -161
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-seal-compute.js +19 -44
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-seal.js +6 -1
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-source-revisions.js +19 -18
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-state-document.js +110 -42
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-state-edits.js +13 -5
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-state-parser.js +14 -6
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-state-reader.js +27 -18
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-state-repository.js +112 -48
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-state-resolver.js +12 -15
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-state-writer.js +21 -377
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-step-pending.js +2 -1
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-step-transaction.js +125 -114
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-steps.js +136 -248
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-store-inspection.js +14 -2
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-verified-change.js +81 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-work-summary-shape.d.ts +1 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/{backlog-summary-shape.js → run-work-summary-shape.js} +7 -19
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/delivery-continuation/service.js +5 -66
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/delivery-path-search/persistence.js +26 -8
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/delivery-path-search/state-adapter.js +1 -1
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/index.js +14 -6
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/interaction-catalog.js +3 -3
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/interaction-presentation.js +29 -11
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/mcp-input-hints.js +46 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/mcp-input-resolution.js +98 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/mcp-input-schema.js +15 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/mcp-resource-contract.js +1 -1
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/mcp-tool-errors.js +31 -15
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/owned-file-lock.js +266 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/owner-placement.js +50 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/resources/canonical-init-plan.js +34 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/resources/configuration.js +92 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/resources/context.js +7 -11
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/resources/language-preference.js +59 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/runtime/mcp-owner-protocol.js +102 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/runtime/plugin-provenance.js +173 -18
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/skill-dispatch/compact-continuation.js +3 -3
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/skill-dispatch/contract.js +28 -9
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/skill-dispatch/delivery-intake.js +11 -5
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/skill-dispatch/delivery-run-assignment.js +6 -10
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/skill-dispatch/mcp-continuation.js +64 -0
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/skill-dispatch/prd-definition.js +14 -5
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/skill-dispatch/sd-definition.js +2 -1
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/skill-dispatch/service.js +49 -14
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/skill-dispatch/tp-definition.js +2 -1
- package/generated/plugins/copilot/agdf/runtime/runtime-manifest.json +2 -2
- package/generated/plugins/copilot/agdf/skills/agdf-brownfield-analysis/SKILL.md +8 -5
- package/generated/plugins/copilot/agdf/skills/agdf-clean-implementation-review/SKILL.md +3 -2
- package/generated/plugins/copilot/agdf/skills/agdf-code-review/SKILL.md +5 -3
- package/generated/plugins/copilot/agdf/skills/agdf-delivery-closeout/SKILL.md +3 -2
- package/generated/plugins/copilot/agdf/skills/agdf-delivery-path-search/SKILL.md +3 -2
- package/generated/plugins/copilot/agdf/skills/agdf-gate-check/SKILL.md +35 -31
- package/generated/plugins/copilot/agdf/skills/agdf-interaction-locales.json +1 -1
- package/generated/plugins/copilot/agdf/skills/agdf-prd-definition/SKILL.md +3 -2
- package/generated/plugins/copilot/agdf/skills/agdf-qa-gate/SKILL.md +3 -2
- package/generated/plugins/copilot/agdf/skills/agdf-release-or/SKILL.md +8 -5
- package/generated/plugins/copilot/agdf/skills/agdf-sd-definition/SKILL.md +3 -2
- package/generated/plugins/copilot/agdf/skills/agdf-task-plan-review/SKILL.md +3 -2
- package/generated/plugins/copilot/agdf/skills/agdf-tp-definition/SKILL.md +3 -2
- package/generated/plugins/copilot/agdf/skills/agdf-ur-definition/SKILL.md +12 -4
- package/generated/plugins/copilot/agdf/skills/agdf-ux-intent-definition/SKILL.md +5 -4
- package/generated/plugins/copilot/agdf/skills/contracts/closeout.md +1 -1
- package/generated/plugins/copilot/agdf/skills/contracts/control-scaffold.md +63 -46
- package/generated/plugins/copilot/agdf/skills/contracts/gate-artifact-preparation.md +58 -48
- package/generated/plugins/copilot/agdf/skills/contracts/gate-transition.md +5 -6
- package/generated/plugins/copilot/agdf/skills/contracts/interaction.md +43 -126
- package/generated/plugins/copilot/agdf/skills/contracts/modes.md +4 -3
- package/generated/plugins/copilot/agdf/skills/contracts/prd-definition.md +6 -6
- package/generated/plugins/copilot/agdf/skills/contracts/quality.md +10 -2
- package/generated/plugins/copilot/agdf/skills/contracts/request-activation.md +9 -8
- package/generated/plugins/copilot/agdf/skills/contracts/sd-definition.md +3 -3
- package/generated/plugins/copilot/agdf/skills/contracts/task-target-resolution.md +24 -0
- package/generated/plugins/copilot/agdf/skills/contracts/tp-definition.md +1 -1
- package/generated/plugins/copilot/agdf/skills/contracts/ur-definition.md +41 -7
- package/generated/submissions/openai/agdf/.codex-plugin/plugin.json +1 -1
- package/generated/submissions/openai/agdf/meta/agdf-agent-router.md +3 -3
- package/generated/submissions/openai/agdf/meta/agdf-defaults.json +9 -0
- package/generated/submissions/openai/agdf/meta/agdf-defaults.schema.json +20 -0
- package/generated/submissions/openai/agdf/meta/agdf-interaction-locales.json +2668 -2682
- package/generated/submissions/openai/agdf/meta/agdf-plugin.definition.json +8 -3
- package/generated/submissions/openai/agdf/meta/contracts/closeout.md +1 -1
- package/generated/submissions/openai/agdf/meta/contracts/control-scaffold.md +63 -46
- package/generated/submissions/openai/agdf/meta/contracts/gate-artifact-preparation.md +58 -48
- package/generated/submissions/openai/agdf/meta/contracts/gate-transition.md +5 -6
- package/generated/submissions/openai/agdf/meta/contracts/interaction.md +43 -126
- package/generated/submissions/openai/agdf/meta/contracts/modes.md +4 -3
- package/generated/submissions/openai/agdf/meta/contracts/prd-definition.md +6 -6
- package/generated/submissions/openai/agdf/meta/contracts/quality.md +10 -2
- package/generated/submissions/openai/agdf/meta/contracts/request-activation.md +9 -8
- package/generated/submissions/openai/agdf/meta/contracts/sd-definition.md +3 -3
- package/generated/submissions/openai/agdf/meta/contracts/task-target-resolution.md +24 -0
- package/generated/submissions/openai/agdf/meta/contracts/tp-definition.md +1 -1
- package/generated/submissions/openai/agdf/meta/contracts/ur-definition.md +41 -7
- package/generated/submissions/openai/agdf/meta/copilot-payload-baseline.json +3 -3
- package/generated/submissions/openai/agdf/meta/distribution-profile-history.json +7 -0
- package/generated/submissions/openai/agdf/plugin.json +1 -1
- package/generated/submissions/openai/agdf/skills/brownfield-analysis/SKILL.md +8 -5
- package/generated/submissions/openai/agdf/skills/clean-implementation-review/SKILL.md +3 -2
- package/generated/submissions/openai/agdf/skills/code-review/SKILL.md +5 -3
- package/generated/submissions/openai/agdf/skills/delivery-closeout/SKILL.md +3 -2
- package/generated/submissions/openai/agdf/skills/delivery-path-search/SKILL.md +3 -2
- package/generated/submissions/openai/agdf/skills/gate-check/SKILL.md +35 -31
- package/generated/submissions/openai/agdf/skills/prd-definition/SKILL.md +3 -2
- package/generated/submissions/openai/agdf/skills/qa-gate/SKILL.md +3 -2
- package/generated/submissions/openai/agdf/skills/release-or/SKILL.md +8 -5
- package/generated/submissions/openai/agdf/skills/sd-definition/SKILL.md +3 -2
- package/generated/submissions/openai/agdf/skills/task-plan-review/SKILL.md +3 -2
- package/generated/submissions/openai/agdf/skills/tp-definition/SKILL.md +3 -2
- package/generated/submissions/openai/agdf/skills/ur-definition/SKILL.md +12 -4
- package/generated/submissions/openai/agdf/skills/ux-intent-definition/SKILL.md +5 -4
- package/generated/submissions/openai/agdf/submission/openai/availability.md +1 -1
- package/generated/submissions/openai/agdf/submission/openai/capability-matrix.json +1 -1
- package/generated/submissions/openai/agdf/submission/openai/inventory.json +49 -41
- package/generated/submissions/openai/agdf/submission/openai/listing.json +1 -1
- package/generated/submissions/openai/agdf/submission/openai/readiness.json +2 -2
- package/generated/submissions/openai/agdf/submission/openai/readiness.md +2 -2
- package/generated/submissions/openai/agdf/submission/openai/release-notes.md +9 -1
- package/generated/submissions/openai/agdf/submission/openai/reviewer-cases.json +1 -1
- package/lib/cli/application.js +31 -43
- package/lib/cli/codex-document-command.js +195 -0
- package/lib/cli/command-registry.js +82 -148
- package/lib/cli/control-maintenance-command.js +8 -37
- package/lib/cli/parse-args.js +98 -16
- package/lib/cli/planned-command.js +55 -0
- package/lib/cli/project-init-command.js +21 -0
- package/lib/cli/project-read-command.js +35 -0
- package/lib/cli/run-command-aliases.js +116 -0
- package/lib/cli/runtime-context.js +1 -59
- package/lib/cli/validation-handlers.js +33 -103
- package/lib/control-evaluation/git-observation.js +7 -5
- package/lib/control-maintenance/startup.js +2 -2
- package/lib/host-adapters/codex/plugin.js +48 -1
- package/lib/install-setup/contract.js +4 -4
- package/lib/install-setup/{control-migration.js → control-compatibility.js} +1 -2
- package/lib/install-setup/interaction.js +0 -1
- package/lib/install-setup/presentation.js +3 -4
- package/lib/install-setup/service.js +5 -18
- package/lib/installers/local-marketplace.js +262 -8
- package/lib/lifecycle/codex-startup-status.js +29 -0
- package/lib/lifecycle/presentation.js +6 -0
- package/lib/mcp-decision-protocol.js +40 -0
- package/lib/mcp-dispatch-runtime.js +71 -306
- package/lib/mcp-lifecycle/adapters/codex-origin-probe.js +28 -4
- package/lib/mcp-lifecycle/evidence.js +2 -1
- package/lib/mcp-lifecycle/facade-entry.js +3 -24
- package/lib/mcp-lifecycle/facade-owner-entry.js +31 -15
- package/lib/mcp-lifecycle/facade-runtime.js +29 -0
- package/lib/mcp-lifecycle/facade-thread-entry.js +11 -0
- package/lib/mcp-lifecycle/owner-client.js +79 -0
- package/lib/mcp-lifecycle/package.js +14 -80
- package/lib/mcp-lifecycle/plugin-runtime.js +29 -9
- package/lib/mcp-lifecycle/service.js +5 -4
- package/lib/mcp-lifecycle/thread-owner.js +164 -0
- package/lib/mcp-owner-protocol.js +1 -0
- package/lib/mcp-protocol-runtime.js +308 -0
- package/lib/mcp-worker-runtime.js +152 -0
- package/lib/runtime/control-command-service.js +22 -7
- package/lib/runtime/control-context.js +8 -1
- package/lib/runtime/validator-application.js +2 -2
- package/lib/scaffold/canonical-init.js +2 -691
- package/lib/scaffold/plan.js +9 -32
- package/lib/scaffold/presentation.js +2 -2
- package/lib/scaffold/write.js +6 -1
- package/package.json +6 -2
- package/runtime/core/lib/control-evaluation/closeout-readiness.js +10 -2
- package/runtime/core/lib/control-evaluation/decision-content-placeholder.js +9 -0
- package/runtime/core/lib/control-evaluation/decision-content-readiness.js +2 -7
- package/runtime/core/lib/control-evaluation/definition-sources.js +3 -2
- package/runtime/core/lib/control-evaluation/delivery-map.js +2 -12
- package/runtime/core/lib/control-evaluation/doctor.js +162 -172
- package/runtime/core/lib/control-evaluation/gate-check.js +10 -9
- package/runtime/core/lib/control-evaluation/gate-policy-inputs.js +11 -0
- package/runtime/core/lib/control-evaluation/gate-policy-pure.js +446 -0
- package/runtime/core/lib/control-evaluation/gate-policy.js +3 -434
- package/runtime/core/lib/control-evaluation/next-action.js +2 -0
- package/runtime/core/lib/control-evaluation/parent-reconciliation.js +2 -1
- package/runtime/core/lib/control-evaluation/qa-follow-up.js +2 -1
- package/runtime/core/lib/control-evaluation/required-files.js +9 -7
- package/runtime/core/lib/control-evaluation/run-state-policy.js +1 -1
- package/runtime/core/lib/control-evaluation/run-state.js +15 -9
- package/runtime/core/lib/control-evaluation/run-step-policy.js +2 -1
- package/runtime/core/lib/control-evaluation/run-work-summary.js +6 -4
- package/runtime/core/lib/control-evaluation/shared-value.js +7 -0
- package/runtime/core/lib/control-evaluation/shared.js +5 -254
- package/runtime/core/lib/control-evaluation/tp-planning.js +3 -2
- package/runtime/core/lib/control-evaluation/ur-readiness.js +7 -2
- package/runtime/core/lib/control-evaluation/verified-change.js +11 -9
- package/{generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-evaluation/backlog-vocabulary.js → runtime/core/lib/control-evaluation/work-vocabulary.js} +2 -2
- package/runtime/core/lib/control-inspect/artifact-readiness.js +5 -3
- package/runtime/core/lib/control-inspect/authoring-inputs.js +110 -0
- package/runtime/core/lib/control-inspect/cockpit-archive.js +53 -0
- package/runtime/core/lib/control-inspect/cockpit-context.js +2 -1
- package/runtime/core/lib/control-inspect/cockpit-contract.js +11 -4
- package/runtime/core/lib/control-inspect/cockpit-list.d.ts +10 -6
- package/runtime/core/lib/control-inspect/cockpit-list.js +32 -41
- package/runtime/core/lib/control-inspect/cockpit-session.js +8 -8
- package/runtime/core/lib/control-inspect/cockpit-work.js +33 -0
- package/runtime/core/lib/control-inspect/cockpit.js +75 -44
- package/runtime/core/lib/control-inspect/contract.js +124 -32
- package/runtime/core/lib/control-inspect/decision-session.js +53 -11
- package/runtime/core/lib/control-inspect/doctor-observation.js +91 -0
- package/runtime/core/lib/control-inspect/project-operation-call.js +5 -0
- package/runtime/core/lib/control-inspect/project-state.js +48 -0
- package/runtime/core/lib/control-inspect/result.js +61 -0
- package/runtime/core/lib/control-inspect/selection.js +9 -3
- package/runtime/core/lib/control-inspect/service.js +119 -67
- package/runtime/core/lib/control-maintenance/compatibility.js +42 -132
- package/runtime/core/lib/control-maintenance/contract.js +5 -5
- package/runtime/core/lib/control-maintenance/presentation.js +27 -119
- package/runtime/core/lib/control-maintenance/service.js +9 -37
- package/runtime/core/lib/control-read/cockpit-pool.js +25 -9
- package/runtime/core/lib/control-read/cockpit-worker.js +4 -3
- package/runtime/core/lib/control-read/doctor-reader.js +92 -0
- package/runtime/core/lib/control-read/doctor-worker.js +11 -0
- package/runtime/core/lib/control-read/fs.js +18 -0
- package/runtime/core/lib/control-read/snapshot.js +68 -17
- package/runtime/core/lib/control-state/aggregate.js +3 -1
- package/runtime/core/lib/control-state/approval-command.js +13 -10
- package/runtime/core/lib/control-state/approval-operations.js +10 -7
- package/runtime/core/lib/control-state/artefact-binding-proof.js +12 -20
- package/runtime/core/lib/control-state/artefact-bindings.js +10 -7
- package/runtime/core/lib/control-state/canonical-initialization.js +761 -0
- package/runtime/core/lib/control-state/control-layout.js +183 -0
- package/runtime/core/lib/control-state/decision-action-contract.js +10 -1
- package/runtime/core/lib/control-state/decision-action-service.js +24 -3
- package/runtime/core/lib/control-state/decision-material-contract.js +2 -1
- package/runtime/core/lib/control-state/evidence-bindings.js +7 -7
- package/runtime/core/lib/control-state/git-identity.js +86 -0
- package/runtime/core/lib/control-state/index.js +0 -1
- package/runtime/core/lib/control-state/input-resolution.js +99 -0
- package/runtime/core/lib/control-state/planned-entry.js +273 -0
- package/runtime/core/lib/control-state/planned-handoff.js +174 -0
- package/runtime/core/lib/control-state/planned-inventory.js +90 -0
- package/runtime/core/lib/control-state/planned-origin-reader.js +48 -0
- package/runtime/core/lib/control-state/planned-origin.js +40 -0
- package/runtime/core/lib/control-state/presentation-decision.js +12 -7
- package/runtime/core/lib/control-state/presentation-delivery.js +90 -0
- package/runtime/core/lib/control-state/preview-render.js +5 -2
- package/runtime/core/lib/control-state/preview-review.js +3 -2
- package/runtime/core/lib/control-state/preview-snapshot.js +9 -6
- package/runtime/core/lib/control-state/recording-formats.js +12 -16
- package/runtime/core/lib/control-state/run-artefact-recording.js +54 -66
- package/runtime/core/lib/control-state/run-closure.js +343 -0
- package/runtime/core/lib/control-state/run-command-contract.js +33 -250
- package/runtime/core/lib/control-state/run-command-schema.js +508 -0
- package/runtime/core/lib/control-state/run-command-service.js +198 -34
- package/runtime/core/lib/control-state/run-create-command.js +60 -0
- package/runtime/core/lib/control-state/run-identity.d.ts +14 -0
- package/runtime/core/lib/control-state/run-identity.js +40 -0
- package/runtime/core/lib/control-state/run-input-resolution.js +72 -0
- package/runtime/core/lib/control-state/run-inventory-reader.js +31 -0
- package/runtime/core/lib/control-state/run-inventory.js +179 -0
- package/runtime/core/lib/control-state/run-material.js +211 -0
- package/runtime/core/lib/control-state/run-mutation.js +51 -0
- package/runtime/core/lib/control-state/run-operation-identity.js +2 -1
- package/runtime/core/lib/control-state/run-operation-proof.js +7 -4
- package/runtime/core/lib/control-state/run-operation-status.js +20 -4
- package/runtime/core/lib/control-state/run-operations.js +70 -13
- package/runtime/core/lib/control-state/run-owned-outputs.js +21 -9
- package/runtime/core/lib/control-state/run-presentation-envelope.js +25 -33
- package/runtime/core/lib/control-state/run-presentation-render.js +8 -7
- package/runtime/core/lib/control-state/run-presentation.js +45 -21
- package/runtime/core/lib/control-state/run-recording.js +10 -179
- package/runtime/core/lib/control-state/run-revision-boundary.js +7 -21
- package/runtime/core/lib/control-state/run-revision-history.js +23 -16
- package/runtime/core/lib/control-state/run-revision.js +84 -161
- package/runtime/core/lib/control-state/run-seal-compute.js +19 -44
- package/runtime/core/lib/control-state/run-seal.js +6 -1
- package/runtime/core/lib/control-state/run-source-revisions.js +19 -18
- package/runtime/core/lib/control-state/run-state-document.js +110 -42
- package/runtime/core/lib/control-state/run-state-edits.js +13 -5
- package/runtime/core/lib/control-state/run-state-parser.js +14 -6
- package/runtime/core/lib/control-state/run-state-reader.js +27 -18
- package/runtime/core/lib/control-state/run-state-repository.js +112 -48
- package/runtime/core/lib/control-state/run-state-resolver.js +12 -15
- package/runtime/core/lib/control-state/run-state-writer.js +21 -377
- package/runtime/core/lib/control-state/run-step-pending.js +2 -1
- package/runtime/core/lib/control-state/run-step-transaction.js +125 -114
- package/runtime/core/lib/control-state/run-steps.js +136 -248
- package/runtime/core/lib/control-state/run-store-inspection.js +14 -2
- package/runtime/core/lib/control-state/run-verified-change.js +81 -0
- package/runtime/core/lib/control-state/run-work-summary-shape.d.ts +1 -0
- package/{generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/backlog-summary-shape.js → runtime/core/lib/control-state/run-work-summary-shape.js} +7 -19
- package/runtime/core/lib/delivery-continuation/service.js +5 -66
- package/runtime/core/lib/delivery-path-search/persistence.js +26 -8
- package/runtime/core/lib/delivery-path-search/state-adapter.js +1 -1
- package/runtime/core/lib/index.js +14 -6
- package/runtime/core/lib/interaction-catalog.js +3 -3
- package/runtime/core/lib/interaction-presentation.js +29 -11
- package/runtime/core/lib/mcp-input-hints.js +46 -0
- package/runtime/core/lib/mcp-input-resolution.js +98 -0
- package/runtime/core/lib/mcp-input-schema.js +15 -0
- package/runtime/core/lib/mcp-resource-contract.js +1 -1
- package/runtime/core/lib/mcp-tool-errors.js +31 -15
- package/runtime/core/lib/owned-file-lock.js +266 -0
- package/runtime/core/lib/owner-placement.js +50 -0
- package/runtime/core/lib/resources/canonical-init-plan.js +34 -0
- package/runtime/core/lib/resources/configuration.js +92 -0
- package/runtime/core/lib/resources/context.js +7 -11
- package/runtime/core/lib/resources/language-preference.js +59 -0
- package/runtime/core/lib/runtime/mcp-owner-protocol.js +102 -0
- package/runtime/core/lib/runtime/plugin-provenance.js +173 -18
- package/runtime/core/lib/skill-dispatch/compact-continuation.js +3 -3
- package/runtime/core/lib/skill-dispatch/contract.js +28 -9
- package/runtime/core/lib/skill-dispatch/delivery-intake.js +11 -5
- package/runtime/core/lib/skill-dispatch/delivery-run-assignment.js +6 -10
- package/runtime/core/lib/skill-dispatch/mcp-continuation.js +64 -0
- package/runtime/core/lib/skill-dispatch/prd-definition.js +14 -5
- package/runtime/core/lib/skill-dispatch/sd-definition.js +2 -1
- package/runtime/core/lib/skill-dispatch/service.js +49 -14
- package/runtime/core/lib/skill-dispatch/tp-definition.js +2 -1
- package/generated/.agdf/control/templates/AGDF_RUN.md +0 -139
- package/generated/.agdf/control/templates/MASTER_BACKLOG.md +0 -39
- package/generated/plugins/agdf/control/templates/AGDF_RUN.md +0 -139
- package/generated/plugins/agdf/control/templates/MASTER_BACKLOG.md +0 -39
- package/generated/plugins/agdf/runtime/create-agdf/lib/control-maintenance/interaction.js +0 -28
- package/generated/plugins/agdf/runtime/create-agdf/lib/control-maintenance/repair.js +0 -4
- package/generated/plugins/agdf/runtime/create-agdf/lib/control-maintenance/service.js +0 -3
- package/generated/plugins/agdf/runtime/create-agdf/lib/control-state/run-recovery.js +0 -5
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-inspect/cockpit-backlog.js +0 -135
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-maintenance/interaction.js +0 -57
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-maintenance/migration.js +0 -85
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-maintenance/repair.js +0 -226
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/backlog-summary-shape.d.ts +0 -4
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/backlog-summary.js +0 -67
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/legacy-migration.js +0 -69
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/legacy-projection-reader.js +0 -38
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-backlog-writer.js +0 -80
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-backlog.js +0 -90
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-recovery.js +0 -296
- package/generated/plugins/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-relationship-correction.js +0 -74
- package/generated/plugins/copilot/agdf/control/templates/AGDF_RUN.md +0 -139
- package/generated/plugins/copilot/agdf/control/templates/MASTER_BACKLOG.md +0 -39
- package/generated/plugins/copilot/agdf/runtime/create-agdf/lib/control-maintenance/interaction.js +0 -28
- package/generated/plugins/copilot/agdf/runtime/create-agdf/lib/control-maintenance/repair.js +0 -4
- package/generated/plugins/copilot/agdf/runtime/create-agdf/lib/control-maintenance/service.js +0 -3
- package/generated/plugins/copilot/agdf/runtime/create-agdf/lib/control-state/run-recovery.js +0 -5
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-maintenance/interaction.js +0 -57
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-maintenance/migration.js +0 -85
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-maintenance/repair.js +0 -226
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/backlog-summary-shape.d.ts +0 -4
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/backlog-summary.js +0 -67
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/legacy-migration.js +0 -69
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/legacy-projection-reader.js +0 -38
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-backlog-writer.js +0 -80
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-backlog.js +0 -90
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-recovery.js +0 -296
- package/generated/plugins/copilot/agdf/runtime/create-agdf/runtime/core/lib/control-state/run-relationship-correction.js +0 -74
- package/lib/control-maintenance/interaction.js +0 -28
- package/lib/control-maintenance/repair.js +0 -4
- package/lib/control-maintenance/service.js +0 -3
- package/lib/control-state/run-recovery.js +0 -5
- package/lib/install-setup/control-repair.js +0 -1
- package/runtime/core/lib/control-inspect/cockpit-backlog.js +0 -135
- package/runtime/core/lib/control-maintenance/interaction.js +0 -57
- package/runtime/core/lib/control-maintenance/migration.js +0 -85
- package/runtime/core/lib/control-maintenance/repair.js +0 -226
- package/runtime/core/lib/control-state/backlog-summary-shape.d.ts +0 -4
- package/runtime/core/lib/control-state/backlog-summary.js +0 -67
- package/runtime/core/lib/control-state/legacy-migration.js +0 -69
- package/runtime/core/lib/control-state/legacy-projection-reader.js +0 -38
- package/runtime/core/lib/control-state/run-backlog-writer.js +0 -80
- package/runtime/core/lib/control-state/run-backlog.js +0 -90
- package/runtime/core/lib/control-state/run-recovery.js +0 -296
- package/runtime/core/lib/control-state/run-relationship-correction.js +0 -74
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# AGDF Runtime Contract — Interaction
|
|
2
2
|
|
|
3
|
+
## MCP preferences and complete inputs
|
|
4
|
+
|
|
5
|
+
The versioned meta/agdf-defaults.json and adjacent schema own shipped preferences; the existing
|
|
6
|
+
.agdf/control/config.json is the sole project override. Explicit valid call/request > confirmed
|
|
7
|
+
project > plugin applies to chat_language, artifact_language, presentation_route and gate_check_variant.
|
|
8
|
+
Missing optional preferences inherit; present invalid recognized settings are actionable errors.
|
|
9
|
+
Defaults never activate missing/incomplete control or write/repair configuration. Locale packs and
|
|
10
|
+
contract constants retain their existing owners.
|
|
11
|
+
|
|
12
|
+
MCP may omit presentation_language when the resolved preference matches the current request;
|
|
13
|
+
otherwise send its explicit BCP 47 override. CLI --language and complete Core input remain explicit.
|
|
14
|
+
Seven command groups may omit schema_version/assurance, and presentation.deliver may omit route.
|
|
15
|
+
Only inspect gate-check inherits variant. Current native adapters still require explicit working_directory;
|
|
16
|
+
omission without private trustworthy task context fails before effect. No target/process/plugin-directory guess.
|
|
17
|
+
All authority/state/reply bindings remain explicit. Existing inspect/help shows effective values/source;
|
|
18
|
+
no extra routine configuration call is needed. Original-operation snapshots and immutable presentations
|
|
19
|
+
retain their bound values after preference changes; existing replay/recovery stays the only owner.
|
|
20
|
+
|
|
3
21
|
## Run Status Card
|
|
4
22
|
|
|
5
23
|
When a run needs an operational status view, use the Run Status Card as a compact projection of existing control state.
|
|
@@ -7,7 +25,7 @@ It must not introduce a second gate model or override `gate-check`, `delivery-ma
|
|
|
7
25
|
|
|
8
26
|
- `mode`: `quick_task | verified_change | structured_delivery | unknown`
|
|
9
27
|
- `run_id`: the exactly selected canonical run
|
|
10
|
-
- `presentation_language`: the resolved complete locale-pack tag; a valid unsupported requested tag resolves to the registry's deterministic `en` pack, while
|
|
28
|
+
- `presentation_language`: the resolved complete locale-pack tag; a valid unsupported requested tag resolves to the registry's deterministic `en` pack, while an invalid explicit value fails; omitted MCP language resolves from confirmed-project/plugin preferences before this card exists and an incomplete or invalid registry fails closed
|
|
11
29
|
- `status`: `open | blocked | pass | warn | revise | block | in_progress`
|
|
12
30
|
- `current_gate`: current user gate or internal step
|
|
13
31
|
- `mode_slice_decision`: `undecided | quick_task | verified_change | structured_slice | structured_delivery | block`
|
|
@@ -83,7 +101,7 @@ requires fresh evaluator eligibility and carries the evaluated record scope and
|
|
|
83
101
|
missing Git observations retain their concrete refusal. Inspect current evidence before resuming and
|
|
84
102
|
perform only unfinished obligations. Applicable completed Quick Task CR or executed Verified Change
|
|
85
103
|
routes `compact_closeout` to release-or: Quick Task uses existing OR-lite recording, Verified Change
|
|
86
|
-
uses its linked Mini-Closeout
|
|
104
|
+
uses its linked Mini-Closeout through the current typed recording/closeout owner and exact confirmation.
|
|
87
105
|
Completed Runs stay terminal. No persistent execution marker or exactly-once guarantee is added.
|
|
88
106
|
|
|
89
107
|
When a bound authorized continuation corrects one missing relationship from exact previously
|
|
@@ -159,13 +177,13 @@ template:
|
|
|
159
177
|
|
|
160
178
|
This narration is temporally and structurally separate from the Gate Transition Card:
|
|
161
179
|
|
|
162
|
-
- The
|
|
163
|
-
|
|
180
|
+
- The prepared decision is **pre-approval**; its one Markdown document contains the
|
|
181
|
+
effect and exact `Approval:` value. Historical Gate Transition Cards remain audit projections.
|
|
164
182
|
- The narration is **post-acceptance** (after the gate advanced); it is indicative and
|
|
165
183
|
does not contain the `Approval:` value.
|
|
166
184
|
- Both never appear in the same assistant message.
|
|
167
185
|
- The narration does not repeat the decision's effect (the card's job) and uses its own
|
|
168
|
-
template,
|
|
186
|
+
template, without repeating the prepared decision summary.
|
|
169
187
|
- For internal steps (Brownfield Review, Brownfield Analysis), the narration states what
|
|
170
188
|
the agent does next and that no user action is required, without exposing
|
|
171
189
|
`next_user_gate: none` or asking for a second approval.
|
|
@@ -186,116 +204,15 @@ compact human card collapses internal sub-states to stable human labels:
|
|
|
186
204
|
all raw values unchanged.
|
|
187
205
|
|
|
188
206
|
|
|
189
|
-
##
|
|
190
|
-
|
|
191
|
-
Every ready `gate_approval` uses one fixed visible sequence: first the compact
|
|
192
|
-
approval-time Run Status Card, then the Gate Transition Card, then exactly one
|
|
193
|
-
native question or exact-text fallback. Both cards derive from one immutable,
|
|
194
|
-
non-authorizing presentation snapshot produced after canonical selected-run,
|
|
195
|
-
gate and durable-artefact readiness evaluation. The snapshot never selects a
|
|
196
|
-
run, decides a gate, persists state or grants approval.
|
|
197
|
-
|
|
198
|
-
The two distinct card blocks form one Approval Orientation Envelope in one
|
|
199
|
-
immediately preceding assistant message. The agent must complete that message
|
|
200
|
-
before invoking any native question tool or emitting an exact-text approval
|
|
201
|
-
request. Splitting the cards across separate assistant turns or invoking the
|
|
202
|
-
tool after only one card is a failed interaction, not a valid presentation.
|
|
203
|
-
|
|
204
|
-
The first visible line of that envelope is the localized neutral decision title
|
|
205
|
-
of the current user gate, rendered as a level-two Markdown heading or equivalent
|
|
206
|
-
accessible host heading inside the compact approval-time Run Status Card.
|
|
207
|
-
`AGDF Status`, `Run Status Card`, `Gate Transition Card`, raw gate identifiers
|
|
208
|
-
and machine values are semantic or diagnostic labels only and must not become
|
|
209
|
-
the primary heading. Approval-directed titles such as `Approve solution design`
|
|
210
|
-
are also invalid. The decision title appears exactly once and does not replace,
|
|
211
|
-
merge or reorder either required card block.
|
|
212
|
-
|
|
213
|
-
The compact approval-time Run Status Card contains exactly five operational
|
|
214
|
-
fields: selected run, readiness status, current gate, a localized human-readable
|
|
215
|
-
required decision and one neutral instruction to choose approve, request revision
|
|
216
|
-
or decline. It does not contain the exact approval value or quality outlook. It uses localized human-readable labels
|
|
217
|
-
and must not contain evidence, diagnostic codes, raw control-state keys,
|
|
218
|
-
allowed/forbidden inventories or machine values. The complete Run Status Card remains the operational,
|
|
219
|
-
CLI and audit projection. Every ready-gate presentation renders the complete operational Run Status Card exactly once, between the compact approval-time Run Status Card and the Gate Transition Card, consumed verbatim from the code-owned status presentation; when it is undeliverable, the localized status-presentation failure line with its concrete diagnostic codes takes its place and the decision is still requested.
|
|
220
|
-
The exact-approval once-only requirement applies to the compact approval-time Run Status Card and the Gate Transition Card only; the complete Run Status Card may carry the missing approval as audit data.
|
|
221
|
-
|
|
222
|
-
The first scan across both cards reveals the requested decision, readiness,
|
|
223
|
-
required approval, approval effect, remaining boundary and next transition.
|
|
224
|
-
Identity and artefact references provide supporting context without competing
|
|
225
|
-
with that sequence. Across the two cards, the exact `Approval: <GateName>` value
|
|
226
|
-
appears exactly once, in the Gate Transition Card. The later native prompt or
|
|
227
|
-
exact-text request may repeat it only as the required input.
|
|
228
|
-
|
|
229
|
-
The canonical `interaction-presentation.js` owner builds and validates one
|
|
230
|
-
immutable snapshot, then renders both complete Markdown blocks and the approval
|
|
231
|
-
interaction. The public additive `approval_presentation` schema contains
|
|
232
|
-
`schema_version`, selected run/revision/gate/locale identity, fixed sequence,
|
|
233
|
-
both rendered blocks, canonical prompt/options/exact-text fallback and
|
|
234
|
-
`authorizes: false`. It is a valid object only for a ready user gate and `null`
|
|
235
|
-
otherwise. Agents and surface adapters transmit these blocks without rebuilding
|
|
236
|
-
headings, fields, ordering, locale copy or Markdown.
|
|
237
|
-
|
|
238
|
-
The Gate Transition Card is the second orientation message. It is derived from
|
|
239
|
-
the same snapshot and canonical post-approval transition, but it is not another
|
|
240
|
-
state model, persisted record, renderer or approval authority. It turns only
|
|
241
|
-
the decision-relevant subset into concise product copy immediately before the
|
|
242
|
-
host-native question or exact-text fallback.
|
|
243
|
-
|
|
244
|
-
The card answers exactly three user questions, in this order:
|
|
245
|
-
|
|
246
|
-
1. **Where am I?** A localized human-readable gate title, deterministic human
|
|
247
|
-
run title, selected `run_id` as secondary context, compact `UR · PRD · SD · TP`
|
|
248
|
-
artefact links and a clear ready-for-decision state.
|
|
249
|
-
2. **What does this decision do?** The exact `Approval: <GateName>` value, its
|
|
250
|
-
concrete next outcome and the most important boundary that remains.
|
|
251
|
-
3. **What happens next?** The immediate agent-controlled action and the next
|
|
252
|
-
actual user decision when one exists; otherwise a plain statement that no
|
|
253
|
-
further user action is required now.
|
|
254
|
-
|
|
255
|
-
Use this compact composition:
|
|
207
|
+
## Prepared decision presentation
|
|
256
208
|
|
|
257
|
-
|
|
258
|
-
<localized gate title> · <human run title> · `<run_id>`
|
|
259
|
-
<UR link or localized missing text> · <PRD link or localized missing text> · <SD link or localized missing text> · <TP link or localized missing text>
|
|
260
|
-
<localized ready-for-decision line>
|
|
209
|
+
Current presentation records use version 6. The existing run-presentation owner renders one immutable Markdown decision document: neutral title, one complete source-authored/localized summary, decision effect, one exact Chat decision route and supporting version/source identity. Never repeat the summary as a brief plus details, append operational cards or add another questionnaire. The separate companion string is a short location/title/version pointer without a copied summary or decision question. The document reader returns these exact prepared Markdown bytes; source artefacts remain separately available through bound authoring-input reads. Older versions retain their original envelope/snapshot/approval proof; do not regenerate historical bytes.
|
|
261
210
|
|
|
262
|
-
|
|
263
|
-
`Approval: <GateName>` <localized concrete effect>. <localized remaining boundary>.
|
|
211
|
+
Preparation is not display or delivery. With MCP, agdf_prepare/presentation.prepare opens no UI and returns a typed presentation.deliver continuation. Ordinary delivery immediately selects full_markdown and returns the whole prepared Markdown once. An optional agdf_decision_view opens only a labelled non-primary read-only preview of the same document. Its live view may acknowledge exact rendered bytes, current visibility, server nonce, owner epoch and independently bound current-surface identity through the scoped view channel. A model-supplied boolean, client name/version, UI advertisement or action qualification is insufficient. The current SDK adapter supplies no trustworthy current-surface identity, so it cannot claim confirmed UI delivery.
|
|
264
212
|
|
|
265
|
-
|
|
266
|
-
<localized immediate agent action>. <localized next user decision or no-action statement>.
|
|
267
|
-
```
|
|
268
|
-
|
|
269
|
-
Resolve all AGDF-owned explanatory text through the canonical Interaction
|
|
270
|
-
Locale Registry. `en` and `de` are initial reviewed packs, not a closed locale
|
|
271
|
-
list. A valid unsupported requested locale uses the complete English pack. Missing or invalid
|
|
272
|
-
external dispatch input fails before governance evaluation; internal rendering without a
|
|
273
|
-
request-specific language supplies explicit `en`. An incomplete or invalid registry fails closed.
|
|
274
|
-
Gate identifiers, `run_id`, canonical paths and exact
|
|
275
|
-
approval values are never translated. The visible gate title is localized;
|
|
276
|
-
for example, the German title may be `Lösungsdesign` while the authorization
|
|
277
|
-
value remains `Approval: SD`. Meaning, ordering and authority boundaries are
|
|
278
|
-
identical across locale packs.
|
|
279
|
-
|
|
280
|
-
The Gate Transition Card must not be a Markdown table or dashboard. It must not
|
|
281
|
-
present raw control-state keys, machine status values, diagnostic codes,
|
|
282
|
-
evidence lists, allowed/forbidden inventories or implementation detail that is
|
|
283
|
-
not needed for the decision. It must not repeat the native question. The card
|
|
284
|
-
normally fits in one title, one readiness line and two short content blocks.
|
|
285
|
-
Run and gate identity may appear in both cards to anchor the shared snapshot;
|
|
286
|
-
status rows, action inventories and transition prose must not be duplicated.
|
|
287
|
-
|
|
288
|
-
For `Approval: TP`, the effect is permission to run pre-implementation
|
|
289
|
-
Brownfield Analysis, implementation remains gated until that analysis passes,
|
|
290
|
-
and the next block states plainly that no further user decision is required
|
|
291
|
-
now. Brownfield Analysis must not be presented as a user gate.
|
|
292
|
-
|
|
293
|
-
If snapshot validation or rendering fails, emit no partial card and forbid native
|
|
294
|
-
invocation. Perform a fresh gate evaluation. Show only the localized exact-text
|
|
295
|
-
request when the same gate remains ready and the canonical approval value is
|
|
296
|
-
independently valid. Otherwise report the current non-ready reason and request no
|
|
297
|
-
decision. Never patch, guess or model-reconstruct missing presentation content.
|
|
213
|
+
presentation.deliver selects ui_primary only for a fresh matching live confirmation from that current surface. Chat then receives only the pointer. Otherwise it retires the probe and selects full_markdown. Selection is monotonic: late/foreign observations cannot change Markdown or restore a primary view. Replay returns historical delivery status without another summary/question. Explicit fallback first removes UI primary status/actions and retires the view, then returns the exact Markdown. Expiry, teardown, navigation and source changes invalidate view authority. Retained offline pixels cannot prove current display or reading. Readable but action-unqualified UI has disabled buttons and the exact Chat route. Display and delivery never constitute intent, approval, host qualification or release authority.
|
|
298
214
|
|
|
215
|
+
The operational Run Status Card and Gate Transition Card remain deterministic read/audit projections. They are not additional blocks in the current prepared decision document. Historical format descriptions and locale fields do not require duplicating them in version 6.
|
|
299
216
|
|
|
300
217
|
## Native Interaction Contract
|
|
301
218
|
|
|
@@ -370,14 +287,12 @@ selected owner observed; it never supplies request applicability, target authori
|
|
|
370
287
|
gate permission.
|
|
371
288
|
|
|
372
289
|
Before presenting `gate_approval` for any user gate (`UR`, `PRD`, `SD`, `TP`,
|
|
373
|
-
`QA`, or `UAT`),
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
cards once per eligible attempt; an unavailable or not-applied native control
|
|
380
|
-
proceeds to exact text without repeating them.
|
|
290
|
+
`QA`, or `UAT`), prepare the exact selected Run/revision and deliver the single
|
|
291
|
+
Markdown decision document above. Confirmed current UI receives that document
|
|
292
|
+
with only its short Chat pointer; every other case receives full Markdown in Chat.
|
|
293
|
+
Operational status and historical transition cards are separate read/audit views;
|
|
294
|
+
never prepend them to this decision or repeat its summary or question. Optional
|
|
295
|
+
native controls must preserve this same document and deliberate decision authority.
|
|
381
296
|
|
|
382
297
|
### Approval Summary Source and Completeness
|
|
383
298
|
|
|
@@ -445,7 +360,7 @@ Before presenting `gate_approval`, the agent must:
|
|
|
445
360
|
|
|
446
361
|
1. resolve exactly one selected run;
|
|
447
362
|
2. run the canonical gate evaluation and confirm that the current gate's durable artefact is present and ready;
|
|
448
|
-
3. first execute `run-present --run <run_id> --gate <gate> --revision <revision_id>`; retain its presentation_id and show its exact returned text. A `presentation_required` dispatch result may already carry the same preview as `presentation.semantic_block: approval_preview` with identical `summary_digest`; the agent may show it, but asks the gate question only after `run-present` returned a `presentation_id`. This contains the complete deterministic or embedded localized summary, bound by `summary_digest`, and a clickable link to the exact durable artefact with its digest, run, gate and revision; UAT summarizes and lists its existing evidence rows. Missing or invalid summary material makes presentation unavailable and returns a targeted non-authorizing recovery. This explicit writing operation prepares a binding but never proves human visibility. Then forward the exact single decision presentation for the current surface. Show purpose, proposed change, consequences, material risks and exact document access before one approving action/formula. Keep technical identity in details. Do not append another status/transition card or approval questionnaire; ordinary discussion stays in Chat;
|
|
363
|
+
3. with available MCP use agdf_prepare/presentation.prepare followed by presentation.deliver as specified above; stop after forwarding the selected text. CLI/unsupported-host fallback: first execute `run-present --run <run_id> --gate <gate> --revision <revision_id>`; retain its presentation_id and show its exact returned text. A `presentation_required` dispatch result may already carry the same preview as `presentation.semantic_block: approval_preview` with identical `summary_digest`; the agent may show it, but asks the gate question only after `run-present` returned a `presentation_id`. This contains the complete deterministic or embedded localized summary, bound by `summary_digest`, and a clickable link to the exact durable artefact with its digest, run, gate and revision; UAT summarizes and lists its existing evidence rows. Missing or invalid summary material makes presentation unavailable and returns a targeted non-authorizing recovery. This explicit writing operation prepares a binding but never proves human visibility. Then forward the exact single decision presentation for the current surface. Show purpose, proposed change, consequences, material risks and exact document access before one approving action/formula. Keep technical identity in details. Do not append another status/transition card or approval questionnaire; ordinary discussion stays in Chat;
|
|
449
364
|
4. wait for deliberate user input without a timeout, default, preselection, hook-supplied answer or agent-to-agent substitute;
|
|
450
365
|
5. re-run canonical gate evaluation against the same `run_id` and expected gate immediately before persistence;
|
|
451
366
|
6. reject missing evidence, ambiguous or wrong run, wrong gate, stale state and any response that is no longer valid;
|
|
@@ -457,6 +372,11 @@ Before presenting `gate_approval`, the agent must:
|
|
|
457
372
|
work even when it awaits evidence, approval, or repair; it is not evidence that a previous gate was
|
|
458
373
|
approved. Stop at the next decision or blocker in the same turn. Do not wait for “continue”.
|
|
459
374
|
|
|
375
|
+
A run closure follows the same deliberate-reply rule without being a gate approval. Show the
|
|
376
|
+
returned `run-close` or `closure.preview` text verbatim, wait for the owner's reply and apply only
|
|
377
|
+
with that verbatim reply as the confirmation; the agent never supplies `Close runs: <preview_id>`
|
|
378
|
+
itself, and the receipt records the same cooperative assurance as an approval.
|
|
379
|
+
|
|
460
380
|
For a ready `gate_approval`, interaction kind and native capability are separate. Evaluate callability,
|
|
461
381
|
deliberate wait safety and canonical approval-value transport before invocation. `native_attempt_required`
|
|
462
382
|
is true only when current evidence proves `exact_option_value` or `separate_label_and_value` transport
|
|
@@ -686,7 +606,7 @@ For one same-scope match redispatch intake_mode resume with run_id and expected_
|
|
|
686
606
|
the inventory. The dispatcher rechecks target, active lifecycle, integrity and revision before gate
|
|
687
607
|
presentation or continuation. A changed assignment returns fresh evidence for comparison; it does
|
|
688
608
|
not silently adopt the newer scope or another run. Missing or invalid inventory blocks assignment
|
|
689
|
-
and never becomes a no-match result. For a clear independent scope with no match use intake_mode
|
|
609
|
+
and never becomes a no-match result. A new intake uses `run-<original-operation-uuid>` as its prospective ID. The current `run-create --title ... --operation <uuid>` command derives that exact ID; arbitrary named Run creation is unsupported. For a clear independent scope with no match use intake_mode
|
|
690
610
|
new and an unused run_id, even when unrelated runs exist, without asking the user to select an ID
|
|
691
611
|
or authorize bookkeeping again. If plausible scopes overlap, ask one focused question about the
|
|
692
612
|
requested work; do not offer a technical Run-ID choice. Status and explicit run-selection requests
|
|
@@ -744,14 +664,11 @@ remains an explicit evidence gap; do not silently install, reconnect or claim co
|
|
|
744
664
|
|
|
745
665
|
### Bound native and remote Chat delivery
|
|
746
666
|
|
|
747
|
-
|
|
748
|
-
validated summary. Only a qualified native card actually displayed on this current request surface supports `presentation_delivery.mode: native_plus_chat`: show the native card and forward one independently decidable private Chat summary, announcing either its approval button or the exact gate formula. A capability advertisement, emitted resource, render-only card or Mac-only display does not prove current or iPad visibility. Unconfirmed/unsupported surface receives the complete `full_chat` decision once, with no invisible-button instructions. Later optional native opening uses the same presentation; it creates no second request or authority. Never append
|
|
749
|
-
another approval questionnaire, status card or technical transition dump to this decision moment.
|
|
750
|
-
Rendering support, App-action qualification and current business eligibility remain separate.
|
|
667
|
+
Use the version-6 prepared decision delivery contract above. Rendering support, observed current-surface display, primary delivery, action qualification, current eligibility and human intent are separate states. Never infer an opened current card from capability or qualification, or copy the full summary into its Chat pointer.
|
|
751
668
|
|
|
752
669
|
When the human asks “Dokument lesen” / “Read document”, use existing `agdf_inspect` operation
|
|
753
670
|
`presentation-document` with the returned target/Run/gate/revision/presentation binding. Deliver
|
|
754
|
-
the exact
|
|
671
|
+
the exact prepared Markdown bytes as complete ordered chunks, following every `next_cursor` and
|
|
755
672
|
showing completeness and version provenance. Do not replace it with the current filesystem file,
|
|
756
673
|
a paraphrase or a Mac-only link. Discussing or reading never decides. If exact remote material or
|
|
757
674
|
synchronized Chat access is unavailable, explain that limitation and do not invite blind approval.
|
|
@@ -161,9 +161,10 @@ Graph Impact, Knowledge Persistence Decision, Closeout):
|
|
|
161
161
|
- `packages/cli/bin/**`
|
|
162
162
|
- any other executable code file, in any language, anywhere in the repository
|
|
163
163
|
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
164
|
+
No central backlog participates in Run control; inventory derives from current records.
|
|
165
|
+
normal Run operations do not maintain it. Existing Run relevance, approvals and evidence duties
|
|
166
|
+
remain unchanged. Worktree placement is defined solely in task-target-resolution.md.
|
|
167
|
+
|
|
167
168
|
|
|
168
169
|
#### Narrow Code-Fix Criterion
|
|
169
170
|
|
|
@@ -82,7 +82,7 @@ never hand-build an extra approval card or claim missing runtime integration is
|
|
|
82
82
|
|
|
83
83
|
The PRD owns exactly one `## Preview Review` section containing only one fenced `json` object.
|
|
84
84
|
Use `schema_version: "1"`, a short lowercase `version` ending in `-vN`, the canonical approved
|
|
85
|
-
`source_ur_digest`, and `entry: ".agdf/control/
|
|
85
|
+
`source_ur_digest`, and `entry: ".agdf/control/runs/<run_id>/evidence/previews/<version>/index.html"`.
|
|
86
86
|
Provide `files` sorted by path, each with `path`, raw-byte SHA-256 `digest`, exact `bytes` and
|
|
87
87
|
`media_type`; also provide `review_task`, nonempty `scenarios`, valid PRD `criterion_ids`, and
|
|
88
88
|
`open_questions` (an array, possibly empty). No other keys or separate manifest are accepted.
|
|
@@ -114,12 +114,12 @@ intake true, intake_mode resume, run_id, expected_revision_id and prd_action rev
|
|
|
114
114
|
Never edit an approved PRD or transfer its approval. An approved-intent change uses the existing
|
|
115
115
|
earliest affected UR/PRD revision route, not this unapproved authoring assignment.
|
|
116
116
|
|
|
117
|
-
Use the shared
|
|
118
|
-
run-step --step artefact --gate PRD --evidence <
|
|
119
|
-
run/revision. Record PRD derived_from the exact approved UR; analyses do not replace that source.
|
|
117
|
+
Use the shared reviewed-material contract in gate-artifact-preparation and existing
|
|
118
|
+
run-step --step artefact --gate PRD --evidence <reviewed-PRD.md> --reviewer <name> --reviewed true --update-draft <true|false> with the supplied current
|
|
119
|
+
run/revision and original operation UUID. Record PRD derived_from the exact approved UR; analyses do not replace that source.
|
|
120
120
|
Initial registration uses update_draft false; explicit registered replacement uses true with
|
|
121
|
-
fresh reviewed
|
|
122
|
-
bytes. Never hand-author receipts, substitute
|
|
121
|
+
fresh reviewed material and inline attestation. Retain previous proof/history and other protected
|
|
122
|
+
bytes. Never hand-author receipts, substitute a hand edit for required source binding or reseal
|
|
123
123
|
unknown edits. Follow existing transaction recovery and supported visible retry with fresh state.
|
|
124
124
|
|
|
125
125
|
Use the returned revision and redispatch gate-check. When supplied, prepare exact run-present,
|
|
@@ -38,6 +38,12 @@ approval and history records stay with their existing writers and retention rule
|
|
|
38
38
|
this policy authorizes no deletion or rewriting. Required reviews retain their own
|
|
39
39
|
assessment and accountable owner even when they share evidence.
|
|
40
40
|
|
|
41
|
+
For Run control, follow the bound typed MCP continuation and operation-contract.
|
|
42
|
+
Authoring inputs, material staging and recording use the existing owners described in
|
|
43
|
+
gate-artifact-preparation.md, section Typed MCP control transport. Local path/validator
|
|
44
|
+
examples are fallback only when the required MCP group is unavailable; they never require
|
|
45
|
+
a shell switch when the current host exposes the corresponding typed operation.
|
|
46
|
+
|
|
41
47
|
## Verification Effectiveness And Completion
|
|
42
48
|
|
|
43
49
|
Derive expected results from approved requirements and domain rules, not copied
|
|
@@ -65,7 +71,9 @@ host behavior are distinct evidence classes. Claim savings or compliance only as
|
|
|
65
71
|
|
|
66
72
|
## Quality Readiness Projection
|
|
67
73
|
|
|
68
|
-
When `qa-gate` authors or refines `QA_REPORT.md`, it uses
|
|
74
|
+
When `qa-gate` authors or refines `QA_REPORT.md`, it uses the version-matched `QA_REPORT`
|
|
75
|
+
template from bound `authoring-inputs` at the current QA gate. Follow every cursor and preserve
|
|
76
|
+
the manifest/digest binding. CLI fallback uses only the supplied absolute plugin-owned
|
|
69
77
|
`template_path`. Repository scaffold copies are derived review references, not an authoring source.
|
|
70
78
|
An unavailable or unsafe template blocks QA report authoring without mutation or success-shaped
|
|
71
79
|
fallback; it does not turn missing evidence into a QA decision.
|
|
@@ -128,7 +136,7 @@ Tool-call batching:
|
|
|
128
136
|
|
|
129
137
|
- `RUN_STATE.md` is written once per user gate approval, not once per field change. The
|
|
130
138
|
agent keeps intermediate state in memory between gate approvals and writes the complete
|
|
131
|
-
|
|
139
|
+
reviewed material through its existing typed recording owner before the next `gate-check`.
|
|
132
140
|
- The agent does not `read` existing artefacts for format reference. Skill instructions
|
|
133
141
|
carry the format/structure inline. If a specific existing artefact must be inspected
|
|
134
142
|
for content (not format), the read has no accompanying commentary.
|
|
@@ -140,10 +140,9 @@ grant applicability or authority.
|
|
|
140
140
|
{ "operation_id": "status.opencode_repository", "route_family": "repository_status", "target_boundary": "explicit_required", "control_boundary": "absence_is_result", "owner_kind": "function", "owner": "evaluateOpenCodeStatus.repository" },
|
|
141
141
|
{ "operation_id": "runtime.checks", "route_family": "global_runtime_lifecycle", "target_boundary": "none", "control_boundary": "no_probe", "owner_kind": "command", "owner": "runtime-checks" },
|
|
142
142
|
{ "operation_id": "control.doctor", "route_family": "deterministic_control_inspection", "target_boundary": "required_after_activation", "control_boundary": "missing_is_result", "owner_kind": "command", "owner": "doctor" },
|
|
143
|
+
{ "operation_id": "control.inventory", "route_family": "deterministic_control_inspection", "target_boundary": "required_after_activation", "control_boundary": "missing_is_result", "owner_kind": "command", "owner": "inventory" },
|
|
143
144
|
{ "operation_id": "control.delivery_map", "route_family": "deterministic_control_inspection", "target_boundary": "required_after_activation", "control_boundary": "missing_is_result", "owner_kind": "command", "owner": "delivery-map" },
|
|
144
145
|
{ "operation_id": "run.create", "route_family": "run_lifecycle", "target_boundary": "required_after_activation", "control_boundary": "command_preconditions", "owner_kind": "command", "owner": "run-create" },
|
|
145
|
-
{ "operation_id": "run.migrate", "route_family": "run_lifecycle", "target_boundary": "required_after_activation", "control_boundary": "command_preconditions", "owner_kind": "command", "owner": "run-migrate" },
|
|
146
|
-
{ "operation_id": "run.render_legacy", "route_family": "run_lifecycle", "target_boundary": "required_after_activation", "control_boundary": "command_preconditions", "owner_kind": "command", "owner": "run-render-legacy" },
|
|
147
146
|
{ "operation_id": "continuation.current", "route_family": "active_run_continuation", "target_boundary": "required_after_activation", "control_boundary": "target_run_gate_revalidation", "owner_kind": "function", "owner": "existingTargetRunGateRevalidators" }
|
|
148
147
|
],
|
|
149
148
|
"derived_operations": [
|
|
@@ -178,13 +177,15 @@ route synthesizes an immediate `Approval: UR` merely because a control file is a
|
|
|
178
177
|
## Active Run Inventory
|
|
179
178
|
|
|
180
179
|
"Zeige die aktiven AGDF-Runs in diesem Projekt" / "Show the active AGDF runs in this project"
|
|
181
|
-
selects `control.
|
|
180
|
+
selects `control.inventory`, even with gate-check loaded. For "this project", bind its verified chat
|
|
182
181
|
repository root as `primary_target`, `target_source: current_repository`; cwd alone is not authority.
|
|
183
182
|
Ambiguous or unavailable projects use existing target clarification.
|
|
184
|
-
Call `agdf_inspect` with `operation:
|
|
185
|
-
`working_directory`; fallback: surface-local `
|
|
186
|
-
Omit run selection, intake and continuation. Show every returned run
|
|
187
|
-
|
|
183
|
+
Call `agdf_inspect` with `operation: inventory`, `presentation_language` and actual
|
|
184
|
+
`working_directory`; fallback: surface-local `inventory --dir <verified-root> --json`.
|
|
185
|
+
Omit run selection, intake and continuation. Show every returned open run with title, gate and
|
|
186
|
+
attention class, the history counts and integrity findings. Classes rest on stored run state, not a
|
|
187
|
+
live gate evaluation; say so. Distinguish empty, absent control, incomplete inventory and failure;
|
|
188
|
+
partial counts are not totals. `doctor` with `all_active: true` stays the all-run health check.
|
|
188
189
|
Listing never repairs, initializes or requests approval.
|
|
189
190
|
|
|
190
191
|
## Request Applicability Guard
|
|
@@ -244,7 +245,7 @@ The requested effect, not discovery, decides AGDF activation.
|
|
|
244
245
|
A delivery request without a confirmed run binding first dispatches gate-check with intake true
|
|
245
246
|
and no run_id. Its resolve_delivery_run continuation supplies canonical UR scope evidence for the
|
|
246
247
|
coding agent's assignment. One unequivocal same-scope continuation uses resume, its run_id and
|
|
247
|
-
expected_revision_id; a clear independent scope uses new and an unused
|
|
248
|
+
expected_revision_id; a clear independent scope uses new and an unused `run-<original-operation-uuid>` ID even when unrelated
|
|
248
249
|
runs exist. Single-run count, recency, shared files and ambient AGDF_RUN_ID prove no scope match.
|
|
249
250
|
Overlapping plausible scopes require one question about the work, not a technical Run-ID choice.
|
|
250
251
|
Incomplete inventory is a technical failure, never evidence for a new scope. Read-only requests omit intake and
|
|
@@ -72,11 +72,11 @@ gate-check intake true, intake_mode resume, run_id, expected_revision_id and sd_
|
|
|
72
72
|
(CLI --sd-action revise), exclusive of UR/PRD actions and continue_delivery. Never edit an
|
|
73
73
|
approved design or transfer approvals. Source-intent changes use their existing revision owner.
|
|
74
74
|
|
|
75
|
-
Use gate-artifact-preparation's shared
|
|
76
|
-
run-step --step artefact --gate SD --evidence <
|
|
75
|
+
Use gate-artifact-preparation's shared reviewed-material contract with the supplied run/revision:
|
|
76
|
+
run-step --step artefact --gate SD --evidence <reviewed-SD.md> --reviewer <name> --reviewed true --update-draft <true|false>. Record SD-derived_from-PRD
|
|
77
77
|
from its exact approved source. Initial registration uses update_draft false; permitted explicit
|
|
78
78
|
replacement uses true with fresh mapping/input paths, preserving previous proof/history and
|
|
79
|
-
other protected bytes. No hand-authored receipt,
|
|
79
|
+
other protected bytes. No hand-authored receipt, manual reseal bypass or unknown-edit reseal.
|
|
80
80
|
Use supported transaction/recovery with fresh state on failure.
|
|
81
81
|
|
|
82
82
|
Redispatch gate-check after recording. Prepare its exact run-present when supplied, show returned
|
|
@@ -154,3 +154,27 @@ result; it must not resolve targets, derive governance or become a state store.
|
|
|
154
154
|
Show orientation when target/context separation is material, when the target changes, or when the
|
|
155
155
|
result is unresolved. Avoid redundant presentation for an obvious unchanged target. Presentation
|
|
156
156
|
never grants mutation or gate authority.
|
|
157
|
+
|
|
158
|
+
## Worktree Placement And Assigned Checkout
|
|
159
|
+
|
|
160
|
+
When choosing a new worktree for an initiative, use
|
|
161
|
+
`<owning-primary-checkout>/.agdf/worktrees/<initiative>/`. Determine the primary owner from
|
|
162
|
+
Git common-directory/worktree metadata through the existing repository-context/Git boundary;
|
|
163
|
+
a linked checkout's cwd is not the owner. Resolve unclear ownership, unsafe initiative paths
|
|
164
|
+
and destination collisions before creation. Reuse an already assigned worktree for the coherent
|
|
165
|
+
initiative; do not recursively create another worktree inside it. This rule does not require
|
|
166
|
+
worktrees for every trivial task.
|
|
167
|
+
|
|
168
|
+
Verify that the owning checkout ignores the container before creating a worktree. Preserve an
|
|
169
|
+
existing correct ignore mechanism. Otherwise prepare a contained `.agdf/worktrees/.gitignore`
|
|
170
|
+
with an ignore-all rule for its contents, preserving foreign rules, and verify the destination
|
|
171
|
+
with `git check-ignore`. This is preparation guidance, not permission for an automatic manager
|
|
172
|
+
to create/switch/move/clean worktrees or edit arbitrary ignore files.
|
|
173
|
+
|
|
174
|
+
Existing locations and explicit user-instructed alternatives remain supported; record the
|
|
175
|
+
assignment/exception rather than moving existing work. One writer continues each Run in its
|
|
176
|
+
assigned checkout; reviewers read only. Path/branch names confer no authority and checkout-path
|
|
177
|
+
target identity does not enforce branch/HEAD binding or cross-checkout locks. Never share or
|
|
178
|
+
symlink control stores. New worktrees do not copy untracked Run artefacts; inventory and preserve
|
|
179
|
+
registered/untracked evidence before separately authorized handoff or cleanup. Global plugins,
|
|
180
|
+
configuration, ports and external services are not isolated by Git worktrees.
|
|
@@ -76,7 +76,7 @@ use their existing source-revision owner. Eligible incomplete-draft correction n
|
|
|
76
76
|
source/integrity blockers.
|
|
77
77
|
|
|
78
78
|
Use gate-artifact-preparation's shared language/summary and Reviewed Recording Input procedure:
|
|
79
|
-
run-step --step artefact --gate TP --evidence <
|
|
79
|
+
run-step --step artefact --gate TP --evidence <reviewed-TP.md> --reviewer <name> --reviewed true --update-draft <true|false> with this run/revision, TP-derived_from-SD,
|
|
80
80
|
update_draft false initially and true for permitted replacement. Retain reviewed derivation, prior
|
|
81
81
|
proof/history and other protected bytes; never hand-author receipts or bypass the checked writer.
|
|
82
82
|
After recording redispatch gate-check for this same run with `continue_delivery: true`
|
|
@@ -1,11 +1,44 @@
|
|
|
1
1
|
# AGDF Runtime Contract — UR Definition
|
|
2
2
|
|
|
3
3
|
This contract guides `ur-definition` only after a non-authorizing, bound
|
|
4
|
-
`skill_continuation` with `phase: ur_definition
|
|
4
|
+
`skill_continuation` with `phase: ur_definition` or `phase: planned_ur_definition`.
|
|
5
|
+
The same owner defines UR content in both modes. It creates no gate or persistence authority.
|
|
5
6
|
|
|
6
|
-
##
|
|
7
|
+
## Planning mode before a Run
|
|
7
8
|
|
|
8
|
-
|
|
9
|
+
For explicit capture/refinement/priority intent, dispatch this same skill with the confirmed
|
|
10
|
+
target and `planning: {plan_id, expected_digest}`. Use null digest for capture and an inspected
|
|
11
|
+
canonical digest for replacement. Planning is mutually exclusive with Run/revision, delivery
|
|
12
|
+
intake, continue_delivery and source-revision selectors. Do not enter Run assignment to save a
|
|
13
|
+
planned need. The optional planning plugin orchestrates this mode; Core owns its semantics.
|
|
14
|
+
|
|
15
|
+
Follow `phase: planned_ur_definition` only. Read every returned authoring-inputs page for the
|
|
16
|
+
version-matched UR template, current source and `planning_capability`. Use the same need,
|
|
17
|
+
clarification, preview, language and summary rules below. An incomplete draft remains saveable
|
|
18
|
+
with clarification open. Planning stops at UR and minimal metadata: never author planned PRD,
|
|
19
|
+
SD or TP, present a gate, collect Approval: UR or infer delivery permission.
|
|
20
|
+
|
|
21
|
+
Use `agdf_record/planned_material.stage` for one UR, then `planned_ur.create` or
|
|
22
|
+
`planned_ur.replace` with that exact planning scope and original mutation UUID. Choose the new
|
|
23
|
+
identity as `plan-<mutation UUID>` without asking the user for an identifier. Creation material
|
|
24
|
+
contains the ordinary UR template without planning scalar fields: Core adds exactly one initial
|
|
25
|
+
`Planning schema: planned-ur-v1`, `Planning id: <plan_id>` and `Planning priority: high|normal|low`.
|
|
26
|
+
Default normal applies only on explicit create. Replacement preserves schema/identity and
|
|
27
|
+
changes priority in that same UR source under its expected digest; no saved parallel title/status.
|
|
28
|
+
No Run-bound material, generic file writer, shell fallback or copied template is permitted.
|
|
29
|
+
|
|
30
|
+
Return the saved readable title, source reference/digest, priority and remaining clarification.
|
|
31
|
+
Completeness/priority/selection never starts delivery. Only a later explicit request to start from
|
|
32
|
+
the selected current source uses `agdf_run/run.create_from_planned`; read its contract and preserve
|
|
33
|
+
the original UUID after uncertainty. The handoff creates one unapproved Run for normal UR review.
|
|
34
|
+
A different UUID on an already transferred identity returns that Run. Historical planning source
|
|
35
|
+
is read-only afterwards; later product edits use the active Run's existing revision owner.
|
|
36
|
+
Inspect the original operation before retry. Missing/incompatible Core, unsafe/stale source,
|
|
37
|
+
pending recovery or ambiguous origins stop the affected action with concrete diagnosis.
|
|
38
|
+
|
|
39
|
+
## Run mode binding and ownership
|
|
40
|
+
|
|
41
|
+
For `phase: ur_definition`, use only the returned governance_target, run_id, revision_id, artifact_path and template_path.
|
|
9
42
|
template_path is the absolute, version-matched template owned by the installed plugin runtime.
|
|
10
43
|
Repository copies under `.agdf/control/templates/` are derived scaffold references and never
|
|
11
44
|
override this authoring source. Read the template without rewriting it; persist only artifact_path.
|
|
@@ -42,7 +75,7 @@ Preserve the requirement and name a concrete recovery or obtain an explicit scop
|
|
|
42
75
|
cannot be delivered. Record the responsible later UX/PRD step in Next Step; UR authoring still
|
|
43
76
|
writes only its assigned UR, not a preview or product implementation. A requested before-PRD preview
|
|
44
77
|
is created through UX intent clarification under the existing post-UR routing owner. Its durable
|
|
45
|
-
output belongs to `.agdf/control/
|
|
78
|
+
output belongs to `.agdf/control/runs/<run_id>/evidence/previews/` for the bound run; the UX skill owns
|
|
46
79
|
creation, versioning, evidence and references. An inline chat rendering alone does not fulfill that
|
|
47
80
|
run deliverable. In a new UR, set exactly one initial metadata line before the first section:
|
|
48
81
|
`Preview requirement: before_prd_interactive` for a required interactive before-PRD preview,
|
|
@@ -79,15 +112,16 @@ For new-format URs, a missing or invalid required summary returns to this same a
|
|
|
79
112
|
route before presentation. Correct it through the existing revision writer; no user approval
|
|
80
113
|
is required merely to complete an unapproved incomplete draft.
|
|
81
114
|
|
|
82
|
-
##
|
|
115
|
+
## Run mode revision and recording
|
|
83
116
|
|
|
84
117
|
A new draft is recorded through existing run-step --step ur --title <short title>, using
|
|
85
118
|
--dir <governance_target> --run <run_id> --revision <revision_id>.
|
|
86
119
|
For an already registered unapproved draft, require explicit user revision intent. Resume
|
|
87
120
|
through gate-check with intake true, intake_mode resume, run_id, expected_revision_id and
|
|
88
121
|
ur_action revise (CLI --ur-action revise). Ordinary intake of a ready draft still presents it.
|
|
89
|
-
|
|
90
|
-
|
|
122
|
+
Stage the replacement and use ur_draft.replace with the current binding. The writer
|
|
123
|
+
publishes the document and typed evidence atomically. Never edit bound bytes, reseal
|
|
124
|
+
an unknown change or alter an approved UR or its approval.
|
|
91
125
|
Use the returned new revision, redispatch gate-check for this target/run, prepare the fresh
|
|
92
126
|
run-present when supplied, show its returned text verbatim and wait for a NEW deliberate
|
|
93
127
|
`Approval: UR`. Previous presentations/replies cannot approve a changed draft.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema_version": 1,
|
|
3
3
|
"profile_id": "copilot-runtime-plugin",
|
|
4
|
-
"max_files":
|
|
5
|
-
"max_bytes":
|
|
6
|
-
"rationale": "
|
|
4
|
+
"max_files": 453,
|
|
5
|
+
"max_bytes": 4717872,
|
|
6
|
+
"rationale": "PR #50 integration follow-up: fresh canonical initialization seeds no shared Backlog in either layout; historical v4 material recovery has an explicit legacy fixture. Exact generated Copilot closure: 453 files / 4717872 bytes (-112 from 7aff94dc), no reserve; time, schema and safety limits unchanged."
|
|
7
7
|
}
|
|
@@ -148,6 +148,13 @@
|
|
|
148
148
|
"profile_id": "runtime-plugin",
|
|
149
149
|
"entry_digest": "1b194df6abf5de884b4d69ab38cde567b5c28674f392ef853678800e05de7e65",
|
|
150
150
|
"status": "supported"
|
|
151
|
+
},
|
|
152
|
+
"0.30.0": {
|
|
153
|
+
"contract_id": "five-profile-v1",
|
|
154
|
+
"provenance_schema_version": 1,
|
|
155
|
+
"profile_id": "runtime-plugin",
|
|
156
|
+
"entry_digest": "05a4645b92ab7f33c40ae676f7e92c95f618b86e3fc031684cfbac8bf6b21ce6",
|
|
157
|
+
"status": "supported"
|
|
151
158
|
}
|
|
152
159
|
}
|
|
153
160
|
}
|
|
@@ -49,9 +49,10 @@ Then pick one catalog route; non-authorizing, downstream checks remain.
|
|
|
49
49
|
|
|
50
50
|
## Executable Dispatch
|
|
51
51
|
|
|
52
|
-
Use listed MCP `agdf_dispatch` (load deferred; host prefix allowed): `skill_id` `brownfield-analysis`, `presentation_language
|
|
52
|
+
Use listed MCP `agdf_dispatch` (load deferred; host prefix allowed): `skill_id` `brownfield-analysis`, `presentation_language` (optional override), `working_directory`, and only bound `target_source`/`primary_target` and `run_id`. Never search unlisted tools.
|
|
53
53
|
If absent/failing: supplied schema-2 executable, child-only environment, immutable argv_prefix, declared arguments; `--skill brownfield-analysis`, language and working directory.
|
|
54
|
-
|
|
54
|
+
MCP: MCP reply-language override (BCP 47). Omit for a matching configured preference; otherwise supply the current request's language (explicit instruction, then dominant language, en if ambiguous). Invalid explicit tags fail; valid unsupported tags use the complete English pack. Core input remains complete.
|
|
55
|
+
For `--language`: Required; apply the same current-request selection and locale validation.
|
|
55
56
|
`target_source`: `explicit_target` if request names `primary_target`; `continued_target` if it unambiguously continues confirmed target; `current_repository` if request names this/current repo with one matching repo active. Otherwise omit the pair; cwd has no target authority.
|
|
56
57
|
Quote shell values as data.
|
|
57
58
|
For a result with `terminal: true`, the entire assistant response must consist only of host_action.text, copied verbatim. Add no question, explanation, heading, citation, link or other surrounding text; do not translate or reformat it; invoke no later tool and stop.
|
|
@@ -59,8 +60,10 @@ On skill_continuation use only its target/control. Without that tool and a valid
|
|
|
59
60
|
or help retries. Dispatch never authorizes.
|
|
60
61
|
|
|
61
62
|
Brownfield-specific output must make evidence, missing existing-system view, parallel-structure risk, reuse strategy, and the minimal next step visible.
|
|
62
|
-
When `.agdf/control/` is present, persist or link `post_ur_review` output under `.agdf/control/
|
|
63
|
-
then
|
|
63
|
+
When `.agdf/control/` is present, persist or link `post_ur_review` output under `.agdf/control/runs/<run_id>/documents/BROWNFIELD_REVIEW.md`,
|
|
64
|
+
then use the bound MCP continuation: stage the reviewed material and record the Mode/Slice
|
|
65
|
+
Decision through `agdf_record/step.record` (step `route`). Only when that group is unavailable,
|
|
66
|
+
use the supplied validator's `run-step --step route --route <mode> --reason --evidence`.
|
|
64
67
|
|
|
65
68
|
## Modes
|
|
66
69
|
|
|
@@ -198,7 +201,7 @@ Use a concise structure:
|
|
|
198
201
|
- decision: pass | revise | block | not_applicable
|
|
199
202
|
- mode_slice_decision: quick_task | verified_change | structured_slice | structured_delivery | block
|
|
200
203
|
- required_next_gate: none | PRD | SD | TP | Brownfield Analysis
|
|
201
|
-
- artefact: .agdf/control/
|
|
204
|
+
- artefact: .agdf/control/runs/<run_id>/documents/BROWNFIELD_REVIEW.md | none
|
|
202
205
|
- scope:
|
|
203
206
|
- evidence:
|
|
204
207
|
- transparency: why later artefacts are skipped, shortened or required
|