Skip to content

Request secrets as files and link cited files in the adapter - #50

Merged
pmwoz merged 1 commit into
mainfrom
adopt-secret-files-and-file-links
Oct 26, 2026
Merged

pmwoz merged 1 commit into
mainfrom
adopt-secret-files-and-file-links

Conversation

@pmwoz

@pmwoz pmwoz commented Oct 26, 2026 •

Copy link
Copy Markdown
Owner

Adopts the two opportunities listed in #49. Both are T3 capabilities from the 572cf74 contract. All edits are in the Questions and the user section of skills/poteto-mode/references/t3-adapter.md.

Changes

  • request_secret with delivery: "file" (feat(server): request_secret can save a CLI token to a private file pingdotgg/t3code#24809). A new Secrets entry. The root requests a credential that a shell command needs, such as a CLI token, an API key, or a test account password for a verification run, and reads the returned file inside the command. The value stays out of the work dir, briefs, and commits. A child that needs a secret returns BLOCKED, as for any question, and the root passes the file path in the next brief. T3 deletes the file after 24 hours, so a schedule or automation, such as benny's BENNY_SLACK_BOT_TOKEN, keeps reading the user's own configuration.
  • Files in the reply (feat(web): play audio inline and open any file the agent shares in the viewer pingdotgg/t3code#21363). A new entry. A reply links each file it cites, such as show-me-your-work's evidence, the decision log, or a verification log, by absolute path, and T3 opens it in its file viewer. The Visuals entry now also lists audio as an inline embed.

Version

0.11.2 to 0.11.3 (patch, because the adapter changed).

Checks

  • bun run check: 264 plugin files, 13 drift entries, upstream 0.15.32 @ 9580c23, T3 @ 572cf74
  • bun test tools: 39 pass on three runs. One earlier run failed one test, and a rerun did not reproduce it.
  • bun run typecheck: pass

Adopts two T3 capabilities from the 572cf74 contract. The root requests
a secret a shell command needs with request_secret delivery "file", and
a child that needs one returns BLOCKED. A reply links each file it cites
by absolute path, which opens T3's file viewer, and can embed audio.
Release 0.11.3.
@pmwoz
pmwoz force-pushed the adopt-secret-files-and-file-links branch from a285b1c to bea09b3 Compare October 26, 2026 08:28
@pmwoz
pmwoz changed the base branch from update-t3-contract-20261026 to main October 26, 2026 08:28
@pmwoz
pmwoz merged commit b1d1a4b into main Oct 26, 2026
1 check passed
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