22 lines
1.1 KiB
Markdown
22 lines
1.1 KiB
Markdown
# Policy Staleness Fallback Prep — PREP-POLICY-AIRGAP-57-002-NEEDS-STALENESS-FAL
|
|
|
|
Status: Draft (2025-11-20)
|
|
Owners: Policy Guild · AirGap Time Guild
|
|
Scope: Define staleness/fallback data contract for policy responses once sealed-mode (57-001) is defined.
|
|
|
|
## Dependencies
|
|
- Sealed-mode error envelope (57-001).
|
|
- Time anchor/staleness metadata from AirGap Controller/Time (56-002 chain).
|
|
|
|
## Proposed additions
|
|
- Response headers: `x-policy-bundle-id`, `x-policy-staleness-seconds-remaining`.
|
|
- Body enrichment: `staleness_seconds_remaining`, `bundle_id`, optional `time_anchor_id` in error responses or health endpoints.
|
|
- Determinism: values sourced from stored bundle metadata; no wall-clock dependencies beyond persisted timestamps.
|
|
|
|
## Acceptance
|
|
- Confirm header names with AirGap Time Guild and align with Concelier Web sealed responses.
|
|
- Sample response documented under `docs/modules/policy/samples/policy-staleness@draft.json`.
|
|
|
|
## Handoff
|
|
Use this prep doc to satisfy PREP-POLICY-AIRGAP-57-002-NEEDS-STALENESS-FAL. Update with final header names and sample once 57-001 and 56-002 stabilize; then mark task DONE.
|