Skip to content

Design the minimal project and asset evidence contract - #110

Merged
heznpc merged 3 commits into
mainfrom
docs/project-asset-model-v1
Sep 7, 2026
Merged

heznpc merged 3 commits into
mainfrom
docs/project-asset-model-v1

Conversation

@heznpc

@heznpc heznpc commented Sep 7, 2026 •

Copy link
Copy Markdown
Owner

Define the minimal project/asset contract before implementation. Work keeps its current comparison keys, grouping, row equality, selection and UI behavior while one producer adapter creates real evidence from session workspace inputs.

The proposal separates collection outcomes, positive factual evidence and assessments. Evidence references explicitly identify source, run and record; failed or uncollected inputs cannot create membership. Transcript invocations remain recorded claims and shell mentions remain references, without implying successful OS access. Coverage descriptions and diagnostic strings are display-only.

Phase 1 requires actual Work evidence generation and provenance tests. Phase 2 first preserves raw storage measurement validity in the decoder/DTO. Phase 3 extends the process producer/DTO with start identity and observation context before handling PID reuse and runtime attribution. The project/asset model grants no cleanup approval or execution authority.

Status: draft design for review; proposed Swift declarations are not shipped APIs. The implementation scope is identity/provenance/coverage types, one Work adapter, preserved UI identity and evidence-generation tests. Storage implementation remains a separate PR.

Validation: the revised Swift declaration example type-checks with warnings as errors and complete strict-concurrency checking. Markdown fences, the architecture link and whitespace checks pass. Changes remain limited to the two design documents; application runtime validation belongs to the subsequent implementation acceptance gate.

Base automatically changed from feat/recovery-plan-history to main September 7, 2026 14:17
@heznpc
heznpc marked this pull request as ready for review September 7, 2026 21:26
@heznpc
heznpc merged commit e5fc581 into main Sep 7, 2026
11 checks passed
@heznpc
heznpc deleted the docs/project-asset-model-v1 branch September 7, 2026 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant