Skip to content

Docs: post-PR #53 status + frontend wire-up reality on main#54

Merged
jcschaff merged 3 commits into
mainfrom
docs/runs-convergence-status-2026-06-05
Jun 5, 2026
Merged

Docs: post-PR #53 status + frontend wire-up reality on main#54
jcschaff merged 3 commits into
mainfrom
docs/runs-convergence-status-2026-06-05

Conversation

@jcschaff

@jcschaff jcschaff commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Doc-only follow-up after the PR #48#53 stack landed. Three docs were drifting and now name what's actually true on `main`.

What changed

  • `docs/workflows-architecture.md` "Open items" leads with the frontend listing wire-up status:

  • `docs/simulation-runs-api-plan.md` status banner now describes the full convergence (PR Add POST /simulations/runs listing endpoint + convergence plan #48Cleanup: four high-severity findings from PR #52 review #53) as backend-complete, the frontend follow-up as partial-on-a-separate-branch with the same known bug, and points readers to the architecture doc / memory for the coordination decision.

  • `frontend/CLAUDE.md` "Backend API Integration" table row for `index.vue` was stale (`GET /runs (currently commented out)` — wrong path, wrong method, wrong state). Now lists `POST /simulations/runs` with the actual state.

Out of scope (intentionally)

This is a status-truth-up update, not a content-shift. The PR3 plan, the biosim-client TODO, the known-issues catalog from the PR #52 review, and the worker-drain deploy callout (all already in `docs/`) are unchanged.

Not in this PR

Two memory files were updated in parallel (`~/.claude/projects/.../memory/project_simulations_endpoint.md` rewritten for post-#53 state; new `project_frontend_runs_branch.md`) — those live on Jim's machine, not in the repo.

🤖 Generated with Claude Code

jcschaff and others added 3 commits June 5, 2026 09:27
…up status

After PR #48#53 landed, three docs were drifting and now name what's true
on main:

- docs/workflows-architecture.md "Open items" leads with the frontend listing
  wire-up status: backend `POST /simulations/runs` is live but
  frontend/app/pages/simulations/index.vue on main still renders mock data.
  Harrison's partial wire-up lives on remote branch origin/feature/runs-page,
  18 commits behind main, with a known response-shape bug (assigns the whole
  `{ runs, pagination }` response to a `SimulationRun[]`-typed ref).

- docs/simulation-runs-api-plan.md status banner now describes the full
  PR #48-#53 convergence as complete, the frontend follow-up as in-progress on
  a separate branch with the same known bug, and links to the architecture doc
  / memory for the coordination decision.

- frontend/CLAUDE.md's Backend API Integration table row for index.vue was
  "GET /runs (currently commented out)" -- wrong path, wrong method, wrong
  state. Now lists `POST /simulations/runs` with the actual state ("not wired
  on main; partial wire-up on origin/feature/runs-page; see api-plan doc").

A new memory `project_frontend_runs_branch` and an updated
`project_simulations_endpoint` carry the same state across sessions for
context-loading.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Five stale spots in docs/workflows-architecture.md surfaced by an audit:

1. Shape B heading said "(open)" for PR #51 — it merged ages ago.
2. Shape C diagram label on the status-endpoint edges still showed only
   the hybrid read; PR #53 added the DB-only fallback when the workflow
   query fails (and only 404s when both sources are empty).
3. Shape C diagram's POLL -> DB_SIMS arrow showed an unconditional
   "write result"; PR #53 (#5 fix) made it SUCCEEDED-only.
4. Sequence diagram had the same two omissions:
   - POLL -> DBS write now in an alt/else (SUCCEEDED inserts, FAILED /
     RUN_ID_NOT_FOUND skips).
   - "loop polling" status read now in an alt/else with the workflow-
     query happy path AND the DB-fallback path (with its own
     records-vs-404 inner alt).
5. Storage-layer prose called BiosimSims "one per unique computation"
   without noting SUCCEEDED-only since PR #53.

Pure label/annotation updates; no structural workflow change.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Mermaid's sequence-diagram parser treats # as a control character in alt/else labels,
so '(since PR #53)' broke parsing on two lines. Reworded those two labels (the prose
around the diagram still says PR #53 explicitly). Flowchart edge labels in quoted
strings parse fine, so the two PR #53 mentions in the Shape C flowchart stay.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@jcschaff jcschaff merged commit dd26089 into main Jun 5, 2026
5 checks passed
@jcschaff jcschaff deleted the docs/runs-convergence-status-2026-06-05 branch June 5, 2026 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant