dpa: approved copy for the docs page heading and menu entry
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
docs/superpowers/plans/2026-11-25-dpa-acceptance-copy.md+4 −1
Intent
<task-notification> <task-id>a35c98f83bbfaf028</task-id> <tool-use-id>toolu_01K7V4DSQosCrWVB3kJirwak</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/260ddc60-0dfc-4cf8-8857-7688d6275097/tasks/a35c98f83bbfaf028.output</output-file> <status>completed</status> <summary>Agent "Implement Task 6: record page" finished</summary> <note>A task-notification fires each time this agent stops with no live background children of its own. The user can send it another message and resume it, so the same task-id may notify more than once.</note> <result>Status: fix round 1 done. Commit: a49aeb1b "console: DPA record test pins the accepted document and no VAT line" (test only, not pushed). Test: `go test ./internal/console -run 'TestDPARecord' -count=1` passes. gofmt and vet are clean. What changed: - **Second version:** `TestDPARecordMemberSees` now publishes version 2 after the acceptance, with its own body, digest and URL, effective in 48 hours. It asserts the record still shows version 1 as accepted and in force. It also asserts version 2's URL and digest (full and shortened) appear nowhere. - **VAT line:** the same test now checks the VAT sentence is absent, since that letterhead has no VAT number. Concerns: none. Report: `/home/paulca/amadan.net/carlos/platform/.claude/worktrees/dpa-and-retention/.superpowers/sdd/2026-11-25-dpa-acceptance/task-6-report.md` (fix round appended)</result> <usage><subagent_tokens>95341</subagent_tokens><tool_uses>3</tool_uses><duration_ms>81308</duration_ms></usage> </task-notification>
<task-notification> <task-id>aaa97c2c806072e66</task-id> <tool-use-id>toolu_01Miv9imCYqPrrv5MdeCPVfQ</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/260ddc60-0dfc-4cf8-8857-7688d6275097/tasks/aaa97c2c806072e66.output</output-file> <status>completed</status> <summary>Agent "Re-review Task 6 fix round 1" finished</summary> <note>A task-notification fires each time this agent stops with no live background children of its own. The user can send it another message and resume it, so the same task-id may notify more than once.</note> <result>### Findings 1. ADDRESSED: `internal/console/dparecord_test.go` (fix diff, `TestDPARecordMemberSees`) publishes version "2" after the acceptance. It uses a different body, so a different digest. Its URL is `example.com/dpa/2/`, from `dpaPublish`, and it is effective in 48 hours. - The handler (`dparecord.go:120-122`) takes version, URL and digest from `LegalDocument(live.DocumentID)`. If it took the newest document instead, the `bad` loop would trip on `example.com/dpa/2/`, the full v2 digest (which also appears in the `title` attribute) and the short form `xxxx…`. The existing `want` list would also fail, since it requires version 1's URL, link and digest. - The version-in-force assertion `<td>1</td>` does not rest on anything incidental. `s.now()` is the real clock, and `dpaQualifies` (`dpainforce.go:17`) rejects a document whose `EffectiveAt` is after now. A document 48 hours out therefore never qualifies. The accepted document needs no qualification, so version 1 is in force. - That assertion would not catch a handler that read the newest document. The URL and digest assertions are what catch it, and they do. 2. ADDRESSED: The `bad` list includes `"VAT number"`, which is the literal in `dpaRecordProcessorText` (`dparecord.go:41`). `dpaLetterhead` sets no `VATNumber`, and `dpa_record.html` has no static VAT text. `TestDPARecordCopy` (the letterhead with `VATNumber` set) covers the positive case. ### New Issues in the Fix Diff None. The change is test-only, 11 lines. ### Out-of-Scope Observations The VAT absence check uses the accepted letterhead, which has no VAT. The newer letterhead added in the same test also has none. The VAT check therefore does not show which letterhead the handler reads. The existing "Newer Hosting" assertion covers that. The report gives the command (`go test ./internal/console -run 'TestDPARecord' -count=1`) and its output (`ok ... 1.231s`, gofmt and vet clean). ### Verdict **Fix round:** Clean</result> <usage><subagent_tokens>47959</subagent_tokens><tool_uses>3</tool_uses><duration_ms>31788</duration_ms></usage> </task-notification>
done
Attributed to this commit: 18.8 g CO₂e (2,443,451 tokens). This is an attribution, not a measurement — usage counted from this commit's own marker forward to the next one on dpa-and-retention, never backward from it. A turn that produced more than one commit books all of its tokens to the last one, and a concurrent session on this branch can add to the same figure. Some of it was priced using the shared default rate, because no model-specific factor row exists yet for at least one model involved. The Carbon view has the repo total, which is never derived from this attribution.
diff --git a/docs/superpowers/plans/2026-11-25-dpa-acceptance-copy.md b/docs/superpowers/plans/2026-11-25-dpa-acceptance-copy.md| index 75ee781b4..b3cc08bca 100644 |
| --- a/docs/superpowers/plans/2026-11-25-dpa-acceptance-copy.md |
| +++ b/docs/superpowers/plans/2026-11-25-dpa-acceptance-copy.md |
| @@ -5,7 +5,7 @@ Every new user-facing string of the DPA acceptance plan |
| `internal/console/approved_dpa_copy_test.go` |
| (`TestDPACopyDeckIsApprovedAndApplied`). |
| -Approved 2026-11-25 by Paul in copy review (copy-review skill), all 94 rows unchanged from the draft. The text below is the approved text, verbatim. The screens were reviewed as a mockup built from the console mockup kit in the same review. |
| +Approved 2026-11-25 by Paul in copy review (copy-review skill), all 94 rows unchanged from the draft. Rows DPA-C95 to DPA-C97 (the docs page heading and its menu entry) were approved unedited in a second review the same day. The text below is the approved text, verbatim. The screens were reviewed as a mockup built from the console mockup kit in the same review. |
| The rules are the burst deck's (`2026-10-31-probe-burst-limit-copy.md`): |
| one table, `| id | where | old | new | checked by | status |`; `where` is a |
| @@ -110,3 +110,6 @@ found literally by the gate once their id is in `dpaCopyBuilt`. |
| | DPA-C92 | internal/console/templates/ops_legal.html (operator page) [opl.list.col.when] | (new) | When | gate | approved | |
| | DPA-C93 | internal/console/templates/ops_legal.html (operator page) [opl.list.empty] | (new) | No account has accepted an agreement yet. | gate | approved | |
| | DPA-C94 | docs/site/data-processing.md (guide) [dpa.docs.section] | (new) | An account owner can accept the data processing agreement under Settings. Read it, fill in your company's details and press Accept the agreement. Any member of the account can open the record of what was accepted, and when. If a new version is published, you'll see when it applies to your account, and you can object before then. | gate | approved | |
| +| DPA-C95 | docs/site/data-processing.md (page heading) [docs.dpa.title] | (new) | Data processing agreement | gate | approved | |
| +| DPA-C96 | docs/site/nav.json (menu label) [docs.dpa.nav_label] | (new) | Data processing agreement | gate | approved | |
| +| DPA-C97 | docs/site/nav.json (menu description) [docs.dpa.nav_blurb] | (new) | Accept the agreement that covers personal data in your apps, and keep a record of it. | gate | approved | |