2.9 KiB
2.9 KiB
Sprint 185 - Replay Core · 185.A) Shared Replay Primitives
[Replay Core] 185.A) Shared Replay Primitives Depends on: Sprint 160 Export & Evidence Summary: Stand up a shared replay library, hashing/cononicalisation helpers, and baseline documentation for deterministic bundles.
| Task ID | State | Task description | Owners (Source) |
|---|---|---|---|
| REPLAY-CORE-185-001 | DONE (2025-11-28) | Scaffold StellaOps.Replay.Core with manifest schema types, canonical JSON rules, Merkle utilities, and DSSE payload builders; add AGENTS.md/TASKS.md for the new library; cross-reference docs/replay/DETERMINISTIC_REPLAY.md section 3 when updating the library charter. |
BE-Base Platform Guild (src/__Libraries/StellaOps.Replay.Core) |
| REPLAY-CORE-185-002 | DONE (2025-11-28) | Implement deterministic bundle writer (tar.zst, CAS naming) and hashing abstractions, updating docs/modules/platform/architecture-overview.md with a "Replay CAS" subsection that documents layout/retention expectations. |
Platform Guild (src/__Libraries/StellaOps.Replay.Core) |
| REPLAY-CORE-185-003 | DONE (2025-11-28) | Define Mongo collections (replay_runs, replay_bundles, replay_subjects) and indices, then author docs/data/replay_schema.md detailing schema fields, constraints, and offline sync strategy. |
Platform Data Guild (src/__Libraries/StellaOps.Replay.Core) |
| DOCS-REPLAY-185-003 | DONE (2025-11-28) | Author docs/data/replay_schema.md detailing replay_runs, replay_bundles, replay_subjects collections, index guidance, and offline sync strategy aligned with Replay CAS. |
Docs Guild, Platform Data Guild (docs) |
| DOCS-REPLAY-185-004 | DONE (2025-11-28) | Expand docs/replay/DEVS_GUIDE_REPLAY.md with integration guidance for consuming services (Scanner, Evidence Locker, CLI) and add checklist derived from docs/replay/DETERMINISTIC_REPLAY.md Section 11. |
Docs Guild (docs) |
2025-11-03: Replay CAS section published in
docs/modules/platform/architecture-overview.md§5 — owners can move REPLAY-CORE-185-001/002 to DOING once library scaffolding begins.
Implementation Status (2025-11-28)
All tasks verified complete:
- REPLAY-CORE-185-001: Library scaffolded with
CanonicalJson.cs,DeterministicHash.cs,DsseEnvelope.cs,ReplayManifest.cs,ReplayManifestExtensions.cs;AGENTS.mdpublished. - REPLAY-CORE-185-002:
ReplayBundleWriter.csandReplayBundleEntry.csimplement tar.zst CAS bundle operations; Replay CAS documented in architecture-overview.md §5. - REPLAY-CORE-185-003:
ReplayMongoModels.csdefinesReplayRunDocument,ReplayBundleDocument,ReplaySubjectDocumentwithReplayIndexesconstants. - DOCS-REPLAY-185-003:
docs/data/replay_schema.mdpublished with collection schemas, indexes, and determinism constraints. - DOCS-REPLAY-185-004:
docs/replay/DEVS_GUIDE_REPLAY.mdexpanded with developer checklist, storage schema references, and workflow guidance.