Define headless decision lifecycle product and delivery plan

Assistant: codex
Assistant-Model: gpt-6-astra
Assistant-Session: 01a10780-6d41-7952-9718-dfbc1f41236f
This commit is contained in:
tegwick 2026-10-04 17:33:43 +02:00
parent 5dd68eb8c1
commit 871f5e05e8
9 changed files with 381 additions and 7 deletions

View file

@ -0,0 +1,132 @@
---
id: INFD-WP-0007
type: workplan
title: "Decision lifecycle service — headless foundation and human UI"
domain: infotech
repo: informed-decision
status: proposed
owner: codex
topic_slug: netkingdom
created: "2026-10-04"
updated: "2026-10-04"
origin: demand
origin_ref: "Founder 2026-10-04: full decision lifecycle for agents and humans, no per-decision infrastructure rollout, headless foundation and UI at decisions.coulomb.social"
related:
- INFD-WP-0005
- INFD-WP-0006
state_hub_workstream_id: "2b3e04ed-2137-584f-a6c2-f1abb29636fa"
---
# Decision lifecycle service
Contract: `docs/specs/DecisionLifecycleService.md`. This extends the existing
memo and intake implementation. `INFD-WP-0005` continues to own intake runtime,
attribute admission, forwarding and live acceptance. Proposed status reflects
the still-open API/identity/publication contracts, not a deployed capability.
## Record product direction and architecture
```task
id: INFD-WP-0007-T01
status: done
priority: high
state_hub_task_id: "00829d0e-2daa-5c25-a4e9-e4fd595fb8d4"
```
Updated INTENT and GOAL; SCOPE explicitly distinguishes requested capabilities
from implementation. Spec covers all nine operations, foundation/UI dependency
boundary, revision/evidence semantics and acceptance without per-decision deploys.
## Specify lifecycle contracts against existing owners
```task
id: INFD-WP-0007-T02
status: todo
priority: high
state_hub_task_id: "cde0c932-afce-5bec-8cee-a2f377955b9f"
```
Define versioned API schemas, application service interfaces, caller/tenant
context, source/evaluation/comment companion records, revision concurrency,
publication audience, idempotency, errors, limits and result retrieval. Resolve
the spec's open identity/publication/source/non-approval binding contracts.
Review against existing schema and engine contracts. Preserve private intake
and current review URLs. Produce a reviewed migration and compatibility plan.
## Implement durable headless lifecycle foundation
```task
id: INFD-WP-0007-T03
status: todo
priority: high
depends_on: [INFD-WP-0007-T02]
state_hub_task_id: "2a206bc2-cb92-539d-9014-9ba71f70277c"
```
Implement registration, immutable revisions, source provenance, evaluations,
companion comments, publication and result/event retrieval using shared service
operations. Reuse the current memo/presentation/disposition core and transactional
store/outbox. Migrate existing records without losing evidence. Tests prove
concurrency, replay, restart, stale-presentation refusal, human-only disposition
and absence of UI imports. No mirrored approval state.
## Expose authenticated lifecycle API for agents and humans
```task
id: INFD-WP-0007-T04
status: todo
priority: high
depends_on: [INFD-WP-0007-T03]
state_hub_task_id: "65c760da-de7e-5e85-9817-6f3e2b46c8f9"
```
Add versioned adapters, bounded authorized search/retrieval and durable outcomes.
Connect existing intake and policy/identity ports. Test audience, tenant and
authorization isolation, conflicting idempotency payloads, result delivery and
uncertain external outcomes. The complete agent scenario must run without a UI.
## Build the lifecycle workspace at decisions.coulomb.social
```task
id: INFD-WP-0007-T05
status: todo
priority: high
depends_on: [INFD-WP-0007-T04]
state_hub_task_id: "a6a7c9a8-760e-52dd-80d3-d36f43f0a86a"
```
Add discovery, authoring, research/evaluation views, publication audience controls,
discussion, revision comparison and human review through the shared foundation.
Keep agents clearly attributed, acceptance revision-specific and authentication
step-up understandable. Verify existing URLs and old records remain usable.
## Prove lifecycle without per-decision rollout and prepare live delivery
```task
id: INFD-WP-0007-T06
status: todo
priority: high
depends_on: [INFD-WP-0007-T04, INFD-WP-0007-T05]
state_hub_task_id: "aa839bea-cc4c-5ee0-85e7-87c881e8e578"
```
Run all seven spec acceptance scenarios in an integration environment. Record
unchanged image/deployment/policy/config pins across two new decisions and a
revision, plus restart durability. Incorporate WP-0005 runtime/admission receipts.
Prepare the concrete migration, immutable release, rollback and verification
packet before requesting the separately required live rollout approval.
## Approved live acceptance
```task
id: INFD-WP-0007-T07
status: todo
priority: high
depends_on: [INFD-WP-0007-T06]
state_hub_task_id: "25fa4743-5c7e-5609-9872-7c5971ff62bc"
```
After explicit approval of the concrete rollout, deploy and obtain native
agent-to-human-to-agent evidence at decisions.coulomb.social. Only the human
performs acceptance. Update SCOPE from observations and hand any residuals into
live work records before marking this plan finished.