Flatten Ghost fingerprint packages#181
Merged
Merged
Conversation
Merged
nahiyankhan
added a commit
that referenced
this pull request
Jun 24, 2026
Flatten Ghost fingerprint packages
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.
Category: improvement
User Impact: Ghost packages are easier to read and configure because manifest, facets, and checks now live directly in the package directory.
Problem: The old
.ghost/fingerprint/plus optionalconfig.ymllayout split package identity, generation facets, local routing, and host-wrapper location overrides across too many concepts. That made exact package targeting and stack discovery harder to explain and easier to misuse.Solution: Flatten packages to
.ghost/{manifest,intent,inventory,composition,validate}.yml, remove config.yml and memory-dir behavior, keep exact--package <dir>for direct targets, and useGHOST_PACKAGE_DIRas the single env-only default for stack discovery and scoped packages.Follow-up cleanup:
.ghost/config.ymlas fully removed outside historical/changelog text and negative tests.ghostDirsemantics scoped to stack discovery package slots, while exact--packagemode reports concrete package directories.product-surface/, not.ghost.validate.yml; schema-bearing Ghost YAML still routes to the right linter.Validation:
pnpm check: passedpnpm test: passed, 404 testspnpm build: passed in pre-push hooknode packages/ghost/dist/bin.js lint .ghost: passed, 0 issuesnode packages/ghost/dist/bin.js verify .ghost --root .: passed, 0 issuesChangeset: added major changeset for
@anarchitecture/ghost.Ghost Review:
node packages/ghost/dist/bin.js check --base origin/main: passed, 0 findingsnode packages/ghost/dist/bin.js review --base origin/main --format json: passedScreenshots/Demos: N/A