railiance-clock/workplans/RCLK-WP-0003-reference-implementation.md
tegwick 42bc5b37ab Seed application-clock intent, specification and staged workplans
Assistant: codex
Assistant-Model: gpt-6-astra
Assistant-Session: 01a09cbc-910e-77a0-b336-3130194350b3
2026-09-14 10:12:30 +02:00

46 lines
1.5 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
id: RCLK-WP-0003
type: workplan
title: "Implement isolated authority and application clock"
domain: infotech
repo: railiance-clock
status: proposed
owner: codex
topic_slug: custodian
created: "2026-09-14"
updated: "2026-09-14"
depends_on_workplans:
- RCLK-WP-0002
---
Implement only the reviewed contract. Runtime language selection, API schema and dependency policy follow RCLK-WP-0002; no live secrets needed for fake-clock development.
## Implement authority sample and health adapter
```task
id: RCLK-WP-0003-T01
status: wait
priority: high
```
Depends on 0002 adopted sample/trust/UTC contract. Implement bounded sample exchange, nonce binding, health/error state and epoch handling with disposable signing keys. Verify C02–C05/C13–C15.
## Implement application clock and attribution interface
```task
id: RCLK-WP-0003-T02
status: wait
priority: high
```
Depends on adopted interval/platform contract. Provide explicit quality states, monotonic mapping, sample-age policy, restart/suspend invalidation and immutable event attribution. Verify C01/C06–C09/C11/C12.
## Prove isolated consumer integration and package review
```task
id: RCLK-WP-0003-T03
status: wait
priority: high
```
Run deterministic boundary/property tests plus adversarial delay/replay and real platform lifecycle probes. Demonstrate +/− local clock skew with no OS changes. Preserve consumer approval/CAS failures with fixtures; publish dependency/SBOM and reproducible build evidence. No native production claim from synthetic fixtures.