calesthio
|
514d0faf37
|
backlot phase 0 review fixes: fail-closed gates, atomic checkpoint writes, event attribution hardening
- gate = manifest OR caller (stricter wins); unknown pipeline_type now
raises instead of silently disabling enforcement; corrupt manifest logs
and falls back; misleading diagnostic fixed
- write_checkpoint backfills pipeline_type from project.json marker so
omitting the kwarg can't bypass gates
- checkpoint writes are atomic (temp + os.replace); history archiving is
copy-based and best-effort (Windows open-file safe)
- manifest loads cached (load_pipeline_readonly); stage gate lookup moved
to pipeline_loader.get_stage_human_approval_default; PROJECTS_DIR unified
in lib/paths.py
- events: containment + root-normalization for explicit project dirs, no
ghost-project mkdir, 0.0 cost preserved, nested-call depth tag,
wrapper simplified
- documentary-montage edit-director gate footer (was missed); AGENT_GUIDE
no longer claims edit/compose always auto-proceed
|
2026-07-01 23:24:11 -07:00 |
|
calesthio
|
722491d732
|
backlot phase 0: artifact contract + gate hardening
- init_project() writes project.json marker + canonical workspace layout
- write_checkpoint enforces approval gates: completed on a gated stage
requires human_approved=True (GATE VIOLATION otherwise)
- superseded checkpoints archived to projects/<id>/history/ (stage
versioning, gate audit trail, replay)
- BaseTool auto-instruments execute() -> projects/<id>/events.jsonl
(start/finish/error, scene_id, cost) for the Backlot live board
- assets stage now gates (human_approval_default: true) in all manifests
- checkpoint-protocol + AGENT_GUIDE: manifest gate value is binding,
awaiting_human + end-turn protocol, per-gate approval, canonical
checkpoint location fixed to projects/<id>/
- gate reminder footer on all gating stage director skills
- /backlot command files for Claude Code, Codex, Cursor, Copilot
|
2026-07-01 23:08:51 -07:00 |
|