Skip to content

fix(pi-teamwork): prefer AMaster agent-run auth#75

Merged
Weaxs merged 2 commits into
masterfrom
codex/pi-teamwork-agent-run-auth-20260702
Jul 2, 2026
Merged

fix(pi-teamwork): prefer AMaster agent-run auth#75
Weaxs merged 2 commits into
masterfrom
codex/pi-teamwork-agent-run-auth-20260702

Conversation

@pcdqc

@pcdqc pcdqc commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • move the AMaster task-tools auth preference from the runtime patch into upstream @amaster.ai/pi-teamwork
  • prefer PAPERCLIP_* agent-run auth over session/board/config auth for AMaster Employee CLI calls
  • keep amaster-runtime status probes on plain pi.exec and add regression coverage for the auth precedence

Validation

  • pnpm --filter @amaster.ai/pi-teamwork test
  • pnpm --filter @amaster.ai/pi-teamwork typecheck
  • pnpm --filter @amaster.ai/pi-teamwork build
  • pnpm exec biome check packages/pi-teamwork/src/index.ts packages/pi-teamwork/src/adapters/amaster.ts packages/pi-teamwork/src/types.ts packages/pi-teamwork/src/tests/index.test.ts
  • pnpm typecheck
  • pre-commit: pnpm lint && pnpm typecheck && pnpm test && pnpm build

Notes

  • Local Node is v22.22.3, so pnpm prints the repo's Node >=24 engine warning locally. Commands above completed with exit 0.
  • tests/extension-loading.test.ts still has an unrelated local failure before full workspace build/install: pi-memory cannot resolve @amaster.ai/pi-memory-mem0/dedup and @amaster.ai/pi-storage/json. Full pnpm test passed during the commit hook after workspace artifacts were present.

@Weaxs Weaxs merged commit 482143c into master Jul 2, 2026
14 checks passed
@Weaxs Weaxs deleted the codex/pi-teamwork-agent-run-auth-20260702 branch July 2, 2026 07:57
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.

2 participants