pqrst-practice/SCOPE.md
tegwick 2b36fc187d Complete PQRST-WP-0001: bootstrap State Hub integration
T01 — Reviewed the generated integration files. Resolved the
{CREDENTIAL_ROUTING} placeholder in AGENTS.md from the fleet canon, refreshed
the SCOPE.md repository layout (stale after registration), and replaced the
README stub with orientation and entry points.

T02 — Documented the developer workflow in AGENTS.md. This is a Markdown-only
spec repository: nothing to install, build, or run, and no test suite. In place
of a toolchain, added a six-point verification checklist covering prompt/spec
coupling, the closed 5-tuple, example-record arithmetic, cross-references,
version discipline, and the append-only rule for history/. The signature
validation command is verified working — all nine example signatures sum to 100.

T03 — Seeded PQRST-WP-0002 "Validate spec v0.1 against real sessions and cut
v0.2": pilot the closing prompt unassisted on at least eight real sessions,
decide the record-storage boundary SCOPE.md leaves open, then revise. v0.1 was
consolidated from two drafts neither of which had been applied to a session, so
the open questions are empirical rather than editorial.

WP-0001 marked finished with DoR/DoD assessments (clears C-34). No open
residuals — the follow-on work is carried by PQRST-WP-0002.

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
2026-09-05 20:38:30 +02:00

108 lines
5.1 KiB
Markdown

# Scope
This repository provides the means of **closing agentic coding sessions** using the PQRST estimation practice. It is a specification-and-prompt repository. It defines the practice, supplies the artifacts needed to perform it, and stops there.
See [`INTENT.md`](INTENT.md) for why.
---
## In scope
### 1. The specification
`spec/PqrstEstimationPractice.md` — the normative definition of PQRST: the five dimensions, the estimation rules, the collection point, the canonical result formats, validation constraints, derived views, the pattern catalog, and the practice rules. Versioned; currently **0.1**.
### 2. The closing prompt
`PqrstPrompt.md` — the canonical end-of-session prompt, kept in the repository root so it is trivially reachable at the moment a session ends. Includes the optional add-ons and the accept/reject checklist.
### 3. Record formats
The stored block record, the compact signature line, the optional human-readable table, and the optional YAML form — including the validation rules that make a record well-formed.
### 4. Interpretation guidance
Derived views (`P+Q`, `R+S+T`), example signatures, the pattern catalog, and correlation ideas — all as hypotheses for qualitative review, never as automatic conclusions.
### 5. Provenance
`history/` — the source drafts from which a specification version was consolidated, retained unmodified. New drafts are added; existing ones are not edited.
---
## Out of scope
### Tooling and automation
No collectors, parsers, validators, CLIs, linters, hooks, dashboards, or storage backends live here. The record format is specified precisely enough that such tools can be built — **elsewhere**. A reference validator may be reconsidered for a later version; it is not a commitment.
### Session storage
This repository defines what a record looks like. It does not hold anyone's records, prescribe a database, or specify a schema for a session corpus.
### Integration with any particular agent or harness
PQRST is deliberately agent-agnostic and model-agnostic. Wiring it into a specific harness, plugin, skill, or CI pipeline belongs to that harness's own repository.
### Scoring, benchmarking, and evaluation
No thresholds, no healthy-profile templates, no grading, no leaderboards, no comparison of agents or models on PQRST values. This is excluded on principle, not for lack of time — see [`INTENT.md`](INTENT.md).
### Prospective planning
No effort budgets, no target allocations, no pre-session PQRST plans.
### Extending the model
The acronym is closed at five letters. Proposals for a sixth dimension are out of scope. Proposals to expand an existing letter into subdimensions, or to add companion fields *outside* the 5-tuple (task type, outcome, cost, module id), are in scope for a future version.
### Empirical validation
This repository does not claim, and does not attempt to establish, that PQRST estimates are accurate, reproducible across estimators, or predictive of outcomes. The practice is offered as a structured judgment. Studying whether it holds up is legitimate work — it is not this repository's work.
---
## Boundaries and invariants
These hold across all versions:
1. **Exactly five dimensions**, named P, Q, R, S, T, with stable meanings.
2. **Retrospective only.** Nothing here is ever to be used as a planning target.
3. **Records are auditable.** A signature is never published without its evidence.
4. **Local files are the source of truth.** The specification governs; anything generated from it follows.
5. **`history/` is append-only.**
---
## Repository layout
```
INTENT.md why this practice exists and what it must not become
SCOPE.md this file
PqrstPrompt.md the canonical end-of-session prompt
README.md orientation and entry points
AGENTS.md agent instructions, developer workflow, verification checklist
spec/
PqrstEstimationPractice.md the specification (v0.1)
history/
20260905-*_chatgpt.md source draft, retained unmodified
20260905-*_grok.md source draft, retained unmodified
workplans/ work records for this repo (State Hub convention)
```
State Hub integration files — `.custodian-brief.md`, `.repo-classification.yaml`,
and `WORK-RECORDS.md` — are generated and kept in sync by `statehub` /
`repo-manager`. They are not edited by hand.
The repo is registered in the Custodian State Hub under domain `agents`, topic
`practice` ("prestructured actions that are less complex than a process but more
ambitious and structured than a task"), with workplan prefix `PQRST-WP`.
---
## Change process
- The specification is versioned. Substantive changes increment the version and record a line in its Appendix B version history.
- Changes that alter the meaning of a dimension, the validation rules, or the stored record format are **breaking**: they make older records less comparable, and must say so explicitly.
- Editorial changes — clarification, examples, wording — do not require a version bump.
- Source drafts in `history/` are never edited, only added to.