Skip to content

feat(docgen): pointer-map prompt + additionalContext/tiered inject hook - #8

Merged
decider merged 1 commit into
mainfrom
feat/docgen-map-mechanism
May 25, 2026
Merged

feat(docgen): pointer-map prompt + additionalContext/tiered inject hook#8
decider merged 1 commit into
mainfrom
feat/docgen-map-mechanism

Conversation

@decider

@decider decider commented May 25, 2026

Copy link
Copy Markdown
Owner

Brings the mechanism in line with the canonical version:

  • prompt.md → generate a ## Map (concept → file · symbol jump-table) instead of prose file paragraphs.
  • Inject hook → emit hookSpecificOutput.additionalContext (plain stdout never reached the model — verified), tiered (the file's own dir gets the full map; ancestors get Purpose-only), plus a which-files trace log.

Existing READMEs convert to Map format incrementally as the auto-refresh push hook regenerates them — no big regen burst here.

🤖 Generated with Claude Code

- prompt.md: generate a ## Map (concept → file · symbol jump-table) instead
  of prose file lists.
- inject hook: emit hookSpecificOutput.additionalContext (plain stdout never
  reached the model), tiered (leaf = full map, ancestors = Purpose only),
  with a which-files trace log. Existing READMEs convert to Map format
  incrementally via the auto-refresh push hook.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
@decider
decider merged commit ceb06d3 into main May 25, 2026
1 check passed
@decider
decider deleted the feat/docgen-map-mechanism branch May 25, 2026 04:14
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