Appearance
Post-Implementation
Post-implementation is LoopTroop's delivery pipeline. After CODING finishes, LoopTroop does not immediately push or merge the result. It first validates the whole ticket, turns bead-level history into one candidate commit, audits the final diff, checks for a matching PR that may already be merged before pushing, pauses for human PR review when needed, and only then removes temporary runtime state.
Final testing can still fail delivery, explicit intent and tracked or staged changes are preserved, PR creation can still rewrite the candidate to exclude unrelated byproducts, and cleanup preserves the audit trail. Untracked generated, cache, and setup-local outputs remain usable in the worktree but do not inflate implementation totals or enter checkpoints and delivery. If a matching PR already merged, LoopTroop verifies what landed and either completes from that PR or sends the remaining candidate changes through final tests and normal delivery again.
| Status | Purpose | Main outputs |
|---|---|---|
RUNNING_FINAL_TEST | Generate and run ticket-level verification against the completed implementation. | final_test_report, final_test_retry_notes, final_test_file_effects_audit |
GENERATING_QA_CHECKLIST | Prepare a clean checkpoint and human checklist with live milestones when Manual QA is locked on. | structured/Raw manual_qa_checklist, four-state coverage, reservation, workspace baseline |
WAITING_MANUAL_QA | Wait for user-run verification, evidence, configurable Improvements, AI-planned QA fixes, submit/skip, and drift decisions. | draft/results/summary, evidence refs, fix-beads.yaml, normal QA beads, improvement tickets |
INTEGRATING_CHANGES | Apply the approved Git-hook policy and create one local candidate commit, or finish through cleanup when there are no repository changes. | integration_report with hook-validation outcomes |
CREATING_PULL_REQUEST | Audit candidate files and detect a matching merged PR before pushing or creating a new draft. | candidate_file_audit, candidate_diff, pull_request_report, early_merge_recovery |
WAITING_PR_REVIEW | Pause for human review and resolve a merge made in GitHub or through LoopTroop. | merge_report, optional early_merge_recovery |
CLEANING_ENV | Remove temporary runtime state while preserving audit history. | cleanup_report |
1. RUNNING_FINAL_TEST: ticket-level verification
After all beads are done, LoopTroop verifies the whole ticket result, not just each bead in isolation.
1.1 Structured plan generation
LoopTroop asks the locked main implementer to generate a structured final-test plan from:
- ticket details
- the approved PRD
- the approved beads plan
- any accumulated
final_test_retry_notes
The model returns test commands plus language-agnostic file_effects declarations that classify files it expects final testing to create or change as:
candidatetemporaryunexpected
Before returning the plan, the agent runs checks needed to establish its final result in the foreground and waits for their real results. Independent ongoing work can stay in the background during the task. Completed or abandoned native sessions have their tools disabled and verified running commands stopped before handoff, with conversation history retained.
Malformed final-test plans do not silently pass through. LoopTroop applies the normal structured-output retry flow, preserves raw attempts for inspection, and records the accepted or rejected output in the final-test artifacts.
1.2 Executing current-host commands with the approved runtime profile
The generated commands run sequentially in the ticket worktree as structured command objects. A direct process records its program and argument list without shell parsing. A shell command names POSIX, Command Prompt, or PowerShell explicitly and carries its script unchanged. Both forms use a repository-relative working directory, structured variables, and an optional bounded timeout. PATH additions from pre-implementation are applied directly; reports derive readable display text from the command object.
The resulting final_test_report captures:
- per-command stdout/stderr, exit code, timeout state, and duration
- plan metadata such as
plannedBy,summary,testsCount, and raw model output - structured-output diagnostics and raw attempts when plan generation needed repair
- attempt history and retry notes when final testing needed more than one try
1.3 Retry and reset behavior
If a final-test attempt fails, LoopTroop appends a retry note, resets tracked repository files back to the final-test start commit, preserves LoopTroop-owned artifacts under .ticket, and tries again until the ticket's normal iteration budget is exhausted. If the retries run out, the workflow routes to BLOCKED_ERROR.
1.4 Final-test file effects audit
When a final-test attempt passes, LoopTroop compares git-visible dirty files from before the passing attempt against the dirty files after it. That produces a final_test_file_effects_audit artifact containing:
- baseline dirty files
- dirty files after testing
- files produced or changed by final testing
- declared
file_effects - classified
candidate,temporary, andunexpectedfiles - local-only files, their deterministic classification reasons, and any warning produced after classification retry
Integration carries forward audited candidate files from this pass. Explicit candidate declarations and tracked or staged project changes are preserved even when a path looks generated. Untracked outputs under Git-ignored paths, recognized dependency/cache/output roots, or setup-declared temporary roots stay on disk for later tests but are excluded from implementation totals, checkpoints, commits, and PR delivery. The same generated-file classification is used by final-test auditing, bead commits, and the integration candidate.
An unknown untracked file receives one same-session classification retry. If it is still undeclared, LoopTroop records a local-only warning, excludes it from delivery, and continues unattended. An unresolved modification to an existing tracked file remains a candidate so the later whole-PR candidate audit can review it without risking silent loss.
Explicitly temporary or unexpected changes to tracked files are restored to their committed contents before candidate staging so local test mutations cannot leak into delivery. Untracked local-only outputs are not deleted and remain available to later tests and Manual QA.
1.5 Optional Manual QA route
TESTS_PASSED branches on the value frozen when the ticket started. Disabled or missing locks keep the direct integration path. Enabled tickets enter:
text
RUNNING_FINAL_TEST → GENERATING_QA_CHECKLIST → WAITING_MANUAL_QA
pass / waive / skip → INTEGRATING_CHANGES
any fail → CODING → fresh RUNNING_FINAL_TEST → next Manual QA versionGENERATING_QA_CHECKLIST
“LoopTroop is preparing a candidate-only checkpoint and human-facing Manual QA checklist while keeping local generated/cache outputs available to tests and outside delivery.”
No user action is needed. LoopTroop first resolves the current final-test audit, commits accepted candidate effects into a dedicated local checkpoint, leaves local-only generated/test outputs in place, and records HEAD/status/file signatures for delivery-relevant files. Manual QA and later tests can continue using local-only outputs, while exact candidate staging prevents a later QA-fix bead from sweeping them into its commit.
Before the model call, vN is reserved and projected immediately. A restart or retry reuses that incomplete version even if the checklist was already written; valid checklist/coverage files advance without another call, and a missing deterministic coverage file is rebuilt from the frozen PRD. The locked main implementer and variant receive the ticket title and description, frozen approved PRD, selected bead fields (including verification intent, labels, and issue type), the current final-test report, latest previous checklist/results/coverage/summary, and targeted metadata for the complete merge-base-to-checkpoint candidate range. Focused read-only diff inspection is allowed; whole-repository dumps are not.
One strict tagged YAML response supplies each short item title, checklist content, full | partial PRD references, and not_applicable_prd_refs entries. Each not-applicable entry requires a valid unique criterion ref and a nonempty reason; the same ref cannot also be attached to a checklist item. The prompt limits this state to automated, build-only, internal, or otherwise non-user-observable criteria, never missing human checks. Formatting repairs may normalize envelopes, YAML syntax, known aliases, or safely quote YAML-sensitive tokens such as hex colors, but never invent behavior, actions, observations, or expected results. LoopTroop derives refs as <epic-id>/<story-id>/AC-<1-based-index> and computes four advisory coverage states in code: covered, partially covered, uncovered, and not_applicable.
The preparation workspace mirrors other artifact-producing phases: it reports checkpoint, reservation, context assembly, model/tool, validation, persistence, and handoff milestones; exposes a readable checklist artifact with exact canonical YAML on its Raw tab; and keeps the phase log available. It does not mount the result-entry form or query a merely reserved version before handoff. Both Manual QA status titles are version-free, and the standard selector appears only when more than one checklist-backed version exists.
WAITING_MANUAL_QA
“LoopTroop is waiting for user-run verification in an autosaved checklist with collapsed logs, explicit Not applicable PRD coverage, configurable Improvement tickets, and AI-planned full QA-fix beads for failed checks.”
The user, rather than LoopTroop, starts and controls the application, follows prerequisites/actions, and records results. Pending is the first and default choice and shows no evidence or result-specific fields. Any Fail blocks integration and requires an observation. Improvements are non-blocking, require a reviewed title/description/context, expose a P1 to P5 priority selector defaulting to P3 Normal, and provide a collapsed Advanced Manual QA enabled/disabled control resolved initially from the effective project/profile setting. Each produces exactly one Draft ticket in the same project with those explicit settings on final Submit.
The five-second autosave uses compare-and-set ui_state:manual_qa_draft:vN, while final Submit snapshots it as immutable manual_qa_draft. The workspace has one primary Submit action and no manual Save button; status beside the incomplete-required count says saving is automatic, reports the relative last-save age, and exposes the exact date/time on hover.
Evidence may be any file type up to 250 MiB per file, with no count/round cap. Extra evidence offers matching Add link and Add files buttons in that order; selecting Add link reveals Link and Details fields instead of rendering an empty link row by default. Uploads are streamed into contained temporary files, hashed and size-checked, then atomically renamed, and successful uploads appear in the current item immediately. Only the first five evidence entries are expanded initially; Show more/Show less reveals or hides the remainder. Only safe rasters preview inline. Links must be HTTP(S), and binaries remain disk-only.
Failure merge groups are multi-select item buttons labeled with checklist number and title. Submit is blocked until every member is Fail and the validation message names each unresolved number/title. Improvement editing remains inline. Advisory four-state PRD coverage, Manual QA context, final-description preview, evidence/provenance preview, and the selected-version phase log all start collapsed.
Before Submit or Skip, the worktree is compared with the QA baseline. Submission uses an operation-typed journal with deterministic origins/action IDs. When failures exist, one main-implementer prompt receives every application-defined merge group plus focused ticket, PRD, bead, final-test, checklist/result, evidence-reference, and diff context. It must complete at least one successful focused read-only inspection tool call; relevant files from any accessible folder may be inspected, including outside the worktree, without a path allowlist. It returns one full normal-bead candidate per stable group key. LoopTroop validates complete fields, explicit repository or external targets, refs, dependencies, and exact group coverage, then persists canonical fix-beads.yaml. Only after the entire candidate exists does it create Improvements, append application-owned normal qa-fix beads, and write receipts/summary. A model, tool, or parser failure creates no children and enters recoverable BLOCKED_ERROR. An explicit Retry resumes the exact saved submission action using its immutable results and original operation journal; opening the ticket or restarting the daemon does not resubmit failed results automatically. If AI fix-bead generation failed, Retry with extra note starts that AI work in a fresh session with the submitted results and unchanged user guidance. It does not require submitting the checklist again or create duplicate child work. Changed retry guidance regenerates the failed AI candidates instead of reusing candidates produced under an older note. Skip Manual QA… bypasses this work and creates no child records.
Each completed round records start/completion time, duration, result/required/optional/evidence counts, waiver reasons, created work, next workflow action, coverage totals, and the immutable evidence-model capability snapshot. .ticket/manual-qa/events.jsonl provides the append-only generation-to-completion audit stream. Improvement ticket descriptions retain the user-edited text first and append editable human-readable context, including concise PRD requirements, bead work areas, and evidence summaries when available; ticket/version/item IDs, hashes, evidence paths, and receipt data stay in the structured origin metadata. The origin-to-child mapping is transactionally reserved in SQLite, allowing a restart to repair child evidence and provenance even if it stopped immediately after child creation.
Final integration and PR delivery use the newest completed round for the outcome, waiver, and skip state, while accumulating every created QA-fix bead ID and improvement-ticket ID across earlier rounds. This keeps work created by a failed v1 visible after a later v2 passes, without putting evidence binaries into delivery context.
Outcomes are:
passed: no failures and no required waivers; continue to integration.waived_through: required items were explicitly waived; continue to integration.skipped: archive all entered data and the optional round reason as read-only, create no drafted work despite incomplete results, continue to integration. The reason is stored asskipReasonon the round summary and is readable through the ticket-wide skip trail; a waived item keeps its own separate waiver reason.created_fixes: create the validated grouped/individual normalqa-fixbeads plus configured Improvement tickets, archive the round attempts, and return to Coding.
The new round index records whether each version has an artifact, its outcome/status and completion time, and its matching phase attempt. A reservation-only active version never displaces the newest available checklist in historical review. Existing testing tickets and Manual QA artifacts are not migrated or repaired.
Later checklists preserve lineage and relevant structure. Fixed/failed or affected passed/waived items become pending_recheck; unaffected passed items may remain visible as previously_passed, while unaffected waivers remain only in history. New items are limited to newly affected user-facing behavior.
2. Two separate audits happen here
The current implementation uses two different audit layers, and they solve different problems:
| Audit | Status | Decisions | Scope |
|---|---|---|---|
| Final-test file effects audit | RUNNING_FINAL_TEST -> INTEGRATING_CHANGES | candidate or local-only, with explicit, tracked/staged, Git-ignored, setup-temporary, generated-noise, and undeclared-fallback reasons | Only files produced or changed by final testing |
| Candidate file audit | CREATING_PULL_REQUEST | include, exclude, review | The entire final diff that would be pushed in the PR |
This distinction matters: the first audit automatically separates delivery candidates from local-only final-test byproducts, while the second audit can still trim unrelated files from the candidate commit before the remote branch is updated.
3. INTEGRATING_CHANGES: building the local candidate commit
Integration is a deterministic git phase. It does not ask the model to rediscover scope.
3.1 Final-test audit resolution first
Before creating a candidate commit, LoopTroop resolves the latest final_test_file_effects_audit. Explicit candidate intent and tracked or staged changes remain eligible for delivery. Local-only files remain in the worktree, and unknown untracked files that stayed undeclared after one classification retry are omitted with a recorded warning rather than creating a human recovery gate.
3.2 Approved Git-hook policy gate
Integration reads the ticket's approved setup snapshot, refreshes current Git-hook evidence, and records drift. observe_only bypasses native hooks and records a skip. validate_advisory runs the exact approved structured validation commands with timeouts, output receipts, and before/after file auditing, but failure only warns. validate_required uses the same explicit checks as a blocking gate. use_native_hooks leaves hooks active inside LoopTroop's Git operations. Validation cleanup restores only changes introduced by the check; unrelated user or agent work is preserved.
3.3 Squashing bead history into one candidate
Once the final-test and hook-policy gates are clear, LoopTroop:
- resolves the merge base and pre-squash head
- soft-resets the ticket branch back to the merge base
- stages the exact allowed candidate files, including explicitly intended ignored paths when applicable
- creates one local squash commit that represents the whole ticket
When the audited candidate or final staged diff is empty, LoopTroop records a passed integration_report with noRepositoryChanges: true and proceeds directly to cleanup and completion. This covers checks-only and external-only work. Normal final testing and configured Manual QA still run first. No empty commit, candidate push, or PR is created; genuine Git failures still block.
For repository changes, the resulting integration_report is the handoff contract for PR creation. It records the candidate SHA, merge base, pre-squash head, commit count, completion time, and whether remote push is still deferred.
3.4 What integration intentionally does not do
At the end of INTEGRATING_CHANGES, the candidate commit is still local. The branch push and PR creation happen only in the next phase.
4. CREATING_PULL_REQUEST: final diff audit and draft PR creation
This phase is the GitHub handoff. It is also the last automated chance to remove unrelated byproducts from the delivery diff.
4.1 Candidate file audit before any push
LoopTroop first runs a model-driven candidate-file audit over the final diff. Every changed file must be classified exactly once as:
includeexcludereview
If the audit excludes files, LoopTroop rewrites the local candidate commit from the merge base using only the included and reviewed files, updates the integration handoff SHA, and stores:
candidate_file_auditcandidate_diff
Formatting-only YAML mistakes in the structured files list can be repaired when the surrounding fields prove the intended mapping. The existing path and reason text is preserved, and the saved audit shows each repair under Audit Warnings; the phase log records the same notice. If validation still fails, LoopTroop falls back to including all changed files. Malformed audit output cannot silently drop files from the PR.
4.2 Drafting the PR body
Only after the candidate audit is settled does LoopTroop ask the locked main implementer to draft the PR title and body. PR drafting uses:
- ticket details
- PRD context
- the integration report
- the final test report
- diff stat
- diff name/status
- diff patch
The response must match a strict YAML schema. Structured retries finish before LoopTroop pushes the remote candidate or creates or updates a PR. If parsing still fails, LoopTroop records diagnostics and falls back to a deterministic PR title/body instead of blocking the ticket on prose formatting.
4.3 Push and PR upsert
Before pushing, LoopTroop checks for a merged PR matching the ticket branch and base branch. It verifies GitHub's recorded landed commit on the current origin/<base> and fetches the exact PR head. It compares the PR head tree with the audited candidate tree.
- Matching trees: LoopTroop records the original PR and both commit/tree proofs in
early_merge_recoveryandmerge_report, leaves the remote ticket branch alone, and completes the ticket through cleanup. It does not create a duplicate PR. - Different trees: LoopTroop applies only the difference between the merged PR head and the candidate to a recovery worktree based on the verified remote base. It preserves the original candidate by Git ref; a clean correction may reset the managed ticket worktree. LoopTroop then returns the ticket to
RUNNING_FINAL_TEST. The configured Manual QA step, integration, final candidate audit, and creation of a new PR on a separate branch run again. The already-merged PR and its branch remain untouched. - A corrective PR merges early too: LoopTroop verifies the active PR and repeats this process for any remaining candidate changes. Recovery keeps the corrective PR linked to the original ticket branch across retries.
- Missing proof or patch conflict: LoopTroop preserves the original ticket candidate and any recovery worktree, records a
manual_recovery_requiredresult and Git recovery receipt, and moves the ticket toBLOCKED_ERRORwith the recovery path and conflict paths when available. For a patch conflict, resolve it in that recovery checkout, stage the resolved files, and create one commit directly on its recorded base. Then retry Verify. LoopTroop adopts the clean committed resolution and reruns final validation; no AI session is asked to choose a conflict resolution. If the base advanced, LoopTroop reapplies the saved resolution to the latest base and stops for manual recovery if that creates another conflict. If the recovery checkout was removed before a resolution was saved, retry starts again from the original candidate.
If the candidate delta already exists on the verified base, LoopTroop records an already_landed proof and completes without an empty corrective PR. If a committed manual resolution leaves no additional changes to deliver, the verified merge completes the ticket without creating an empty PR. A verified merge is sufficient even if conflict resolution omitted changes or later commits edited or reverted them; LoopTroop does not restore those changes automatically.
Temporary fetch or transport failures can be retried. A missing-proof report is checked again on retry. An uncommitted or dirty recovery checkout remains untouched; LoopTroop adopts a manual resolution only after it is a clean, single commit directly on the recorded base. If local files prevent installing a clean correction, the diagnostic identifies the original ticket checkout that needs attention rather than reporting a patch conflict. Corrective commits and their Git refs are retained so a retry can reuse a verified correction. If the base advances before that retry, LoopTroop reapplies the saved resolution or original remaining changes to the latest verified base and reruns validation. The earlier correction and any retained checkout stay preserved; a new patch conflict requires manual recovery.
LoopTroop checks all matching PR pages, ignores newer PRs closed without merging, and gives a newer open PR precedence over an older merged one. It checks again after pushing before updating the PR record.
When no matching merged PR needs reconciliation, or after a corrected candidate has completed its checks, LoopTroop:
- force-pushes the candidate SHA to the remote ticket branch using
--force-with-lease - creates a new draft PR, or updates the existing PR for that branch
- persists PR metadata in
pull_request_report
If cleanup later deletes the remote ticket branch, it requires the recorded remote head as a 40 to 64 character hexadecimal SHA and uses an explicit branch refspec with the lease. Missing or invalid expected heads leave the remote branch preserved and the deletion skipped.
The stored PR report includes the PR URL, number, state, title, body, head SHA, timestamps, and the candidate-file audit summary that produced the final diff.
4.4 Failure safety
Git push and GitHub-side failures are not retried blindly. Git and SSH calls remain non-interactive and bounded, while LoopTroop preserves the local candidate state and writes a git_recovery_receipt that records the failing step and the known-safe recovery context.
5. WAITING_PR_REVIEW: human merge or finish gate
Once the draft PR exists, automation pauses. The UI surfaces the reviewer-facing end state:
- the PR URL and metadata
- the candidate SHA and branch/base refs
- the final net diff
- the candidate-file audit
- the integration summary
- the final-test summary
5.1 Merge path
If the user chooses Merge while the PR is open, LoopTroop marks it ready when needed, merges it on GitHub, verifies the merge on the remote base branch, and then records a merge_report. It requires the PR head to match the approved candidate and the remote base to contain GitHub's recorded landed commit. The user's original project checkout stays untouched. Remote branch deletion after a successful merge is best-effort and any warning is preserved in the report.
The Merge button uses GitHub merge commits, so the repository must allow that method. For squash-only or rebase-only repositories, merge on GitHub; LoopTroop verifies those landed merges and checks for candidate changes as described below.
5.2 Finish-without-merge path
If the user chooses the non-merge finish path (close_unmerged in the workflow actions), LoopTroop asks for confirmation first and takes an optional reason for stopping here. It records disposition: closed_unmerged in merge_report, along with that reason as closeReason, and proceeds to cleanup without modifying the remote PR or the remote ticket branch. It also writes an append-only skip receipt, so the reason appears in the ticket-wide Skips history as well as on the report. Nothing else in the ticket asks why the branch stopped.
IMPORTANT
The current implementation does not auto-close or delete the PR on the close_unmerged path. It finishes the ticket locally while leaving the draft PR and branch untouched for later manual handling.
5.3 External merge detection
If the PR is merged manually on GitHub while WAITING_PR_REVIEW is open, LoopTroop detects that state, skips a duplicate merge call, and verifies the landed commit on the remote base. It compares the merged PR head with the current candidate. Matching trees complete from the original PR. If the candidate has additional changes, LoopTroop applies only that corrective delta to the verified base and returns the ticket to RUNNING_FINAL_TEST; a conflict or missing proof keeps the candidate and recovery worktree for manual recovery. The daemon keeps polling without an open UI and resumes checks after restart. Failed remote checks leave the ticket waiting and retry automatically. Once a merge is verified, Cancel and Finish Without Merge cannot replace that recorded outcome. Repeating Merge during cleanup or after completion returns the recorded success.
6. CLEANING_ENV: remove runtime state, keep the evidence
Cleanup removes transient runtime resources while preserving the artifacts needed for audit and historical review.
6.1 What cleanup removes
The cleanup phase deletes transient runtime paths when present, including:
.ticket/runtime/locks.ticket/runtime/sessions.ticket/runtime/streams.ticket/runtime/tmp.ticket/runtime/state.yaml- the execution-setup runtime directory under
.ticket/runtime/execution-setup/** .ticket/runtime/execution-setup-profile.json
6.2 What cleanup preserves
Cleanup keeps the planning and audit trail intact. In the worktree it preserves core planning files such as:
.ticket/meta/ticket.meta.json.ticket/interview.yaml.ticket/prd.yaml.ticket/relevant-files.yaml- the beads artifact
- execution logs under
.ticket/runtime/execution-log*.jsonl
Ticket artifacts such as final_test_report, integration_report, pull_request_report, merge_report, and cleanup_report also remain available through the normal ticket storage and UI.
6.3 Cleanup warnings are visible, not fatal
Cleanup writes a cleanup_report with status: clean or status: warning. A warning means some transient path could not be removed, but the ticket still completes successfully and the warning stays visible for later housekeeping. Startup recovery is a separate boundary: an unresolved in-progress fallback can stop startup with its affected files available for diagnosis. CLEANING_ENV recursively removes its selected runtime/temp and runtime/execution-setup roots without inspecting every sidecar for recovery ownership; explicit Delete Worktrees removes an eligible worktree and its contents. The persistent Manual QA SQLite lock database is outside those transient roots and is not unlinked by cleanup or recovery code.
6.4 Cleanup resume behavior
Cleanup cannot be canceled. If the daemon restarts while CLEANING_ENV is in progress, the saved ticket state causes cleanup to resume on the next start instead of reopening review or re-running merge work.
7. Key post-implementation artifacts
| Artifact | Produced in | Purpose |
|---|---|---|
final_test_report | RUNNING_FINAL_TEST | Canonical record of the generated test plan, command results, retries, and validation outcome |
final_test_retry_notes | RUNNING_FINAL_TEST | Notes passed into later final-test attempts after failures |
final_test_file_effects_audit | RUNNING_FINAL_TEST | Resolved candidate/local-only audit of files produced or changed by the passing final-test attempt |
manual_qa_checklist / manual_qa_coverage | GENERATING_QA_CHECKLIST | Versioned instructions and advisory approved-PRD coverage |
manual_qa_draft / manual_qa_results / manual_qa_summary | WAITING_MANUAL_QA | Immutable action snapshot and outcome; manual_qa_results is present only after Submit, not Skip |
| Manual QA reservation/baseline/drift/submission receipts | Both Manual QA statuses | Restart idempotency, clean-workspace proof, and include/discard/create audit |
integration_report | INTEGRATING_CHANGES | Candidate commit metadata plus explicit Git-hook validation executed/skipped outcomes and tracked-file effects |
candidate_file_audit | CREATING_PULL_REQUEST | Include/exclude/review decisions for the final diff before push |
candidate_diff | CREATING_PULL_REQUEST | Net diff for the final candidate after any audit rewrite |
pull_request_report | CREATING_PULL_REQUEST | Stored PR metadata and generated title/body |
early_merge_recovery | CREATING_PULL_REQUEST or WAITING_PR_REVIEW | Proof for an already-merged PR, the original and corrected candidate SHAs, and manual-recovery details when reconciliation cannot be proved safely |
merge_report | WAITING_PR_REVIEW | Completion outcome for merged vs finished-without-merge, including closeReason when the user finished without merging |
skip_receipt:<surface> | any phase with a skip | Append-only record of one user action that skipped something: surface, item, phase and attempt, timestamp, and the reason as it read at that moment |
cleanup_report | CLEANING_ENV | Removed/preserved runtime resources plus warning state |