|
| 1 | +# Agent surface delivery — PR tracker |
| 2 | + |
| 3 | +> **Status:** in flight · **Created:** 2026-05-25 |
| 4 | +> |
| 5 | +> **Purpose:** Map [`agent-surface-and-ops`](./agent-surface-and-ops.md) plans to concrete PRs, parallelization rules, and current status so work can pause/resume outside any single agent session. |
| 6 | +> |
| 7 | +> **Plan index:** [agent-surface-and-ops.md](./agent-surface-and-ops.md) · **Roadmap:** [§ Agent & indexing ops](../roadmap.md#agent--indexing-ops) |
| 8 | +
|
| 9 | +--- |
| 10 | + |
| 11 | +## Quick resume |
| 12 | + |
| 13 | +| Next action | Detail | |
| 14 | +| --------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
| 15 | +| **Review / merge P0** | PR [#126](https://github.com/stainless-code/codemap/pull/126) (MCP instructions + allowlist), PR [#127](https://github.com/stainless-code/codemap/pull/127) (WSL watch + git hooks) | |
| 16 | +| **Start next** | **PR 3** — [`index-lock-and-error-log`](./index-lock-and-error-log.md) on branch from fresh `main` | |
| 17 | +| **Do not start yet** | PR 6 (MCP trace tools) until PR 1 + PR 4 land; PR 9 (eval harness) until PR 1 + PR 8 | |
| 18 | + |
| 19 | +Update the table below when a PR merges or a new branch opens. |
| 20 | + |
| 21 | +--- |
| 22 | + |
| 23 | +## Recommended shape: 2 P0 PRs + 5–6 P1 PRs |
| 24 | + |
| 25 | +Merge each PR to `main` directly. No long-lived integration branch (`feat/agent-ops`). |
| 26 | + |
| 27 | +### Wave 1 — P0 (~1 week wall clock, 2 PRs) |
| 28 | + |
| 29 | +| PR | Plans bundled | Status | Branch / link | Notes | |
| 30 | +| ----- | ----------------------------------------------------------------------------------------------------------- | ------ | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | |
| 31 | +| **1** | [`mcp-server-instructions`](./mcp-server-instructions.md) + [`mcp-tool-allowlist`](./mcp-tool-allowlist.md) | open | [`feat/mcp-instructions-allowlist`](https://github.com/stainless-code/codemap/pull/126) | Same hot files (`mcp-server.ts`, `agent-content`); ~3–4 days | |
| 32 | +| **2** | [`wsl-watch-policy`](./wsl-watch-policy.md) → [`git-hook-auto-sync`](./git-hook-auto-sync.md) | open | [`feat/wsl-watch-git-hooks`](https://github.com/stainless-code/codemap/pull/127) | `watch-policy.ts` first; hooks reference it in diagnostics. Lock deferred to PR 3 — note concurrent hook + MCP in PR 2 body | |
| 33 | + |
| 34 | +### Wave 2 — P1 (~2–3 weeks, parallel tracks) |
| 35 | + |
| 36 | +Max **3 parallel tracks** at once. |
| 37 | + |
| 38 | +| PR | Plans | Status | Blocked by | Parallel with | |
| 39 | +| ----- | ----------------------------------------------------------------------------------------------------------------------------- | ------- | ----------------------------------- | --------------------------------- | |
| 40 | +| **3** | [`index-lock-and-error-log`](./index-lock-and-error-log.md) → [`parse-worker-hardening`](./parse-worker-hardening.md) (stack) | planned | PR 2 merged (doc note on hook+lock) | 4, 5 | |
| 41 | +| **4** | Recipe half of [`mcp-trace-explore-tools`](./mcp-trace-explore-tools.md) (`call-path`, `symbol-neighborhood` SQL + tests) | planned | — | 3, 5 | |
| 42 | +| **5** | [`affected-tests-recipe`](./affected-tests-recipe.md) | planned | — | 3, 4 | |
| 43 | +| **6** | MCP half of trace (`trace` / `explore` / `node` tools) + update instructions | planned | PR 1, PR 4 | — | |
| 44 | +| **7** | [`field-qualified-search`](./field-qualified-search.md) | planned | PR 1 | 4, 5 if `mcp-server.ts` untouched | |
| 45 | +| **8** | [`agents-init-mcp-wiring`](./agents-init-mcp-wiring.md) | planned | PR 1 | 3–5 | |
| 46 | +| **9** | [`agent-eval-harness`](./agent-eval-harness.md) | planned | PR 1, PR 8, allowlist | **last P1** | |
| 47 | + |
| 48 | +**Parallelization constraints** |
| 49 | + |
| 50 | +- **Do not parallelize PR 6 + PR 7** — both edit MCP `show` schema; stack or single PR. |
| 51 | +- **PR 2 + PR 3** — land lock (PR 3) before documenting hook+lock behavior, or follow up with a doc-only commit. |
| 52 | +- **One owner for `agents-init-*`** — git-hooks (P0) and MCP wiring (P1) touch the same files; stack if both active. |
| 53 | + |
| 54 | +### Wave 3 — P2 (separate epic, trigger-gated) |
| 55 | + |
| 56 | +Do not rush with P0/P1. **2–4 separate PRs** after P1 completes. |
| 57 | + |
| 58 | +| Item | Plan | Gate | |
| 59 | +| ------------------ | ------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------- | |
| 60 | +| Framework routes | [`framework-route-extraction`](./framework-route-extraction.md) | Blocked on [`c9-plugin-layer`](./c9-plugin-layer.md) (XL) | |
| 61 | +| Call substrate | [`callback-dispatch-synthesis`](./callback-dispatch-synthesis.md), [`unresolved-calls-staging`](./unresolved-calls-staging.md) | One at a time (schema + parser) | |
| 62 | +| FTS default | [`fts-default-on-evaluation`](./fts-default-on-evaluation.md) | Measurement-only; solo PR anytime | |
| 63 | +| Cross-project root | [`cross-project-mcp-root`](./cross-project-mcp-root.md) | On demand | |
| 64 | + |
| 65 | +--- |
| 66 | + |
| 67 | +## Execution playbook |
| 68 | + |
| 69 | +1. **Branch from fresh `main` per PR** — rebase often; avoid long-lived feature branches. |
| 70 | +2. **Combine same-file P0 items** — e.g. MCP instructions + allowlist = one PR. |
| 71 | +3. **Recipe-before-MCP for trace tools** — split `templates/recipes/` from `mcp-server.ts` (PR 4 before PR 6). |
| 72 | +4. **One owner for `agents-init-*`** — stack git-hooks and MCP wiring if both in flight. |
| 73 | +5. **Land index-lock before parse-worker hardening** — worker timeouts write to `errors.log`. |
| 74 | +6. **Agent eval last** — `scripts/agent-eval/` is dev-only and depends on MCP surface + init wiring. |
| 75 | +7. **Tracer bullets per PR** — each PR shippable + tested per repo conventions. |
| 76 | + |
| 77 | +### If you want maximum speed (solo or 2 people) |
| 78 | + |
| 79 | +| Week | PRs | Outcome | |
| 80 | +| ---- | -------------------------------- | ------------------------------ | |
| 81 | +| 1 | 1 + 2 | P0 complete | |
| 82 | +| 2 | 3 + 4 + 5 (parallel) | Reliability + recipe substrate | |
| 83 | +| 3 | 6 + 8 (parallel), then 7, then 9 | MCP tools + init + eval | |
| 84 | + |
| 85 | +--- |
| 86 | + |
| 87 | +## Maintaining this doc |
| 88 | + |
| 89 | +When opening or merging a PR: |
| 90 | + |
| 91 | +1. Update **Quick resume** and the relevant row **Status** (`planned` → `open` → `merged`). |
| 92 | +2. On merge, check off the matching items in [`roadmap.md`](../roadmap.md#agent--indexing-ops). |
| 93 | +3. Close individual plan files per [docs-governance](../../.agents/skills/docs-governance/SKILL.md) when the feature ships. |
| 94 | + |
| 95 | +Status values: `planned` · `open` · `merged` · `cancelled` |
0 commit comments