Archive iterative delivery with verified cleanup evidence #228

Merged
weichen merged 3 commits from feature/card-close-20261007-031829Z into main 2026-10-07 03:29:10 +00:00
2 changed files with 646 additions and 12 deletions
File diff suppressed because one or more lines are too long
@@ -0,0 +1,207 @@
{
"source": "SELF",
"scope": "Closure metadata and receipt integrity only; independent read-only verification except this /tmp report",
"reviewer": "workflow_gate_audit",
"reviewed_at": "2026-10-07T03:25:21.422644+00:00",
"head": "8a8026338e3568943e02626f653524c8a7226941",
"base": "74e4382452a59fab598c09bb3ded96ff9495e153",
"result": "PASS",
"checks": [
{
"check": "closure_diff_scope",
"result": "PASS",
"detail": {
"head": "8a8026338e3568943e02626f653524c8a7226941",
"base": "74e4382452a59fab598c09bb3ded96ff9495e153",
"changed_paths": [
".task/archive/feature-iterative-delivery.md",
".task/feature-iterative-delivery.md"
],
"status": " M .task/archive/feature-iterative-delivery.md\n",
"stat": ".task/{ => archive}/feature-iterative-delivery.md | 413 +++++++++++++++++++++-\n 1 file changed, 401 insertions(+), 12 deletions(-)",
"uncommitted_only_appends_receipts": true,
"card_sha256": "7a898aa0d45a9ce75e862ea64a23fdd20e6fbf22510d0bbab3edc7e37dc6783d"
}
},
{
"check": "all_receipt_checksums",
"result": "PASS",
"detail": {
"count": 29,
"source_values": [
"SELF"
],
"failed_receipt_ids": []
}
},
{
"check": "available_originals_equal",
"result": "PASS",
"detail": {
"matched_count": 24,
"without_separate_tmp_original": [
{
"receipt_sha256": "298bd599936b05ed105cfd1dcc7072915393dea050bdfa2b3e40ffacd5ba9145",
"command": "python3 /tmp/iterative-delivery-check-docs-20261007.py && git diff --check && bash -n scripts/task.sh scripts/hooks/post-merge"
},
{
"receipt_sha256": "b43f740acdb11127cf4b9218fbb5000e20ac9516fabcaad2fa707b42269eb9bc",
"command": "make task-sync"
},
{
"receipt_sha256": "d6cc055aacf7973c4d1b098585f0ad44e0a600e92e95677896761945d7ec6efa",
"command": "make task-sync"
},
{
"receipt_sha256": "646d460f8597fde2486cfa7eaf87cd7c089d7800a729fd087dc183a221790d59",
"command": "make task-sync"
},
{
"receipt_sha256": "908b6b049717604136ad43f72545653591fa103534a3c22a1603e87d14084e68",
"command": "make task-sync"
}
]
}
},
{
"check": "three_red_results_restored_without_success_rewrite",
"result": "PASS",
"detail": [
{
"original": "iterative-delivery-red-20261007-tooling-01.json",
"receipt_sha256": "d1cefbefe5f188cb69c959b5707b384c8a2252b8835a4a727a9054488a1b0c00",
"equal": true,
"exit_code": 1,
"failed_output_retained": true
},
{
"original": "iterative-delivery-red-20261007-tooling-02.json",
"receipt_sha256": "80b8169cf23cb2e3c1cf625950561365f47c013d5e930ca194605aaf248ce0e8",
"equal": true,
"exit_code": 1,
"failed_output_retained": true
},
{
"original": "iterative-delivery-archive-link-red-20261007.json",
"receipt_sha256": "66fe51b5f69302232ff578266e6f4956e64a749cb77ae68512a1a87a1d1b95d2",
"equal": true,
"exit_code": 1,
"failed_output_retained": true
}
]
},
{
"check": "merged_receipts_preserved_except_documented_output_repair",
"result": "PASS",
"detail": {
"merged_receipt_count": 18,
"missing": [],
"changed": [
{
"receipt_sha256": "d1cefbefe5f188cb69c959b5707b384c8a2252b8835a4a727a9054488a1b0c00",
"changed_fields": [
"output"
]
},
{
"receipt_sha256": "80b8169cf23cb2e3c1cf625950561365f47c013d5e930ca194605aaf248ce0e8",
"changed_fields": [
"output"
]
},
{
"receipt_sha256": "66fe51b5f69302232ff578266e6f4956e64a749cb77ae68512a1a87a1d1b95d2",
"changed_fields": [
"output"
]
}
],
"added_count": 11
}
},
{
"check": "three_red_originals_match_pre_link_commit",
"result": "PASS",
"detail": {
"commit": "7c524d6cb6ff5d54d671edc5cea94eaaf5a10ceb",
"receipt_ids": [
"66fe51b5f69302232ff578266e6f4956e64a749cb77ae68512a1a87a1d1b95d2",
"80b8169cf23cb2e3c1cf625950561365f47c013d5e930ca194605aaf248ce0e8",
"d1cefbefe5f188cb69c959b5707b384c8a2252b8835a4a727a9054488a1b0c00"
]
}
},
{
"check": "saved_ci_record_matches_merged_candidate",
"result": "PASS",
"detail": {
"expected_head": "04a2e44fbaa00f6782be24b312fb11a271c68d71",
"run": 997,
"job": 1383,
"runner": "home-runner",
"url": "https://git-home.u1680832.nyat.app:30319/weichen/Agent-System-Dev/actions/runs/997/jobs/1383",
"steps": [
{
"name": "make test (boundaries, pins, libs, core, backend, frontend, ui, agent-command)",
"conclusion": "success"
},
{
"name": "Build the single binary",
"conclusion": "success"
}
],
"record_source": "SELF captured API response; CI API not re-requested in this audit"
}
},
{
"check": "finish_receipt_matches_current_local_and_remote_state",
"result": "PASS",
"detail": {
"receipt_sha256": "af87912fcd3c02e0e3dedb27da397ecc5d90abbf11b27337ebfe81e9cba4727a",
"exit_code": 0,
"after": null,
"after_error": "Git object could not be recorded: rev-parse --show-toplevel",
"task_worktree_exists": false,
"local_refs": "",
"ls_remote_output": "74e4382452a59fab598c09bb3ded96ff9495e153\trefs/heads/main\n",
"registered_worktrees": "worktree /home/weichen/projects/Agent-System-Dev\nHEAD 8a8026338e3568943e02626f653524c8a7226941\nbranch refs/heads/feature/card-close-20261007-031829Z\n\nworktree /home/weichen/projects/Agent-System-Dev-wt-feature-agent-stack-n1\nHEAD 6af6d046ff413b31d38cad0def629345ba85b53b\nbranch refs/heads/feature/agent-stack-n1\n\n"
}
},
{
"check": "merged_tree_matches_tested_candidate",
"result": "PASS",
"detail": {
"candidate": "04a2e44fbaa00f6782be24b312fb11a271c68d71",
"merged": "74e4382452a59fab598c09bb3ded96ff9495e153",
"candidate_is_ancestor": true,
"tree_diff_paths": []
}
},
{
"check": "reviewed_snapshot_stable",
"result": "PASS",
"detail": {
"start_head": "8a8026338e3568943e02626f653524c8a7226941",
"end_head": "8a8026338e3568943e02626f653524c8a7226941",
"card_sha256": "7a898aa0d45a9ce75e862ea64a23fdd20e6fbf22510d0bbab3edc7e37dc6783d"
}
},
{
"check": "uncommitted_card_change_only_appends_validated_receipts",
"result": "PASS",
"detail": {
"base_head": "8a8026338e3568943e02626f653524c8a7226941",
"appended_receipt_count": 1,
"card_sha256": "7a898aa0d45a9ce75e862ea64a23fdd20e6fbf22510d0bbab3edc7e37dc6783d"
}
}
],
"knownlimit": [
"No full governance, make test or make build rerun; this audit does not replace the earlier code review.",
"CI run/job data checked against captured original JSON and Git commit identity, not a new authenticated CI API query.",
"Checksums and available originals establish consistency, not authorship or trusted executor identity; this report remains SELF.",
"Other task worktree currently remains registered; this audit cannot prove every historical action in another session.",
"Report applies to the fixed reviewed HEAD and card SHA; later added receipts require their own integrity check.",
"One valid make task-sync receipt is appended after reviewed HEAD 8a80263 and is uncommitted; archive card SHA identifies the audited worktree content."
]
}