You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Request]: make deterministic fixture suggestions and YAML change summaries reusable core authoring tools #722
urlcode-ai had to implement two generic, deterministic URLCode authoring helpers in application code: authoring-fixtures.mjs turns validated YAML into tests/requests.json candidates plus explicit review/gaps, and authoring-summary.mjs compares before/after YAML to surface route changes, capabilities, trusted/sandboxed code seams, and operator grants. Together they are roughly 700 lines with focused tests.
Neither helper requires the hosted service, user project access, a model, or an application-specific rule: both operate on supplied YAML and the runtime contract. The service is already importing core parser/validator APIs to implement them. This repeats the pattern that led to the MCP extension: a generally useful protocol/authoring concern first existed as application plumbing.
Proposed behavior and alternatives
Expose the deterministic engines from a public core authoring/agent-context API, with the exact fixture and summary result schemas documented and tested against the runtime.
Make them available through the local URLCode MCP/CLI tooling, preserving the local-only project validation and execution boundary.
Let hosted or custom services merely declare/wire handlers that call those public helpers; they should not need to copy runtime semantics.
Do not make fixture output a claim that a function-backed, proxy, extension, include, pattern-constrained, or external-binding route is tested. Preserve the current explicit review/gaps distinction and bounds.
Evidence
urlcode-ai is a production-shaped URLCode consumer. Its generic authoring-flow tools need this functionality even though the hosted surface never reads or executes a client project. The current implementation works but has to track core route semantics manually as the contract evolves.
Activity
feat(core): authoring fixture/diff tools, automatic host revision pin…