Complete HOH-WP-0001: closing routine and PQRST record in each seat

CLOSING.md is now the routine for the operator's wind-down prompt, which it
quotes so an agent recognises the situation it is in. Linked from README.md
beside "How to leave a seat", from the top of ENTRY.md, and from AGENTS.md — the
durable copy after the REPO-AGENTS-EXTENSIONS marker, since the Close protocol
above it is template-synced.

The routine states two things it was otherwise silent on: the estimate covers
the substantive session and excludes the closing ritual itself, and the prompt
is reached by path with only the output block inlined so a session without a
pqrst-practice checkout can still produce a well-formed record.

Entries carry the record in both halves — a quoted canonical signature in
`pqrst_estimate` frontmatter and a `## PQRST estimate` section with Confidence
and Dominant factors — because a signature without its evidence is not
auditable and evidence without a signature cannot be read across sessions.
ENTRY.md and templates/entry.md updated to match.

check-entries.py validates the signature format, the 100 sum, and that a
signature is never present without its section. Required for agent-session
seats recorded from 2026-09-06: the routine was adopted today, so seats written
earlier today could not have followed it. Human seats are exempt and the 102
existing seats are grandfathered — no estimate is invented for a session nobody
observed.

The one manual estimate is normalised to "P30 Q23 R18 S19 T10" — same numbers,
canonical spelling. Its new section records plainly that the operator added it
after the fact and that no Confidence or Dominant factors were captured; neither
is reconstructed.

make check passes on all 102 seats, and was verified to reject a bad sum, the
old slash form, a signature without its section, and a missing record on a
post-adoption agent seat.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SQ6oF1DtVDKcD1FCpvRVLx

Assistant: claude-code
Assistant-Model: opus
Assistant-Process: 272883@bnt-lap001
Assistant-Session: f40c8f53-fb65-4980-9d29-bcdb3dd946f7
This commit is contained in:
tegwick 2026-09-05 21:12:24 +02:00
parent 5da5db501c
commit 1ec16e24db
8 changed files with 268 additions and 10 deletions

View file

@ -4,7 +4,7 @@ type: workplan
title: "Specify the session-closing routine and carry a PQRST record in each seat"
domain: infotech
repo: hall-of-helix
status: active
status: finished
owner: claude-code
topic_slug: helix-forge
priority: high
@ -13,6 +13,10 @@ updated: "2026-09-05"
quality_dor: DoR-Ok
quality_dor_at: "2026-09-05"
quality_dor_by: claude-code
quality_dod: DoD-Ok
quality_dod_at: "2026-09-05"
quality_dod_by: claude-code
quality_dod_note: "CLOSING.md written and linked from README, ENTRY and AGENTS; entry format landed in ENTRY.md and templates/entry.md; check-entries.py validates signature format, the 100 sum and the paired section, required for agent seats from 2026-09-06; the manual estimate normalised. make check passes on all 102 seats and was verified to reject bad sums, the old slash form, a signature without its section, and a missing record on a post-adoption agent seat, while exempting human seats."
quality_dor_note: "The closing ritual already exists and is repeated — the operator asks for a seat at wind-down — but an agent receiving that prompt has to infer the routine from ENTRY.md, and PQRST is not part of it. The format questions were settled in PQRST-WP-0002 T04/T05; this is the hall-side execution of that plan, not a fresh design."
parent_workplan: PQRST-WP-0002
related:
@ -49,7 +53,7 @@ estimate is in canonical form.
```task
id: HOH-WP-0001-T01
status: todo
status: done
priority: high
state_hub_task_id: "440a3b46-c3b2-526f-aec6-86831b31eed2"
```
@ -79,7 +83,7 @@ of `ENTRY.md`, and from the **Close** section of `AGENTS.md`.
```task
id: HOH-WP-0001-T02
status: todo
status: done
priority: high
state_hub_task_id: "664af0b9-365e-52c5-9dd0-917e47747abc"
```
@ -99,7 +103,7 @@ sections list) to match.
```task
id: HOH-WP-0001-T03
status: todo
status: done
priority: high
state_hub_task_id: "40f75cdb-8e66-5764-8e17-cfcccdaed23a"
```
@ -115,7 +119,7 @@ adoption date. Human seats are exempt.
```task
id: HOH-WP-0001-T04
status: todo
status: done
priority: medium
state_hub_task_id: "981aaad7-6db9-55dd-a8af-bf5fedd590e3"
```