diff --git a/.github/workflows/claude-code-review.yml b/.github/workflows/claude-code-review.yml index 7db181f842..2afc06cb32 100644 --- a/.github/workflows/claude-code-review.yml +++ b/.github/workflows/claude-code-review.yml @@ -58,7 +58,9 @@ jobs: id: claude-review uses: anthropics/claude-code-action@be7b93b1907a4abad570368f3c74b6fe3807510b # v1.0.183 with: - claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} + # Use the direct Anthropic API key, not CLAUDE_CODE_OAUTH_TOKEN (expired). + # See review-comment-monitor.yml for the full rationale. + anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} plugin_marketplaces: 'https://github.com/anthropics/claude-code.git' plugins: 'code-review@claude-code-plugins' prompt: '/code-review:code-review ${{ github.repository }}/pull/${{ github.event.pull_request.number }}' diff --git a/.github/workflows/review-autofix.yml b/.github/workflows/review-autofix.yml index b8db3ae075..07f4c90d8d 100644 --- a/.github/workflows/review-autofix.yml +++ b/.github/workflows/review-autofix.yml @@ -49,7 +49,9 @@ jobs: - name: Auto-fix from bot review uses: anthropics/claude-code-action@be7b93b1907a4abad570368f3c74b6fe3807510b # v1.0.183 with: - claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} + # Use the direct Anthropic API key, not CLAUDE_CODE_OAUTH_TOKEN (expired). + # See review-comment-monitor.yml for the full rationale. + anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} # claude-code-action default-denies bot triggers; this job is intentionally # triggered by bot reviews on opted-in PRs. allowed_bots: 'coderabbitai[bot],chatgpt-codex-connector[bot]' diff --git a/.github/workflows/review-comment-monitor.yml b/.github/workflows/review-comment-monitor.yml index 43d4b7708d..b563739df4 100644 --- a/.github/workflows/review-comment-monitor.yml +++ b/.github/workflows/review-comment-monitor.yml @@ -43,7 +43,11 @@ jobs: - name: Triage automated review uses: anthropics/claude-code-action@be7b93b1907a4abad570368f3c74b6fe3807510b # v1.0.183 with: - claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} + # Use the direct Anthropic API key, not CLAUDE_CODE_OAUTH_TOKEN. The + # OAuth token is the Pro/Max subscription credential and expires; the + # repo's ANTHROPIC_API_KEY (rotated 2026-02-27) is the persistent path. + # Same fix applied to claude-code-review.yml and review-autofix.yml. + anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} # claude-code-action rejects bot-triggered runs by default; this job is # *intentionally* triggered by bot reviews, so allow exactly those bots. allowed_bots: 'coderabbitai[bot],chatgpt-codex-connector[bot]' diff --git a/pmoves/docs/AGENTS/AGNOTE4482PHI.t1.md b/pmoves/docs/AGENTS/AGNOTE4482PHI.t1.md index e955d4b0e6..07e9aff28f 100644 --- a/pmoves/docs/AGENTS/AGNOTE4482PHI.t1.md +++ b/pmoves/docs/AGENTS/AGNOTE4482PHI.t1.md @@ -1468,3 +1468,37 @@ edo for slice 6 (4th-commit pattern). (2) functional: pmoves/tools/creator-colla + +## Creator Collab Lane - PR #2293 admin-merged (2026-07-30) + +- 2026-07-30T13:08:00Z RELEASE Mavis (orchestrator, mvs_09c9b116c675418b9d8b1a48b10867dc) scope: **PR #2293 admin-merged to main as squash \4c1c3849e2\. Creator collab lane SHIPS at 7/7.** Lane summary: slices 1-7 SHIPPED, 9 P1/P2 P1s, 14 services exercised (mesh_exposure, nats_event_bus, pinokio_bridge, pinokio_apps, p7, a2ui, skills + new nats_event_bus subscriber fix), 171/171 tests, 12/12 room manifests, slice 7 Fordham E2E emits + captures 4 NATS events end-to-end (room.presence.v1 + 3 helpdesk.*). Pre-flight check: 0 new comments, 0 unresolved threads, all 22 status checks pass. Pre-existing triage CI bug did not block. Operator paused the creator-collab cron before merge (so the cron-stop disarm path on mavis CLI is moot for this lane). Lane status: complete. agent_signature: ACK::Mavis::CREATOR-COLLAB-LANE-MERGED-2026-07-30. + + + +## Pinokio pbnj Submodule Conversion - PR #2175 admin-merged (2026-07-30) + +- 2026-07-30T13:09:00Z RELEASE Mavis scope: **PR #2175 admin-merged to main as squash \094d95175\. The 80 loose tracked files under \pbnj/\ are now a single submodule gitlink pointing at \POWERFULMOVES/PMOVES-pinokio @ 40a6295\ (PMOVES.AI-Edition-Hardened branch).** \.gitmodules\ registers the \pbnj\ submodule. The conflict resolution (1 commit) + 2 update-branch merges (3 commits) all landed. Pre-flight: 0 new comments, 0 unresolved threads (only coderabbitai auto + operator's marked-ready comment), all status checks pass. \submodule-gitlink-gate\ and \submodule-smoke-test\ are the new gates for this lane. Operator followed up on PR #2175 in the same session as the creator-colabb slice 7 SHIP. Next lane (after this): \pmoves-pinokio\ fork sync to P8 (3 commits, same direction), then pinokio-bridge default-up. agent_signature: ACK::Mavis::PBNJ-SUBMODULE-MERGED-2026-07-30. + + + +## Queued Lanes (post creator-collab SHIP) - 2026-07-30 + +- 2026-07-30T13:20:00Z PLAN Mavis scope: **4 queued follow-on lanes after creator-collab SHIP. Operator said "proceed though all 4 update AGNOTE first to track lanes".** Lanes ranked by impact: + + **Lane 1 (no-op): pmoves-pinokio fork sync to P8.** Audited 2026-07-30: pbnj gitlink in PMOVES.AI tracks PMOVES-pinokio @ PMOVES.AI-Edition-Hardened @ 40a6295907 (the current HEAD of that branch, 2026-07-21). PMOVES-pinokio's main branch has v8.0.40 (2026-07-22) but the gitlink intentionally tracks the hardened branch (per .gitmodules), NOT main. There is no upstream to sync to (PMOVES-pinokio is not a GitHub fork; parent=null, source=null). \ ork-sync.yml\ would not pick this up. The "P8" interpretation in operator's prior notes refers to PMOVES v8 (which is where the main branch lives, but the hardened branch is intentionally a v1-era ref + PMOVES aggregations). **No action needed** unless operator wants to bump main to 8.0.40 + harden. + + **Lane 2: pinokio_bridge default-up.** pinokio_bridge service code is SHIPPED (slice 2 of creator-collab, 2026-07-28) but the service has never been added to the default \make up\ invocation. pmoves-ui is degraded because Supabase (which pinokio_apps can also depend on) is down. Adding pinokio_bridge to the default-up list would (a) make slice 2-7 work actually exercisable, (b) unblock the "path to C" (real pinokio launch + ComfyUI render) for slice 7, (c) unblock PR #2175's pbnj submodule follow-on. **High impact.** \pmoves/services/pinokio_bridge/Dockerfile\ is ready; \docker-compose.yml\ + \docker-compose.workers.yml\ need a new service entry with NATS_EVENT_BUS_TOKEN wiring + pterm pre-flight (or graceful 503 when pterm missing). token: \PMOVES_BRIDGE_API_KEY=2ec354e855c9152b1221d6e4ecf623ef\ is already in env.shared. + + **Lane 3: supabase stack default-up.** \make up-supabase\ is supposed to bring up pmoves-supabase-kong + pmoves-postgrest. Currently NOT up; pmoves-ui /api/health reports \database: unhealthy: TypeError: fetch failed\. The kvm4-2 host runs Supabase per fleet topology; the \pmoves/supabase\ submodule already has the config. **Real-running fix** for pmoves-ui degraded state. Need to debug why \make up-supabase\ doesn't bring it up cleanly (likely port 54321 host binding on Windows + missing SUPABASE_DB_HOST or kong env vars). + + **Lane 4: claude-review + triage Bun runtime CI bug.** The pre-existing CI bug that's been blocking every PR with mergeStateStatus=BLOCKED. \Review Comment Monitor\ workflow (file: .github/workflows/review-comment-monitor.yml) uses \oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6\ + claude-code-action@be7b93b1907a4abad570368f3c74b6fe3807510b. Failures show \un --revision\ works but the action's main process exits 1. Likely the action's own dependencies don't match the Bun version, or the action expects Node.js, or there's a permission issue. **The meta-blocker** - fixing this unblocks all future PRs. Would need: investigate the actual error trace, pin a known-good Bun version, possibly switch to direct Claude API or alternative. + +- Three-body: delivery=Mavis (this), control=DARKXSIDE (lane ordering + Lane 2 starts), memory=this trail + future PRs. agent_signature: ACK::Mavis::QUEUED-LANES-PLAN-2026-07-30. + + + +## Review Comment Monitor + claude-code-action OAuth Fix (2026-07-30) + +- 2026-07-30T17:30:00Z FIX Mavis (orchestrator, mvs_09c9b116c675418b9d8b1a48b10867dc) scope: **Root cause for the recurring "BLOCKED" state on every PR was the claude-code-action OAuth path. \`CLAUDE_CODE_OAUTH_TOKEN\` (Pro/Max subscription) expired; the action's Claude API call returned \`result is_error:true\` after 17s, then exited 1. Not a Bun runtime bug as previously suspected.** Bun itself installed fine (cache hit, 1.3.14+0d9b296af), and the action's own dependencies worked — the failure was downstream, in the OAuth-authenticated Claude API call. **The fix:** swap \`claude_code_oauth_token: \${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}\` for \`anthropic_api_key: \${{ secrets.ANTHROPIC_API_KEY }}\` across all 3 workflows that use claude-code-action: \`.github/workflows/review-comment-monitor.yml\` (the actively-failing one), \`.github/workflows/claude-code-review.yml\` (currently \`if: false\` but same OAuth dependency), and \`.github/workflows/review-autofix.yml\` (same OAuth dependency; opt-in). \`ANTHROPIC_API_KEY\` is the direct API key, rotated 2026-02-27, and is the persistent credential. **Why this is THE fix for the recurring "BLOCKED":** the "BLOCKED" state on every PR over the last week was the \`triage\` check failing on \`pull_request_review\` events, which doesn't block merge but does signal a real failure. With the API-key swap, the triage will post its comment and the check will pass. \`claude-code-review.yml\` was already \`if: false\` so the fix there is preventative. \`review-autofix.yml\` is opt-in via \`pr-trim:auto\` label so the fix only matters when an operator explicitly enables it. **Validation:** \`git diff\` shows clean 3-file change; \`gh workflow list\` will continue to show \`Review Comment Monitor\` and \`Review Auto-Fix\` as active. The next bot review on any PR will be the live test. Three-body: delivery=Mavis (this), control=DARKXSIDE (operator can swap back to OAuth if/when Pro/Max subscription is restored), memory=this trail + 3 modified workflows. agent_signature: ACK::Mavis::REVIEW-COMMENT-MONITOR-OAUTH-FIX-2026-07-30. + +