Skip to content

Make root Ghost bundle canonical#77

Merged
nahiyankhan merged 2 commits into
mainfrom
codex/root-ghost-fingerprint-bundle
May 10, 2026
Merged

Make root Ghost bundle canonical#77
nahiyankhan merged 2 commits into
mainfrom
codex/root-ghost-fingerprint-bundle

Conversation

@nahiyankhan
Copy link
Copy Markdown
Collaborator

@nahiyankhan nahiyankhan commented May 10, 2026

🤖 Summary

  • Makes the root .ghost/ directory the canonical Ghost fingerprint bundle: resources.yml, map.md, survey.json, patterns.yml, checks.yml, and optional intent.md.
  • Adds ghost.resources/v1 and ghost.patterns/v1 schemas, survey composition facts, bundle lint/verify behavior, and survey patterns generation.
  • Updates ghost-drift check/review/compare to consume root bundles, with composition remaining advisory and deterministic gates staying in checks.yml.
  • Rewrites docs/skills/CLI manifest around resources -> map -> survey -> patterns and removes the old profile recipe surface.
  • Dogfoods the new shape by checking in Ghost's own root .ghost/ package, including a source-observed survey of the docs/UI surfaces, registry components, tokens, and patterns.
  • Updates ghost-fingerprint emit context-bundle to emit from the root package by default, while preserving legacy direct fingerprint emission behind --fingerprint.

Breaking change

  • Removes .ghost/fingerprint/fingerprint.md as the canonical package layout. Root .ghost/ bundles are now the supported package shape.
  • Adds major changesets for ghost-fingerprint and ghost-drift.

Release notes

  • Adds a patch changeset for the package-aware ghost-fingerprint emit context-bundle behavior.

Validation

  • pnpm build
  • pnpm test (442 tests)
  • pnpm check
  • ghost-fingerprint lint .ghost
  • ghost-fingerprint verify .ghost --root .
  • ghost-fingerprint emit context-bundle -o /private/tmp/ghost-context --readme
  • Pre-push hook reran build/check/test successfully.

@nahiyankhan nahiyankhan merged commit b383d45 into main May 10, 2026
6 checks passed
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