Repository navigation
Use the Map's mode, source and carried entries from Genesis - #9
Merged
Merged
Conversation
Genesis now records in business-map.json what a Map covers (mode), the code it was read from (source), and lets a change review start from a committed Map (map prepare --entries-from). Genesis EDD uses all three: - spec new refuses a Map whose mode is change, as it already refuses one with change-report.json beside it. A Map without a mode, from an older Genesis, is still accepted, with a warning, and recorded as unknown. - freshness is no longer always unverified. It is verified when a clean, complete Map's every file has the same SHA-256 at the current commit, as Git stores it; stale when a file differs or is gone; unverified without a source, when the Map was read with uncommitted changes, or when it left files out and every file it read is unchanged. - At the loop's final review, loop status gives next.genesis_review: the base commit and the Map copy to pass to every genesis map prepare of a Genesis review, so the change lands on the Spec's flows on every clone. Docs say these need Genesis 9c0c914 or later; Genesis stays a separate tool and is not pinned. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
Genesis now records what a Map covers (
mode) and the code it was read from (source), and a change review can start from a committed Map (genesis map prepare --entries-from). See GenesisAgentInfra/genesis#45. Genesis EDD now uses all three.spec newrefuses a Map whosemodeischange, just as it already refuses one withchange-report.jsonbeside it. It also refuses a mode it does not know. A Map withoutmode, written by an older Genesis, is still accepted with a warning and recorded asunknown.unverified:verified: a clean, complete Map whose every listed file has the same SHA-256 at the current commit, as Git stores it.stale: a file differs or is gone.unverified: there is nosource, or the Map was read with uncommitted changes, or it left files out and every file it read is unchanged.loop statusreturnsnext.genesis_review: the base commit and the Map copy to pass to everygenesis map prepareof the Genesis review. That way the change lands on the Spec's flows on every clone.The docs say these features need Genesis
9c0c914or later. Genesis stays a separate tool and is not pinned.Checks
npm run checkpasses.npm test: 147 passed.🤖 Generated with Claude Code