Repository navigation
Description
Problem
The plugin README claims credential-sync has been absorbed into /trinity:onboard and /trinity:sync:
|
credential-sync| Absorbed into/trinity:onboardand/trinity:sync|
But neither command actually refreshes credentials for an already-deployed Trinity agent.
What each skill actually does
/trinity:sync(skills/sync/SKILL.md) is purely a git-based code sync — push/pull commits between local and remote. The skill makes zero mention of.envor credentials (grep -i credential skills/sync/SKILL.mdreturns nothing)..envis gitignored by design (per the file's ownDirectory Structure: What Syncs vs What's Discardabletable), so it never travels through this path./trinity:onboard(skills/onboard/SKILL.md) handles credentials only during initial setup of a brand-new agent — steps 3b/3c create.envwith detected credentials. There's no documented path for "I added a new env var to my live agent's.env.example, push it to the deployed instance."
Concrete repro
- Onboard an agent. Deploy it to Trinity. Daily run works.
- Add a new env var to local
.envand.env.example(e.g., a webhook URL for a new integration). Commit + push the.env.examplechange. - Run
/trinity:sync push. Code syncs cleanly. The new env var is not on the remote because.envis gitignored. - The remote agent's next run fails because the new var is missing.
There's no documented next step. The user has to drop to the MCP tool layer (chat_with_agent with a cat >> .env heredoc, or mcp__trinity__inject_credentials if it does what the name implies) to manually push the value — but neither skill surfaces this.
Suggested fixes (either is fine)
- Implement a credential-refresh path — e.g.,
/trinity:sync push --envthat diffs.env.examplekeys against the remote agent's.envkeys and prompts for values to upsert viamcp__trinity__inject_credentials. This matches the spirit of what the README claims. - Update the README to remove the "absorbed into" claim and document the manual path (whichever MCP primitive is the supported one). Keep the gitignored-by-design behavior, but stop implying there's a one-command fix when there isn't.
My workaround (fwiw)
Used mcp__trinity__chat_with_agent to send a guarded cat >> .env heredoc that appends only if the keys aren't already present. Worked, but felt out-of-band given the README's claim that this should live inside the sync skill.
Plugin version: 2.0.0 (path: ~/.claude/plugins/cache/abilityai/trinity/2.0.0/).
Activity
fix(asks): a capped read of pending asks keeps the longest-waiting on…