Repository navigation
fix(adapters): make case C2 fail closed on delegation - #61
Merged
Merged
Conversation
C2 counted the delegation the agent-host runtime offers the VS Code client as unbounded only while that runtime warned that it ignores agents:, and a runtime that withheld delegation failed the suite on a missing task (RR04-01, R04-01). Now one function, Get-ClientAdapterCaseVerdict in tests/Helpers/ClientAdapterCase.ps1, decides C1 and C2: C2 fails while any delegation tool is offered to that client, the agent-host runtime gets an allow-list of offered tools, as the Copilot CLI has, and the suite fails on every load warning it does not expect (R04-07). Both receipts now record their run's observation, so a unit test decides every runtime case again without a runtime, and a receipt edited to a pass its own observation refutes fails on every system. docs/client-adapter-evals.md no longer says that a model bump retires the Copilot CLI receipt (RR04-02). Co-authored-by: AI Assistant <ai@example.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…led case Settle the review of 4ebf9fb (Approve with changes). R17-01: the resolver raised RuntimeVerified on any passed runtime case, so the VS Code client stayed StructurallyChecked only because C1 failed too. It now raises the claim only while every case of the bound receipt passed, and only an outcome of exactly Passed counts; VerifiedCase still lists the passed cases. R17-02: the helper matches the whole notice of ignored fields, case- sensitively and with at least one field name, so other text before it, or an empty list of names, is a warning the suite does not expect. R17-03: the evaluation document names every check the suite requires. R17-04: the model-bump pin checks the Copilot CLI variant whether or not a receipt is bound, and each receipt only while it is bound. Co-authored-by: AI Assistant <ai@example.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Settle the three Nits of the scoped re-review of f27784f. R17-05: the receipt-shape test and the C3 check compared a receipt's kind and outcome in any letter case, while the resolver reads them exactly, so a receipt written with `passed` or `runtime` silently withdrew the Copilot CLI's claim and no test failed; both checks are now exact. R17-06: the README and the Added entry said the state falls back after any edit, but a model bump leaves the Copilot CLI receipt bound; both now say which edit retires which receipt. R17-07: the Fixed entry now describes the warning check on main. Co-authored-by: AI Assistant <ai@example.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Take the two optional observations of the re-review of c8b22b7. On main, other text after the notice failed the field check, so the Fixed entry now says a warning of another kind passed as a warning of its own or before the notice in the same string. The comment on the two loops that pick runtime cases holds for letter case only, so it now says so. Co-authored-by: AI Assistant <ai@example.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Brief 17 is done on ai/c2-fail-closed: C2 fails closed on delegation, one helper decides C1 and C2 for each run and each receipt's recorded Observation, and RuntimeVerified needs every case of a bound receipt to pass. Full gate on c8b22b7: 5,893 passed, 0 failed, 145 skipped, coverage 91.61 %. Decision record 0026 states the new claim rule in its superseded paragraph; systemPatterns records that a claim needs every recorded case to pass, read exactly; the oldest milestone and previous focus are curated. Co-authored-by: AI Assistant <ai@example.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.
Brief 17: case C2 of the client adapter fails closed on delegation. It
takes up what the re-review of #57 found (R04-01, R04-07, RR04-01,
RR04-02). Option 1, decided under the owner's delegation: C2 fails
while any delegation tool is offered to the VS Code client, whatever
the runtime warns, until a later change can show the bound.
Get-ClientAdapterCaseVerdictintests/Helpers/ClientAdapterCase.ps1, decides C1 and C2 for eachrun on a runtime and, on every CI leg, for the
Observationthateach committed receipt now records. The branch that demanded
taskis gone, the agent-host runtime gets an allow-list of offered tools
as the Copilot CLI has, and the suite accepts no load warning but
the expected notice, matched in full.
Get-CopilotAtelierClientAdapterreportsRuntimeVerifiedonlywhile every case of the bound receipt passed, read exactly.
RuntimeVerified(C1 to C3), the VS Code clientStructurallyChecked.Validation: every new test failed first for its stated reason, and
every reviewer mutant is caught without the runtimes. The runtime
cases reproduced both receipts on runtime 1.0.108-0 and Copilot CLI
1.0.96. The full gate before the last wording and Memory Bank commits
passed 5,893 tests, 0 failed, 145 skipped, coverage 91.61 %; the
adapter suites after them 156 passed. Review: Approve with changes
(1 Minor, 3 Nit), re-review Approve, a check of the Nit round Approve;
all fixed.
Limits: a receipt edited together with its
Observationpasses everytest that runs without the runtimes (consistency, not provenance); the
bound of delegation itself stays unshown; the allow-lists cover
software-engineeronly.Rebased onto main unchanged: the tree is identical to the brief's
recorded tip.
Co-authored-by: AI Assistant ai@example.com
Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com