Files
git.stella-ops.org/docs/implplan/SPRINT_185_shared_replay_primitives.md
master 75f6942769
Some checks failed
Docs CI / lint-and-preview (push) Has been cancelled
Policy Lint & Smoke / policy-lint (push) Has been cancelled
Concelier Attestation Tests / attestation-tests (push) Has been cancelled
AOC Guard CI / aoc-guard (push) Has been cancelled
AOC Guard CI / aoc-verify (push) Has been cancelled
Add integration tests for migration categories and execution
- Implemented MigrationCategoryTests to validate migration categorization for startup, release, seed, and data migrations.
- Added tests for edge cases, including null, empty, and whitespace migration names.
- Created StartupMigrationHostTests to verify the behavior of the migration host with real PostgreSQL instances using Testcontainers.
- Included tests for migration execution, schema creation, and handling of pending release migrations.
- Added SQL migration files for testing: creating a test table, adding a column, a release migration, and seeding data.
2025-12-04 19:10:54 +02:00

3.0 KiB

Sprint 185 - Replay Core · 185.A) Shared Replay Primitives

BLOCKED Tasks: Before working on BLOCKED tasks, review BLOCKED_DEPENDENCY_TREE.md for root blockers and dependencies.

[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.md published.
  • REPLAY-CORE-185-002: ReplayBundleWriter.cs and ReplayBundleEntry.cs implement tar.zst CAS bundle operations; Replay CAS documented in architecture-overview.md §5.
  • REPLAY-CORE-185-003: ReplayMongoModels.cs defines ReplayRunDocument, ReplayBundleDocument, ReplaySubjectDocument with ReplayIndexes constants.
  • DOCS-REPLAY-185-003: docs/data/replay_schema.md published with collection schemas, indexes, and determinism constraints.
  • DOCS-REPLAY-185-004: docs/replay/DEVS_GUIDE_REPLAY.md expanded with developer checklist, storage schema references, and workflow guidance.