Repository navigation
fix(test): re-certify projection count after #1312 — main's Test & Coverage is red - #1431
Merged
Merged
Conversation
…s select is benign, and main is red without saying so The contract test (#1210, CI from Aug 25) and the credential substrate (#1312, merged Aug 28) were each green alone and broke only on main: selectCallCount went 1 -> 2 via AgentCredential.findById().select('status'), a CREDENTIAL projection that leaves req.agentUser's fullness untouched. Exactly the two-green-PRs-broken-contract shape AX entry 53 names, landed by the same press that had just merged entry 53. Count re-certified to 2 with BOTH projections enumerated, so the next .select( still trips consciously. Verified against the live middleware: 2 selects, both matches, neither User.findOne projected. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TdEJoXUmbHmW5TFk7hfkbK
This was referenced Sep 1, 2026
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.
P0-adjacent: every PR rebased on current main fails Test & Coverage on agentUserShapeContract. #1210 (stale CI) asserted one .select(); #1312 added a benign credential-status projection. Re-certified to 2 with both enumerated. Assertions verified against live middleware before pushing.
🤖 Generated with Claude Code
https://claude.ai/code/session_01TdEJoXUmbHmW5TFk7hfkbK