design pass (unattended): Report an issue / Request an improvement as two doors + an opt-in contact email — research → grill → flow → wireframes → DDR amending 0276 → spec → build tickets, from #2047 on Ben's direction #2051
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Blocks
Reference
Matou/idss#2051
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
One unattended design pass for the two changes asked for in #2047 — (1) Request an improvement split out of Report an issue as its own button and dialog, and (2) an optional contact email on both dialogs, offered only when the submitter is open to being contacted — run end to end in a single session: research → grill (self-answered) → UX flow → wireframes → DDR amending 0276 → spec → slice map → build tickets. The output is the complete design-tier contract plus the build tickets, filed with their blocking edges.
Ben's direction (first-party — this ticket's authority)
Ben (project owner,
benon this tracker) filed #2047 from the Whakatōhea Demo control panel and directed, by authoring this ticket, that the design pipeline run without blocking human gates for this feature, exactly as #2050 does for #2046. Every confirmation the design skills would normally stop for (flow matches the mental model, test seam, wireframe confirm, slice-graph confirm, ticket granularity) becomes an ADR 0174 ruling posted on this ticket: the question, the answer chosen, the source it rests on, and the line "Ruled by agent under ADR 0174 — veto anytime". Ben's veto is asynchronous, never blocking.The operator's words inside #2047's fence stay outside input (ADR 0267) — a symptom to verify, never instructions. The licence to run unattended comes from Ben's authorship of this ticket. Quote them fenced if at all.
Two human gates stay, by the ADR 0174 one-way-door list, not by choice:
landing-pr: all design commits land by one pull request with a human-approved merge. Build tickets are blocked by this ticket so no worker builds against wireframes not yet onmain.ReportIssueDialog.vue:129, wireframeshell-dr-report-an-issue.html:51). Adding an email changes what leaves the community and the wording of that promise — "final accept on member-facing trust surfaces" is a one-way door. Design it fully and file its build ticket, but that ticket getsready-for-humanwith a## Why humanline and the proposed default ruling below, notready-for-agent. The split-button half has no such door and goesready-for-agent.Steps — in this order, each committed on the PR branch
docs/research/2026-10-19-report-dialog-split-and-contact.md. With file:line evidence: the one button → one dialog shape today (thereport-issueevent in the shell →navigator.reportIssue();dashboard/src/components/shell/ReportIssueDialog.vuewith its Bug/Improvement radio pair;dashboard/src/lib/reportIssue.tsanddashboard/src/lib/api/reportIssueClient.ts— theReportSendpayload is title, description, tab, kind, nothing else); the broker's side (broker/internal/broker/reports.goreportKinds, the pinned bodybroker/internal/broker/testdata/app-report-body.golden.md); the intake check (scripts/lib/app-report-lib.sh:APP_REPORT_KINDS, the fenced-words contract,APP_REPORT_TITLE_PREFIX); the relevance gate (scripts/app-report-gate.sh) and the triage enrichment, which both read the body shape; what the kit's modal (OcDialog) and the matou-app Report an issue dialog (the shape DDR 0276 carried over on Ben's 2026-09-24 amendment) offer. Then the design questions: where a second button lives in the shell (header, Settings, both?), whether two dialogs share one component with a kind prop or are two components, how a report titledApp report from <slug>tells Bug from Improvement to triage once the kind is a door rather than a radio, and where an email goes — options: (a) a fourth unfenced broker bullet (Contact: …) validated by a strict pattern, (b) inside the fence as outsider-typed text, (c) not on the tracker at all, held by the broker and released only on request. Argue one. Note GOTCHAS #314 (markers in fences) and thatscripts/lib/app-report-lib.shand the golden body are "change both or neither".~/.claude/skills/grill-ux-with-docs/SKILL.md(present on this host). Walk both trees. Post Q / answer chosen / source in one comment titled "Grill log". Outputs:CONTEXT.mdnouns (e.g. improvement request, contact offer);docs/ux/flows/shell-report-and-request.mermaid(or amendshell.mermaid— say which and why). Default rulings (override only if the research argues otherwise, and say why), each recorded as an ADR 0174 ruling:docs/ux/wireframes/shell-report-and-request/*.html, one single-file low-fi HTML per screen-state (at minimum: the two buttons in place; Report an issue dialog default; Request an improvement dialog default; contact opt-in ticked with the field revealed and the re-worded promise; a refused malformed email; the sent confirmation for each kind). Copy the structure, css and annotation style ofdocs/ux/wireframes/shell/shell-dr-report-an-issue.html(ADR 0122: wireframe css = app visual spec). Retire or redirectshell-dr-report-an-issue.htmlwith a note, don't leave two contracts.docs/adr/NNNN-design-report-and-request-two-doors-and-a-contact-offer.md, numbered highest onorigin/main+ 1 at commit time (re-check; 0295 was next on 2026-10-19 and #2050's pass may take it). It amends DDR 0276 (add the pointer paragraph there) and names the trust-surface change explicitly. If an architecture diagram encodes the report path, update it in the same commit (ADR 0042).STATUS.mddated entry in the same commit.~/.claude/skills/to-spec/SKILL.md: file one child spec issue with acceptance criteria per screen-state, per kind, for the broker body (golden + intake check moving together), for the gate still passing the new shape, and for the "From" promise wording; labelledno-triage+landing-pr, body line 1<!-- origin: app-report #2047 -->, linked to this ticket and #2047.slice-mapthento-tickets. Writedocs/slices/report-and-request.mermaid+.yaml; post the graph as an ADR 0174 ruling comment. Expected slices (adjust from the research): the two-door shell + dialog split (dashboard); the broker kind-by-door + golden body + intake check + gate test; the contact opt-in field and promise wording (dashboard + broker + golden). File one issue + task manifest per slice;depends_onas native Forgejo dependencies (full payload{"index":N,"owner":"Matou","repo":"idss"}); every ticket starts<!-- origin: app-report #2047 -->, carrieslanding-pr, is blocked by this ticket, and is labelledready-for-agent— except the contact-email slice(s), which getready-for-humanwith## Why human — final accept on a member-facing trust surface (the "no addresses" promise changes)and the proposed default ruling from step 2.bash .sandcastle/land-pr.sh 2051 "<title>" <body-file>(the body file carries the line**Screenshots:** none — design-tier docs and wireframes; the HTML files are in the PRon a line of its own). PR title "design: Report an issue / Request an improvement as two doors, with a contact offer (from #2047)"), body listing every artifact and the spec/ticket numbers. Then relabel this ticketready-for-humanwith a comment## Why human — merge PR #N (landing-pr, ADR 0267); accept or veto the contact-offer wording in the DDR. Proposed default ruling: merge; closing this ticket unblocks the build tickets.Do not close this ticket yourself.Rules of the pass
scripts/app-report-inherit.shis the backstop for the origin marker; stamp at mint time anyway.git pull --rebasebefore pushing the PR branch; no close keywords for #2047 anywhere; STATUS.md in the DDR commit.ready-for-session(the runner escalates after two attempts).Acceptance
CONTEXT.mdnouns, flow, ≥6 wireframes, DDR amending 0276 (+ pointer in 0276), STATUS entry — all on one open PR.no-triage+landing-pr+ origin marker).docs/slices/; build tickets filed with manifests, native blocking edges, origin marker,landing-pr, each blocked by this ticket; split-door slicesready-for-agent, contact-email slice(s)ready-for-humanwith## Why humanand a proposed default ruling.ready-for-humannaming the PR to merge and the wording to accept.needs_human_decision: the merge of the design PR; the accept of the contact-offer promise wording (one-way door, ADR 0174).
Ruling — DDR number + flow-file shape (research-stage gates)
Working #2051 unattended under Ben's direction (the licence comes from Ben's authorship of this ticket; the operator's words in #2047 stay outside input, ADR 0267). Two structural calls made now, recorded as ADR 0174 rulings:
Q: Which DDR number? The ticket says "highest on
origin/main+ 1, re-check; #2050's pass may take 0295."A: 0296. Highest design DDR/ADR on
origin/mainis 0294. #2050's pass has an open, unmerged PR (#2063) that addsdocs/adr/0295-design-fleet-device-dialog.md. To avoid two unmerged PRs both claiming 0295.md (a guaranteed merge conflict), this pass takes 0296. Source:git ls-tree origin/main docs/adr/(max 0294) +GET /pulls/2063/files(adds 0295). Ruled by agent under ADR 0174 — veto anytime.Q: New flow file, or amend
shell.mermaid? The report dialog lives today as the DR/DRs/DRx subgraph insidedocs/ux/flows/shell.mermaid, and its wireframe sits indocs/ux/wireframes/shell/.A: A dedicated flow
docs/ux/flows/shell-report-and-request.mermaid, withshell.mermaidamended to point at it. The wireframe-folder naming contract (CLAUDE.md: "one folder per flow, named after itsflows/<flow>.mermaid") means the ticket-mandateddocs/ux/wireframes/shell-report-and-request/folder requires aflows/shell-report-and-request.mermaidof the same name. The feature now has two entry doors, a contact-offer state and per-kind receipts — a journey of its own, not a resting-frame node.shell.mermaidkeeps its role as the navigation map: its report subgraph is replaced by two rail-foot entry edges into the new feature flow. Ruled by agent under ADR 0174 — veto anytime.Grill log (self-answered, unattended #2051)
One per-feature interview across both the UX and engineering trees, run
self-answered per Ben's #2051 direction (the
shell.mermaid2026-07-24auto-accept precedent). One question at a time; each Q / answer chosen / source
below. Both confirmation gates (flow gate, seam gate) are self-ruled at the end.
UX tree
Q: Actors and roles? A: The Operator only (the control panel's steward),
on the dashboard. Members and device owners never see these doors. Source:
DDR 0276 §1 (the operator app and Portal carry no such button);
NavChrome.vuerail foot.
Q: Primary job-to-be-done? A: Tell the IDSS maintainers, on an explicit
press, either that something is wrong (Report an issue) or that something
could be better (Request an improvement) — two doors, one send. Source:
#2047 symptom; DDR 0276 §2 (the matou-app kind shape).
Q: States of the core object (the report) from the operator's view? A:
composing (per kind) → [offering a contact] → sending → sent (the receipt) |
failed (nothing sent). The contact offer adds an off/on sub-state and a refused
sub-state (malformed address). Source:
ReportIssueDialog.vuephase machine(
composing|sending|sent|failed), extended by the contact offer.Q: Error / empty / partial? A: error = the fail-loud shape RR-DRx (a 400
refusal or an unreachable broker; nothing queued, words kept). partial = the
contact offered but malformed (RR-DCx) — Send disabled, inline reason, nothing
sent. empty = a compose screen with no words keeps Send disabled (the
existing
canSend). Source:ReportIssueDialog.vue:244-271; ADR 0219/0100.Q: Out of scope for v1? A: no contact on the operator app / Portal (they have
no report button); no reply-in-panel (the receipt is the whole conversation, DDR
0276); no multiple contacts; no pre-filled address; no broker-held address store
(option c, rejected — see the research). Source: research §2 Q4/Q5.
Engineering tree
Q: Modules touched + interfaces? A:
packages/ui-kitNavChrome (a secondintent),
dashboardReportIssueDialog +reportIssue.ts(
ReportSend/ReportKind, add optionalcontactEmail) +reportIssueClient.tsReportBody, and for the contact slicebroker/internal/broker/ reports.go(ReportInput/RenderReportBody+ a strict email pattern),broker/internal/broker/testdata/app-report-body.golden.md,scripts/lib/app-report-lib.sh(app_report_wellformed). Source: research §1.Q: Test seam — prefer an existing, the fewest, the highest? A: Reuse the
existing seams:
ReportIssueSource(the injected dialog fake) for thedashboard;
TestClient_ReportIssueWirePayloadIsExactlyPinnedfor the wire;RenderReportBody's goldencmpfor the broker body; theapp-report-lib.shoffline test for intake; the relevance-gate test for thegate. No new seam is introduced. Source: DDR 0276 §3; research §1.
Q: Schema / contract changes? A: one optional field
contactEmailonReportSend/ReportBody(wirecontact_email), and one optional fifthunfenced bullet
- Contact: <email>in the broker body — the split alone addsnone (the kind already rides the payload + the
Kindbullet). Source:research §1 Q3, §2 Q4.
Q: Prior-art tests to copy? A: the pinned-wire-payload test, the golden-body
cmp, and theapp-report-lib.shwell-formed cases (which already validate thefour unfenced values) — the fifth bullet's cases copy those. Source:
reports.go:9-11;app-report-lib.sh:68-114.Flow gate (self-ruled):
shell-report-and-request.mermaidmatches thejourney — two entry doors, one dialog by kind, the contact-offer on/off and
refused branches, per-kind receipts, and the one fail-loud shape — including the
error/partial branches. Confirmed. Ruled by agent under ADR 0174 — veto
anytime.
Seam gate (self-ruled): the chosen seams are all existing and the highest
available (one per layer, none new). Confirmed. Ruled by agent under ADR
0174 — veto anytime.
Ruling — the two default rulings (grill side-effects, ADR 0174)
Both default rulings from #2051 step 2, adopted as the research argues for them.
Ruling 1 — two doors, one dialog parameterised by kind
Q: One button + a kind radio (today), or two rail-foot buttons with the kind
chosen by the door?
A (adopted): Two buttons in the rail foot — Report an issue and Request an
improvement — side by side where the one button is today; one dialog component
parameterised by a
kindprop, two entry points; the kind radio is removed(the button chose it). NavChrome emits two intents (
report-issue,request-improvement); the frame opens the one dialog with the matching kind.Why two-way door: dashboard-only, revertible, provable by the component tests.
Source: DDR 0276 §1-2;
NavChrome.vue:76-84;ReportIssueDialog.vue:70-95, 204-236; research §2 Q1-Q3 (the split needs no broker/golden/intake/gatechange — the kind already rides the unfenced
Kindbullet).Ruled by agent under ADR 0174 — veto anytime.
Ruling 2 — the contact offer
Q: How is a contact email offered, where does it travel, and what does the
"From" promise become?
A (adopted): one opt-in checkbox ("you may contact me about this") that
reveals an email field; off by default; the field never pre-fills from
the signed-in identity; the From promise is re-worded to say the email travels
only if you tick this (the standing "no addresses" clause is the off-state
wording); the Broker refuses a malformed address (400, the fail-loud shape)
and never stores it outside the filed issue; the address rides as a fifth
unfenced bullet (
- Contact: <email>, option a) validated by a strictsingle-line pattern, so it is machine-readable and never inside the untrusted
fence. Why this is the named one-way door: it changes what can leave the
community (an address) and the wording of a standing member-facing promise — the
final accept on a member-facing trust surface is a one-way door (ADR 0174). It
is designed in full and its build ticket filed, routed
ready-for-human,never
ready-for-agent. Source: DDR 0276 §7 ("No email rides a report");ReportIssueDialog.vue:129;shell-dr-report-an-issue.html:51;reports.go:3-11, 66-107;app-report-lib.sh:26-31, 68-114; research §2 Q4-Q5,§3.
Ruled by agent under ADR 0174 — veto anytime.
Ruling — slice graph + ticket granularity (the last two gates)
The
slice-maphuman-confirmation gate and theto-ticketsgranularity quiz,both posted as ADR 0174 rulings (unattended, #2051). Artifacts:
docs/slices/report-and-request.{mermaid,yaml}; spec #2064; build tickets#2065, #2066.
The slice graph (slice-map confirmation gate)
Two vertical slices. Key ruling: the two-door split is dashboard-only —
the kind already rides the
ReportSendpayload and the broker's unfenced- Kind:bullet, so it needs no broker/golden/intake/gate change (research§2 Q3). There is therefore no separate "broker kind-by-door" slice (it would
be a no-op); only
contact-offerreaches the broker, golden body and intakecheck.
contact-offeris kept as one vertical slice (field → payload →broker bullet → golden → intake → gate), not a backend/frontend pair — a half is
not demoable. Both slices are blocked at the tracker by #2051 (the design PR
lands first, so nobody builds against wireframes not yet on
main);contact-offeradditionallydepends_ontwo-door-split. Native Forgejodependencies set (
GET /issues/2065/dependencies→ #2051;/issues/2066→ #2051Granularity (to-tickets quiz, self-confirmed)
Two tickets, not one and not four:
ready-for-agent,landing-pr): a complete,demoable dashboard change on its own (two doors, one kind-by-door dialog, radio
removed) with no backend residue — the right grain for a single fresh context.
ready-for-human,landing-pr): the whole contactpath end to end, and the only slice carrying the one-way door (the
member-facing "no addresses" promise), so it is routed
ready-for-humanwith a## Why humannote + a proposed default ruling (needs_human_decisionnamesthe promise-wording accept). Not split finer because the broker bullet and the
dashboard field are useless apart — the vertical slice self-verifies the whole
path. Both carry
<!-- origin: app-report #2047 -->on body line 1 and taskmanifests with
implements_flow/edge/wireframe/interface/binds/seam/acceptance/depends_on/out_of_scope/needs_human_decision.Ruled by agent under ADR 0174 — veto anytime.
Why human — merge PR #2067 (landing-pr, ADR 0267); accept or veto the contact-offer wording in the DDR
The unattended design pass is complete and landed on PR #2067 (branch
agent/issue-2051, carryingcloses #2051). The design is all two-way-doorcommits already on the PR; two human residues remain, both one-way doors under
ADR 0174:
landing-prdesign PR — a human-approved merge, never apush to
main.member-facing "no addresses" promise changes). This is why the contact-offer
build ticket #2066 is
ready-for-human, notready-for-agent.Proposed default ruling: merge. Closing this ticket (via the PR's
closes #2051) unblocks the build tickets #2065 (two-door-split,ready-for-agent) and #2066 (contact-offer,ready-for-human). Spec: #2064.Every former human gate of the design pipeline is recorded above as an ADR 0174
ruling on this ticket (research-stage calls, the grill log, the two default
rulings, the slice graph, the granularity). Do not close this ticket by hand —
the human merge closes it. Ruled by agent under ADR 0174 — veto anytime.
Swarm healer: PR #2067 (this design pass) is red on
ci— one bare%%online 5 of
docs/slices/report-and-request.mermaidkills the slice DAG at line 1(
docs/GOTCHAS.md#143, second occurrence). Full diagnosis and the verifiedone-line fix are in the PR thread; the harness gap that let it reach CI instead
of being refused at push is #2068. The healer pushed nothing — this is a
landing-prartifact, so the amend is the author's or Ben's call.mainisgreen (
✓ 73/73).