Repository navigation
Record codegen complexity boundary - #11
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR records a clear, demand-driven complexity boundary for tools/api-codegen in the Project Context Records, and ensures the decision is discoverable through the PCR index and tooling decision ledger.
Changes:
- Added a new vouched ruling to the tooling decisions ledger defining a demand-driven boundary for API codegen complexity.
- Added a “Complexity boundary” section to the API code generation PCR doc clarifying when generator capabilities may expand.
- Updated the PCR index entry to reflect that tooling decisions now also cover demand-driven API code generation.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| .agents/docs/tooling-decisions.md | Adds a new vouched tooling decision (“Code generation remains demand-driven”) and links it to the detailed boundary in the API codegen PCR doc. |
| .agents/docs/README.md | Updates the PCR index description for “Tooling decisions” to include demand-driven API code generation. |
| .agents/docs/api-codegen.md | Introduces a dedicated “Complexity boundary” section documenting constraints on adding generator machinery without concrete implemented demand. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
hyfdev
added a commit
that referenced
this pull request
Aug 16, 2026
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.
Summary
tools/api-codegenWhy
The current schema, input validation, compiler, and emitters protect distinct guarantees. Future generator capabilities should be added only for concrete outputs implemented in the same change, rather than for hypothetical reuse or to shorten generated files.
Validation
vp run check:formatgit diff --check