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
Detect when a file's behaviour is pinned by a contract test, and say what a change means for semver #445
core.adf treats JSON output, exit codes and generated artifacts as semver-governed contracts: breaking them needs a major bump and migration notes. Nothing tells an agent, before it edits, that a file's behaviour is pinned. For example, evidence-contracts.test.ts pins adf evidence's exit-1/exit-0 behaviour. Git and search can't answer "is this a published contract?" without knowing the repo's convention.
This is the guidepost agents most need and least expect, and it's what turns governance from a gate into help.
First version: a file counts as pinned when it's the command implementation exercised by a test under the repo's contract-test convention (*contract* test files, or a list declared in the manifest). Repos without a convention get pinned: "unknown", never a guess.
Acceptance
Seed packages/cli/src/commands/adf-evidence.ts returns pinned: true with evidence-contracts.test.ts in by.
A file with no contract tests returns pinned: false or "unknown".
Follow-up
Diff-based charter classify (#446) reuses this detection.
Activity
feat(cli): preflight answer, first slice (#447) (#455)
feat(cli): detect files pinned by contract tests (#445) (#466)
feat(cli): fill Contract, Run first and Fresh in the preflight answer (…