Schema-enforce atlas leaf-dispatch via write-fragment CLI + JSON Schema derivation#105
Open
jpr5 wants to merge 6 commits into
Open
Schema-enforce atlas leaf-dispatch via write-fragment CLI + JSON Schema derivation#105jpr5 wants to merge 6 commits into
jpr5 wants to merge 6 commits into
Conversation
…lRun shadow-gate scaffold
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.
Summary
Phase-0 implementation of atlas leaf-schema enforcement (per spec Notion 37d3aa38185281a686bbc46671a63a42, plan at /tmp/specs/2026-06-12-atlas-leaf-schema-enforcement-impl-plan.md).
public→internal) and 4 episodic invariants (needsReview === true,provenance_class === "derived",confidence === "low",validation_status === "unverified").zod-to-json-schema(CANDIDATE_FRAGMENT_JSON_SCHEMA,EPISODIC_CANDIDATE_FRAGMENT_JSON_SCHEMA,jsonSchemaForFamily()).atlas harvest write-fragment --stdinCLI: spec §4.2.1 0/1/2/3/4 exit-code matrix,--stemfilesystem-safe regex gate, mkdir/write try-block split, AND-case precedence on episodic invariant routing.runDualRun): seed-present strict / no-seed-relaxed / both-malformed-gated branches with shape XOR + both-missing → diverge guards across classification enums, sourcetype, evidence, and text fields.Test plan
Notes
🤖 Generated with Claude Code