Skip to content

feat(agents): add /token skill for prod pairing tokens - #43

Merged
DanielGGordon merged 1 commit into
mainfrom
t3code/request-new-login-token
Jul 24, 2026
Merged

feat(agents): add /token skill for prod pairing tokens#43
DanielGGordon merged 1 commit into
mainfrom
t3code/request-new-login-token

Conversation

@DanielGGordon

Copy link
Copy Markdown
Owner

Summary

  • New /token skill (.agents/skills/token/), modeled on /redeploy, that issues a fresh single-use pairing link for the prod T3 Code server (15.204.108.12:7443)
  • Runs auth pairing create directly against the live ~/.t3 database on port 3773 — no t3code.service restart, so no session drop (unlike /redeploy)
  • Guards that it's running on the actual T3 deploy host before doing anything (checks deploy checkout, systemd unit, and live state dir)

Test plan

  • Ran bash .agents/skills/token/token.sh 5m on the deploy host — printed a valid https://15.204.108.12:7443/pair#token=... link with correct expiry
  • Confirmed the token was issued against the running server's live database (no restart)

🤖 Generated with Claude Code

Issues a fresh single-use pairing link against the live prod database
without restarting t3code.service, unlike /redeploy which requires one.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:M labels Jul 24, 2026
@DanielGGordon
DanielGGordon merged commit 63ff6ac into main Jul 24, 2026
6 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant