Repository navigation
Dive cards: the mix, and the preparation from AI Diving Monitor - #43
Merged
Merged
Conversation
A dive card keeps the mix once it is known (EAN32, Tx 18/45) next to its kind of gas, and shows how ready the diver is: the coach of AI Diving Monitor, connected to the same Claude Code or Codex, prepares each dive card from the diver's own log and saves its verdict with the new save_dive_prep tool. The card shows "Prepared" or "Check prep" with a one-line summary, linking to the full preparation in AI Diving Monitor; the editor, the printout, get_trip and the phone app show it too. Only http(s) links open. Changing the dive in update_item keeps the preparation, and the mix unless a new one is given. The demo has one dive prepared and one with something to check. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
5 of 6 tasks
Torgh
added a commit
to Torgh/divedeck
that referenced
this pull request
Oct 25, 2026
After saving a trip's preparation, the coach saves its verdict on each TripDeck dive card with TripDeck's new save_dive_prep (ready, or check when something is still to sort out, a one-line summary and the link to the card's preparation here), and a gas mix the diver told it with update_item dive.mix. save_trip_plan now answers each card's link (http://localhost:3001/trips/ <trip>#card-<item>), so the coach never builds one. The trip-prep prompt and the server instructions say so. Goes with Torgh/tripdeck#43. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Torgh
added a commit
to Torgh/divedeck
that referenced
this pull request
Oct 25, 2026
* Stage 6c: the coach puts its verdict on the TripDeck dive cards After saving a trip's preparation, the coach saves its verdict on each TripDeck dive card with TripDeck's new save_dive_prep (ready, or check when something is still to sort out, a one-line summary and the link to the card's preparation here), and a gas mix the diver told it with update_item dive.mix. save_trip_plan now answers each card's link (http://localhost:3001/trips/ <trip>#card-<item>), so the coach never builds one. The trip-prep prompt and the server instructions say so. Goes with Torgh/tripdeck#43. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Cloud folder: AiDive in Google Drive and OneDrive The dive log in the cloud now lives in a folder named AiDive (My Drive › AiDive, or AiDive in the OneDrive folder). The README says TripDeck's Google OAuth client can be reused by adding this app's redirect URI. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Stage 6c of AI Diving Monitor's roadmap: TripDeck dive cards show how ready the diver is.
dive.mix("EAN32", "Tx 18/45") next todive.gas(the kind). The card, the printout,get_tripand the phone app show the mix when it is known. Editor: a Mix field. MCP:add_item/update_itemtakedive.mix(""removes it).dive.prep={ status: "ready" | "check", summary, url?, updatedAt }, written by the coach of AI Diving Monitor through the new MCP toolsave_dive_prep(status: "none"removes it). The board shows a ✅ Prepared /http://localhost:3001/trips/<trip>#card-<item>); the editor shows it with Open in AI Diving Monitor and Remove; the printout,get_tripand the phone app show it too.http(s)links open, checked when saving and when rendering (divePrepUrl), since the link comes from the agent.update_itemwithdivekeeps the preparation, and the mix unless a new one is sent (it used to replace the wholediveobject).Checked in the browser on a production build with a temporary
TRIPDECK_HOME: the demo's two dive cards show the badges with their summaries, the editor shows the Mix field and the preparation, no page errors. Headless Edge here couldn't capture a screenshot, so none is attached.Checklist
bun run checkpasses locally (typecheck, lint, 320 tests with coverage, web and phone builds)save_dive_prep/ mix round trip,diveGas,divePrepUrl)🤖 Generated with Claude Code