Files
stack/docs/scratchpads/ri-050.md
T
2026-08-17 00:25:21 -05:00

2.9 KiB

Scratchpad — RI-050 orchestrator (jarvis, dragon-lin)

Mission: alpha 0.0.50 release-integrity floor. Issue #1275. Base next @ 476db12b. Design SSOT: jarvis-brain docs/plans/2026-08-16_mosaic-stack-sdlc-protocol.md (SDLC-D-033..038).

Mode (Jason's directives)

  • Orchestrator: jarvis (this session, dragon-lin). NOT mos-claude; work stays on this host.
  • Workers: local pi headless — pi --model zai/glm-5.3:high -p in the card's worktree, tools read,bash,edit,write.
  • Delegation override of stack AGENTS.md agent column: rows carry pi-glm-5.3 (outside cron table so no auto-claim).
  • Target branch: next. Cards branch from origin/next, squash-merge via PR.

Operational constraints (measured this session)

  • Main checkout at /home/jwoltje/src/mosaic-stack is a dirty diverged main (ahead 1139/behind 711) — NEVER touched. All work in /home/jwoltje/src/mosaic-stack-worktrees/<branch>.
  • Disk: /home 187G free. /tmp only 8.7G — keep pnpm stores/node_modules under /home.
  • main and next have DIVERGED; PRs target next.
  • Identity: pin GITEA_LOGIN=mosaicstack-jarvis for all wrapper ops. Issue #1275 verified authored by @jarvis.
  • ci-queue-wait.sh on this host is fail-open (board: fix #1032 not installed) — substitute SHA-status checks via /commits/{sha}/status and diff failing step names.
  • CI on PRs runs pull_request pipelines (any branch) incl. ci-postgres service. Push CI runs on main only; publish runs on push/tag to next + manual.
  • Wrapper gaps on this host per board (7 gaps; e.g. no pr-review-list, issue-assign broken, pr-merge makes no trailers): verify outcomes by reading back provider state, never trust rc alone.
  • Publish pipeline currently: install → build → publish-npm/publish-next-npm (+image). No verify. CI steps: install, sanitization, upgrade-guard, typecheck, lint, format, test, ci-postgres.

Budget

Soft cap 250K. Projected 190K across 10 cards. Track per-card used vs estimate in TASKS.md notes.

Progress log

  • 2026-08-16 23:52 — Issue #1275 created (@jarvis verified).
  • 2026-08-16 23:5x — Bootstrap branch docs/ri-050-mission-bootstrap from origin/next@476db12b; PRD section + TASKS.md + this scratchpad written. RI-0-001 in-progress.

Wave 1 dispatched (2026-08-17 00:35)

  • RI-1-001 worker: pi glm-5.3:high, pid 2322125, worktree ri-1-001, log /var/tmp/ri-050/ri-1-001-run.log
  • RI-2-001 worker: pi glm-5.3:high, pid 2322126, worktree ri-2-001, log /var/tmp/ri-050/ri-2-001-run.log
  • Gotcha recorded: pi has no -f flag (that's pi-do.sh); pass brief as positional message. First launch died "Unknown option: -f" — relaunched.
  • CI lane: PR #1276 (bootstrap) fails test at base like every next PR — fred's green #1270 unblocks (comms sent 2026-08-17T05:21Z, comms/20260817T052148Z__from-jarvis__650fe8.md). Merge gate for all RI PRs queues behind #1270.
  • Live RI-N1 evidence posted to #1275 (comment 22915): pipeline 2439 publish-next-npm SUCCESS beside build-gateway FAILURE.