conductor(plan): Mark Phase 6 complete - all track tasks done
Phase 6 tasks (t6_1, t6_2, t6_3) and the phase itself marked completed. All 16 task entries now have status=completed. All 6 phase entries now have status=completed. This is the final state.toml commit for the track.
This commit is contained in:
@@ -21,7 +21,7 @@ phase_2 = { status = "completed", checkpointsha = "d87d909f", name = "Rename Oth
|
||||
phase_3 = { status = "completed", checkpointsha = "2f45bc4d", name = "Rename in Top 5 Test Files (one commit per file)" }
|
||||
phase_4 = { status = "completed", checkpointsha = "ada96173", name = "Rename in Remaining 22 Test Files (batch; spec said 24, actual 22)" }
|
||||
phase_5 = { status = "completed", checkpointsha = "9b501123", name = "Rename in 3 Current Docs + Final Verification" }
|
||||
phase_6 = { status = "in_progress", checkpointsha = "", name = "Update state.toml + metadata.json + register in tracks.md" }
|
||||
phase_6 = { status = "completed", checkpointsha = "9a5d3b9c", name = "Update state.toml + metadata.json + register in tracks.md" }
|
||||
|
||||
[tasks]
|
||||
# Phase 1: Rename the Implementation (the TDD red moment)
|
||||
@@ -48,9 +48,9 @@ t5_2 = { status = "completed", commit_sha = "d86131d9", description = "Final ver
|
||||
t5_3 = { status = "completed", commit_sha = "d86131d9", description = "Plan update marking Phase 5 verification complete (auto-confirmed)" }
|
||||
|
||||
# Phase 6: Update state.toml + metadata.json + register in tracks.md
|
||||
t6_1 = { status = "in_progress", commit_sha = "", description = "Update state.toml - mark all tasks complete" }
|
||||
t6_2 = { status = "pending", commit_sha = "", description = "Update metadata.json - set status=shipped" }
|
||||
t6_3 = { status = "pending", commit_sha = "", description = "Register in conductor/tracks.md" }
|
||||
t6_1 = { status = "completed", commit_sha = "aad6deff", description = "Update state.toml - mark all tasks complete" }
|
||||
t6_2 = { status = "completed", commit_sha = "5a58e1ce", description = "Update metadata.json - set status=shipped" }
|
||||
t6_3 = { status = "completed", commit_sha = "9a5d3b9c", description = "Register in conductor/tracks.md" }
|
||||
|
||||
[verification]
|
||||
# Filled as the track progresses
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
"""Mark Phase 6 tasks as complete in state.toml."""
|
||||
from __future__ import annotations
|
||||
|
||||
from pathlib import Path
|
||||
|
||||
STATE = Path("conductor/tracks/send_result_to_send_20260616/state.toml")
|
||||
|
||||
EDITS: list[tuple[str, str]] = [
|
||||
('phase_6 = { status = "in_progress", checkpointsha = "", name = "Update state.toml + metadata.json + register in tracks.md" }',
|
||||
'phase_6 = { status = "completed", checkpointsha = "9a5d3b9c", name = "Update state.toml + metadata.json + register in tracks.md" }'),
|
||||
('t6_1 = { status = "in_progress", commit_sha = "", description = "Update state.toml - mark all tasks complete" }',
|
||||
't6_1 = { status = "completed", commit_sha = "aad6deff", description = "Update state.toml - mark all tasks complete" }'),
|
||||
('t6_2 = { status = "pending", commit_sha = "", description = "Update metadata.json - set status=shipped" }',
|
||||
't6_2 = { status = "completed", commit_sha = "5a58e1ce", description = "Update metadata.json - set status=shipped" }'),
|
||||
('t6_3 = { status = "pending", commit_sha = "", description = "Register in conductor/tracks.md" }',
|
||||
't6_3 = { status = "completed", commit_sha = "9a5d3b9c", description = "Register in conductor/tracks.md" }'),
|
||||
]
|
||||
|
||||
|
||||
def main() -> int:
|
||||
with STATE.open("r", encoding="utf-8", newline="") as f:
|
||||
content = f.read()
|
||||
applied = 0
|
||||
for old, new in EDITS:
|
||||
if old in content:
|
||||
content = content.replace(old, new, 1)
|
||||
applied += 1
|
||||
else:
|
||||
print(f"NOT FOUND: {old[:80]!r}")
|
||||
if applied != len(EDITS):
|
||||
print(f"Only applied {applied}/{len(EDITS)} edits.")
|
||||
return 1
|
||||
with STATE.open("w", encoding="utf-8", newline="") as f:
|
||||
f.write(content)
|
||||
print(f"Applied {applied}/{len(EDITS)} edits.")
|
||||
return 0
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
raise SystemExit(main())
|
||||
Reference in New Issue
Block a user