Skip to content

fix(test): re-certify projection count after #1312 — main's Test & Coverage is red - #1431

Merged
lilyshen0722 merged 1 commit into
mainfrom
fix/recertify-projection-count
Sep 1, 2026
Merged

lilyshen0722 merged 1 commit into
mainfrom
fix/recertify-projection-count

Conversation

@lilyshen0722

Copy link
Copy Markdown
Contributor

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

…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
@lilyshen0722
lilyshen0722 merged commit b22dc1e into main Sep 1, 2026
11 checks passed
@lilyshen0722
lilyshen0722 deleted the fix/recertify-projection-count branch September 1, 2026 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant