Repository navigation
feat: structured friction & finding evidence + lifecycle (F29) - #9
Merged
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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