|
Download videoagent/docs/STATUS.md from ppppppz/video_agent_trace: direct link, hf CLI and curl.
- Browser
- Download file 6.51 kB
-
https://huggingface.co/datasets/ppppppz/video_agent_trace/resolve/main/videoagent/docs/STATUS.md
- Command line
-
hf download hf://datasets/ppppppz/video_agent_trace/videoagent/docs/STATUS.md
-
curl -L -o STATUS.md https://huggingface.co/datasets/ppppppz/video_agent_trace/resolve/main/videoagent/docs/STATUS.md
6.51 kB
| # TraceRepair-Agent Project Status | |
| **Last updated:** 2026-08-11 | |
| **Current phase:** M0 offline scaffold complete | |
| **Overall state:** Ready for environment-backed fake E2E, then H3 pilot | |
| ## Outcome We Are Building | |
| The V1 scaffold must support a strictly separated private injection/evaluation path and a public-only blind repair path for long-form, multi-shot video trajectory errors. This phase does not install model environments or call real video providers. | |
| ## Current Milestone | |
| **M0 — Architecture and offline scaffold** | |
| Completion requires: | |
| - a documented and pinned reusable upstream framework; | |
| - typed domain models and provider ports; | |
| - modules for injection, inspection, narrative diagnosis, memory, policy, repair, verification, and private evaluation; | |
| - immutable project revisions and auditable repair traces; | |
| - physically and structurally separate public/private manifests; | |
| - deterministic fake adapters and an offline fake end-to-end path; | |
| - static and schema test skeletons; | |
| - no real model SDK, API key, model download, or environment build. | |
| ## Framework Decision | |
| **Selected upstream:** [HKUDS/ViMax](https://github.com/HKUDS/ViMax), v1.2.0, commit `05a48943878312d88fe5a016c12a9654940ecc43`, MIT License. | |
| We are adapting these ViMax concepts: | |
| - structured `Event`, `Scene`, and `ShotDescription` artifacts; | |
| - provider-neutral tool registry and structured tool results; | |
| - bounded agent tool loop with persistent trace records; | |
| - session index, project workspaces, and artifact checklist; | |
| - Script2Video/Novel2Video planning-to-render separation. | |
| We are replacing these ViMax limitations: | |
| - boolean-only stale flags with content-addressed immutable revisions; | |
| - file-existence checkpoints with hashes, lineage, and dependency-aware validation; | |
| - mutable artifact revision with copy-on-write commit and pointer rollback; | |
| - one shared runtime with separate public repair and private injection/evaluation dependency graphs. | |
| See [ADR-0001](docs/adr/0001-vimax-upstream-and-runtime-split.md) and [framework selection](docs/research/framework-selection.md). | |
| ## Workstream Status | |
| | Workstream | Owner | State | Evidence / next output | | |
| |---|---|---|---| | |
| | Framework search and licensing | Framework research agents + lead | Complete | `docs/research/framework-selection.md` | | |
| | Architecture and typed contracts | Architecture agent | Complete | `src/trace_repair/{core,domain,ports}` | | |
| | Narrative error detection | Narrative agent | Complete | compiler/extractor/aligner/evaluator/localizer/reinspection + T2 fixture | | |
| | Schemas, fixtures, static checks | Validation agent | Complete | `schemas`, `examples`, `tests/{static,schema}` | | |
| | Application services and workflow | Architecture agent + lead | Complete | bounded public repair loop and isolated private services | | |
| | ViMax bridge and fake providers | Lead | Complete for M0 | data bridge, scripted fakes, explicit H3/MAGI stubs | | |
| | Static completion audit | Lead | Complete | `docs/m0_static_audit.md` | | |
| ## Decisions Made | |
| 1. ViMax is the permissively licensed main upstream; old HKUDS/VideoAgent is not used as the base because its tool registry/executor contracts, packaging, and vendored licenses are inconsistent. | |
| 2. Crayotter and Vex are design references only because both use PolyForm Noncommercial 1.0.0. | |
| 3. VideoWeaver is an evaluation reference only; its root repository has no project-wide license grant. | |
| 4. Repair runtime cannot import or receive restricted evaluation types; public | |
| and restricted manifests/ports live in different modules. | |
| 5. Public case IDs are opaque and cannot encode T1–T5 or the target shot. | |
| 6. Operational verification is blind; only the offline evaluator can join public outputs with private truth. | |
| 7. V1 defaults to fake providers and a three-generation-call budget. | |
| 8. Candidate sampling follows ADR-0003: report Pass@1, private Oracle Pass@3, | |
| and blind-verifier Select@3; only all-gates-passing candidates may commit. | |
| 9. If no candidate passes, keep the original accepted revision. A rejected | |
| "best" candidate is not a valid repaired output. | |
| ## Active Risks | |
| | Risk | Current mitigation | | |
| |---|---| | |
| | H3 is both injector and repairer | Separate manifests, blind runtime, alternative-injector port, artifact probe contract | | |
| | Public manifest leaks the answer | Strict schemas, opaque IDs, forbidden-field static tests | | |
| | “Memory” becomes mutable hidden state | Append-only evidence and audit records; immutable project revisions | | |
| | Missing evidence is misclassified as an error | `INCONCLUSIVE` is a first-class narrative diagnosis status | | |
| | Scaffold accidentally depends on live services | No real provider dependencies; deterministic fake adapters only | | |
| | “Based on ViMax” becomes untraceable | Pinned commit, ADR mapping, third-party notice, explicit compatibility bridge | | |
| | Perception backend is selected from QA scores rather than repair fitness | Proposed ADR-0002 adapter bake-off on shared trajectory-boundary annotations | | |
| | Combining full memory agents duplicates orchestration and preprocessing | Reuse backends behind ports; test WorldMM plus only an entity-tracking component | | |
| | Score-based rollback promotes a rejected candidate | ADR-0003 requires hard-gate eligibility and rollback to the original accepted revision; M0 code remains to be corrected in M2 | | |
| | Pass@3 hides verifier selection failures | Report Pass@1, private Oracle Pass@3, blind-verifier Select@3, and false accept/reject separately | | |
| ## Validation Snapshot | |
| - 84 Python files passed AST parsing. | |
| - 7 JSON and 3 YAML documents parsed; `pyproject.toml` parsed. | |
| - Four committed fixtures passed Draft 2020-12 JSON Schema validation. | |
| - Eight static layout/import-boundary tests passed. | |
| - No live model/network SDK dependency or import was found. | |
| - Full pytest and the fake E2E were not run because the workspace is Python | |
| 3.10.16 while the project requires Python 3.11+; M0 did not build an environment. | |
| See `docs/m0_static_audit.md` for the exact boundary and limitation statement. | |
| ## Next Checkpoint | |
| Create the pinned Python 3.11+ development environment and run the committed | |
| fake E2E and full schema/unit suite. In parallel with the H3 pilot, prepare the | |
| 10--30 case perception/memory bake-off defined by proposed ADR-0002. Do not | |
| implement a bespoke production inspector or commit to WorldMM, VideoAgent, or | |
| LangRepo until the shared repair-oriented decision gates are measured. The | |
| existing repair/injection and perception/ledger ports remain stable for these | |
| steps. | |