design: Report an issue / Request an improvement as two doors, with a contact offer (from #2047) #2067

Merged
ben merged 7 commits from agent/issue-2051 into main 2026-10-26 04:51:38 +00:00

closes #2051

One unattended design pass (#2051) for app report #2047, run end to end:
research → self-answered grill → flow → wireframes → DDR amending 0276 → spec →
slice map → build tickets. Directed by Ben in #2051 to run without blocking human
gates; every former gate is an ADR 0174 ruling on #2051 (Ben's veto is
asynchronous). The operator's words in #2047 stayed outside input (ADR 0267).

What this delivers

Splits the one Report an issue button into two rail-foot doors — Report
an issue and Request an improvement — opening one dialog parameterised by kind
(the kind radio removed), and lifts DDR 0276 §7's bar against email into an
opt-in contact offer (a never-pre-filled field, a re-worded "no addresses"
promise, a strictly-validated fifth unfenced - Contact: bullet). The split is
dashboard-only; only the contact slice touches the broker, golden body and intake
check.

Artifacts on this PR

  • docs/research/2026-10-19-report-dialog-split-and-contact.md — research with file:line evidence.
  • docs/ux/flows/shell-report-and-request.mermaid — the new journey flow; docs/ux/flows/shell.mermaid amended (DR/DRs/DRx subgraph → two entry doors).
  • docs/ux/wireframes/shell-report-and-request/ — eight wireframes (RR-B, RR-DR, RR-DQ, RR-DC, RR-DCx, RR-DRs, RR-DQs, RR-DRx); docs/ux/wireframes/shell/shell-dr-report-an-issue.html retired to a redirect stub.
  • docs/adr/0296-design-report-and-request-two-doors-and-a-contact-offer.md — the DDR (0296 because #2050's unmerged PR #2063 takes 0295); docs/adr/0276-*.md gains the pointer (status line + §7).
  • docs/architecture/01-system-context.md, 02-containers.md — updated for the two doors + opt-in contact (ADR 0042).
  • CONTEXT.md — improvement request + contact offer nouns, re-worded App report, the RR-* screen inventory.
  • STATUS.md — dated entry.
  • docs/slices/report-and-request.{mermaid,yaml} — the slice DAG.

Tracker

  • Spec: #2064 (no-triage + landing-pr, origin marker, linked to #2051/#2047).
  • Build tickets: #2065 two-door-split (ready-for-agent + landing-pr) and #2066 contact-offer (ready-for-human + landing-pr, with ## Why human + a proposed default ruling). Both blocked by #2051; #2066 also blocked by #2065. Both carry <!-- origin: app-report #2047 --> and task manifests.

The one human gate

Merging this landing-pr design PR, and accepting the contact-offer promise
wording in DDR 0296 §3 (a member-facing trust surface, ADR 0174). Closing #2051
through the merge unblocks the build tickets.

Screenshots: none — design-tier docs and wireframes; the HTML files are in the PR

closes #2051 One unattended design pass (#2051) for app report #2047, run end to end: research → self-answered grill → flow → wireframes → DDR amending 0276 → spec → slice map → build tickets. Directed by Ben in #2051 to run without blocking human gates; every former gate is an ADR 0174 ruling on #2051 (Ben's veto is asynchronous). The operator's words in #2047 stayed outside input (ADR 0267). ## What this delivers Splits the one **Report an issue** button into **two rail-foot doors** — Report an issue and Request an improvement — opening one dialog parameterised by kind (the kind radio removed), and lifts DDR 0276 §7's bar against email into an **opt-in contact offer** (a never-pre-filled field, a re-worded "no addresses" promise, a strictly-validated fifth unfenced `- Contact:` bullet). The split is dashboard-only; only the contact slice touches the broker, golden body and intake check. ## Artifacts on this PR - `docs/research/2026-10-19-report-dialog-split-and-contact.md` — research with file:line evidence. - `docs/ux/flows/shell-report-and-request.mermaid` — the new journey flow; `docs/ux/flows/shell.mermaid` amended (DR/DRs/DRx subgraph → two entry doors). - `docs/ux/wireframes/shell-report-and-request/` — eight wireframes (RR-B, RR-DR, RR-DQ, RR-DC, RR-DCx, RR-DRs, RR-DQs, RR-DRx); `docs/ux/wireframes/shell/shell-dr-report-an-issue.html` retired to a redirect stub. - `docs/adr/0296-design-report-and-request-two-doors-and-a-contact-offer.md` — the DDR (0296 because #2050's unmerged PR #2063 takes 0295); `docs/adr/0276-*.md` gains the pointer (status line + §7). - `docs/architecture/01-system-context.md`, `02-containers.md` — updated for the two doors + opt-in contact (ADR 0042). - `CONTEXT.md` — *improvement request* + *contact offer* nouns, re-worded *App report*, the RR-* screen inventory. - `STATUS.md` — dated entry. - `docs/slices/report-and-request.{mermaid,yaml}` — the slice DAG. ## Tracker - Spec: **#2064** (`no-triage` + `landing-pr`, origin marker, linked to #2051/#2047). - Build tickets: **#2065** two-door-split (`ready-for-agent` + `landing-pr`) and **#2066** contact-offer (`ready-for-human` + `landing-pr`, with `## Why human` + a proposed default ruling). Both blocked by #2051; #2066 also blocked by #2065. Both carry `<!-- origin: app-report #2047 -->` and task manifests. ## The one human gate Merging this `landing-pr` design PR, and accepting the contact-offer promise wording in DDR 0296 §3 (a member-facing trust surface, ADR 0174). Closing #2051 through the merge unblocks the build tickets. **Screenshots:** none — design-tier docs and wireframes; the HTML files are in the PR
File:line evidence for the one-button/one-dialog shape today (NavChrome rail
foot, ReportIssueDialog's kind radio, the ReportSend payload, the broker's
four-bullet body + golden + intake check + relevance gate), and the design
questions: two rail-foot doors, one dialog parameterised by kind (radio
removed), the kind still rides the unfenced bullet so the split is
dashboard-only, and the contact email as a strict-pattern-validated fifth
unfenced bullet (option a) — the trust-surface one-way door that amends DDR
0276 §7.

Advances #2051 (design pass from app report #2047).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Self-answered per-feature grill under Ben's #2051 direction. New journey flow
docs/ux/flows/shell-report-and-request.mermaid (the two doors, the kind-by-door
compose screens, the contact-offer and refused-address states, the per-kind
receipts, the fail-loud shape); shell.mermaid's DR/DRs/DRx subgraph replaced by
two rail-foot entry edges into it. CONTEXT.md gains the 'improvement request'
and 'contact offer' domain nouns, re-words 'App report' for two doors + an
optional contact, and adds the RR-* design-noun screen/state inventory.

Advances #2051.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Eight low-fi screen-states for the new flow (DDR 0296): RR-B two doors, RR-DR /
RR-DQ the per-kind compose screens (kind radio removed — the door is the kind),
RR-DC the contact offer ticked with the re-worded From promise, RR-DCx a
malformed contact refused, RR-DRs / RR-DQs the per-kind receipts, RR-DRx the
fail-loud shape now keeping the offered contact. CSS/annotation style copied
from the retired shell/shell-dr-report-an-issue.html (ADR 0122), which is now a
redirect stub so there are not two contracts. data-field/action/status/kind
attributes are the element-ID contract the component carries verbatim.

Advances #2051.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
DDR 0296 amends DDR 0276: §1/§2 become two rail-foot doors opening one dialog
parameterised by kind (the kind radio removed — the door is the kind), and §7's
bar against email is lifted into an opt-in contact offer (a never-pre-filled
field revealed by 'you may contact me', a re-worded From promise, and a
strictly-validated fifth unfenced Contact: bullet — option a). Pointer
paragraph added to DDR 0276. The split is dashboard-only; only the contact
slice touches the broker/golden/intake. The contact offer is the named
one-way door (ADR 0174) — designed here, built only on a human accept.

Number 0296 because #2050's unmerged PR #2063 takes 0295. System-context and
container architecture diagrams updated for the two doors + opt-in contact
(ADR 0042). STATUS.md dated entry.

Advances #2051.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
slices: report-and-request DAG — two-door-split (#2065) + contact-offer (#2066) (#2051)
Some checks failed
ci / seam (pull_request) Failing after 12m23s
ci / publish (pull_request) Has been skipped
ci / publish-broker (pull_request) Has been skipped
ci / deploy-broker (pull_request) Has been skipped
e231d4141a
Two vertical slices for the App-report two-door + contact-offer feature (spec
#2064, DDR 0296). two-door-split is dashboard-only and ready-for-agent;
contact-offer spans dashboard+broker+golden+intake+gate and is ready-for-human
(the member-facing trust surface). Both blocked at the tracker by #2051;
contact-offer depends_on two-door-split. map.html is left to a post-merge
resync (a generated artifact #2050's concurrent PR also touches).

Advances #2051.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Author
Member

Swarm healer — ci red on this branch is one line, and it is a known hazard.

Run 52773 (signature 93e101f240ab) fails at stage Docs: every mermaid diagram block parses (#343):

✖ mermaid-parse check FAILED — 1 of 75 block(s) will not parse:
  docs/slices/report-and-request.mermaid  (block #1, opens at line 1)
      Parse error on line 1:
      %%flowchart TD
      ^
      Expecting 'NEWLINE', 'SPACE', 'GRAPH', got 'NODE_STRING'

Cause: line 5 of docs/slices/report-and-request.mermaid is a bare %%
— used as a blank separator inside the header comment block. Mermaid's comment
stripper only removes comment lines with at least one character after %%, so
the bare one survives and glues onto flowchart TD, giving %%flowchart TD and
a line-1 parse death. That is docs/GOTCHAS.md #143 verbatim, second
occurrence (first: docs/ux/flows/p6-members-idip.mermaid, #1071). The diagram
would also render as a broken box in Forgejo, so this is not merely a gate
complaint.

Fix (one line): give line 5 content or delete it —

sed -i '5s/^%%$/%% —/' docs/slices/report-and-request.mermaid

Verified on this branch's head (e231d414) in a scratch clone: that single
change takes the tree from 1 of 75 block(s) will not parse to
✓ 75/75 block(s) parse, and check-slices-yaml.mjs stays green (15 files).
It is the only bare %% in either file this PR adds — grep -n '^[[:space:]]*%%[[:space:]]*$' over docs/slices/report-and-request.mermaid
and docs/ux/flows/shell-report-and-request.mermaid matches line 5 and nothing
else.

The healer did not push it. This is a landing-pr design artifact on a
branch awaiting a human-approved merge, not a harness path, so amending it is
the author's or Ben's call, not a heal repair. main is unaffected — at
395a69ca the same check is ✓ 73/73.

The harness half — the pre-push gate runs no docs-class check, which is why
this reached CI at all rather than being refused at push — is filed separately
as #2068.

**Swarm healer — `ci` red on this branch is one line, and it is a known hazard.** Run 52773 (signature `93e101f240ab`) fails at stage `Docs: every mermaid diagram block parses (#343)`: ``` ✖ mermaid-parse check FAILED — 1 of 75 block(s) will not parse: docs/slices/report-and-request.mermaid (block #1, opens at line 1) Parse error on line 1: %%flowchart TD ^ Expecting 'NEWLINE', 'SPACE', 'GRAPH', got 'NODE_STRING' ``` **Cause:** line 5 of `docs/slices/report-and-request.mermaid` is a **bare `%%`** — used as a blank separator inside the header comment block. Mermaid's comment stripper only removes comment lines with at least one character after `%%`, so the bare one survives and glues onto `flowchart TD`, giving `%%flowchart TD` and a line-1 parse death. That is `docs/GOTCHAS.md` #143 verbatim, second occurrence (first: `docs/ux/flows/p6-members-idip.mermaid`, #1071). The diagram would also render as a broken box in Forgejo, so this is not merely a gate complaint. **Fix (one line):** give line 5 content or delete it — ``` sed -i '5s/^%%$/%% —/' docs/slices/report-and-request.mermaid ``` Verified on this branch's head (`e231d414`) in a scratch clone: that single change takes the tree from `1 of 75 block(s) will not parse` to `✓ 75/75 block(s) parse`, and `check-slices-yaml.mjs` stays green (15 files). It is the only bare `%%` in either file this PR adds — `grep -n '^[[:space:]]*%%[[:space:]]*$'` over `docs/slices/report-and-request.mermaid` and `docs/ux/flows/shell-report-and-request.mermaid` matches line 5 and nothing else. **The healer did not push it.** This is a `landing-pr` design artifact on a branch awaiting a human-approved merge, not a harness path, so amending it is the author's or Ben's call, not a heal repair. `main` is unaffected — at `395a69ca` the same check is `✓ 73/73`. The harness half — the pre-push gate runs no docs-class check, which is why this reached CI at all rather than being refused at push — is filed separately as #2068.
slices: report-and-request.mermaid — give the bare %% on line 5 content so the DAG parses (GOTCHAS #143, second occurrence; PR #2067's one red)
Some checks failed
ci / seam (pull_request) Successful in 16m23s
ci / publish (pull_request) Has been skipped
ci / publish-broker (pull_request) Has been skipped
ci / deploy-broker (pull_request) Has been cancelled
aa1682684f
Mermaid's comment stripper leaves a bare `%%` in place, so it glued onto
`flowchart TD` and the slice DAG died at line 1 under the #343 parse gate.
The swarm healer diagnosed it on #2051 and verified the one-line fix; this
applies it. Verified: check-mermaid.mjs 2/2 blocks parse on the two files
this PR adds; the unfixed copy still fails. The harness gap that let it
reach CI is #2068.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Merge origin/main (design PR #2063, DDR 0295) into agent/issue-2051 so PR #2067 merges cleanly
Some checks failed
ci / seam (pull_request) Successful in 15m22s
ci / publish (pull_request) Has been skipped
ci / publish-broker (pull_request) Has been skipped
ci / deploy-broker (pull_request) Has been cancelled
1bc465e2ea
ben merged commit c9d64caac2 into main 2026-10-26 04:51:38 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Matou/idss!2067
No description provided.