feat(output)!: Render semantic JSON for both audiences - #33
Merged
Merged
Conversation
Use --json for normalized documentation and combine it with --agent for navigation commands. Update bundled skills, output contracts, and release smoke checks without adding another output flag. BREAKING CHANGE: types view --json now returns semantic fields such as title instead of raw DocC metadata. Raw DocC export is removed.
philprime
marked this pull request as ready for review
September 24, 2026 18:40
philprime
enabled auto-merge (squash)
September 24, 2026 18:41
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.
Make
--jsonrender normalized semantic documentation and combine it with--agentto include safe follow-up navigation. The CLI retains only these two output flags, with no interactive terminal dependencies.Breaking output contract
Page JSON now exposes
.title, declarations, availability, semantic content blocks, and resolved reference groups instead of upstream DocC fields such as.metadata.title. Raw DocC export is removed. Catalogs remain top-level arrays, with navigation added for the agent audience. CLI help, bundled skills, repository guidance, and release smoke checks use the new contract.Verification
Focused regression tests,
make test,make analyze,make build, and live integration checks passed. Direct release checks confirmed semantic agent JSON and the two-flag help output. Rebased ontoorigin/mainafter #32 merged, verified the source tree was unchanged, and reran tests and analysis.