> ## Documentation Index
> Fetch the complete documentation index at: https://docs.moda.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Pr lane map

# Open cost PR map — approved ownership snapshot

Original inventory snapshot: 2026-11-15; updated below for the approved rung-1–2 decisions. Historical changed-line splits and session evidence are retained; they are not a new inventory or a claim that every row is still open. Read-only inventory from `gh pr list --state open --limit 1000`; PR files and commit authors from the paginated GitHub API. Includes 39 current cost-program PRs (including newly opened #11633), reader credentials, and five adjacent billing/model-cost PRs: **45 total**. Dispositions are proposals, not GitHub actions. Nothing is closed, pushed, relabeled or merged here.

Only the owning lane pushes to a PR, including fixes normally made by Replicas. The architect assigns one active session per owning lane; other sessions, including sessions that push fixes automatically, stop. An approved PR is adopted, not rewritten. The six coverage PRs’ call-ID rework is parked; preserve their membership/scope work. #11512/#11545 closure and the dispositions below are user-directed decisions. Park means preserve existing work, not duplicate it. Adoption is not a claim of completed review or permission to merge.

Owner = lane with the largest additions+deletions in owned paths. The split column reports the actual lane totals; shared/unassigned paths require architect assignment or a separate coordinated PR before strict lane markers. Historical b1/b2 suffixes do not define ownership. Ties require architect resolution (none in this snapshot).

Current session evidence comes from the PR footer or latest commit message; these identify associated sessions, not a verified GitHub pusher. Full workspace/session links are supplied so an operator can stop them. When absent, show the latest commit author and PR author; no session ID is invented. All current-program PRs have PR author arhamkhan04. Adjacent #10907/#10901/#8661/#7060/#4378 have PR author 876pol. Some footers name both an original Devin session and a later Replicas workspace; both are retained.

| PR and existing work | Owner lane | Current session / author evidence | Disposition and reason | Cross-lane split (changed lines) |
| - | - | - | - | - |
| [#11633](https://app.graphite.com/github/pr/ModaLabs/ModaObservability/11633) feat(cost-ledger): stage daily close coordinator prototype | E | Devin AI; PR author arhamkhan04; session unknown | next job after #11634 merges — not parked; rung 1 depends on its SQL-ledger coordinator/publication work, with validation and compute gates | C: 21; E: 906; architect: 463 |
| [#11550](https://app.graphite.com/github/pr/ModaLabs/ModaObservability/11550) fix(cost-collector): partition final OpenRouter bills by key activity | E | Replicas [886d20bb](https://app.replicas.dev/workspaces/886d20bb-b777-4711-b551-f92e79dd4818) | check vs SQL ledger — preserve approved per-key bill split; do not duplicate it | E: 204; C: 5 |
| [#11545](https://app.graphite.com/github/pr/ModaLabs/ModaObservability/11545) revert(cost-collector): prepare rollback of #11504 attribution change | E | Devin AI; PR author arhamkhan04; session unknown | close — user-requested closure of contingency rollback; do not merge | single lane |
| [#11538](https://app.graphite.com/github/pr/ModaLabs/ModaObservability/11538) pipeline-runtime: cost emitters send the JSON attribution label | A | Replicas [fd379797](https://app.replicas.dev/workspaces/fd379797-d3ca-4c9d-82e1-1e53b14fec71) | adopt — approved runtime attribution labels | single lane |
| [#11536](https://app.graphite.com/github/pr/ModaLabs/ModaObservability/11536) feat(costs): tie change-log effects to distinct message cost deltas | F | Devin AI; PR author arhamkhan04; session unknown | park — detailed reports wait for current owner/tenant rungs and accepted SQL publications | single lane |
| [#11535](https://app.graphite.com/github/pr/ModaLabs/ModaObservability/11535) fix(embeddings): label latency probe cost rows as internal | B5 | Devin [8b9d9c95](https://app.devin.ai/sessions/8b9d9c95f08d468cb50054067e4427a0); Replicas [c6560b7f](https://app.replicas.dev/workspaces/c6560b7f-555b-45b4-b388-47da9a1856f3) | adopt — approved internal embeddings probe classification | single lane |
| [#11532](https://app.graphite.com/github/pr/ModaLabs/ModaObservability/11532) fix(cost-collector): re-land cadence with durable send-time coalescing | E | Replicas [9000127b](https://app.replicas.dev/workspaces/9000127b-7c43-43c0-b198-9131f1f14653) | reverted by #11636 — do not re-land | C: 124; E: 1389; shared/unassigned: 3 |
| [#11528](https://app.graphite.com/github/pr/ModaLabs/ModaObservability/11528) feat(costs): add checked-in manual prices and margin scenarios | F | Replicas [289b9fac](https://app.replicas.dev/workspaces/289b9fac-cc1e-4df2-ba42-d9a1fe499764) | park — detailed reports wait for current owner/tenant rungs and accepted SQL publications | F: 703; shared/unassigned: 4 |
| [#11523](https://app.graphite.com/github/pr/ModaLabs/ModaObservability/11523) fix(cost): invalidate published ledger days on Modal rule edits | E | Replicas [61291c0e](https://app.replicas.dev/workspaces/61291c0e-a7e7-4771-b28c-d4cfba462373) | check vs SQL ledger — preserve required Modal-rule invalidation without old-engine coupling | single lane |
| [#11521](https://app.graphite.com/github/pr/ModaLabs/ModaObservability/11521) feat(costs): add fully loaded report allocation view | F | Replicas [623d2669](https://app.replicas.dev/workspaces/623d2669-7f3e-4627-b1a8-bba6f8c444f6) | park — detailed reports wait for current owner/tenant rungs and accepted SQL publications | F: 898; shared/unassigned: 4 |
| [#11519](https://app.graphite.com/github/pr/ModaLabs/ModaObservability/11519) cost-collector: async\_insert\_flush and adhoc\_script internal buckets in the ClickHouse basis | D | Replicas [a94f2a5d](https://app.replicas.dev/workspaces/a94f2a5d-b77d-46b4-902e-7dfd8b8345fd) | adopt — approved ClickHouse internal CPU buckets | single lane |
| [#11516](https://app.graphite.com/github/pr/ModaLabs/ModaObservability/11516) feat(costs): add published marginal unit-cost report | F | Replicas [1fb07f68](https://app.replicas.dev/workspaces/1fb07f68-f9eb-4714-ba4d-bd59e7cb1624) | park — detailed reports wait for current owner/tenant rungs and accepted SQL publications | F: 741; shared/unassigned: 4 |
| [#11515](https://app.graphite.com/github/pr/ModaLabs/ModaObservability/11515) fix(cost): resolve OpenRouter account identity and retire legacy billing | A | Replicas [cbc5ae6b](https://app.replicas.dev/workspaces/cbc5ae6b-0909-4439-99ff-954fead25f75) | adopt — approved account resolution and legacy retirement; coordinate C/E | B3: 3; E: 47; C: 71; A: 480; shared/unassigned: 48 |
| [#11512](https://app.graphite.com/github/pr/ModaLabs/ModaObservability/11512) fix(cost-ledger): reread oversized provider bill days in dedup-key pages | E | Replicas [0b416b94](https://app.replicas.dev/workspaces/0b416b94-14df-43a1-afdc-1fc1703ac875) | close — superseded by the SQL-ledger path; do not re-land | single lane |
| [#11509](https://app.graphite.com/github/pr/ModaLabs/ModaObservability/11509) feat(cost-collector): attribution blind spots in the instrumentation checks | E | Devin [8b9d9c95](https://app.devin.ai/sessions/8b9d9c95f08d468cb50054067e4427a0); Replicas [b9bd55b6](https://app.replicas.dev/workspaces/b9bd55b6-0255-481d-a62b-a774bd578918) | check vs SQL ledger — E owns matching/check integration; historical split below predates reassignment | C: 138; E: 47 |
| [#11508](https://app.graphite.com/github/pr/ModaLabs/ModaObservability/11508) feat(cost): load PlanetScale's paid Jul-Oct invoices as manual bills | C | Replicas [327a0b8d](https://app.replicas.dev/workspaces/327a0b8d-84fa-451c-ba42-78ddc6b1f6ac) | adopt — approved historical manual invoices | C: 4; shared/unassigned: 2 |
| [#11506](https://app.graphite.com/github/pr/ModaLabs/ModaObservability/11506) fix(conversation): retry fan-out cost row inserts and wait for the async flush so failed writes are seen | B3 | Devin [8b9d9c95](https://app.devin.ai/sessions/8b9d9c95f08d468cb50054067e4427a0); Replicas [41600d2c](https://app.replicas.dev/workspaces/41600d2c-9875-4643-ac7f-79dfe74a2f28) | adopt — approved confirmed inserts/retries | single lane |
| [#11503](https://app.graphite.com/github/pr/ModaLabs/ModaObservability/11503) feat(costs): add published daily attribution scoreboard and raw event hygiene | F | Replicas [208c41cf](https://app.replicas.dev/workspaces/208c41cf-7113-4bb3-afbd-2a808a6c03b9) | adopt — approved published attribution scoreboard | single lane |
| [#11502](https://app.graphite.com/github/pr/ModaLabs/ModaObservability/11502) feat(cost-collector): retry every collector's vendor reads with bounded backoff | C | Replicas [32de9135](https://app.replicas.dev/workspaces/32de9135-350c-4840-aede-0981ea4fb54d) | adopt — approved bounded vendor retries | single lane |
| [#11374](https://app.graphite.com/github/pr/ModaLabs/ModaObservability/11374) feat(cost): classify internal Modal residuals using seeded app rules | D | Replicas [f30a327b](https://app.replicas.dev/workspaces/f30a327b-6539-43c2-8ed4-1f066495dfa4) | adopt — approved internal Modal residual classification; migration needs approval | D: 168; shared/unassigned: 12 |
| [#11363](https://app.graphite.com/github/pr/ModaLabs/ModaObservability/11363) feat(cost): stage Problems and Dream credential deployment without call-site changes (b5) | B2 | Replicas [a0818a21](https://app.replicas.dev/workspaces/a0818a21-b549-4e4b-b5bf-5258dc857ff9) | adopt — approved Problems/Dream credentials, staged enablement | B5: 8; B2: 307; B1: 2; B4: 2; C: 108 |
| [#11362](https://app.graphite.com/github/pr/ModaLabs/ModaObservability/11362) feat(cost): roll out fail-closed GitHub and replay credentials (b4) | B1 | Replicas [b8bc91c3](https://app.replicas.dev/workspaces/b8bc91c3-fa4a-4cad-afa6-f9fe79a7b8ef) | adopt — approved GitHub/replay credentials, split remaining lanes | B5: 8; B2: 6; B1: 78; B4: 17; shared/unassigned: 19; C: 28 |
| [#11361](https://app.graphite.com/github/pr/ModaLabs/ModaObservability/11361) feat(cost): roll out fail-closed embedding and thread-segment credentials (b3) | B5 | Replicas [d11f669c](https://app.replicas.dev/workspaces/d11f669c-df1a-4e74-8387-44b42cf1e414) | adopt — approved embeddings/thread-segment credentials | B5: 266; B2: 6; B4: 2; C: 46 |
| [#11360](https://app.graphite.com/github/pr/ModaLabs/ModaObservability/11360) feat(cost): roll out fail-closed custom-signals and laziness credentials (b2) | B2 | Replicas [7d21db84](https://app.replicas.dev/workspaces/7d21db84-be0b-4fbb-8ccd-6bd5cced2b30) | adopt — approved detector credentials, retain approved tests | B5: 4; B2: 625; B4: 2; C: 97; shared/unassigned: 192 |
| [#11359](https://app.graphite.com/github/pr/ModaLabs/ModaObservability/11359) feat(cost): roll out fail-closed LLM credentials to analytics and core callers (b1) | B2 | Replicas [742a2b06](https://app.replicas.dev/workspaces/742a2b06-7e63-4056-b295-5f1fbc652146) | adopt — approved core credentials, split other callers | B5: 561; B2: 1758; B4: 93; C: 180; B1: 27 |
| [#11331](https://app.graphite.com/github/pr/ModaLabs/ModaObservability/11331) feat(tool-classification): delivery run id and coverage of the gap receipts each delivery reads | B2 | Devin [8b9d9c95](https://app.devin.ai/sessions/8b9d9c95f08d468cb50054067e4427a0); Replicas [2d5f1563](https://app.replicas.dev/workspaces/2d5f1563-c968-4210-8020-416f41b4b866) | park — current rungs are 1–2; preserve existing work; call-ID rework deferred | E: 59; B2: 349; A: 1 |
| [#11328](https://app.graphite.com/github/pr/ModaLabs/ModaObservability/11328) feat(thread-segments): delivery run id and coverage of each segment's member units | B5 | Devin [8b9d9c95](https://app.devin.ai/sessions/8b9d9c95f08d468cb50054067e4427a0); Replicas [3e6383d3](https://app.replicas.dev/workspaces/3e6383d3-80db-44fb-97ea-b9124e65791d) | park — current rungs are 1–2; preserve existing work; call-ID rework deferred | B3: 13; B5: 470 |
| [#11326](https://app.graphite.com/github/pr/ModaLabs/ModaObservability/11326) feat(cost): resolve owners for runtime OpenRouter keys | C | Replicas [f057e5bf](https://app.replicas.dev/workspaces/f057e5bf-5e11-496e-99e1-410387af3a12) | adopt — approved runtime key ownership registry | single lane |
| [#11325](https://app.graphite.com/github/pr/ModaLabs/ModaObservability/11325) feat(task-tracker): run id per tracker pass and coverage of the messages each call shows | B3 | Replicas [3834b51e](https://app.replicas.dev/workspaces/3834b51e-7ff0-4722-91db-708812d23d68) | park — current rungs are 1–2; preserve existing work; call-ID rework deferred | B3: 220; B2: 33 |
| [#11324](https://app.graphite.com/github/pr/ModaLabs/ModaObservability/11324) feat(embeddings): attribute each delivery's cost and cover the units it embedded | B5 | Replicas [4a25b258](https://app.replicas.dev/workspaces/4a25b258-7a98-4d62-aed9-f236e021365b) | park — current rungs are 1–2; preserve existing work; call-ID rework deferred | E: 46; B5: 543; A: 151 |
| [#11321](https://app.graphite.com/github/pr/ModaLabs/ModaObservability/11321) feat(pipeline-runtime): emitter config for caller\_app, credential\_ref and release | A | Replicas [c531ae35](https://app.replicas.dev/workspaces/c531ae35-9352-47e1-b2ad-3e63abbc2622) | adopt — approved emitter configuration | single lane |
| [#11318](https://app.graphite.com/github/pr/ModaLabs/ModaObservability/11318) feat(problems): write per-unit cost coverage for task review windows | B3 | Replicas [f49f0f2f](https://app.replicas.dev/workspaces/f49f0f2f-3562-485b-97ce-12345c9bffd4) | park — current rungs are 1–2; preserve existing work; call-ID rework deferred | E: 24; B3: 116; B2: 23 |
| [#11316](https://app.graphite.com/github/pr/ModaLabs/ModaObservability/11316) feat(cost): name the app and the exact key on every moda-problems cost row | B2 | Devin [8b9d9c95](https://app.devin.ai/sessions/8b9d9c95f08d468cb50054067e4427a0); Replicas [3b788ddd](https://app.replicas.dev/workspaces/3b788ddd-00a1-4184-b512-008e2ff4a7de) | adopt — reuse attribution work; normal review gates still apply | B2: 191; B3: 87; B5: 16; C: 17 |
| [#11314](https://app.graphite.com/github/pr/ModaLabs/ModaObservability/11314) feat(problems): attribute reader cost rows to their run and write per-unit coverage | B2 | Devin [8b9d9c95](https://app.devin.ai/sessions/8b9d9c95f08d468cb50054067e4427a0); Replicas [32e37999](https://app.replicas.dev/workspaces/32e37999-8ee1-422f-94cb-c1281ab19364) | park — current rungs are 1–2; preserve existing work; call-ID rework deferred | E: 102; B3: 391; B2: 683 |
| [#11310](https://app.graphite.com/github/pr/ModaLabs/ModaObservability/11310) feat(cost): daily Modal container-seconds basis and exact bill allocation views | D | Replicas [2925f2a9](https://app.replicas.dev/workspaces/2925f2a9-f171-491b-ae7b-c9115e4ae12e) | adopt — reuse Modal allocation work; separate migration approval/dev dry run required | architect: 297; D: 795; shared/unassigned: 9 |
| [#11309](https://app.graphite.com/github/pr/ModaLabs/ModaObservability/11309) feat(cost): wire Modal occupancy into four apps | B2 | Replicas [bbb1e7fa](https://app.replicas.dev/workspaces/bbb1e7fa-1f9a-4ff6-8581-e39c34cae887) | adopt — reuse occupancy code; coordinate D and stagger app canaries | B5: 579; B3: 263; B2: 1753; A: 17; D: 1161 |
| [#11308](https://app.graphite.com/github/pr/ModaLabs/ModaObservability/11308) feat(cost): account Modal container time by real run, idle and untagged | D | Replicas [a2a12629](https://app.replicas.dev/workspaces/a2a12629-66e6-428b-8a73-9039c7a77379) | adopt — reuse runtime occupancy; D owns most changes, coordinate A | B4: 3; A: 574; D: 1512 |
| [#11269](https://app.graphite.com/github/pr/ModaLabs/ModaObservability/11269) feat(cost): daily per-credential OpenRouter/OpenRelay bill reconciliation alert | C | Replicas [f28e9548](https://app.replicas.dev/workspaces/f28e9548-cab8-4bb6-9406-afa83105f8ac) | adopt — approved per-key reconciliation alert | shared/unassigned: 58; C: 890; B1: 24 |
| [#11265](https://app.graphite.com/github/pr/ModaLabs/ModaObservability/11265) feat(cost): give the remaining shared-key apps their own OpenRouter keys and name the credential on every deploy | C | Replicas [a38314e8](https://app.replicas.dev/workspaces/a38314e8-ea68-468e-a01e-4a7576fa9e5e) | adopt — approved per-app key inventory/deploy tooling | single lane |
| [#11106](https://app.graphite.com/github/pr/ModaLabs/ModaObservability/11106) fix(problems): accept unlimited reader OpenRouter keys | B3 | Replicas [af61eadb](https://app.replicas.dev/workspaces/af61eadb-56cc-4c85-8cf3-d1ac4d4c5499) | adopt — approved reader key work; do not rewrite | B2: 10; B3: 80 |
| [#10907](https://app.graphite.com/github/pr/ModaLabs/ModaObservability/10907) feat(billing): unify organization usage balance and automatic reload | F | Replicas [bc1ff23b](https://app.replicas.dev/workspaces/bc1ff23b-7be3-4a76-9f08-bca397a0994f) | adopt, park — existing customer billing is outside provider-close cutover; coordinate B1 | C: 80; shared/unassigned: 1016; F: 1770; B1: 1158; E: 4; B3: 476 |
| [#10901](https://app.graphite.com/github/pr/ModaLabs/ModaObservability/10901) feat(inference): freeze customer pricing and charge settlement | B1 | Replicas [bc1ff23b](https://app.replicas.dev/workspaces/bc1ff23b-7be3-4a76-9f08-bca397a0994f) | adopt — preserve inference settlement; coordinate F, outside provider-close cutover | shared/unassigned: 55; F: 130; B4: 8; B1: 380 |
| [#8661](https://app.graphite.com/github/pr/ModaLabs/ModaObservability/8661) perf(ask): shared-brain model calls run on OpenRouter's priority tier | B1 | Replicas [2a420b32](https://app.replicas.dev/workspaces/2a420b32-ffa2-4172-84d4-82046d0c6ca4) | adopt — preserve existing priority-tier/cost tests; normal review gates | single lane |
| [#7060](https://app.graphite.com/github/pr/ModaLabs/ModaObservability/7060) test(ask): pass provider progress unwrapped through stage timer and cost wrapper | B1 | Replicas [801a6a0d](https://app.replicas.dev/workspaces/801a6a0d-a1e3-4af5-a348-f375fe03d388) | adopt — preserve the existing cost-wrapper test; normal review gates | single lane |
| [#4378](https://app.graphite.com/github/pr/ModaLabs/ModaObservability/4378) feat(problems): use Opus 5.5 for Book consolidation | B2 | Replicas [d8d95ac2](https://app.replicas.dev/workspaces/d8d95ac2-1b2b-495c-8549-8a4de4236914) | verify still relevant; rebase or close — very old PR, not automatic adoption | single lane |

## Search exclusions

The broad title/branch search also returns non-cost work. These are explicitly excluded, not silently missed: #11049/#10104 are replay-state/screening ledgers or coverage, #7259/#7147 are product task/detection coverage, #6100/#6058/#3267/#3260/#3257/#3255/#3254/#3251/#2588/#2171/#2157/#1974 are pipeline-completion ledger/client cleanup (not financial close), and #4937/#4833 are problem-window/dashboard coverage rather than cost\_usage\_coverage. Keep their existing owners; this map does not authorize changing them.

## Before any lane resumes

1. The user approved this map and accepted the unchanged frontend deploy exception. Revalidate ownership if PR files change.
2. Assign one active session to each owner lane and stop other writers on the listed PRs. A footer alone is not authorization to push.
3. Adopt approved work rather than open competing replacements. For the six coverage PRs, the owner reworks only the contract mismatch, coordinating/splitting other lane paths before marking the PR.
4. User approval plus a dev dry run is required for every migration, one in flight at a time. Approval of an existing code PR is not blanket migration approval.
5. Refresh this point-in-time map before starting work if PRs/files changed. New cost PRs need an owner before work begins.

## Stop and deletion stack

| PR | Owner lane | Current session / author evidence | Disposition and reason |
| - | - | - | - |
| [#11640](https://app.graphite.com/github/pr/ModaLabs/ModaObservability/11640) old-ledger shutdown | E | Merge commit 737d1e3eca author arhamkhan04; session unknown; no further pushes to merged PR | merged — old dispatch/consumer stopped; no rollback to the old path. Deletion follows within days in the same stack; staging drops need user approval and a dev dry run. |
| [#11642](https://app.graphite.com/github/pr/ModaLabs/ModaObservability/11642) old-ledger retirement | E | Existing lane-E PR; session not refreshed in this ownership correction | depends on architect [#11646](https://app.graphite.com/github/pr/ModaLabs/ModaObservability/11646) landing first. CI planner/load/schema-wait scripts, instrumentation and wiring/retirement tests move from C/D to E because they read or exercise ledger tables. Bill collection and production measured-basis implementations retain C/D ownership. No table drop or deploy is authorized. |

Lane D’s per-run/per-conversation bases are parked; tenant Modal/ClickHouse splits remain current work. Only the owning lane pushes, including Replicas fixes. Making cost-lanes required in merge rules needs a repo admin.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.