Repository navigation
fix(assistant): one Claude card, under the name the assistant asked for (abilityai/trinity-enterprise#1354) - #4759
Merged
Merged
Conversation
…or (abilityai/trinity-enterprise#1354) A live walk on this repo at 8d7ca11 with gateway 6068d2bb1 found two names for one card. The gateway's key step asks for ANTHROPIC_API_KEY. The panel renamed a fresh card to CLAUDE_SUBSCRIPTION but not one restored from an earlier conversation, and the instance gave the token behaviour only to CLAUDE_SUBSCRIPTION. On the restored card: - a subscription token was refused; - a sign-in code got the API-key message; - a bad key was saved untested. The renamed card's "Provided: CLAUDE_SUBSCRIPTION" line was not the line the assistant waited for, so it showed a second card. - validCredential keeps the card's name: the instance takes both Claude names as one card. The panel therefore posts what was asked, and the assistant hears "Provided:" for it. - instanceCredentialName is removed: the rename was its only use. - The enterprise pin moves to feature/ent1354-one-claude-card (657d4e3): both names test before saving and give token_expected for a code-shaped paste. - requirements/credentials.md §3.8a: one card, either name. Tests: assistantClaudeToken.mount.spec.js now covers the card under both names and a card restored from a kept conversation (same three steps, posts its own name). With the rename put back, 2 of its tests are red. 3 specs pass (137 tests), and so do the three ratchets (28). Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
Author
/validate-pr — REQUEST CHANGES (one mechanical item)This PR requires the following change before merge:
Nothing else blocks.
Deploy compatibility, checked:
Suggestion: the new spec's header names a private test file and a build walk. A generic "the companion route test" would read better in this repo. Not patched: the body has no closing keyword. That is deliberate, because the linked issue stays open until a live walk; the reviewer sets its status by hand. |
…78 on main) Same tree as the prior pin 657d4e3; moves the pointer onto the merged enterprise main commit. Co-Authored-By: Claude Opus 5.5 <[email protected]>
vybe
approved these changes
Nov 24, 2026
vybe
left a comment
Contributor
There was a problem hiding this comment.
End-to-end validation asked only for the submodule pointer to sit on the merged commit; it does. All checks green.
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.
For abilityai/trinity-enterprise#1354 (the private issue is closed by hand at release). Pairs with the trinity-enterprise PR and the trinity-gateway PR on the same branch name.
What the walk found
Dev self-serve instance on 8d7ca11, 2026-11-24. Two names were in play for the instance's Claude card:
ANTHROPIC_API_KEY.CLAUDE_SUBSCRIPTION, but not one restored from an earlier conversation, and only that name had the token behaviour on the instance.Change
validCredentialkeeps the card's name, and the deadinstanceCredentialNameis removed. The panel posts the name the assistant asked for, and the assistant hears "Provided:" for that name.docs/memory/requirements/credentials.md§3.8a: one card, either name.Merge the enterprise PR first, then re-pin this branch to its merged
maincommit before merging this one.Tests
assistantClaudeToken.mount.spec.js, through the real widget and store:🤖 Generated with Claude Code