Skip to content

feat(guidance): the pin ships end to end, and the G6 journeys are runnable - #72

Merged
pmanko merged 2 commits into
mainfrom
feat/guidance-shipped
Aug 24, 2026
Merged

feat(guidance): the pin ships end to end, and the G6 journeys are runnable#72
pmanko merged 2 commits into
mainfrom
feat/guidance-shipped

Conversation

@pmanko

@pmanko pmanko commented Aug 24, 2026

Copy link
Copy Markdown
Member

Chasing G6's third journey exposed that session guidance was unshipped: the G4 service methods had no HTTP routes, so neither the UI nor the runner could pin. This PR mounts the routes (pin → full session back; unpin), adds the Session-guidance strip above the composer (verbatim entries, one-click unpin, survives reload — it lives on the session), and adds the three G6 journeys as a live-gated, profile-parameterized Playwright spec. Route test drives pin → reload → delivery-to-writer (sessionContext.guidance.entries) → unpin. Gateway 341 / UI 244 tests pass.

pmanko added 2 commits August 24, 2026 14:00
…nable

The G4 service methods for session guidance existed but no HTTP route
mounted them, so neither the UI nor the validation runner could pin -- the
feature was unshipped and G6's third journey was impossible. Now:

* routes: POST .../sessions/{id}/guidance pins one instruction verbatim
  and DELETE .../guidance/{entryId} retires it, both answering with the
  full session; a route test drives pin -> reload -> delivery-to-writer ->
  unpin end to end.
* UI: a Session guidance strip above the composer -- pinned entries shown
  verbatim with one-click unpin, plus a pin input -- fed from the session
  payload so a reload restores it.
* e2e: the three Phase 1 deployed-proof journeys (roadmap G6) as a
  live-gated Playwright spec, profile-parameterized so they run against
  whichever team the comparison selects.
…rneys typed

CI caught three slips: a duplicated guidance route pair (ruff F811), the
guidance field landing inside the nested draftSeed type instead of on the
session, and untyped page params in the journey spec.
@pmanko
pmanko merged commit aa90485 into main Aug 24, 2026
5 checks passed
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