simplify guidance for agents - #284
Merged
Merged
Conversation
nahiyankhan
marked this pull request as ready for review
September 6, 2026 04:00
nahiyankhan
force-pushed
the
simplify-pull-guidance
branch
from
September 6, 2026 04:08
87da2ed to
0bd20fc
Compare
Merged
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: Agents receive direct guidance and material actions without needing to understand Ghost's internal mechanics or rewrite the guidance into a separate brief.
Problem: Gather and pull exposed implementation narration that spent model context without changing the next action. The post-pull workflow then required the agent to summarize authoritative guidance before making the artifact.
Solution: Present gather and pull Markdown as compiled instruction surfaces while preserving rich JSON for integrations and diagnostics. Pull now labels applicability, emits direct references and inspection actions, distinguishes images from other binary assets, and places one starting-structure instruction last; the making loop uses that guidance directly.
Validation:
pnpm run quality:all: passedChangeset: added for both public Markdown changes
ghost Review:
pnpm run quality:allghost reviewwas not run because this repository has no root.ghost/packageFile changes
.changeset/
Records the gather and pull Markdown changes for release.
README.md and packages/ghost/README.md
Align the public workflow wording with direct guidance retrieval.
packages/context-control/
Runs selection trials against literal gather Markdown and preserves realistic evaluation coverage.
packages/ghost/src/commands/
Compiles default gather and pull Markdown down to information that changes the agent's next action.
packages/ghost/src/init-payloads/skeleton/
Provides direct starter guidance and conservative uncovered-decision behavior.
packages/ghost/src/scan/package-lint.ts
Warns when a cover omits uncovered-decision behavior.
packages/ghost/src/skill-bundle/
Removes the required post-pull brief and teaches direct use of guidance and material actions.
packages/ghost/test/cli.test.ts
Covers lean Markdown output, JSON preservation, material handling, and negative machinery leakage.
packages/steering-control/
Updates the downstream evaluation workflow to make directly from pulled guidance.
packages/vessel-light/.ghost/index.md
Adds package-specific uncovered-decision behavior.
Screenshots/Demos: N/A