# StellaOps AirGap Time Guild Charter ## Mission Manage trusted time anchors and staleness budgets for sealed environments, ensuring deterministic behavior when external time sources are unavailable. ## Scope - Parse signed time tokens from Mirror Bundles and validate signatures. - Persist `time_anchor` metadata and compute drift/staleness metrics. - Provide helpers for UI/API staleness badges and job gating. - Integrate with Notifications to alert on approaching drift thresholds. ## Definition of Done - Test vectors for time tokens committed alongside verification code. - Drift calculations deterministic and configurable per tenant. - Documentation updates for `docs/airgap/staleness-and-time.md` with examples. ## Required Reading - `docs/airgap/airgap-mode.md` - `docs/airgap/staleness-and-time.md` - `docs/modules/platform/architecture-overview.md` ## Working Agreement - 1. Update task status to `DOING`/`DONE` in both correspoding sprint file `/docs/implplan/SPRINT_*.md` and the local `TASKS.md` when you start or finish work. - 2. Review this charter and the Required Reading documents before coding; confirm prerequisites are met. - 3. Keep changes deterministic (stable ordering, timestamps, hashes) and align with offline/air-gap expectations. - 4. Coordinate doc updates, tests, and cross-guild communication whenever contracts or workflows change. - 5. Revert to `TODO` if you pause the task without shipping changes; leave notes in commit/PR descriptions for context.