FORGE-F016 Require authoritative application delivery evidence
This commit is contained in:
@@ -28,6 +28,8 @@ uses the lifecycle below; it does not create a second state system.
|
||||
|
||||
`references/task-lifecycle.md` owns the states, valid transitions, evidence and approval gates. Its logical states are **Created**, **In Progress**, **Implementation Complete**, **Testing**, **Ready for Review / Integration**, **Integrated**, **Verified / Closed**, and **Blocked / Suspended**. Existing records may retain **Ready to Finalise** for an implementation candidate, **Ready for Review** for a submitted review, **Merged** for verified integration, and **Closed** for accepted completion. Do not map a passing implementation or a Git merge directly to closure. A planned task is not authorised merely because its dependencies are ready. `lock on` briefs objective, scope, acceptance, dependencies, risks, validation, and unresolved decisions; `engage` implements the briefed accepted task. Use the repository's current branch policy. For a simple scoped task, direct integration-branch work is valid when the Captain or repository explicitly authorises it, the checkout is clean or explained, no other console is changing that branch, and the task can be kept as a reviewable commit. Use a dedicated branch and separate worktree when required by repository policy, concurrent work, unresolved changes, or risk of mixing tasks. Do not check the same branch out twice or switch another console's worktree.
|
||||
|
||||
For application-feature missions, record the authoritative application destination and real-route acceptance evidence in the existing task record before advancing the corresponding gates. A standalone preview may be an accepted **Prototype Complete** outcome only for an explicitly approved prototype mission; it does not satisfy application-feature implementation, review, integration or closure. Keep isolated checks, real-application manual tests, review submission, Captain-authorised integration, and post-integration combined validation distinct. `bortstack-contributor` owns the architecture discovery and contributor guidance; this skill owns the state transitions and required records.
|
||||
|
||||
Before starting another implementation task, audit active worktrees, changes, and handoffs. Previous work must be committed and submitted for review, integrated, or explicitly suspended with its exact state documented. Detect and report unfinished worktrees, uncommitted or untracked files, and missing or incomplete handoffs. Never automatically delete an unfinished worktree. A dedicated branch/worktree is the default unless the repository's current `AGENTS.md` or Captain's explicit direction authorises direct integration-branch work; preserve task scope and status gates in either mode. Implementation Complete or Testing remains separate from review submission and integration. A contributor's completion statement initiates ordinary finalisation under repository policy; Captain approval is required before merging that contributor's PR. Integrated requires combined-application verification, and Verified / Closed requires human acceptance. Blocked / Suspended preserves the branch, worktree, and resumption instructions. Commit, push, merge, rebase, reset, and deployment follow the authority and restrictions in the canonical reference; do not infer integration or deployment authority from `engage`.
|
||||
|
||||
For authorised direct-branch work, record the active task and starting commit, inspect status before editing, keep unrelated changes untouched, and finish with a scoped diff and validation before committing. Record the resulting commit and pending acceptance in the task and handoff. Do not create a test worktree merely for branch ceremony; use the repository's manual-test adapter only when the task actually needs it. If another task or console changes the checkout, stop and reconcile before continuing. Direct commits do not bypass review, design approval, or human completion gates.
|
||||
|
||||
@@ -45,6 +45,18 @@ altering work. Select and record the authorised mode, then give a concise
|
||||
briefing and the next command, `MISSION-ID engage`. Do not implement or create
|
||||
a task worktree merely from selection.
|
||||
|
||||
For an application-feature mission, `set course` / `lock on` must identify the
|
||||
authoritative application and delivery destination before inviting `engage`.
|
||||
Record the feature objective, application location, route or entry point,
|
||||
navigation path, backend/data and authentication/permission dependencies,
|
||||
accepted design or override, real testing environment, integration baseline,
|
||||
and acceptance criteria in the existing task or handoff record. The contributor
|
||||
skill owns the architecture discovery and plain-language briefing; the
|
||||
context lifecycle owns the evidence gates. If the application boundary or route
|
||||
is unclear, keep selection briefed but blocked for implementation until it is
|
||||
resolved. An explicitly approved standalone prototype must be labelled as
|
||||
such, with prototype-specific acceptance; it is not an application feature.
|
||||
|
||||
`direct` uses the current authorised development/integration branch. Permit it
|
||||
only when repository policy and the person's permissions allow it, the checkout
|
||||
is suitable, and concurrent/unrelated work is protected. `worktree` means a
|
||||
|
||||
@@ -11,27 +11,29 @@ record formats, state gates or Git authority.
|
||||
| State | Entry evidence | Permitted next state |
|
||||
| --- | --- | --- |
|
||||
| Created | Unique stable ID, scope, owner, dependencies, acceptance criteria; no implementation authority implied | In Progress, Blocked / Suspended |
|
||||
| In Progress | Authorised task, assigned branch/worktree or explicitly authorised direct branch, baseline commit, integration target, relevant dependencies | Implementation Complete, Blocked / Suspended |
|
||||
| Implementation Complete | Candidate diff reviewed, implementation commit or exact uncommitted state recorded, applicable automated checks recorded | Testing, Blocked / Suspended |
|
||||
| Testing | Exact candidate and manual-test environment identified, result or outstanding test gate recorded | Implementation Complete for fixes, Ready for Review / Integration, Blocked / Suspended |
|
||||
| Ready for Review / Integration | Required tests passed or an explicit accepted exception; intended files committed; branch and commit recorded; push and PR verified where the provider supports them, or a repository-approved local review handoff acknowledged | In Progress for requested changes, Integrated after Captain approval and combined verification, Blocked / Suspended |
|
||||
| In Progress | Authorised task, assigned branch/worktree or explicitly authorised direct branch, baseline commit, integration target, relevant dependencies; application-feature destination recorded before implementation | Implementation Complete, Blocked / Suspended |
|
||||
| Implementation Complete | Candidate diff reviewed, implementation commit or exact uncommitted state recorded, applicable automated checks recorded; application features implemented at the recorded authoritative integration point | Testing, Blocked / Suspended |
|
||||
| Testing | Exact candidate and manual-test environment identified, result or outstanding test gate recorded; application features exercised at the real application route | Implementation Complete for fixes, Ready for Review / Integration, Blocked / Suspended |
|
||||
| Ready for Review / Integration | Required tests passed or an explicit accepted exception to a nonmandatory check (never the application-feature real-route gate); intended files committed; branch and commit recorded; push and PR verified where the provider supports them, or a repository-approved local review handoff acknowledged | In Progress for requested changes, Integrated after Captain approval and combined verification, Blocked / Suspended |
|
||||
| Integrated | Captain-authorised integration commit on designated target, combined application tests and affected workflow checks passed, conflicts resolved without discarding work | Verified / Closed, In Progress for reconciliation if later verification fails |
|
||||
| Verified / Closed | Required acceptance criteria and human acceptance recorded, integration evidence linked, task-owned cleanup performed only when authorised | Terminal; reopen through an explicit new record or documented correction |
|
||||
| Blocked / Suspended | Actual step, reason, preserved branch/worktree/commit, owner and resumption action recorded | Previous active state after blocker resolution, or an explicitly authorised replacement state |
|
||||
|
||||
Implementation Complete never means Integrated. A passing isolated test or Git merge alone cannot close a task. A failed combined-application check leaves the task open; record the merge candidate and failure, and return to In Progress for reconciliation or Blocked / Suspended. Never rewrite a successful state merely to hide failed evidence.
|
||||
Implementation Complete never means Integrated. A passing isolated test, Docker startup, screenshot, standalone preview, contributor appearance approval, commit, PR, or Git merge alone cannot close an application-feature task. A failed combined-application check leaves the task open; record the merge candidate and failure, and return to In Progress for reconciliation or Blocked / Suspended. Never rewrite a successful state merely to hide failed evidence. **Prototype Complete** is an acceptance outcome for an explicitly approved standalone prototype, not a replacement lifecycle state or evidence that an application feature is implemented. Record a later application integration as separate work with its own verification.
|
||||
|
||||
## Required task record
|
||||
|
||||
Record the task ID, state, owner, branch and worktree, baseline commit, integration target, dependencies, implementation commit, provider remote and PR reference where applicable, isolated automated and manual tests, Captain approval, integration commit, combined tests and affected UI/API/dependency checks, acceptance outcome, and any cleanup instruction. Use `not applicable` or `pending` rather than inventing a value. Keep private credentials out of records. For a direct-branch task, record that authorisation and use `not applicable` for the separate worktree/PR fields.
|
||||
|
||||
For an application feature, also record its authoritative frontend/backend as applicable, route or entry point, actual navigation path, implementation locations, backend/data and auth/permission requirements, accepted design, real development/test environment, and source baseline. Separate isolated build/test evidence, real-route manual evidence, review submission, integration approval/commit, and post-integration combined-route evidence. State unperformed checks as **unverified**, with a blocker; do not waive a mandatory feature criterion silently. A preview is evidence for a prototype or visual exploration only. Do not claim Ready for Review / Integration until the feature's actual route and required navigation, backend, state, auth and data behavior have been checked in the authoritative development application. Do not claim Integrated until combined-application checks have passed after Captain-authorised integration, or Verified / Closed until required human acceptance is recorded. These fields extend the existing task record; they do not create a second state machine or require a new file format.
|
||||
|
||||
## Start and finalisation gates
|
||||
|
||||
Before starting another implementation, inspect all worktrees and status, task records and handoffs. A prior task may be left pending review while an independent task starts, but its intended work must be committed and submitted for review, integrated, or explicitly suspended with exact recoverable state. Do not abandon a finished uncommitted worktree. Parallel tasks may use different branches from the latest appropriate integration baseline; record dependencies and targets. Do not use another task's unintegrated commit as an implicit baseline.
|
||||
|
||||
When a contributor says the task is complete or testing works, the contributor skill starts the finalisation sequence automatically. Verify the task and manual test result; inspect staged, unstaged and untracked paths, conflicts and likely secrets; run required checks; stage only intended files; commit; push and create/update a PR when supported; verify the remote commit and PR; record evidence and transition to Ready for Review / Integration. A completion statement is authority for ordinary task finalisation under the repository's contributor policy, not authority to merge, deploy, force-push, delete test resources, or change provider settings. If a gate fails, preserve everything and record the actual state. Stop automated repair after two unsuccessful attempts on the same failure.
|
||||
|
||||
Captain approval is required before merging a contributor PR. After approval, identify the designated integration target and current baseline, integrate using repository policy, resolve conflicts without silently losing changes, test the combined application and affected screens, routes, navigation, APIs and dependencies as relevant, then record integration commit and results. Only then mark Integrated. Human acceptance and remaining criteria control Verified / Closed. Never use destructive reset, forced push, or destructive worktree cleanup without explicit Captain approval. Keep pending-review branches and worktrees recoverable.
|
||||
Captain approval is required before merging a contributor PR. After approval, identify the designated integration target and current baseline, integrate using repository policy, resolve conflicts without silently losing changes, run automated checks and exercise the affected real routes, navigation, auth/permissions, backend/data and shared workflows in the combined application as relevant, then record integration commit and results. Only then mark Integrated. A successful Git merge without that functional evidence remains open for validation or reconciliation; if checks fail, preserve source branches/worktrees and the merge candidate. Human acceptance and remaining criteria control Verified / Closed. Never use destructive reset, forced push, or destructive worktree cleanup without explicit Captain approval. Keep pending-review branches and worktrees recoverable.
|
||||
|
||||
## Identifiers and reconciliation
|
||||
|
||||
|
||||
Reference in New Issue
Block a user