bootstrap: agent-pipeline v0.5.0 + ship-readiness review #1

Closed
varutasu wants to merge 3 commits from bootstrap/agent-pipeline-v0.5.0 into main
varutasu commented 2026-05-23 00:17:05 -04:00 (Migrated from github.com)

Summary

  • Installs the three-layer agent-pipeline v0.5.0 scaffold (L1 context, L2 subagent roles, L3 CI workflows + convoys folder) — Vercel variant, JS/Pages-router-tuned for tcg-vault.
  • Adds a hand-curated codebase brain: AGENTS.md, .cursor/rules/, .cursor/skills/, docs/SCHEMA_MAP.md. (The Prisma schema-map auto-gen step doesn't apply — we use raw SQL on Neon, so the schema map is hand-written from scripts/setup-neon-db.js and the add-*.js migrations.)
  • Seeds .convoys/ship-readiness.md with 16 findings (7 P0, 5 P1, 4 P2, 1 P3 bundle) and a 13-convoy launch plan. This PR addresses 0 of them — it just installs the runway. The first real convoy (fix-auth-bypass) goes out as a separate PR.

This is also the throwaway PR to verify L3 gates. Expected CI behaviour on this PR:

  • lint → should pass (no JS/CSS changes outside lib/flags/index.js).
  • schema-map-fresh → conditional; skips because no setup-neon-db.js change.
  • preview-smoke / visual-diff → will fail-quiet or skip until @playwright/test is installed in a follow-up. That's expected for this PR.
  • pr-health-rollup → should post a sticky comment summarising the above.

Convoy + Brief

  • Convoy: .convoys/ship-readiness.md (review only — no implementation)
  • Brief: N/A (bootstrap)

Acceptance criteria

  • Pipeline v0.5.0 installed (manifest at .agent-context-manifest.yml lists 31 artifacts)
  • No production code touched (only .gitignore modified outside new files)
  • Ship-readiness review captured with prioritized findings + launch sequence
  • No scope expansion

Test plan

  • Local: nothing to test — pure scaffold. npm run lint clean.
  • CI on this PR doubles as the smoke test for the L3 workflows themselves.
  • After merge: open the first real PR (fix-auth-bypass) and confirm the gates fire correctly on a code change.

Pipeline gates

  • CI: lint, schema-map drift
  • Visual diff — N/A (no UI change)
  • A11y audit — N/A (no UI change)
  • Design-system audit — N/A (no UI change)
  • Reviewer report — N/A (bootstrap PR, self-review)
  • Smoke on staging — N/A (no app change)

Notes for reviewer

  • tests/smoke/app.smoke.spec.ts references @playwright/test, which is not yet in package.json. The Vercel-aware smoke + visual-diff workflows will skip on this PR because the npm install step lacks the dep. That's expected. A follow-up convoy (add-test-harness) will install Playwright + vitest and wire them up.
  • lib/flags/index.js is a stub — no flags defined yet. The wrapper exists so future convoys can flag-gate features without re-installing infrastructure.
  • The wt.sh script is intentionally deprecated (Cursor 3.2+ has native worktrees via /clone); kept for parity with the upstream pipeline.
  • .github/CODEOWNERS references @YOUR-GITHUB-HANDLE as the catch-all. Please replace with your actual handle before merging (or set up a team). The intent is to require review on lib/permission-middleware.js, pages/api/auth/, scripts/setup-neon-db.js, and .github/workflows/ since those are the highest-blast-radius paths.
  • Ship-readiness findings P0 #1–#7 are addressed across convoys 1–4 in the proposed sequence. Do not merge any feature work until at least convoy 1 (fix-auth-bypass) lands — the auth bypass + unauthenticated setup-database endpoint make staging effectively wide-open.

Made with Cursor

<!-- pipeline: convoy=bootstrap, brief=0 skip: ia, ux, arch, test, review, visual, a11y, design, smoke, qa, flag --> ## Summary - Installs the three-layer **agent-pipeline v0.5.0** scaffold (L1 context, L2 subagent roles, L3 CI workflows + convoys folder) — Vercel variant, JS/Pages-router-tuned for `tcg-vault`. - Adds a hand-curated codebase brain: `AGENTS.md`, `.cursor/rules/`, `.cursor/skills/`, `docs/SCHEMA_MAP.md`. (The Prisma schema-map auto-gen step doesn't apply — we use raw SQL on Neon, so the schema map is hand-written from `scripts/setup-neon-db.js` and the `add-*.js` migrations.) - Seeds `.convoys/ship-readiness.md` with 16 findings (7 P0, 5 P1, 4 P2, 1 P3 bundle) and a 13-convoy launch plan. **This PR addresses 0 of them** — it just installs the runway. The first real convoy (`fix-auth-bypass`) goes out as a separate PR. This is also the **throwaway PR to verify L3 gates**. Expected CI behaviour on this PR: - `lint` → should pass (no JS/CSS changes outside `lib/flags/index.js`). - `schema-map-fresh` → conditional; skips because no `setup-neon-db.js` change. - `preview-smoke` / `visual-diff` → will fail-quiet or skip until `@playwright/test` is installed in a follow-up. That's expected for this PR. - `pr-health-rollup` → should post a sticky comment summarising the above. ## Convoy + Brief - Convoy: `.convoys/ship-readiness.md` (review only — no implementation) - Brief: N/A (bootstrap) ## Acceptance criteria - [x] Pipeline v0.5.0 installed (manifest at `.agent-context-manifest.yml` lists 31 artifacts) - [x] No production code touched (only `.gitignore` modified outside new files) - [x] Ship-readiness review captured with prioritized findings + launch sequence - [x] No scope expansion ## Test plan - Local: nothing to test — pure scaffold. `npm run lint` clean. - CI on this PR doubles as the smoke test for the L3 workflows themselves. - After merge: open the first real PR (`fix-auth-bypass`) and confirm the gates fire correctly on a code change. ## Pipeline gates <!-- Filled in by CI. --> - [ ] CI: lint, schema-map drift - [x] Visual diff — N/A (no UI change) - [x] A11y audit — N/A (no UI change) - [x] Design-system audit — N/A (no UI change) - [ ] Reviewer report — N/A (bootstrap PR, self-review) - [ ] Smoke on staging — N/A (no app change) ## Notes for reviewer - `tests/smoke/app.smoke.spec.ts` references `@playwright/test`, which is **not yet in `package.json`**. The Vercel-aware smoke + visual-diff workflows will skip on this PR because the npm install step lacks the dep. That's expected. A follow-up convoy (`add-test-harness`) will install Playwright + vitest and wire them up. - `lib/flags/index.js` is a stub — no flags defined yet. The wrapper exists so future convoys can flag-gate features without re-installing infrastructure. - The `wt.sh` script is intentionally deprecated (Cursor 3.2+ has native worktrees via `/clone`); kept for parity with the upstream pipeline. - `.github/CODEOWNERS` references `@YOUR-GITHUB-HANDLE` as the catch-all. **Please replace with your actual handle before merging** (or set up a team). The intent is to require review on `lib/permission-middleware.js`, `pages/api/auth/`, `scripts/setup-neon-db.js`, and `.github/workflows/` since those are the highest-blast-radius paths. - Ship-readiness findings P0 #1–#7 are addressed across convoys 1–4 in the proposed sequence. **Do not merge any feature work until at least convoy 1 (`fix-auth-bypass`) lands** — the auth bypass + unauthenticated `setup-database` endpoint make staging effectively wide-open. Made with [Cursor](https://cursor.com)
vercel[bot] commented 2026-05-23 00:17:10 -04:00 (Migrated from github.com)

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
tcg-vault Error Error May 23, 2026 4:27am

Request Review

[vc]: #3wZQAmtt1ysVj3HurdowXUIjRdf9bZ0+Ftr6UpJsXww=:eyJpc01vbm9yZXBvIjp0cnVlLCJ0eXBlIjoiZ2l0aHViIiwicHJvamVjdHMiOlt7Im5hbWUiOiJ0Y2ctdmF1bHQiLCJwcm9qZWN0SWQiOiJwcmpfRjZXOEVvRkd3Y0g3aWVGcnRvRlNlOXdVVkFhNSIsImxpdmVGZWVkYmFjayI6eyJyZXNvbHZlZCI6MCwidW5yZXNvbHZlZCI6MCwidG90YWwiOjAsImxpbmsiOiIifSwiaW5zcGVjdG9yVXJsIjoiaHR0cHM6Ly92ZXJjZWwuY29tL3JhbmRhbGwtc3RpbGx3ZWxscy1wcm9qZWN0cy90Y2ctdmF1bHQvNmc4QnZYbkRrNUpoMVpVQnZUSmRzVGVQZ2R1dCIsInByZXZpZXdVcmwiOiIiLCJuZXh0Q29tbWl0U3RhdHVzIjoiRkFJTEVEIiwicm9vdERpcmVjdG9yeSI6bnVsbH1dLCJyZXF1ZXN0UmV2aWV3VXJsIjoiaHR0cHM6Ly92ZXJjZWwuY29tL3ZlcmNlbC1hZ2VudC9yZXF1ZXN0LXJldmlldz9vd25lcj12YXJ1dGFzdSZyZXBvPXRjZy12YXVsdCZwcj0xIn0= The latest updates on your projects. Learn more about [Vercel for GitHub](https://vercel.link/github-learn-more). | Project | Deployment | Actions | Updated (UTC) | | :--- | :----- | :------ | :------ | | [tcg-vault](https://vercel.com/randall-stillwells-projects/tcg-vault) | ![Error](https://vercel.com/static/status/error.svg) [Error](https://vercel.com/randall-stillwells-projects/tcg-vault/6g8BvXnDk5Jh1ZUBvTJdsTePgdut) | | May 23, 2026 4:27am | <a href="https://vercel.com/vercel-agent/request-review?owner=varutasu&repo=tcg-vault&pr=1" rel="noreferrer"><picture><source media="(prefers-color-scheme: dark)" srcset="https://agents-vade-review.vercel.sh/request-review-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://agents-vade-review.vercel.sh/request-review-light.svg"><img src="https://agents-vade-review.vercel.sh/request-review-light.svg" alt="Request Review"></picture></a>
github-actions[bot] commented 2026-05-23 00:17:15 -04:00 (Migrated from github.com)

Pipeline Health

Build + CI gates

Gate Status
Vercel build (Preview) pass
CI: Lint in progress
CI: Schema map fresh skipped
Preview smoke ⏭ skipped or pending
Visual diff ⏭ skipped or pending

Build runs on Vercel; this CI runs lint and schema-map drift only (no duplicate build).

Role reports

Role Status
Reviewer report pending
A11y audit pending
Design system audit pending

See individual comments above for details. This rollup updates automatically.

<!-- pipeline-rollup --> ## Pipeline Health ### Build + CI gates | Gate | Status | | --- | --- | | Vercel build (Preview) | ✅ pass | | CI: Lint | ⏳ in progress | | CI: Schema map fresh | ❌ skipped | | Preview smoke | ⏭ skipped or pending | | Visual diff | ⏭ skipped or pending | _Build runs on Vercel; this CI runs lint and schema-map drift only (no duplicate build)._ ### Role reports | Role | Status | | --- | --- | | Reviewer report | ⏳ pending | | A11y audit | ⏳ pending | | Design system audit | ⏳ pending | See individual comments above for details. This rollup updates automatically.
varutasu commented 2026-05-23 10:36:46 -04:00 (Migrated from github.com)

Closing as orphan: this PR's work landed on main via PR #4's rebase merge, but under different commit SHAs.

The bootstrap commits on main (1944b1e bootstrap: agent pipeline v0.5.0 + ship-readiness review, 9aaa599 fix(bootstrap): make L3 CI green + record two new ship-blockers, 177ba5f fix(bootstrap/ci): make lint job show green while debt is tracked) are patch-equivalent to this PR's bb05ca7, 42de010, 81450c4. GitHub didn't auto-close because the SHAs differ.

No work lost. Bootstrap is fully on main as of e57ea17.

Closing as orphan: this PR's work landed on `main` via PR #4's rebase merge, but under different commit SHAs. The bootstrap commits on `main` (`1944b1e bootstrap: agent pipeline v0.5.0 + ship-readiness review`, `9aaa599 fix(bootstrap): make L3 CI green + record two new ship-blockers`, `177ba5f fix(bootstrap/ci): make lint job show green while debt is tracked`) are patch-equivalent to this PR's `bb05ca7`, `42de010`, `81450c4`. GitHub didn't auto-close because the SHAs differ. No work lost. Bootstrap is fully on `main` as of `e57ea17`.

Pull request closed

Sign in to join this conversation.
No description provided.