Repository navigation
fix: keep client tool sources generic - #2766
Merged
Merged
Conversation
Move the domain rule-size regression beside its rules and keep generic comments and validator fixtures free of app vocabulary. This repairs TestClientToolsSourcesStayGeneric after #2729 without changing limits or refusals. Assisted-by: CodeAF Co-Authored-By: CodeAF <[email protected]>
Assisted-by: CodeAF Co-Authored-By: CodeAF <[email protected]>
Member
Author
|
Local proof for this repair:
Final touched proof: The requested build, vet, laws, and touched-package proof are complete. Merging under the owner's explicit local-proof/admin policy, without waiting on GitHub CI. |
This was referenced Nov 17, 2026
santoshkumarradha
added a commit
that referenced
this pull request
Nov 17, 2026
…ide the rules' size cap (L7) The shared rules may take at most half of an app's instruction allowance (#2766), and the base already used almost all of it. The brief and the hand-off note are taught where they apply, on ws_task_create and ws_task_update, which the tests pin. L6's lease test leaves a hand-off note, as every finished task now does. Assisted-by: CodeAF Co-Authored-By: CodeAF <[email protected]>
ZeroPoint95
pushed a commit
that referenced
this pull request
Nov 24, 2026
Assisted-by: CodeAF Co-Authored-By: CodeAF <[email protected]>
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
Restore the generic client-tool source contract broken by 1788fcb (#2729).
The 8192-byte limit and detailed refusal messages stay intact. The generic-source law is unchanged.
Evidence
make test-focus PKGS=./cmd/codeaf RUN='^TestClientToolsSourcesStayGeneric$'fails oninternal/session/client_tools.goandinternal/session/client_tools_test.go.After: the same command passes.
git log -S 'workstream'identifies client tools: a set may carry 8192 instruction bytes, and a refusal names the size it saw #2729 as the first introduction in both files; neither file contains the term in its parent.Merge Danger
Door: two-way
Blast Radius: tests
Comments, fixture IDs, and test placement change; runtime behavior does not.