approval-engine/workplans/APPROVAL-WP-0006-fractional-consumption-time.md
tegwick a3564edc25 chore: sync State Hub ids, generated briefs and work records
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Assistant: claude-code
Assistant-Model: opus
Assistant-Process: 8340@bnt-lap001
Assistant-Session: 2e192b3d-b3e8-4403-94d4-d55a2c8b476c
2026-10-21 09:12:01 +02:00

3 KiB

id type title domain repo status flavor owner topic_slug created updated depends_on state_hub_workstream_id
APPROVAL-WP-0006 workplan Preserve fractional authoritative approval and consumption time infotech approval-engine active implementation codex netkingdom 2026-10-16 2026-10-16
9b859b2f-f98a-5104-b0d5-72bfdaf56da4

Explicit CUST-WP-0080 precision defect demand: actual clock .750 was rounded to .000, accepting consume beyond a .500 expiry and recording evidence earlier than the actual signed decision. INTENT basis: valid right now, exact-bound atomic consumption and faithful source evidence. Fix source time, not Access backdating or a consumer waiver. This does not promote native issuer/deployment authority.

Preserve clock precision and one post-lock consumption instant

id: APPROVAL-WP-0006-T01
status: done
priority: high
state_hub_task_id: "7d73af2a-c24b-5e6f-9cfa-869722edbfb7"

Preserve aware UTC microseconds through clock/ISO formatting. After acquisition of the SQLite consume lock, sample one time for validity, stored consumption receipt/update and use-event occurrence. Preserve old second-precision rows, original idempotent receipt/decision and local transactional atomicity.

Seven added regressions: baseline five failed/two passed; repaired 89 focused checks pass. Full source suite: 298 passed, one pre-existing deployment pin vs historical release-evidence mismatch retained. One initial test attempted issue after expiry and was corrected to issue before expiry, then advance the clock; the repaired source correctly refused that expired setup. Source change needs no schema migration and preserves old rows/idempotent timestamps exactly.

Review temporal source successor and hand off independently pinned repair

id: APPROVAL-WP-0006-T02
status: progress
priority: high
state_hub_task_id: "c689f2b3-461c-5bdb-b6bc-01d756715564"

Supply exact patch/test/source review evidence for coordinator integration and Access/Secrets immediate strict CAS remeasurement. Review only Approval facts, normalized preapproval correspondence and temporal bounds on the exact successor source. Existing WP0005 closure/R1 review remain historical; native issuer, audit receiver, served-PEP/CAS/effect and cleanup gates remain WP0002 T01/T04/T05 and the existing Access/Secrets/Platform records. No native gate is closed here.

Source owner review and handoff are prepared in docs/reviews/2026-10-16-fractional-consumption-temporal-approval-owner-review.json. Standalone repair patch is frozen separately from the Access R3 fact review; 89 focused source checks and 298 full checks pass, with one known image-evidence mismatch. Access precise NotBefore remains unchanged and original claim freshness is never renewed. Exact R3 normalized-preapproval/temporal source review covers Approval facts only; native freshness120 configuration is not granted. Independent integration/publication and actual immediate strict CAS successor remeasurement remain pending coordinator/consumer evidence, not a reason to backdate or waive.