Skip to content

Record codegen complexity boundary - #11

Merged
hyfdev merged 1 commit into
mainfrom
agent/codegen-scope-guardrail
Aug 15, 2026
Merged

hyfdev merged 1 commit into
mainfrom
agent/codegen-scope-guardrail

Conversation

@hyfdev

@hyfdev hyfdev commented Aug 15, 2026

Copy link
Copy Markdown
Owner

Summary

  • define a demand-driven complexity boundary for tools/api-codegen
  • record and vouch the accepted tooling decision
  • update the PCR index so the decision remains discoverable

Why

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:format
  • git diff --check
  • focused independent adversarial review: PASS

@hyfdev
hyfdev marked this pull request as ready for review August 15, 2026 06:43
Copilot AI lite review requested due to automatic review settings August 15, 2026 06:43
@hyfdev
hyfdev merged commit 17a567d into main Aug 15, 2026
4 checks passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
Implement the native Taffy binding, loader, generated input shorthand, query design, and repository test boundaries.

Refs: #1, #2, #4, #6, #7, #8, #10, #11
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.

2 participants