Skip to content

feat: structured friction & finding evidence + lifecycle (F29) - #9

Merged
csjones merged 1 commit into
mainfrom
FRICTION-LOG
Jul 18, 2026
Merged

csjones merged 1 commit into
mainfrom
FRICTION-LOG

Conversation

@csjones

@csjones csjones commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

Add the skillet.friction/1 (human) and skillet.finding/1 (machine-mined) evidence formats as typed Codable records — EvidenceHeader, FrictionEvent, Finding — in a new pure EDDCore/Evidence/* tree, dispatched on a self-describing schema: tag (D2). Adds a typed LifecycleState with a centralized legal-moves validator (D1): logged → candidate → codified → proven → closed, watch/held side states, and one constrained closed → logged reopen; illegal and self-transitions are rejected. state_reason is required when state is held/watch/closed (D5).

Serialization lives in the ConfigYAML EvidenceFrontmatter seam (decode/validate + create-encode), keeping EDDCore YAML-free (D4). Path B (D6): read into typed records and create fresh files, with native duplicate-key rejection (swift-yaml DuplicateKeyStrategy.reject) and a shared FrontmatterSplit scan factored out of FrontmatterParser; output is POSIX-newline-terminated. Library layer only — the friction/set-state/next commands and the gates consumer (F30) build on this seam; no new CLI.

Bump the swift-yaml pin 048f714 → 473252b for YAMLEditor + .reject (release/whole-module interop verified). Docs rippled: design v0.52 (§7.3, §7.6), ROADMAP v1.19.0, AGENTS, README, both changelogs. 511 tests green.

Spec: Specs/015-friction-finding-evidence/plan.md

Add the skillet.friction/1 (human) and skillet.finding/1 (machine-mined) evidence formats as typed Codable records — EvidenceHeader, FrictionEvent, Finding — in a new pure EDDCore/Evidence/* tree, dispatched on a self-describing schema: tag (D2). Adds a typed LifecycleState with a centralized legal-moves validator (D1): logged → candidate → codified → proven → closed, watch/held side states, and one constrained closed → logged reopen; illegal and self-transitions are rejected. state_reason is required when state is held/watch/closed (D5).

Serialization lives in the ConfigYAML EvidenceFrontmatter seam (decode/validate + create-encode), keeping EDDCore YAML-free (D4). Path B (D6): read into typed records and create fresh files, with native duplicate-key rejection (swift-yaml DuplicateKeyStrategy.reject) and a shared FrontmatterSplit scan factored out of FrontmatterParser; output is POSIX-newline-terminated. Library layer only — the friction/set-state/next commands and the gates consumer (F30) build on this seam; no new CLI.

Bump the swift-yaml pin 048f714 → 473252b for YAMLEditor + .reject (release/whole-module interop verified). Docs rippled: design v0.52 (§7.3, §7.6), ROADMAP v1.19.0, AGENTS, README, both changelogs. 511 tests green.

Spec: Specs/015-friction-finding-evidence/plan.md
@csjones
csjones merged commit 600981e into main Jul 18, 2026
2 checks passed
@csjones
csjones deleted the FRICTION-LOG branch July 18, 2026 20:46
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