FORGE-F016 Require authoritative application delivery evidence
This commit is contained in:
@@ -4,17 +4,17 @@ Use `bortstack-context/references/task-lifecycle.md` for states, evidence and ap
|
||||
|
||||
## Submit the completed task
|
||||
|
||||
1. Identify the active task, accepted scope, source worktree, task branch, baseline commit, integration target, and any parallel task branches. If ambiguous, ask Commander to identify the task in plain language; preserve all work meanwhile.
|
||||
2. Confirm the required manual test covered the exact current candidate. "Everything works" may confirm it when the candidate and testing are clear. Record the result, environment and any limitation. Refresh the task's manual-test snapshot after edits.
|
||||
1. Identify the active task, approved deliverable type (prototype or application feature), accepted scope, source worktree, task branch, baseline commit, integration target, and any parallel task branches. For an application feature, compare the implementation locations and intended route with the authoritative application identified in the briefing. If ambiguous, resolve it before claiming Implementation Complete or asking Commander to accept the result; preserve all work meanwhile.
|
||||
2. Confirm the required manual test covered the exact current candidate. For an application feature, launch or identify the real development application through its established manual-testing workflow and verify the intended route through actual navigation. Check applicable login, permissions, configured backend data, shared state, persistence, related pages, design fidelity and regressions. Record environment, route, observations and every unverified check. "Everything works" may confirm Commander's observations only when the exact candidate and real application route are clear; it cannot replace Codex's integration check. Refresh the task's manual-test snapshot after edits. A preview or Docker startup alone leaves the application-feature mission incomplete. If the real route or required environment is unavailable, record the blocker and continue safe implementation or preservation work without submitting it as ready for review.
|
||||
3. Inspect staged, unstaged and every untracked path; check conflicts, likely secrets, unexpected files and changes outside task scope. Preserve unrelated files. Never use an unreviewed blanket stage. Explain any needed choice without asking Commander to run Git.
|
||||
4. Run repository-required automated tests, lint/build/security checks as applicable and `git diff --check`. Record commands and results. Fix only within scope and stop automated repair after two unsuccessful attempts on the same failure.
|
||||
5. Update task, current state and handoff with branch/worktree, baseline, target, implementation commit when known, isolated test results and limitations. Stage only intended files, inspect staged diff, and commit to the task branch. Verify the commit and remaining working-tree status. A dirty worktree may contain preserved unrelated work; record it explicitly.
|
||||
6. Inspect the configured remote and provider capability. Push the task branch and verify the remote commit. Create or update a PR against the designated integration branch where supported; verify its URL, source/target and status. Record branch, commit, PR reference, test evidence and Captain approval pending. Set Ready for Review / Integration only after verified submission. A repository-approved local review handoff may be used without a provider; otherwise retain the truthful pre-review state. Never invent a PR or create provider settings by assumption.
|
||||
5. Update task, current state and handoff with task ID, branch/worktree, baseline, target, authoritative implementation locations and route, isolated automated results, real-route manual evidence, limitations, implementation commit when known, and integration still pending. For a prototype, label the standalone deliverable and its separate acceptance. Stage only intended files, inspect staged diff, and commit to the task branch. Verify the commit and remaining working-tree status. A dirty worktree may contain preserved unrelated work; record it explicitly.
|
||||
6. Inspect the configured remote and provider capability. Push the task branch and verify the remote commit. Create or update a PR against the designated integration branch where supported; verify its URL, source/target and status. Record branch, commit, PR reference, test evidence and Captain approval pending. Set Ready for Review / Integration only after verified submission **and** required application-delivery evidence. A repository-approved local review handoff may be used without a provider; otherwise retain the truthful pre-review state. Never invent a PR or create provider settings by assumption. A commit or PR does not turn a preview into an application feature.
|
||||
7. Tell Commander in ordinary language that the work is saved and the mission is awaiting Captain review, and that another independent mission may begin. If any step fails, say what failed, whether the work is committed or only preserved in the worktree, and the next safe action. Do not claim review submission from a local commit or integration from a PR. Preserve branch, worktree and test resources.
|
||||
|
||||
## After Captain approval
|
||||
|
||||
Captain approval is required before merging a contributor PR. Identify the current designated integration branch and baseline, check task-ID collisions and dependencies, and integrate with the repository's merge strategy. Resolve conflicts without discarding others' work. Run combined-application tests and verify affected screens, routing, navigation, APIs and dependencies where applicable; record the integration commit and results. Mark Integrated only when verification succeeds. If combined checks fail, preserve the branch and merge history or candidate, record affected files and a reconciliation plan, and leave the task open. Mark Verified / Closed only after required acceptance and human confirmation. Never force-push, destructively reset, or remove an uncommitted/unintegrated worktree without explicit Captain approval. Keep task-created Docker test containers until Commander requests cleanup.
|
||||
Captain approval is required before merging a contributor PR. Identify the current designated integration branch and baseline, check task-ID collisions and dependencies, and integrate with the repository's merge strategy. Resolve conflicts without discarding others' work. Run combined-application tests and exercise affected real routes, navigation, login/permissions, APIs, persistent data, shared state and related workflows where applicable; record the integration commit and separate post-merge results. A conflict-free merge is not functional completion. Mark Integrated only when verification succeeds. If combined checks fail or cannot run, preserve the branch and merge history or candidate, record affected files and a reconciliation plan, and leave the task open. Mark Verified / Closed only after required acceptance and human confirmation. Never force-push, destructively reset, or remove an uncommitted/unintegrated worktree without explicit Captain approval. Keep task-created Docker test containers until Commander requests cleanup.
|
||||
|
||||
## Local-only and platform notes
|
||||
|
||||
|
||||
Reference in New Issue
Block a user