Record what you know about a trip — traveler profiles, third-party needs, and the enrichment reconcile; the destination and the mode, the party, trip facts, constraints and bookings, and the per-trip publish repo name; per-event status and the session log; link or unlink a traveler to a durable person record, promote one of their fields into it, or erase a person outright. Writes the trip's own files; never publishes. Full verb list in reference/command-reference.md
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Trip Record?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/cody-hutson-trip-record)
---
name: trip-record
description: Record what you know about a trip — traveler profiles, third-party needs, and the enrichment reconcile; the destination and the mode, the party, trip facts, constraints and bookings, and the per-trip publish repo name; per-event status and the session log; link or unlink a traveler to a durable person record, promote one of their fields into it, or erase a person outright. Writes the trip's own files; never publishes. Full verb list in reference/command-reference.md
argument-hint: profile|person|travelers|destination|mode|group|fact ...
disable-model-invocation: true
allowed-tools: Bash(ls:*), Bash(grep:*), Bash(date:*), Read, Write, Edit, Task
disallowed-tools: [Bash(${CLAUDE_SKILL_DIR}/../../scripts/publish-trip-site.sh:*), Bash(bash:*), Bash(sh:*), NotebookEdit]
---
# /trip-record
`/trip-record <verb> [--trip <slug>] [verb args...]`
The verb is the one the user typed. § *Selecting the verb* below is the whole of how it is reached:
a literal lookup, lexical at every step, against the recognition set read live. So nothing in this
file supplies a verb the user did not type, and the lookup has no place to put the wording around
the token; that the token was typed at all is held by this file's invocation flag, not by the
lookup.
**Engine root — where every path in this file resolves from.** This engine's own assets — the
agent prompts, the reference documents, the templates and the shell entry points — live under
`${CLAUDE_SKILL_DIR}/../..`, which is the directory holding them whatever working directory you
were invoked from. That holds when this verb's directory is a link placed beside the engine: the
harness names the link, and `..` is resolved after the link is followed, so the path still lands
in the engine — read it as the kernel does, never by collapsing the text. **Every engine path named anywhere in this file, its frontmatter included, and
every engine path named inside any engine document you open from it, is repository-relative to
that root and never to your working directory.** Resolve it against the root before you hand it to
a tool: a bare relative path follows the session's working directory, and that directory is
arbitrary. Operator trip data is a separate root and is named where it is used.
**A script's own data reads are a different question from where the script is, and rooting its
path does not answer it.** Where a verb's invocation section tells you where to stand when you run
it, that instruction is about the working directory the script resolves its own store against, and
it stands unchanged.
**The bare spelling of a path inside prose is deliberate and is not a defect to repair.** A path in
a document the agent reads is returned as text — there is no include directive at either surface —
so rooting it there would buy no mechanism while putting an unexpanded variable in front of every
human reader. The rooted spelling belongs where a path reaches a tool as written: the frontmatter
grants and the fenced invocations.
**The frontmatter above, and what it is held for.** Each grant is held for a use a section below
names, per `ADR-007` §2 bound 2. **Two of them are the file's own**, and their set is closed by the
header block: `Bash(ls:*)` for the listing block and `Bash(grep:*)` for the record block, and
outside the record block, `Bash(grep:*)` is taken only by a verb section, for a read that section's
own `**Reads:**` line declares, as a tool call in its own body; outside the listing block,
`Bash(ls:*)` is taken only by a verb section, for a listing that section's own `**Reads:**` line
declares, as a tool call in its own body. **Every other grant is a verb's, and the verb section that
takes it is where its use is named** — `Read` and `Edit` by each section that probes for a file or
changes named lines in one, `Write` by each section that creates a file the trip does not have,
`Task` by each section that dispatches an agent under standing rule 6, and `Bash(date:*)` by the
section that needs a date. **Which sections those are is read from the sections, not from here.**
**Why this line names the grants and not their uses.** What a grant is held for is a property of the
verb, not of the file, and this file is written by more than one slice: a closed list of uses,
written before a later slice's verbs exist, is stale the moment one lands and is widened by every
author who meets it — the same reason § *What the blocks above are* states the read-scope ceiling as
a principle rather than a path list. The two pair, and together they make this file's grant set and
its read scope both the union of its verb sections, with no second list that can disagree with them.
It also moves the trigger for editing this line from *a new verb*, which is unbounded and is what
went stale, to *a new grant*, which is already an edit to the extension point below. **A grant no
section names is a grant with no function**, and taking one is a defect whatever this line says. No
directory-creating grant is taken, and no verb of this command creates a directory.
**Frozen.** `disable-model-invocation: true`, which § 1 of
`reference/adr/ADR-007-command-entry-point.md` freezes by a test rather than by preference — it
admits relaxing the flag only on a file every one of whose declared verbs is inference-admitted,
and this file declares arms that are not, so the posture here is derived and there is nothing to
choose; `argument-hint`, which carries as much of this file's verb list as the input line renders
and is graded as a **pair** with the `description` beside it pointing at
`reference/command-reference.md` for the rest, so editing either half alone is what breaks it; and
every entry of `disallowed-tools`, which denies the publish script directly and through `bash` and
`sh`.
**What `disallowed-tools` does at runtime was an open question here, and `ADR-007` has closed
it.** Its 2026-09-11 amendment discharged the tool-list question by **quoting the published
contract** rather than summarising it, and the account it confirms is the one
`reference/adr/ADR-007-command-entry-point.md` § *Context* had already given — **clause for
clause**, so the question this file once left open is settled in § *Context*'s favour, and the
sentence that called it unsettled is withdrawn rather than softened. `allowed-tools` is turn-scoped
**pre-approval and not restriction**: every tool stays callable, and a tool left off the list routes
through the usual permission settings rather than being forbidden. `disallowed-tools` is turn-scoped
**removal** — the real restriction of the pair, and a firmer thing to say about these entries than
this passage used to say. **Durable blocking still needs a permission-settings deny rule, a
different artifact and one this repo does not ship**, which is the bound every *never* below rests
on and the reason the removal these entries carry ends at the next message.
`scripts/test-command-taxonomy.sh` reads the line on a different axis, and the difference is worth
keeping: its invocation classifier walks the command directory and matches this file's
`disallowed-tools:` line on the publish-script grant token that line carries, counting it into a
**tool-grant tally** — one term of a parse-coverage identity that guard asserts and fails on. That
reading is of what this file **declares**, so what it establishes is that the entry was written, and
a green check there is not a privilege guarantee and must not be read as one. Where else the field
appears is **re-derived from the tree rather than listed here**: the list this sentence used to
carry named the five command files, one workflow comment and the ADR, and was two short — it missed
a second workflow comment and the guard itself, which is what a written-down census does.
**What the settled account gives this file is narrower than enforcement, and that is all it relies
on.** The declaration is turn-scoped and clears at the next message, and **omission is not
prohibition**. So every *never* in this file names a **rule this file follows, never a property its
frontmatter guarantees**: standing rule 1 is what makes this command never publish, and these
entries stand beside it as a **declared** removal whose reach ends with the turn — corroboration,
and firmer corroboration than before, but not the thing that makes the claim true. That is what
freezes them, and it is what keeps the clause below sound. **The account is stated once, here.** A
verb section names the control it actually rests on, and does not restate it.
**Extension point — union only.** `allowed-tools` may gain a tool only where the verb that needs
it is named in the adding slice's own design, and the addition is a union: no entry is removed and
no entry is narrowed. `description` may be widened to name a later slice's verb class; it may not
be narrowed.
**Resolve the data root before you read anything.** `reference/trip-resolution.md` § *Resolving a trip*, gate `G0-root`,
using the `data-root-pointer:` path carried in this file's contract header below. Then **run each entry
below as a tool call**, substituting the resolved root for `<data-root>`. They are not pre-execution
blocks and nothing has run ahead of you: an entry yields no evidence until you issue it.
## Trips in your data home
`ls -1 "<data-root>/trips" 2>&1 || printf 'TRIPS-DIR-UNREADABLE\n'; true`
## Trip records
`grep -H -E '^\*\*Current mode:\*\*|^- \*\*Primary destination:\*\*|^\*\*Lifecycle:\*\*' "<data-root>/trips"/*/trip-context.md 2>&1 || printf 'NO-TRIP-CONTEXT-READABLE\n'; true`
## Contract header
```trip-contract-header
Contract: reference/trip-resolution.md § Resolving a trip
contract-depth: G8
population-role: RESOLVE
data-root-pointer: ${HOME}/.travel-planner/data-root
```
| verb | lifecycle | mode | destination | depth |
|---|---|---|---|---|
| profile | ACTIVE | any | any | G8 |
| person | ACTIVE | any | any | G8 |
| travelers | ACTIVE | any | any | G8 |
| destination | ACTIVE | any | any | G8 |
| mode | ACTIVE | any | any | G8 |
| group | ACTIVE | any | any | G8 |
| fact | ACTIVE | any | any | G8 |
| .publish-slug | ACTIVE | any | any | G8 |
| event | ACTIVE | any | any | G8 |
| log | ACTIVE | any | any | G8 |
| link | ACTIVE | any | any | G8 |
| unlink | ACTIVE | any | any | G8 |
| promote | ACTIVE | any | any | G8 |
| erase | ANY | any | any | G8 |
| extract | ACTIVE | any | any | G8 |
| group-new | ANY | any | any | G8 |
| group-list | ANY | any | any | G8 |
| group-add | ANY | any | any | G8 |
| group-drop | ANY | any | any | G8 |
| group-delete | ANY | any | any | G8 |
| group-expand | ACTIVE | any | any | G8 |
| history | ACTIVE | any | any | G8 |
| .approvers | ACTIVE | any | any | G8 |
| interview | ANY | any | any | G8 |
| past-coverage | ACTIVE | any | any | G8 |
| group-past-coverage | ACTIVE | any | any | G8 |
The block above is this file's contract declaration, and the requirement table sits **below** it,
outside the fence, so it renders as a markdown table. The fence the contract publishes names that
table among the block's fields on a line that is **entirely a placeholder** — it describes the field
rather than rendering it — so the canonical fixes this block's field set and does not settle where
the table is drawn. The table's own bytes do not move with it: five columns, their order, and their
header row, unchanged. `scripts/test-trip-resolution-contract.sh` does not grade the placement, and
that was read out of its source rather than assumed — it opens a fence by info string at one pin and
that pin reads `CLAUDE.md`, while every assertion it makes about this file reads whole lines of it
with no fence state at all. **A checker locating this file's declared verb set by opening this fence
would see the difference**; the table's own header row is the anchor that survives the rendering.
**Frozen.** The citation line, byte-for-byte. `contract-depth: G8` as a **bare** token on its own
line — a code-span rendering of that line is graded as an *absent* declaration, so the tolerance
for a code span belongs to a depth **cell** and never to this line. `population-role: RESOLVE`. The
fence tag. The table's five columns, their order, and their header row.
**Extension point.** One table row per verb a later slice implements, appended below the rows
already there.
### How this file is extended
This file is written by more than one slice. What follows is the whole of what a later slice may
change and the shape each change takes; everything else above the first verb section is closed.
**The zone rule, and it is the one that matters most.**
> **Zone B begins at the first `##` heading whose first whitespace-delimited token, with backticks
> stripped, equals a value in the requirement table's `verb` column. Zone A is everything above
> that heading. Zone B runs to end-of-file.**
**Nothing may be appended below the last verb section.** Shared text added at the bottom of this
file lands silently inside the last author's verb section and rebinds it. Zone B is append-only:
one section per table row, one row per section, the section heading's first token is that row's
`verb` cell, and a new section goes below every section already there.
**The repair extension point — a Zone A statement that a permitted edit has falsified.** Zone A is
closed, and its own extension points nevertheless make it **falsifiable**. The falsifying edits are
not enumerated here, because a second list of them can disagree with the first: the Zone A ones are
exactly those § *What a later slice adds* excepts in its *must not change* cell, read from there;
and a **Zone B** edit falsifies Zone A too, which is why the falsifying set is wider than the set
of permitted Zone A changes — a verb section naming a use of an existing grant is the shape that
already did it. Each can make a sentence above the first verb section untrue. A zone that forbids
every edit while licensing the edits that falsify it forbids the repair of a defect it caused, and
that state was reached — an
`allowed-tools` union left the grant sentence above naming every grant but the one it had just
added, and the repair had to breach the zone to land. So the repair is a **stated extension point**,
and it takes exactly this shape:
1. **Only the clause a permitted edit made false may change**, and only that clause. A sentence that
is merely now awkward, or that the editing author would have written differently, was not
falsified and is not touched.
2. **The repair lands in the same act as the edit that falsified it**, and the slice's own design
names it as a Zone A repair and cites the falsifying edit. A false statement left standing for a
later author to find is the failure this point exists to remove.
**Where that act missed it, the first slice that names it repairs it.** A clause found false
after the act that falsified it is repaired, on every other term of this point, in the act of a
slice whose own design names it as a Zone A repair and cites that edit; a slice that names it so
does not leave it for another. The duty above still binds every falsifying slice, and this is
the move left when one missed it. It reaches no further than that duty does: a clause falsified
by an edit to another file alone, with nothing in this file changed by that act, is outside this
point, late or not, and its repair takes an operator decision this point does not give, as this
limb's own did.
**This limb is recorded here rather than folded in:** it was added — with the term clause 4 now
carries for it and the qualifiers it needs elsewhere in Zone A — by an operator decision taken as
a decision in its own right. Clause 4 did not admit it: clause 4 admits a repair of this point,
and nothing that widens what may change.
3. **The terminal disposition is conversion, not a second repair.** A statement falsified twice is
evidence that it enumerates a set the extension points grow: it is rewritten as **the rule that
derives the set, never the members**, and the members come out. A statement a permitted edit
*will* falsify may be converted pre-emptively by the slice holding this repair, which is the same
act performed before the falsification rather than after it. A third repair of one sentence is
not available — by then the enumeration is the defect.
**What that bar counts, because it has already been read the wrong way.** It counts repairs of an
**enumeration**, and a conversion that left members standing has not removed one: finishing it is
that same conversion reaching the part it missed, not a second one, and it is available. A
statement carrying no members is a rule, so an edit that later falsifies **it** enters at clause 1
as a rule's first repair. Without this reading, a statement this point's own repair authored could
be falsified by the next permitted edit with no sanctioned move left, and the point would forbid
the repair of a defect it caused — the state the paragraph above says it exists to end.
4. **Nothing else in Zone A moves** — not the header block's declaration lines, not the evidence
blocks, not the zone rule, and not this extension point, **with the one exception the point
cannot do without: a defect in the point itself.** Its own prose is Zone A prose, so its own
sentences are falsifiable by the same permitted edits, and a point that forbade its own repair
would be the state the paragraph above describes reproduced one level up — licensing the edits
that falsify it and then refusing the repair. So a repair *of* this point is admitted on exactly
the terms it imposes on everything else: only the falsified clause moves, in the same act or,
where that act missed it, in the act of the first slice that names it, cited in the slice's own
design, converted rather than repaired twice. Nothing here admits a repair
that widens what may be changed elsewhere in Zone A.
**The shape of a table row.**
| Cell | Rule |
|---|---|
| `verb` | the **bare token**, exactly as a user types it, single whitespace-delimited, ASCII-case-foldable — the token alone, never the token followed by an argument placeholder. § *Selecting the verb* matches the typed token against this column by exact string equality, so a placeholder in the cell makes the verb unmatchable |
| `lifecycle` | the value admitting exactly the trip lifecycles the verb's **own section** states a reason to serve. `ANY` or `ARCHIVED` only where that section states the reason; where it states none the cell takes the contract's declared default. The rule is written rather than its output because the output is what goes stale |
| `mode` | `any` unless the verb's own section states a mode it does not serve, in which case the cell names the modes it does. A verb that must not run without a decided mode says so **in its own row**, naming what it serves, rather than by a halt at the gate that yielded the state |
| `destination` | the `mode` rule again, with one bound that is not derived and does not move: **no row of this file may gate on a decided destination.** A freshly scaffolded trip has no decided destination whatever its mode, so a destination-gated verb would refuse on a trip the taxonomy says runs the full pipeline |
| `depth` | **the value the header block's `contract-depth` line declares, read from that line.** The header fixes it, the guard grades the equality in both directions, and a value restated here would be a second declaration that can disagree with the first. Rendered **bare**, and left that way by the revision that moved this table outside the fence: a depth cell tolerates either rendering, and the guard strips a code span from the cell before it matches, so the value it reads is the same under both. **The value is never written into this table's own rule text** — hazard 3 below counts any five-column row whose fifth field normalises to a depth as a verb row, and hazard 3 forbids every other table the token outright, so this is the only table in this file that would otherwise carry it at all |
**Three hazards, and each is a silent failure rather than a loud one.** They come from how the
conformance guard reads this file, not from taste.
1. **The evidence-entry counter counts every line in the whole file that begins with an evidence
marker — each canonical entry's own opening token, derived by the guard from the charter rather
than written into it, or a retired wrapper opener, a code span opening with a brace or a
parenthesis — and grades that count as an equality against the declared depth, in both
directions.** No slice adds an evidence entry, and **no slice writes a line beginning with such
a marker anywhere in this file**, including inside a fenced example. A surplus entry is a tool
grant with no function and an unconditional red check on push. The entry markers are derived,
so they move with the charter whenever it re-spells an entry, and none is written here.
2. **The depth cell is read at field index 5 of a pipe-split row.** A sixth column moves it, the
guard then finds no row carrying a depth and reports the requirement table **absent**, and with
no rows found `contract-depth` goes unchecked in both directions. **The table stays exactly five
columns.**
3. **Any pipe row anywhere in this file whose fifth field normalises to `G0`–`G8` is counted as a
verb row.** No other five-column table in this file may carry a bare or backticked `G0`–`G8` in
its fifth cell.
**What a later slice adds, and what it leaves alone.**
| A later slice must add | A later slice must not change |
|---|---|
| one requirement-table row per verb it implements, **every cell taking the value § *The shape of a table row* derives for it** — the cells are not restated here, because a second statement of them is a second source that can disagree with the first; a `**Reads:**` line at the head of each `## <verb>` section it appends, per § *What the blocks above are*; one `## <verb>` section per row, appended in Zone B below every section already there; `allowed-tools` additions only where a verb needs one and its own design names that verb; and, for a verb that changes a persist-mutable file, that file's own no-overwrite shape — read the file, change the named row, never regenerate it — stated inside that verb's own section | anything in Zone A except those table rows, that `allowed-tools` union, and a repair made under § *The repair extension point*; the header block's declaration lines; the evidence blocks, except as `reference/trip-resolution.md` § *Resolving a trip* changes what a consumer carries; the table's five columns; § *What the blocks above are*, except a repair or conversion made under that same point; the refusal branches, except a repair or conversion made under that same point; and the standing clause, except under the Extension rule stated there |
**Binding on every later slice, without exception:** no line beginning with the pre-execution
marker anywhere in the file; no sixth column; no other five-column table with a `G0`–`G8` fifth
cell; no change to `contract-depth`; and no text below the last verb section.
## What the blocks above are
The ladder the header cites is stated in one place and is not restated here. The blocks above are
this file's evidence entries, tool calls you issue as the data-root paragraph above directs, and
**their output is the whole of the trip state this file resolves against** — the population from
the listing block, and the lifecycle, the mode and the destination by value from the record block.
No verb re-runs either block, and no verb re-derives what they already carry.
This file's grants for the evidence entries above are its declared minimum privilege, each for a
use the requirement table names: `Bash(ls:*)` for the listing block, and `Bash(grep:*)` for the
record block, which reads the lifecycle, the mode and the destination by value. Neither grant is
speculative and neither is unused. **The header block above fixes how many evidence entries this
file carries, and it already carries all of them** — no slice adds another.
**The read-scope ceiling is a principle, not a path list: every verb reads exactly what its own
section names, and nothing else.** Silence is a prohibition here rather than a gap — a read this
file performs that no section names is out of scope, whether or not a list would have permitted it.
**Why a principle and not a list.** Read scope is a property of the verb, not of the file. The
verbs below read a traveler profile, an intake template, and the roster an agent reconciles
against; a later slice's verbs read the very artifact they are about to change, because a
persist-mutable file is read before its named row is written. A list frozen before those verbs were
written would either forbid them or be widened by every author who met it — and a ceiling that
every author widens is not a ceiling. Placing the obligation on the verb puts the declaration in
the hands of the author writing the read, and makes this file's whole read scope the union of its
sections rather than a second list that can disagree with them. **How a sibling command renders its
own ceiling is that command's to state, read from its file and never restated here** — a
restatement is a second source, and it goes false when that file changes with nothing here changing
to show it. This file's read scope is the union of what its verb sections name, and that union
grows as later slices land, so a list frozen at one revision would be wrong inside a single merge.
**How every verb section declares it.** Each `## <verb>` section opens with a `**Reads:**` line, as
its first line, before any procedure, in this rendering:
**Reads:** `<path>` — <what it is read for>; `<path>` — <what it is read for>.
and, for a verb that reads nothing of its own:
**Reads:** nothing beyond the blocks above.
What that line has to carry:
- **Every path the verb reads, named individually** — not "the trip's files", not "the relevant
artifacts". The line **is** the section's read scope, so anything absent from it is out of scope.
- **A path read only to test whether it exists is a read, and is declared.** The probe that selects
between `Write` and `Edit` is the control the no-overwrite rule turns on, and an undeclared probe
hides the one read that rule depends on.
- **A template read in order to copy from it is a read.**
- **A file read before it is written is a read, and the purpose clause says why the read precedes
the write** — which is what makes a no-regenerate rule checkable at all.
- **A directory or glob read states the directory and the selector** — `trips/<slug>/travelers/*.md`,
never "the traveler files".
- **A read performed by an agent the verb dispatches is declared by the dispatching verb,
attributed to the agent, on the same line.** Standing rule 6 below already requires the agent, its
role and the single file that role writes; this puts the agent's read set in that same sentence.
It goes in the verb's own section, so no rule is added to the standing clause and this zone is not
reopened.
- **A read a reader would expect and the verb does not perform is stated as a negative, with its
reason.** A negative without a reason invites the next author to add the read.
**Two boundaries the principle does not move.**
- **Naming a read never widens the contract declaration.** The evidence prefix is closed and
machine-graded: the header's `contract-depth` fixes it, and a pre-execution block this file does
not already carry is a conformance failure whatever a verb section says. The ceiling governs the
reads a verb performs **in its own body, after the ladder has run**; the blocks above are fixed
and are not a verb's to extend. A read a verb needs is taken as a tool call in its own body, the
way `/trip-new` takes the date.
- **Naming a read never licenses a write.** Standing rules 2 and 5 bind unchanged — `Write` only
where the target does not exist, `Edit` only where it does and only the named field's lines
change, and only under `trips/<slug>/`. A verb that declares a read of a file it does not own has
declared a read and nothing else.
**Frozen.** This section is not a later slice's to edit, except by a repair or conversion made
under § *The repair extension point*. A verb's read scope is declared in that
verb's own section.
## Standing clause — binding every verb of this command, present and future
This clause sits outside every verb section on purpose: a rule written inside one verb protects
only the verbs that existed when it was written.
1. **Never publishes.** This command never invokes `scripts/publish-trip-site.sh` — not directly,
not through `bash` or `sh`, not through any wrapper, alias or generated command line. It never
sets `ALLOW_PLAINTEXT`. It never passes `--yes` to `unpublish`. Where publishing is what the user
wants, name `/trip-publish` and stop; do not reach the script from here.
2. **Never overwrites and never deletes existing trip content.** `ADR-007` §2 bound 5, and `trips/`
lives under `<data-root>`, so nothing in this repository could restore a clobber. `Write` is used
on exactly one condition — the target path does not exist. `Edit` is used on exactly one condition
— the target path exists and only the named field's lines change. The probe that selects between
them runs before either tool is reached.
3. **Never invents a value.** A field nobody has asked keeps its bracketed placeholder. A field the
user skips, or says does not apply, takes a single em dash. Those are two different states and
this file never collapses them. A missing profile means *unknown*, never *no constraints*.
4. **Never treats a placeholder as evidence, and never predicates a branch on a field's absence
where a placeholder makes that field present.** `ADR-007` §2 bound 6, both halves.
5. **Writes only under `trips/<slug>/`**, where `<slug>` is `trip.slug` exactly as `E1` spelled it.
No path is ever built from the `--trip` value.
6. **Dispatches an agent only where a verb's own section names the agent, its role, and the single
file that role writes.**
7. **An append into a file that exists is taken with `Edit`, and it is rule 2's third admitted
shape rather than a stretch of its second.** Rule 2's two conditions partition the writes that
*replace* something — `Write` where the target is absent, `Edit` where it exists and only the
named field's lines change — and an append is neither: no existing line changes, and there is no
named field, because the lines being written are not there yet. Read literally, that partition
leaves an append with **no sanctioned tool at all**, which is not a narrow reading of rule 2 but
a gap in it: an append is the write that most completely satisfies rule 2's own bound, since it
overwrites nothing and deletes nothing, and `ADR-007` §2 names *append under a new section rather
than rewriting* as one of the three shapes that satisfy the bound. So the shape is admitted here
in terms: **the target exists, no existing line changes, and the write adds lines at the end of
the file or under the block's own repeat unit.** The probe that establishes the target exists
runs before `Edit` is reached, exactly as it does for rule 2's other two conditions. Regenerating
the file, rewriting it from scratch, reordering it, merging into a prior unit or deleting one is
**not** an append and takes no licence from this rule.
**This is a widening of rule 2 and is stated as one.** It is here rather than inside one verb
section because it binds every verb, present and future: **more than one verb of this revision
already writes this shape** — `group` adds a roster row, `fact` appends a repeat unit, `log`
appends a session entry — and none of them could name a tool under rule 2 as written. A rule
admitting a tool shape for every verb that writes an append, present and future, is precisely
what the Extension rule below reserves this clause for; buried in `log` it would protect `log`
alone and leave every other such verb in the same gap.
8. **Names a command other than itself without asserting that command's availability.** A section
names the command and stops. Whether that command is available, and which of its verbs are
implemented, is a property of that command's own file and is observed there — **so no section of
this file may state it.** A statement of it here is a second source: it goes false the moment
that file changes, with nothing in this file changing to show it, and a reader who meets it
cannot tell. This is the read-live discipline § *Selecting the verb* applies to this command's
own verb set and `mode` applies to the mode vocabulary, applied to a set neither of them reaches.
**What it bounds, and what it leaves alone.** It bounds a statement of the named command's
**availability** — that it exists or does not, that it has shipped or has yet to, which of its
verbs are implemented. It does **not** reach naming the command, saying whether this verb runs
it, or citing a convention that command ships and attributing it: those are this file's own
subject, and each is checkable against the cited file rather than going stale behind it.
**This binds every verb, present and future, which is why it is here.** Naming a sibling command
is not a class one slice owns: **more than one verb of this revision already names one**, and a
rule written inside any one of them would leave every other verb free to re-acquire the habit.
9. **A write outside `trips/<slug>/` is bounded by the target's class, derived, and never by a list
of verbs. This is a widening of rule 5 and is stated as one.** Rule 5 states this command's bound
for **trip content**, and it holds unchanged for every byte under `trips/<slug>/`. As a universal
over *all* writes it goes false the moment any verb of this command writes elsewhere, so the
out-of-trip bound is stated here as the rule that **derives** the permitted target rather than as
the single location rule 5 named.
**The permitted target class.** A path outside `trips/<slug>/` is a permitted target only where
it is **a durable record of one person, selected by an id the operator supplied** — never by a
display name, never by a search, and never by any match this command computed. That derivation is
the whole of the class. A later slice widens by **satisfying** it, not by editing this rule, which
is what keeps the class from becoming an enumeration that every author appends their own verb to.
**A write to a member of that class is taken on exactly these conditions, all of which must
hold:** **(a)** the verb's own section names the exact target path; **(b)** the target was
selected by the id rule above and by nothing else; **(c)** the write changes **one named field**
and **creates no file, deletes no file, and removes no field**; **(d)** the operator confirmed
against an **echoed outgoing → incoming pair** for that one field; and **(e)** the value written
already exists in this trip, so the write **moves** a value and authors none.
**What (c)'s three negatives are for.** They are what makes this narrow rather than rule-6-shaped:
rule 6 delegates *whether* to the verb's own section, and this rule delegates only *which path*,
fixing the operation class here. Record creation, merge and erasure each fail at least one of
them, so **none takes any licence from this rule.** A later slice implementing one appends its
own numbered rule under the Extension rule below, deriving its operation class the way this rule
derives its target class; **until such a rule exists, no other write outside `trips/<slug>/` is
available to any verb of this command.**
It is here rather than inside one verb section because it binds every verb, present and future,
and the prohibition is the half that binds hardest: a bound written inside the one verb that first
needed it would protect that verb and leave the next slice to write the store with nothing to
satisfy. Rule 7 is the shipped precedent for a widening landing as an append and saying so.
10. **An erasure is the one write that may delete a durable person record and rewrite a trip, and it
is bounded by a receipt that is total over a fixed table — never by a list of the locations
someone remembered.
This is a second widening of rule 5, taken under the Extension rule below, and rule 9 is left
exactly as it stands.** Rule 9 derives a *target class* — one durable record, selected by an
operator-supplied id — and then fixes an *operation class* narrow enough that erasure fails it on
three counts at once: erasure deletes a file, it removes a field, and it changes far more than
one. Rule 9 says so by name and reserves this append for it. **This rule derives erasure's
operation class the way rule 9 derives its target class**, and takes rule 9's target derivation
unchanged: the subject is still one durable record, still selected by an id the operator supplied,
**never by a display name, never by a search, and never by any match this command computed.**
**The operation class.** A write is a permitted erasure write only where it is **the substitution
of one person's identifying values with a minted per-trip token, at a location named in the
verb's own reach table, on a trip that table's own discovery step resolved** — plus a deletion
that table directs, of that person's record, of the traveller file the substitution supersedes,
or, under the trip directory, of a generated render, which is a sink and never a source, or of
the publish staging clone. **No other deletion is an erasure write.** **Substitution is the whole
of the mechanism; nothing here regenerates, recomposes or refreshes anything**, which is what
lets this rule reach an archived trip when nothing else may.
**A write under this rule is taken on exactly these conditions, all of which must hold:**
**(a)** the location is a row of the reach table in `## erase <person-id>` — a location absent
from that table is not reachable by omission, it is unreachable, and the receipt claims nothing
for it: the receipt is total over that table's rows and never over a location the table does
not list;
**(b)** every rewritten value is replaced by the minted token or by a declared non-value, and
**no location is emptied**; **(c)** the free-text pass is scoped to **one trip directory**, is
word-boundary and case-sensitive, and reaches no path outside it; **(d)** the operator confirmed
by typing the record's id at a terminal, with no flag and no non-interactive path; and
**(e)** every REACH row and every REPORT row of that table emits exactly one receipt row on
every run, the rows the run touched and the rows it could not alike, and an OUT row emits none
because the table states its reason instead — so a partial run is a run that says it was
partial, and a row goes unreported only by being declared OUT.
**What (b) and (e) are for, because they are what separate this from rule 9's shape.** Rule 9
forbids removal outright, which is right for a verb that moves one field and wrong for one whose
subject is removal; **(b)** replaces that prohibition with the property it was protecting — that
no location ends up holding *nothing*, because an emptied constraint roster is a plan that grades
compliant while no longer carrying the need it was built around. And **(e)** replaces rule 9's
per-field echo, which cannot be offered here: the echo would be the erased value. **Totality over
a declared table is the only confirmation shape available to an operation forbidden to name what
it removed.**
**Against rule 2 this rule is an exception, not a widening, and it is stated as one:** every
write it makes to existing trip content — its substitutions and its deletion of the traveller
file they supersede among them — is an overwrite or a deletion that rule 2 forbids, admitted by
this rule rather than by its confirmation, because an erasure's whole subject is the removal a
person asked for, so the verbatim echo `group` gives a removed row — which `ADR-012` inverts for
this operation, since here it would copy the erased values into the transcript — cannot be
offered, and the receipt this rule makes total stands where that echo would, as it already
stands where rule 9's echo would.
It is here rather than inside the verb section because the prohibition half binds every verb:
**no other verb of this command may write a location this table names on the ground that erasure
already reaches it** — a warrant is a rule of this clause deriving that verb's own target and
operation class, and erasure's reach is never one. A bound written inside `erase` would leave the
next slice free to reach the same bytes by another route.
**The clause above was narrowed, in place, by the slice that added a reach row for a store five
other verbs already write.** As first written it read *no other verb of this command may write a
location this table names*, full stop, which was true while every row of the table named trip
content or the person store — the two surfaces no other verb reaches. It stopped being true the
moment the table named a store whose own verbs write it under a rule of their own, and § *The
repair extension point* obliges the falsifying slice to repair the clause in the same act. **What
it was protecting is preserved and is the half that matters:** erasure's reach is not a warrant
anyone else may borrow.
11. **A record creation is the one write that may bring a durable person record into existence from
values a filed source already holds, and it is bounded by a preview that is total over the source file's own answered set — never by a
list of the fields someone remembered. This is a third widening of rule 5, taken under the
Extension rule below, and rules 9 and 10 are left exactly as they stand.** Rule 9 derives a
*target class* — one durable record, selected by an operator-supplied id — and fixes an
*operation class* that creation fails on two counts: it creates a file, and it moves more than
one field. Rule 9 says so by name and reserves this append for it. **This rule derives
creation's operation class**, and it necessarily **replaces** rule 9's target derivation rather
than taking it, because **a record that does not yet exist has no id for the operator to
supply**: the target is a path that does not exist, under the resolved store root, whose stem is
an id this run minted and rejection-sampled against that store's own listing. **What rule 9's
derivation was protecting is preserved rather than dropped** — a minted id for a non-existent
path cannot select the wrong person's record, which is the hazard *"never by a display name,
never by a search, and never by any match this command computed"* exists to prevent. The one
place this rule compares a name is a **refusal**, and its bound is
`reference/schemas/person-record.md`'s own: the comparison refuses a *creation*, and no code
path runs from it to a write on the matched record.
**A write under this rule is taken on exactly these conditions, all of which must hold:**
**(a)** the target path does not exist, and the operation creates exactly one file and edits
exactly one existing line elsewhere; **(b)** the record's display name is the source file's own
answered `Name` field, read by the same parse and the same answered-ness predicate as every
other value this write copies — **never a title line, never a filename stem, never a roster row,
never an argument, never a search, and never any match this command computed**; **(c)** every
value written already exists in the source file, so the write **copies** values and authors
none; **(d)** the operator confirmed against a **preview total over the source's answered
fields** — every answered field appears in exactly one of MOVES / STAYS / NOT-MOVED / REFUSED,
and a field absent from the preview is not unmoved by omission, it is **unreachable**;
**(e)** **no byte of the source file's body changes**, so the operation is recoverable by
discarding what it created; and **(f)** every **`slot`-scoped** value it copies is
**single-valued** — a `slot`-scoped label occurring twice makes the value a set, which
`reference/data-model.md` § *Determinism* **O3** types `MALFORMED-SLOT` and forbids resolving
*"never first-wins, never last-wins"*.
**What (c) through (f) are for.** **(c)** says **copies**, deliberately and not by inheritance:
rule 9(e) says *moves* because there the trip value genuinely leaves as the record's is
overwritten, and borrowing that word here would put one word of this rule arguing for the branch
this rule exists to forbid. **(d)** replaces rule 9's per-field echo, which is unreadable at N
fields — totality over the source's own answered set is the only confirmation shape available to
an operation that copies a set rather than a field, and it is rule 10(e)'s principle at the other
end of the operation. **(e)** is what separates this from every prior widening: rule 9's write is
one field and rule 10's is a substitution, and neither could offer a recovery. **(f)** is
**scoped to `slot` and the scope is the whole of it**: `reference/data-model.md` § *Field Scope*
states that a `block`-scoped label belongs to a repeated block and *"repetition is user data, not
a defect"*, and its `MALFORMED-SLOT` row names a **slot-scoped** label occurring twice. An
unscoped version of this clause reads a person's second need as a malformed value and refuses the
extraction — which is the population this verb exists to serve, not an edge of it.
**This rule admits no deletion, and the omission is stated because a reader will look for one.**
Rule 10's sentence that an erasure is *the one write that may delete a durable person record* is
a property of this command rather than of that verb, so a second such write here would falsify it
— and § *The repair extension point* would then oblige this slice to repair a Zone A sentence its
own edit had made untrue. **A creation that writes its record and then cannot write the
reference leaves that record behind**, and the remedy is the receipt plus the operator's hand:
the receipt names the orphan by path and by id, and the undo is stated in order — the
reference-bearing line first where one was written, then the record. **The order is the whole of
the remedy**: reversed, the trip holds a well-formed reference resolving to nothing, which
`reference/data-model.md` types a defect and which no verb of this command may author.
It is here rather than inside one verb section because the prohibition half binds every verb:
**no other verb of this command may create a file under the durable person store**, on the ground
that a creation verb already does. A bound written inside the one verb that first needed it would
protect that verb and leave the next slice to create a second record with nothing to satisfy.
12. **A write to a store of references is bounded by the target's class and by the emptiness of what
it may hold, and never by a list of verbs. This is a fourth widening of rule 5, taken under the
Extension rule below, and rules 9, 10 and 11 are left exactly as they stand.** Rule 9 derives a
target class — **one durable record of one person** — and every verb reaching a store whose
records are about no single person fails that derivation at its first clause, whatever its
operation. Rule 9 says so in terms: *until such a rule exists, no other write outside
`trips/<slug>/` is available to any verb of this command.* This rule is that one.
**The target class.** A path outside `trips/<slug>/` is a permitted target under this rule only
where it is **a record whose entire content is a display name and a set of ids referring to
records of the classes above** — never a record holding a value about any person, and never a
path selected by a display name, a search, or any match this command computed. **The emptiness is
the whole of the class**: a store whose records could hold a person-scoped value is not reached
by this rule, because the confirmation shapes below are calibrated to a set of references and
would be the wrong gate for a set of answers.
**The operation class.** Creation, membership change and deletion of one such record, and
nothing else. **A write under this rule is taken on exactly these conditions, all of which must
hold:** **(a)** the verb's own section names the exact target path, and that path is under the
resolved store root for a class § 1.1 declares; **(b)** the record is selected by an id the
operator supplied, or — on the creation branch alone, where no id can yet exist — is a path that
does not exist whose stem is an id this run minted and rejection-sampled against that store's own
listing; **(c)** every value written is **either an id the operator supplied or the name they
typed**, so the write **authors nothing about anybody** — this is what replaces rule 9(e)'s
*moves a value* and rule 11(c)'s *copies values*, neither of which describes a write that carries
no person's answer at all; **(d)** an entry the write **removes is echoed verbatim before it
goes**, and a whole record the write removes is confirmed against **its display name and its
member count** — never against a typed-back id, for the reason stated below; and **(e)** the
write reaches **exactly one file**, and it reaches **no path under any store of durable person
records** — a verb of this class may **read** such a record to resolve a name for display, and
may write none.
**What (d)'s asymmetry with rule 10 is for, because a reader will ask why deletion here is
cheaper.** Rule 10's typed-back id guards an operation that destroys **a person's durable record
and cannot be undone**. This rule's deletion destroys **a set of references the operator can
rebuild** — a name and a list of ids, every one of which still exists. Flattening the two would
erode the distinction erase works to preserve, which is that *the render says which one is
running before anything is written*; giving this operation erase's ceremony would teach the
operator that the two are the same weight, which is the misreading the ceremony exists to
prevent. **Irreversible is not irrecoverable, and (d) is where this rule says so.**
**What (e)'s second half is for.** It is the prohibition half, and it is why this rule is here
rather than inside one verb section: **no verb reaching a reference store may write a durable
person record, on the ground that this rule reaches neither.** A bound written inside the first
verb that needed it would leave the next slice's verbs free to reach the person store by another
route, which is the failure rules 9, 10 and 11 each name in their own closing paragraph.
13. **An erasure's reach into a store of references is the removal of an entry, never a substitution,
and it is bounded by the same receipt rule 10 is bounded by. This is a fifth widening of rule 5,
taken under the Extension rule below, and rules 9, 10, 11 and 12 are left exactly as they stand.**
It exists because **rule 10 and rule 12 each fail this write on their own terms**, and saying
which terms is what keeps this from reading as a rule invented to license a verb.
**Why rule 10 does not carry it.** Rule 10's operation class is *the substitution of one person's
identifying values with a minted per-trip token*, and its condition **(b)** requires every
rewritten value to become that token or a declared non-value with **no location emptied**. This
write is a **removal**, and a per-trip token written into a cross-trip store would be the stable
cross-trip pseudonym the mint exists to prevent — so the one shape (b) admits is the one shape
this write must not take.
**Why rule 12 does not carry it.** Rule 12(b) requires the record to be selected by an id the
operator supplied; here the records are found by **scanning the store for the subject's id**, and
the operator supplied a person id rather than a group one. Rule 12(e) requires the write to reach
exactly one file; an erasure may reach every record the subject belongs to.
**The target class.** An entry in a record of the class rule 12 derives — a display name and a set
of ids — **where the entry is one of those ids and the id is the subject of an erasure this run
resolved**, or a `merged-into:` stub id that redirects to it, taken from the set the verb's own
discovery step already computed. **The subject is never selected by a display name, never by a
search over names, and never by any match this command computed.**
**The operation class.** Removal of that entry, and nothing else: **no value is written, no record
is created, and no record is deleted** — a record left holding no entries is left standing.
**A write under this rule is taken on exactly these conditions, all of which must hold:**
**(a)** the location is a row of the reach table in `## erase <person-id>`, and the receipt is
total over that table exactly as rule 10 requires — this rule adds a **row**, never a second
receipt; **(b)** the entry removed is matched **whole, against an anchored line, by id**, never by
a display name and never as a substring; **(c)** **no location is emptied** is **replaced** here
by *no location is destroyed* — a set whose length is variable by construction has an empty
member as a **valid state**, which is precisely what a constraint roster does not, and that
difference is the whole of why rule 10(b)'s clause cannot simply be inherited; **(d)** a removal
that leaves a record with no entries or with one **is reported with the record's id and its new
count**, so the operator learns of a state they did not choose rather than discovering it later;
and **(e)** **no record of this class is deleted by this rule at any count, including zero** —
deleting a group because its last member was erased would destroy a name and a structure the
operator authored, as a side effect of an unrelated person's request.
**What (e) is for, because a reader will think zero is a special case.** It is the prohibition
half, and it binds every verb: **no verb of this command may delete a record of this class on the
ground that an erasure emptied it.** Deletion of such a record is rule 12's, on an operator's
explicit act, confirmed against a name and a count. A bound written inside `erase` would leave the
next slice free to add the tidy-up nobody asked for.
14. **An act on a verb the operator did not type runs only after a confirmation that names the verb
and its target, answered before the act.** The verb is the token in this file's requirement
table. The target is the operand that verb's own `## <verb> <signature>` heading declares and,
where it declares none, the trip `E1` resolved. Inference may reach such a verb, may name it and
may prepare it; it may not act on its own selection. Where a verb's own section already states a
confirmation shape — an echoed outgoing-to-incoming pair, a preview over a source's own answered
set, a typed identifier, a display name beside a member count — that shape stands unchanged and
this rule is added beneath it, never substituted for it. **A verb is outside this rule where its
own `**Reads:**` block declares each of three things: that it writes nothing, that it dispatches
no agent, and that it performs no act whose effect lands outside the trip's own files.** That is
the inference line `reference/adr/ADR-007-command-entry-point.md` § 1 draws, read here rather
than restated; a block declaring none of the three leaves its verb inside this rule, because a
property nobody has declared is not one this rule may assume. **This rule is followed, not
enforced.** No frontmatter key expresses a boundary finer than the file, the tool lists are
turn-scoped and gate tools rather than acts, and no arrangement of them makes a confirmation
happen — so the strength here is the strength of a rule, which is what § 1's amendment states
and is the whole of what this file claims. A confirmation is what an inferred selection needs
**before** an act the bounds already permit. It is never what makes an act they forbid
available: it admits no `ALLOW_PLAINTEXT`, no `--yes` to `unpublish`, and no overwrite or
deletion of existing trip content, each of which rules 1 and 2 above and `ADR-007` § 2 forbid
unconditionally.
15. **An interview's write into a durable person record is bounded by the form it conducts and by
what its subject says, and never by a list of verbs. This is a further widening of rule 5,
taken under the Extension rule below, and every rule above is left exactly as it stands.** Rule
9's operation class moves a value that already exists in this trip, and rule 11's copies values
a filed source already holds. An interview writes answers that exist nowhere until its subject
says them, so it fails rule 9 at its conditions (c) and (e) and rule 11 at its condition (c),
and rule 9 makes no such write available until a rule of its own derives it.
**The target class.** A path outside `trips/<slug>/` is a permitted target under this rule only
where it is **the durable record of the person whose own form the session is conducting**, at
the path `## interview <form> [<target>]` resolves for a store-rooted form, and nowhere else. On
the resume branch it is selected by an id the operator supplied — never by a display name,
never by a search, and never by any match this command computed — and a record carrying
`merged-into:` is never a target. On the creation branch, where no id can yet exist, it is a
path that does not exist whose stem is an id this run minted and rejection-sampled against the
store's own listing, derived exactly as rule 11 derives its own. The display name is compared
only to **refuse** a creation, by the store's own normalization, and no code path runs from that
comparison to a write on the matched record.
**The operation class.** The creation of the record, written whole before any question is
asked, and then writes that each carry an answer. **A write under this rule is taken on exactly
these conditions, all of which must hold:** **(a)** the verb's own section names the exact
target path; **(b)** a creation is taken only with its subject present and answering for
themselves, established before anything is written by asking the operator, and never from how
the request is worded; **(c)** every value written is taken from the subject's
own words in that turn, adding none, or is the un-answer those words chose — the em dash, or a
word the form itself declares in its place — so the write **records** and authors nothing, and
a value the operator relays rather than the subject saying it carries the operator-provided mark
and is written only where the record's class admits that mark; **(d)** a value being replaced
is **echoed verbatim before it goes**, and the field's current line is read again in the same
turn as its write, the file prevailing over what the session remembers; **(e)** the write
changes the lines of one field, or of one repeat unit whole, and nothing else — it creates no
second file, and it removes nothing but a repeat unit its subject asked to have taken out,
echoed verbatim first; and **(f)** the record written is the one the session's own form
produces — an answer that belongs on another form is named there, and never carried across.
**What (b), (c) and (e) are for.** **(b)** keeps the store's own exclusion — no record for a
person who did not ask for one — true by construction at the one surface that can create a
record from a conversation. **(c)** is the store's own write rule held at that surface: every
value originates from the person, a relayed value says so, and nothing is composed, inferred,
summarised or promoted into a record. **(e)** keeps rule 10's erasure the one write that deletes
a record: an interview removes at most a repeat unit its subject names, and never a record.
It is here rather than inside that verb's section because the prohibition half binds every
verb: **no other verb of this command may record a person's spoken answer in a durable record,
or create a record, on the ground that an interview does.** A bound written inside the one verb
that first needed it would leave the next slice free to record answers in the store with nothing
to satisfy.
16. **An erasure whose subject holds no record is bounded by the one trip that holds their record,
and by the receipt rule 10 is bounded by. Against rule 2 it is an exception, not a widening,
taken under the Extension rule below; rule 5 is unchanged, and every rule above is left exactly
as it stands.** Rule 10's subject is one durable record selected by an id the operator supplied.
A party member recorded through `## person <name>` holds no such record: their one record is
their carried entry in one trip's `outputs/traveler-model.md`, which has no id, and
`reference/adr/ADR-012-people-library.md` § 6b refuses it any identifier that could link them
across trips. So rule 10 fails this write at its target class and at its condition (d), and this
rule derives both.
**The target class.** One entry of the resolved trip's derived model carrying both
`[OPERATOR-PROVIDED]` and `[THIRD-PARTY]` and not `[ERASED]`, selected by its place among that
file's person entries, which the operator supplied — **never by a display name, never by a
search, and never by any match this command computed.**
**The operation class.** Rule 10's, on that one trip and no other: the substitution of that
member's name with a token minted for that trip, at a location named in the reach table in
`## erase <person-id>`, plus the deletions that table directs on that trip. Every such write
lands under `trips/<slug>/`, which is why rule 5 needs no widening. Each substitution and
deletion is an overwrite or a deletion rule 2 forbids, admitted by this rule on the ground rule
10 gives for its own, and the receipt stands where an echo would.
**A write under this rule is taken on exactly rule 10's conditions (a), (b), (c) and (e)**, and
on this one in place of (d): the operator confirmed by typing the trip's slug at a terminal,
after a prompt naming the entry, with no flag and no non-interactive path.
**What it binds every verb to, which is why it is here:** no verb of this command may end,
re-key or rewrite such an entry on the ground that an erasure could reach it. The withdrawal
`## person` carries stays a reconcile's exit, and this rule's substitution is the only erasure
of such an entry.
17. **A run nobody can answer writes only what its verb writes without asking.** A run is
non-interactive where no later message can reach the session: print mode, or a scheduled task.
An answer arrives only in a later message, and `allowed-tools` clears when one does
(`reference/adr/ADR-007-command-entry-point.md` § *Context*). So where a verb's section reaches
a write without asking anything, the write runs in this turn, under this turn's grants, because
typing the verb is what asked for it. Where the section asks first — a question, a choice of
routes, a confirmation, a typed token — the verb stops there: it names what it would have asked,
writes nothing past that point, and takes no default, no assumed answer and no flag in the
answer's place. What it wrote before that point stands, and it says so. A write the harness
denies is relayed as a denial and never reported as done. **A session need not recognise print
mode for this to hold**, because a question nobody answers writes nothing either way, and a
verb's own non-interactive row stands, and stops no later than this rule would.
`reference/adr/ADR-051-a-verb-runs-until-it-asks.md` records the decision; this rule is its
operative statement. **This rule is followed, not enforced.**
18. **Dispatching a role that writes more than one file is stated as a widening of rule 6, and
rule 6 is left exactly as it stands.** Where the role a verb dispatches writes more than one file,
the verb's own section names the agent, its role and every file that role writes, on the same
line; a write the section does not name is out of scope exactly as rule 6 makes it. The role's
reads, a read that precedes a replacing write among them, are declared where § *What the blocks
above are* already requires them: in the dispatching verb's own section. **It binds every verb,
present and future,** because the write set belongs to the role and every verb that dispatches the
role meets it: in this revision the enrichment agent's reconciler role writes the traveller model
and the presence file, and more than one verb of this revision dispatches that role.
19. **An erasure whose subject holds no record and filed no profile takes rule 16's path. This is a
widening of rule 16, taken under the Extension rule below, and every rule above is left exactly
as it stands.** A rostered traveller whose needs the operator relayed before they filed holds no
record either: their entry carries `[OPERATOR-PROVIDED]` alone, or is the `PROFILE MISSING` entry
a rebuild leaves once it drops those needs. No `<person-id>` names them, so rule 10 fails them as
it fails rule 16's subject, and rule 16's target class, one both-marks entry, does not reach them.
**The target class.** One entry of the resolved trip's derived model, not `[ERASED]`, carrying
`[OPERATOR-PROVIDED]` alone or the `PROFILE MISSING` marker, whose roster row no traveller file
joins but the intake template left unfilled, and none carrying `person:` — selected by its place
among that file's person entries, which the operator supplied, **never by a display name, never
by a search, and never by any match this command computed** — on a trip where every file under
`travelers/` joins a roster row and no other roster row shares the entry's key. Where either fails,
the run is refused and writes nothing, naming each such file by its role and each such row by its
place, never by a name: an unjoined file may be this traveller's, and only the operator can say
it is not.
**The operation class and the conditions are rule 16's**, on that one trip and no other, with the
subject's name read from the roster cell their row joins, which is that name's authority.
**What it binds every verb to, which is why it is here:** no verb of this command may end,
re-key or rewrite such an entry, or the row it projects, on the ground that an erasure could
reach it.
20. **A field of a written profile is read under its current label or under one of its former
labels, and no label is rewritten.** A traveller file or a person record written before a field
was reworded still carries the label it was written under, and `reference/data-model.md` § *Former labels* declares each reworded field's former labels and is where that reading is decided. A verb
that reads a profile's field by its label reads it under any of those spellings, and a `slot`
field answered under more than one of its spellings occurs more than once, so it is
`MALFORMED-SLOT` exactly as a label standing twice is. A verb that writes a value into a line
that exists keeps that line's label as written; a line it creates takes the field's current
label. **It binds every verb, present and future,** because every verb that reads a written
profile meets one written before a reword, and no verb's own section need restate it.
21. **Recomputing a `[DERIVED]` block's lines in the act that records one of their declared inputs
is rule 2's fourth admitted shape, and it is stated as a widening of rule 2; rule 7, the earlier
widening of rule 2, is left exactly as it stands.** Where a verb writes a value the template
declares as an input of a `[DERIVED]` block that `CLAUDE.md` § *Write ownership* assigns to this
command, the same act recomputes, by the derivation the template states and no other and from
the inputs as they stand after the write, **only the lines of that block whose declared inputs
include a value this act changed**; it never rewrites a line on account of an input it did not
change, whatever that line holds. A recomputed line takes its bracketed placeholder (rule 3)
only where an input this act changed cannot be read in the shape the template declares; where an
unchanged input of that line cannot be so read, the line is left byte-identical and the verb
says it could not recompute it, naming that input's label. Nothing is parsed out of undeclared
prose and nothing is estimated. Before writing, the verb echoes every line it replaces, outgoing
then incoming — `ADR-007` § 2 bound 5's *say before writing what will not survive*. **A
`[DERIVED]` block is a derived artifact in that bound's sense:** each of its lines is computed
from declared inputs held in the same file, holds no independent state and can be recomputed
from them at any time, which is the property `derived` provenance names, and the echo preserves
what a replaced line held. **Its extent is its derived lines** — the bullet lines the template
declares beneath the block's heading — and never the heading, its tag or the blockquote prose
above those lines. It reads the blocks holding the declared inputs and no others. A statement
about the derived block's own values is recorded as the input it derives from. **It binds every
verb, present and future,** because its trigger is the input and not the verb: a rule placed in
`fact` would leave the next verb that records such an input without a tool.
**Extension rule.** A later slice may append a numbered rule **only** where it genuinely binds every
verb of this command, present and future, and must say in its own design that it did so and why. A
rule that binds only that slice's own verbs goes inside those verb sections. Both failure modes are
real — an all-verb rule added here rebinds every other author's verbs, and a rule buried in one verb
section protects only that verb — so the choice is stated rather than left to judgement. Nothing
else in this clause is a later slice's to change.
## Selecting the verb
Frozen. A literal lookup. Every step is lexical and the last has a terminal else-branch, which is
what separates a lookup from a classification.
1. Take `$ARGUMENTS` as a literal string.
2. Remove `--trip` together with the value that follows it, from wherever in the string it appears —
it is accepted in any position. `--trip` is a contract-level token: it is removed **before** the
verb is selected, it is passed to **no** verb, and it is **never** a path component. **A `--trip`
with no value after it is a malformed invocation** — say that `--trip` was given without a slug,
and stop. That refusal happens before the gate ladder runs, so it sets no `trip.resolution` and
no `trip.stop_gate`, and it asserts nothing about whether a trip exists, which trip is active, or
what mode it is in.
3. The verb is the first remaining whitespace-delimited token, ASCII-case-folded. **If no token
remains, no verb was typed** — go to § *When no verb was typed*.
4. Match that token by **exact string equality** against the `verb` column of the requirement table
in this file, read live from the block already in context. Not a prefix match, not a nearest
match, not a fuzzy match, not a substring match. A token matching no cell goes to § *When the
token is not a verb of this command*.
5. Everything after the verb token is that verb's argument string. Do not interpret it here.
Never infer the verb from the wording of the request, from the trip's mode, from which files exist,
or from anything other than the token step 3 produced.
**The set this command recognises and the set it implements are the same set**, read live from the
same rows of the requirement table above. So this file carries no *"recognised but this revision
does not implement it"* branch — that branch has nothing to select — and a later slice must not add
one. `ADR-007` §3 fixes the direction: to add or change a request type, add or change the command
first. This command owning its own verb set is that stated dependency direction.
**The refusal branches are four, and they are four different renders:** the `--trip`-without-a-value
refusal in step 2 above; § *When no verb was typed*; § *When the token is not a verb of this
command*; and § *When the resolved state does not serve the verb*. Collapsing any two is a defect,
and there is no fifth.
## When no verb was typed
Frozen. **One change has been made under this freeze, and it is recorded here rather than folded
in:** the sentence naming the engine's guided-entry surface was added by an operator decision that
lifted the freeze for that clause alone and was taken as a decision in its own right. The freeze
stands for everything else in this section, which is not a later slice's to edit.
`/trip-record` on its own is **not** a default; it is a refusal. Say that no verb was given,
print the verbs of this command read live from this file's own requirement table, add one sentence
naming the engine's guided-entry surface at its root — the surface that takes a request in ordinary
words and answers with the verb that serves it, naming a verb and running none — and stop. Name no
verb in that sentence. Select no verb, and do not fall back to one.
`/trip` defaults a bare invocation to `status` because `status` is read-only. **This command declares
no default at all, and the ground for that is a rule rather than a property of its verb set: which of
its verbs write is read from each verb's own section and never enumerated here, so a bare invocation
names nothing this refusal could safely select — and a write command never picks a write for you.**
This refusal happens before the gate ladder runs, so it sets no `trip.resolution` and no
`trip.stop_gate`, and it asserts nothing about whether a trip exists, which trip is active, or what
mode it is in.
## When the token is not a verb of this command
Frozen. **One change has been made under this freeze, and it is recorded here rather than folded
in:** item 4 below — the sentence naming the engine's guided-entry surface — was added by an
operator decision that lifted the freeze for that item alone and was taken as a decision in its own
right, which is also why this render's arity reads four rather than three. The freeze stands for
everything else in this section, which is not a later slice's to edit.
Render exactly four things and nothing else:
1. The token, verbatim, as the user typed it.
2. The verbs of this command, read live from this file's own requirement table — not from a list
written into this file.
3. One sentence stating that that table is the whole of this command's verb set at this revision.
4. One sentence naming the engine's guided-entry surface at its root — the surface that takes a
request in ordinary words and answers with the verb that serves it — and saying that it names a
verb and runs none. Name no verb in that sentence.
Then stop. Do not guess. **Do not offer a near-match suggestion — no "did you mean"** — a suggestion
is a classification with an extra step and a reflexive accept, on the least-inspected path in this
file. Do not fall back to any other verb of this command, and do not infer a verb from the wording
of the request.
This refusal happens before the gate ladder runs, so it sets no `trip.resolution` and no
`trip.stop_gate`: those are outputs of a ladder that did not run, and giving this refusal a gate id
would widen the contract's field set. Say nothing about whether a trip exists, which trip is active,
or what mode it is in.
## When the resolved state does not serve the verb
Frozen. This is the G7 render. It happens after the ladder has run, so it carries
`trip.stop_gate: G7`.
- **`REDIRECT`** — name the command that does serve the request, and stop.
- **`REFUSE`** — name why the resolved state does not serve the verb, taking the reason from that
verb's own row of the requirement table, and stop.
**The reason is derived from the resolved verb's own row, and never from a universal over the
table.** Read that row live; the cell whose declared value the resolved record does not satisfy
**is** the reason, and the render names that cell, the value the row declares and the value the
ladder resolved. Nothing here states what every row of the table happens to declare: that is a
closed enumeration of a set the requirement table's own extension point grows, and it is false the
first time a slice appends a row § *The shape of a table row* already admits — a `lifecycle` naming
`ANY` or `ARCHIVED`, or a `mode` or `destination` cell naming values. Where the unsatisfied cell is
`lifecycle`, the render says the trip is archived and names `/trip-decommission`.
## profile <name>
**Reads:** `trips/<slug>/travelers/` — the **directory-presence probe**, taken with `Read` on the directory path itself and read only to establish whether the directory is there, which § *What the blocks above are* names as a read and requires declared; `trips/<slug>/travelers/*.md` — **the entry names alone, no file opened**, the denominator of the collision check below, named separately from the probe above because the read-scope ceiling names a glob by its directory *and* its selector and because a stem is not what a presence probe consumes; `trips/<slug>/travelers/<file>.md` — the file-existence probe that selects create from edit, the outgoing content on the edit route, **the whole file when an interview resumes over it**, because what it already answers is the resumption state, and its own `intake-form` block, compared with the form's before anything is asked, **each field's current line again in the same turn as that field is written**, because the file prevails over what the session remembers, **the whole file when a returned block is merged into it**, for which of its fields and units are answered, declined or still bracketed and which labels it holds, **this file's frontmatter for the `person:` key** and **its body's labelled bullets**, the last two for the edit route's step-5 screen and for nothing else — named separately because purpose is the granularity this ceiling is stated at, and because `## extract` declares those same two reads of this same path; `templates/traveler-intake.template.md` — the copy source of the seed routes 1 and 2 both write, and route 3's return writes where the path is absent, and, on route 1 and whenever an existing profile resumes, the form `## interview <form> [<target>]` conducts — its frontmatter, its `intake-form` block, everything above its boundary and its per-section ask-prose block, exactly as that section declares for the traveller file, cited rather than re-derived; `reference/data-architecture.md` — § 3.2, read at invocation for the canonical traveler key the collision check normalizes with, cited live rather than copied so that the trip side and the store side hold **one** identity relation between them; `reference/data-model.md` § *Field Scope* → *The classification* and § *`ANSWERED()`* — class and answered-ness, read live at invocation and **never re-authored here**, for the **cardinality alone** of the edit route's step-5 extraction set; it is the same live read `## extract` declares and it is declared for the same reason, that a second implementation of either predicate would be a second source of truth for what a field is; and, for the interview this verb runs inline, `skills/trip-record/interview-conduct.md` — the conduct it follows, read whole before the first question — the same section's § *The denominator*, the classification's `Scope` and never-asked rows, § *The interview's read of an unstated value*, and `reference/schemas/traveler-profile.md`, for where the traveller class admits the operator-provided mark — the reads `## interview <form> [<target>]` declares, cited rather than re-derived; and, when a block route 3 sent out comes back, the template's `intake-form` block and every label above its boundary, which that block is compared with before any of it is written, and the classification's `Scope` and never-asked rows, which tell a repeat unit's labels and the fields the merge never writes. Does not read `trip-context.md`, in either direction. **Takes one `Bash(ls:*)` call**, for the collision check's entry names — `ls -1 "<data-root>/trips/<slug>/travelers"`, issued in this section's body once check 1 has observed the directory; it returns the names and opens no file. The listing block lists `trips/` — the parent — so it observes that this trip exists and nothing about what is inside it. **Dispatches no agent.** **Non-interactive: the standing clause's *run nobody can answer*.**
The traveler-document verb. It creates a profile that does not exist and edits or resumes one that does, and
the branch is selected by a probe rather than by a tool grant.
**Filename.** Reuse the transform `/trip-new` already applies to the roster's `Traveler file` cell,
verbatim, and invent no second rule: lowercase the name, replace every run of characters outside
`A-Za-z0-9._-` with a single `-`, then trim leading and trailing `-`. The output is a single path
segment by construction, because that charset excludes `/` and `\`. The `Person` name is carried
**verbatim**; only the filename is transformed. **An empty result is refused** — say which name
needs a filename, and stop.
**Three checks, in this order, and the order is the whole of the control.**
**1 — The directory-presence probe, and it runs first.** `Read` `trips/<slug>/travelers/`. **Absent
→ stop**, say so, and name `/trip-new <slug>`, whose Resume branch is the declared repair path for a
trip scaffolded before that directory was part of the scaffold. No directory-creating grant is taken
and this verb creates no directory.
**2 — The collision check, and it runs before the file probe because the file probe is what it
defeats.** The predicate is the **canonical traveler key** of `reference/data-architecture.md`
§ 3.2, **read live from that section and never re-authored here** — a second implementation of it
would be a second source of truth for who is who, and the two would drift with nothing arbitrating.
Compute that key over the stems of `trips/<slug>/travelers/*.md` — the `.md` entry names returned
by the listing this section takes here as a tool call, `ls -1 "<data-root>/trips/<slug>/travelers"`,
each less its extension — and over the `<name>` this invocation was given; the check fires where a
stem's key equals the name's. Reading **stems** rather than the files is sound by § 3.2's own
filename-correspondence rule, which requires a stem's key to equal its entry's key, and it is what
keeps this check on paths and out of profile content. **A listing that cannot be taken stops the
verb** as an absent directory does — say which listing, and write nothing.
**The predicate is not the filename, and that is the whole reason this check exists.** The filename
transform above replaces a run of out-of-charset characters with a single `-`; § 3.2's key
**removes** every non-`[a-z0-9]` character. They are not the same partition. `Alex Smith` and
`AlexSmith` produce **two different filenames and one key** — so a file-existence probe sees two
unrelated paths, takes the create branch on both, and § 3.2's *"uniqueness is asserted over this
key"* is violated with nothing having overwritten anything. A collision check written on the
filename passes on exactly the cases the publish guard's own key already fails on.
**The remedy is two branches, and the absence of a third is load-bearing.**
| The key already present belongs to | What happens |
|---|---|
| **the same traveler** — including a pure casing or punctuation variant of a name already here | continue to the **edit** route on the existing file. Nothing is created, nothing is renamed, and this is not a refusal |
| **a different person who shares the name** | **stop.** State the collision, name the existing file whose stem holds the key, and ask the operator to disambiguate the display name — which changes the key. **This verb never mints a suffix**, and § 3.2 says why: *"a minted suffix is a surrogate key wearing a natural key's clothes, and it would break the correspondence"* |
**There is no third branch, and it is stated because a reader who knows the store's remedy will look
for one.** `reference/schemas/person-record.md` admits *create anyway with the collision
acknowledged* as a third remedy on the durable store, and it can: that store's key is a
**surrogate**, so two records sharing a display name still carry two ids and co-exist safely. Here
the key is **natural** — § 3.2 asserts uniqueness over it and types the same-name case as a hard
stop — so two live travelers under one key is not a state this verb may reach, and the branch that
would reach it is absent rather than merely unmentioned.
**It never resolves the collision itself and it never silently overwrites.** The verb states the
collision and stops for the operator. **Similarity is computed nowhere**: the predicate is exact
equality after § 3.2's normalization, never a distance and never a fuzzy match, and **no near-match
is offered** — the posture § *When the token is not a verb of this command* already takes, for the
same reason, on the same shape of guess.
**3 — The file-existence probe, reached only once the directory is observed present and the
collision check has passed.** `Read` `trips/<slug>/travelers/<file>.md`. Readable → **edit**. Not
readable → **create**. This probe is the control that makes standing rule 2 operative, and it is the
**whole** of that control: what the frontmatter does at runtime is the settled question § *The
frontmatter above* records, and nothing here rests on it either way.
**The precedence, stated rather than left to the order of the paragraphs.** **An absent directory
wins over whatever either check below it would have said**, and neither the collision check nor the
file probe is consulted at all until the directory is observed present. It is stated because the two
conditions are **indistinguishable in the file probe's outcome**: a readable directory holding no
such file and an absent directory both make `trips/<slug>/travelers/<file>.md` unreadable, so a file
probe that ran first would read a missing scaffold as *not readable*, take the **create** branch, and
reach `Write` — creating the directory this verb has no grant to create, on the one path the design
rejected. Running the directory probe second, or naming the branch without ordering it, is that
same defect written in a different order.
**The collision check's precedence has the same shape and the same cause, one layer in.** A key
already held and a file already present are likewise indistinguishable in the file probe's outcome
on the case that matters: two display names normalizing to one key produce two different paths, so
the file probe reports *not readable*, takes the **create** branch, and writes a second file under a
key § 3.2 permits only one of — the silent overwrite this check exists to stop, reached by the very
probe that looks like it is guarding against it. Running the collision check after the file probe,
or naming the branches without ordering them, is that same defect written in a different order.
**Create — three routes, offered in this order. The order is the corpus's and none may be dropped.**
1. **Walk through it here.** Write the seed exactly as route 2 does, then conduct the interview over
it, inline and in this verb's own turn, by `## interview <form> [<target>]`'s rules for the
traveller file — cited, never restated, and **dispatching nothing**. Each answer is written as it
is settled — a field when it is answered, a repeat unit when it is complete — so a session left
part-way is resumed by running this verb again. About two to three minutes for the starred
fields. **Only the content above the line-initial
`# END OF PROFILE` heading is the profile** — the guide below it is instructions for whoever is
helping, never content. Match that heading **line-initially**: the form contract guarantees it
line-initially exactly once (`ADR-023` D2.6, question 2), and a substring match could take a
mention of it anywhere else.
2. **Fill it in themselves.** `Read` the template and `Write` it to the path as the template ships it,
with the substitution the template itself asks for: `<trip-slug>` in the frontmatter becomes
`trip.slug`, exactly as `E1` spelled it (`ADR-022` D2.5). Nothing else changes — questions,
brackets and the guide below the boundary included. **This write is the seed route 1 begins
with.** Then tell them the path and the end-of-profile rule. A file of unfilled placeholders is a legitimate state, and
the enrichment agent's blank-profile branch handles it exactly as it handles a missing one.
3. **Send it to someone who is not here.** Send them three files: the form, the worked profile
`examples/people-library-demo/travelers/noor.md` and the portable interview card,
`templates/interview-card.md`. They paste the form and the card into any assistant with the one
line the form gives them, and send back the block it returns. **The set works without this
repository, and this is why:** the form holds the questions and their hints, the card holds how
to run the interview and what to give back, and the worked profile is the only filled-in
comparison they will get — and nothing in the set resolves into this repository. **No file is
created at hand-off.** The file appears when the block comes back and the operator hands it to
this verb, which seeds the path if it is absent and merges the block into it — *A returned
block* below. On a group trip this is how most travelers will do it, so **this route is never
dropped.**
**Edit or resume — an existing profile.**
**A named change edits; a returned block merges; anything else resumes.** Where a field is named
as changing, steps 2 to 4 are the whole of the write — `ADR-022` D2.3's one mechanism, the same
inside an interview and across sessions. Where the operator hands this verb a block route 3 sent
out, it is merged by *A returned block* below, and nothing else is written. Where neither, this
route resumes the interview inline by `## interview <form> [<target>]`'s rules, over the fields
the file still leaves un-asked or indeterminate, and takes each answer it writes by steps 3 and 4.
Step 5 follows each.
1. `Read` the file.
2. Name the field or fields that are changing, and **echo the outgoing value verbatim** before
writing.
3. `Edit` — only those field lines change. Every other byte is unchanged, and nothing below
`# END OF PROFILE` is touched.
4. Confirm the write.
5. **Name `/trip-record travelers`** as the reconcile step. Name it; **do not run it** — an agent
dispatch on a one-line change is heavier than the change, and both verbs live in this one command
rather than at the ends of a chain. **Where the file this route just edited carries no `person:`
key AND its MOVES set is non-empty, name `/trip-record extract` here too, in the same shape** —
name the capability and stop. **Both limbs are required, and the second is the one that costs
something.** The frontmatter limb is free — this route already has the file open — but it is not
sufficient, and its insufficiency is measured rather than argued: the post-split trip form asks
no `PERSON`- or `DEFAULT`-class question at all, so the MOVES set is empty **by construction** on
every file created from it, and such a file carries no `person:` key until it is linked. On the
frontmatter limb alone the naming therefore fires on exactly the population where the verb always
refuses — the modal file of every trip that has adopted the library — and its precision falls as
adoption grows. The second limb is `## extract`'s own partition, computed here for its
**cardinality alone**: class `PERSON` or `DEFAULT` and `ANSWERED()`, read live from
`reference/data-model.md` and **never re-authored here**. Together they are what make the naming
**state-appropriate**: a file that already references a record, and a file with nothing durable to
carry, both make that verb refuse, and a capability named where it refuses teaches the operator to
ignore the naming. **The naming is otherwise unconditional** — it names no field, echoes no value
and reports no count; the test is `> 0` and the cardinality is discarded, never rendered.
Discovery is handled once, non-field-specifically, at a moment the operator initiated, which is
the shape this file already sanctions by name; **this is the only place in this command where that
verb is named as an offer.**
**A returned block — route 3's return, seeded and then merged.** When the operator hands this verb
the block route 3's recipient sent back, the ordered checks above run as for any `<name>`, and the
block is taken in the three steps below, with nothing written before the first. **Where the block
carries an `intake-form` block of its own, it must name the `form:` and `form-version:` the form's
does**, or the return is refused, naming both, because it was filled from another form or contract
version; a block carrying none, or more than one, is refused as well, because the card returns
that block whole. **A block whose frontmatter `trip:` is not the form's `<trip-slug>` is named
before anything is written, and none of its em dashes is written without the operator's yes:** the
card returns that line as the form ships it, so a filled one marks a block the card did not
produce — one filled from an older copy of the form, whose own instructions em-dashed every field
nobody asked, or a saved profile sent back again.
- **Seed, where the path is absent.** Write the seed exactly as route 2 does — the form as it
ships, with `<trip-slug>` becoming `trip.slug` (`ADR-022` D2.5) — and take nothing of the block
into it. On either branch the block's frontmatter and its `intake-form` block are never written:
the seed wrote the file's own, and no later write touches them.
- **Merge, field by field, through steps 2 to 4.** A field is found by its `##` heading and its
label, and the title line and a section's unlabelled free-text line by their place. A field the
block answers or em-dashes, where that differs from the file's current line, has its current line
echoed verbatim and is then written under standing rule 2's second condition. **A field the block
em-dashes is written only where the file still leaves it un-asked or indeterminate;** where the
file answers it, its answer stands, and the field is named in the report. **A field the block
leaves bracketed is never written**, and neither is a field the classification says is never
asked. A run of `block`-scoped labels the form repeats under one heading is a repeat unit, merged
whole or not at all, as the interview writes one (`ADR-022` D2.2). A unit the block leaves wholly
bracketed is not written. One it leaves partly bracketed — a label the interview asks still
bracketed beside one answered or em-dashed — is named, and nothing of it is written. Any other
unit goes into the first unit under that heading the file still leaves wholly bracketed, its
current lines echoed and the unit then written in place under standing rule 2's second
condition, or, where none is left, is appended whole under standing rule 7 — except that a unit
the block wholly em-dashes is written only into a bracketed unit, because a declined unit adds no
entry. **Where the file already answers a unit under that heading, a unit the block answers is
placed only on the operator's yes:** one that reads, line for line and once whitespace is
collapsed, as a unit the file answers is named as already held and not written, and any other is
named beside the file's answered units and placed as above only when the operator says yes — a
recipient fills a blank form, so a unit carries no identity from one return to the next, and a
second return gives again what the first one filed. A merge never writes over a unit the file
answers or declines, and nothing below `# END OF PROFILE` is touched.
- **Report every label that does not match, and write nothing for it.** A label the block carries
that the form lacks, a label the form carries that the block lacks, and a field whose line the
file does not hold are each named. The planner joins answers by label, so a renamed label is
reported rather than written under a label nobody asked.
Step 5 follows.
A field nobody has asked keeps its bracketed placeholder; a field the user skips, or says does not
apply, takes a single em dash. **Never write a bracketed placeholder as though it were an answer.**
**What this verb does not do.** It does not read `trip-context.md` and it does not write it — not
the `## Group` roster, not `- **Total travelers:**`, in either direction. Keeping the roster in step
is `/trip-record group`'s job, and this verb names it without running it. Reading the roster to
cross-check the `Traveler file` cell was rejected deliberately, and the reason is the point of the
negative: it introduces a second source for a filename that is already deterministic, and a
disagreement branch with no resolution.
## person <name>
**Reads:** `trips/<slug>/trip-context.md` — the whole of `## Group`, read once the reconcile below has returned and before `- **Total travelers:**` is written, because the disposition for that field is chosen from its current value and the counted floor, which is `## group`'s read and is cited rather than re-derived, and, on a withdrawal, for the presence probe `## group` runs on that roster's person column, taken for the name this verb was given or, for an entry an erasure re-keyed, for the token the reconcile resolves, because the withdrawal rows apply only to a member the roster does not name; and `trips/<slug>/outputs/traveler-model.md` — once that reconcile has written it, for the outside-roster count and nothing else, which is `## group`'s read of that file and is cited rather than re-derived. Dispatches `agents/00-enrichment.md` in the same reconciler role `travelers` dispatches, which reads `trips/<slug>/travelers/*.md`, `<store-root>/people/<person-id>.md`, the durable record a file's `person:` line references, and the survivor where that record is a `merged-into:` stub, `trips/<slug>/trip-context.md` and `trips/<slug>/outputs/traveler-model.md` — the model it is about to replace, read before that write because that read is what carries the `[THIRD-PARTY]` entry forward, and that entry has no source file to be re-derived from, and that names the `[OPERATOR-PROVIDED]`-only entry it drops, and `trips/<slug>/outputs/traveler-presence.md` — the presence file it is about to replace, read before that write so the rebuild can say what will not survive it; and writes `outputs/traveler-model.md` and `outputs/traveler-presence.md`, as standing rule 18 names them. **Non-interactive: the standing clause's *run nobody can answer*.**
The operator-provided third-party case: a party member who will never file a profile, whose needs
the operator supplies.
**Creates no file, anywhere** — no `travelers/<name>.md`, no proxy profile, no consent attestation.
The entry's durable record is the carried-forward model entry, trip-scoped and deletable. `ADR-006`
rejected the proxy profile precisely because it would create a durable identity artifact for a person
who never asked for one; it does not claim the entry leaves no trace.
- **Needs only.** The entry carries needs and nothing else. **A desire offered for a third party is
refused**, and the refusal says why: `ADR-006` grants a party member exactly the needs class, and
there is no default-allow outside it. **Identity data is refused** — passport, issuing country,
validity — which `ADR-006` types as *capture refused* rather than merely undesirable. No lifecycle
facet is populated on their behalf, and the bound is the entry **class** rather than a field list,
so a facet a later release adds is bounded by it too. A **withdrawal** — the operator's statement
that the member is not travelling — is neither a need nor identity data: it ends the entry rather
than adding to it (§ *A withdrawal*, below).
- **Two marks, answering two different questions.** `[OPERATOR-PROVIDED]` records **who supplied the
value**; `[THIRD-PARTY]` records that **the person described is not the person who spoke**.
`[THIRD-PARTY]` is the non-publication key every downstream guard binds to, so it is present on
every value sourced this way. The two marks are **orthogonal**: an operator relaying a first-party
traveler's own needs produces `[OPERATOR-PROVIDED]` alone.
- **Never escalates.** The need never signals adding a constraint to `trip-context.md`, and the
person is never added to any constraint's `Applies to:` roster. It may link to an existing
governing constraint; it never creates one. This is the stated exception to link-don't-copy, and
the reason is that `trip-context.md` is publish-bound.
- **Never published**, in attributed or in anonymized form — not their name and not their needs. In
a small named party, stripping the name does not strip the identification. They are still counted,
as one unnamed member of `- **Total travelers:**` with no `## Group` roster row, which says how
many travel and describes nobody; this verb brings the total up to count them once its reconcile
has recorded them (§ *The total*, below, and `## group` § *Roster standing of a third-party
member*, which also says what happens where the roster already names them).
- **Never invented.** No operator input, no entry — not a blank one, not a `PROFILE MISSING` one. A
`Party:` string on its own yields no entry, and a nameless party value yields none either, because
the name arrives with the needs or there is nothing to key an entry to. A withdrawal is operator
input that ends an entry, never one that makes one.
- **Provenance-marking records that a value is second-hand. It does not establish the described
person's consent, and is never written or described as though it does.**
**How it lands.** `ADR-006` chose the option that adds no new capture surface, so this verb captures
the needs and dispatches the enrichment reconcile named on the `Reads:` line above, supplying them
as the operator-provided stand-in. **The enrichment agent writes the entry; this command does not.**
Once the reconcile returns, render what its rebuild did not keep, and carry the stand-in, as
§ `travelers` states.
**The total — once the reconcile has recorded them.** When the reconcile returns having written
`outputs/traveler-model.md`, apply `## group [<name>]`'s reconciliation table to
`- **Total travelers:**` once, from that field's current value and the counted floor, reading the
outside-roster count the reconcile has just written; the table is applied, never restated. This is
how such a member is counted from the act that admits them (`## group` § *Roster standing of a
third-party member*): a total at or above the named-traveler count but below the counted floor
becomes the floor, a total at or above the floor — one the operator stated already counting them —
is left as it stands, and a bracketed one becomes the floor. Where the table would ask instead,
report its numbers, name `/trip-record group`, and write nothing. Where the reconcile's report
carries a C4-class stop — the join's display-name guard or C4 itself — apply the asking row instead:
report the numbers, name `/trip-record group`, and write nothing. **Echo the outgoing value before
writing**, as `group` does. **That value is the one thing this verb writes in `trip-context.md`** —
a number: it adds no row, changes no cell, and writes no name, least of all the one it was given. A
reconcile that stopped writes no model, and then this verb writes nothing here either: stop means
stop. What the operator stated is in no file until this verb is run again once the stop clears, and
that run applies the table; for a stop that names a roster row, `## group` § *Removing a row* says
how it clears.
**A withdrawal — once the operator says the member is not travelling.** This verb carries that
statement to the same reconcile, supplied as a withdrawal rather than as needs, and the reconciler's
second exit drops the entry (`agents/00-enrichment.md`: a fresh operator statement "that withdraws
them drops the entry"). Where that reconcile reports the entry dropped, apply `## group [<name>]`'s
reconciliation table once, exactly as § *The total* does, reading the outside-roster count that
reconcile leaves: its withdrawal rows decide, and they apply only where the presence probe
`## group` runs on the roster's person column finds no row for the name given. Where it finds one,
the member sits in the named-traveler count and leaves it with their row, so the table's other rows
decide, and this verb names `/trip-record group` for that row's removal as a departure and does not
run it. Where the reconcile dropped nothing, because the model held no entry under that name, write
nothing here. **An entry an erasure re-keyed is withdrawn by its token or by its place, never by a
name**: the operator gives `per-<token>` in place of `<name>`, or `--third-party <n>` counted as
`## erase` § *A subject who holds no record* item 1 counts the model's person entries, and this verb
carries the withdrawal to the reconcile under that token or that place, which the reconcile resolves
in the model it reads before writing it, so the presence probe is taken for the entry's token and
the member leaves the count on the operator's statement
(`reference/adr/ADR-041-third-party-roster-standing.md`). **A revision of such an entry's needs
takes the same key**: the operator gives `per-<token>` or `--third-party <n>` in place of `<name>`,
and this verb carries the new needs to the reconcile under that token or that place, which the
reconcile resolves as it does a withdrawal's, so the old name never comes back to the trip and the
member is never counted twice. What a withdrawal writes in
`trip-context.md` is what § *The total* allows — one number, echoed before it is written, and no
name.
**Durability, stated rather than hidden.** The entry lives only in `outputs/traveler-model.md`,
which is `[DERIVED]` and rebuilt from source files — with this entry class **stated as an
exception**, because by design there is no source file for this person. A conforming reconcile
therefore **carries the entry forward verbatim rather than dropping it**, and that carry is the
mechanism. Re-running this verb re-supplies the needs and remains the **backstop** if a reconcile
ever does drop it — reached on that evidence, never as routine upkeep: a re-run is a fresh operator
statement, `agents/00-enrichment.md` emits an update signal for one, and on an entry that is still
there that signal is a replanning trigger for a change nobody made.
## travelers
**Reads:** nothing of its own. Dispatches `agents/00-enrichment.md` in its reconciler role — never the `[ENRICH]` research role — which reads `trips/<slug>/travelers/*.md`, `<store-root>/people/<person-id>.md`, the durable record a file's `person:` line references, and the survivor where that record is a `merged-into:` stub, `trips/<slug>/trip-context.md` and `trips/<slug>/outputs/traveler-model.md` — the model it is about to replace, read before that write because that read is what carries the `[THIRD-PARTY]` entry forward, and that entry has no source file to be re-derived from, and that names the `[OPERATOR-PROVIDED]`-only entry it drops, and `trips/<slug>/outputs/traveler-presence.md` — the presence file it is about to replace, read before that write so the rebuild can say what will not survive it; and writes `outputs/traveler-model.md` and `outputs/traveler-presence.md`, as standing rule 18 names them. **Non-interactive: the standing clause's *run nobody can answer*.**
**Enrichment alone, in its reconciler role.** The dispatch names the agent prompt, the role, and
every file that role writes, exactly as the `Reads:` line above states them; standing rules 6 and 18
are what oblige that naming.
**The research role is not run.** Running it would write `[ENRICH]` fields into `trip-context.md` —
fields § *Write ownership* assigns to the enrichment agent, so **no verb of this command writes a
byte of one**, and that rule is the whole of what establishes it. The web tools that role needs are
merely **unlisted** here, which is not the same as denied and establishes nothing on its own.
`CLAUDE.md`'s *"ownership follows the writer, not the caller"* is an attribution rule and holds
vacuously here; it is not a mandate to run the research role.
**Surface what the rebuild did not keep.** The reconciler reads the presence file it is about to
replace and, before its own write, states every line whose value changes — outgoing, then incoming
— and every entry the rebuild removes, by its heading and with its lines, or, where no presence file
existed, that the rebuild creates one; it returns that statement with its report. Render it once the
reconcile returns, as what the rebuild replaced. Where the reconcile stopped or declined its write,
nothing was replaced, and say that instead.
`reference/adr/ADR-028-derived-planning-day-block-owners.md` § 2 decides this announce. **It returns
as well each `[OPERATOR-PROVIDED]`-only entry its rebuild of `outputs/traveler-model.md` drops**,
with the needs and desires the entry held and how to keep them (`agents/00-enrichment.md`
§ *Missing or blank profile*): render that beside it, and where it names none, render nothing for it.
In a run nobody can answer the naming is a report and adds no stop
(`reference/adr/ADR-049-what-a-rebuild-owes.md` Decision 4). **The dispatch carries the operator's
stand-in:** each need and desire the operator states in this run for a traveller the roster names
who has no usable profile, and whose entry does not carry `[THIRD-PARTY]`, goes to the reconciler
as the operator-provided stand-in that section admits, which is how restating them keeps their
entry, in each run that rebuilds the model, until the traveller files. A member whose entry carries
`[THIRD-PARTY]`, rostered or not, is `## person`'s, and this carries nothing for them.
**Render the `## Update signals` block enrichment produced, then name the next verb by signal class
— without running it.** Four classes, and this table owns them: a class is added here and in
`agents/00-enrichment.md` → "Map onto those four classes; never add a fifth", which decides which
class a change takes, in one change. No check holds that paragraph to this table. A line of the
block's body — a list item above its `###` partition, whose lines are information and take no class
— is classed here by what it names: one that names a need is a changed need; one that names a desire
or its tier, a changed desire; one that names a label `reference/data-model.md` § *Traveler presence
— the window lines* declares an input of a traveller's window, a changed journey facet the rebuild
has already carried into `outputs/traveler-presence.md`; a `PROFILE MISSING` entry is its own class;
and any other line of the block's body is a changed journey facet — report it and name no command
(`CLAUDE.md` § *Rules over an enumeration*).
| Signal class | What this verb names | Why it does not run it |
|---|---|---|
| a changed need | `/trip replan`, naming the spokes the need touches | dispatching a planning pipeline is a different request type with its own command and its own permissions |
| a changed desire | `/trip replan`, with no spoke named | the same |
| a changed journey facet that names an input of a traveller's window | rebuilt: what the rebuild replaced is rendered as above; name `/trip replan` | the rebuild has carried the new window into `outputs/traveler-presence.md`, and the plan placed against the old one; dispatching a planning pipeline is a different request type with its own command and its own permissions |
| any other changed journey facet | report it and **name no command** | the reconcile has already carried the change into the model |
| `PROFILE MISSING` | `/trip-record profile <name>`; for an entry keyed to an erasure's token — the whole heading `per-` and four lowercase hex digits — **name no command** | the profile is the operator's to collect; a token's person asked to be erased, and a profile filed under it would bring them back |
**This reconcile has taken the change in, so a later `/trip replan` finds none of its own to advance
the mode from.** Where the resolved mode is not `ITERATION`, say so: for a trip that holds a plan,
`/trip-record mode` comes before `/trip replan`, and `/trip replan` then runs with no change stated,
because the hub's disruption recovery and the validator's recovery-equity check run under that mode
and read this reconcile's signal.
**The denominator is the roster, never the directory.** `travelers/` ships empty and stays empty
until a profile is filled, so a file count under it reads a real group as zero. This verb counts
nothing itself: it renders what enrichment produced, and enrichment takes the `## Group` roster and
`- **Total travelers:**` from `trip-context.md` as the party. A `- **Total travelers:**` that
legitimately exceeds the **named-traveler count** `group` defines is a real state and is never
reported as a defect.
## destination <value...>
**Reads:** `trips/<slug>/trip-context.md` — the `## Destination` block and the title line, read before they are written because standing rule 2 confines the `Edit` to the lines being changed and standing rule 4 tests a placeholder by value, and because a destination already decided is echoed from that value before it is replaced. Does not read `outputs/destination-shortlist.md` — the chosen value arrives as this verb's argument, and reading the shortlist would give that value a second source. Dispatches no agent. **Non-interactive: the standing clause's *run nobody can answer*.**
The verb that performs the destination hand-off. `agents/destination-ideation.md` ends by saying it
never writes a destination into `trip-context.md` itself, and `/trip ideas` produces the shortlist
and names this step without performing it. This is the step they name.
**Argument.** Everything after the verb token, trimmed, is the primary destination value, and it is
written **verbatim**. It is never normalised, expanded, spell-corrected or resolved against a
gazetteer — standing rule 3 forbids inventing a value, and expanding `Lisbon` to `Lisbon, Portugal`
invents one. Never take the destination from the trip's slug, from the shortlist, from the
conversation's drift, or from the title line. **An empty argument is this verb's own refusal** — say
that no destination was given, and stop.
**What it writes.**
| Target | Rule |
|---|---|
| `- **Primary destination:**` | the argument value, verbatim |
| `- **Secondary destinations:**` and `- **Neighborhood base:**` | written only where the user states them in the same act; otherwise left exactly as they stand |
| the title line | its destination token only |
`trips/<slug>/trip-context.md` is the only path this verb writes, and those are the only targets in
it. In particular it does not write `Current mode` or `Mode notes` — that is `mode`'s act, and §
*Write ownership* binds the basis for a mode to the act that changes the cell. It writes no
`[ENRICH]` field and no `[DERIVED]` block.
**Why this verb owns the title line.** § *Write ownership* bundles the title line with the roster
and the traveler count because those are the fields `/trip-new` seeds, and that row names a
**writer** rather than a verb — so the split inside this command is made by subject. The title
line's only variable content is a destination, a month and a year, and the destination is the only
one of those three this verb establishes. Leaving `# Trip Context — [DESTINATION] …` bracketed once
a destination is decided is the state standing rule 4 exists to prevent, on the line every reader
sees first. **The month and the year are left exactly as they stand** unless the user states them in
the same act, and `group` does not write this line.
**Changing a destination that is already decided.** Legal — a group may change its mind — and it is
the branch that costs something, so it is stated rather than assumed.
1. **Echo the outgoing value verbatim** before writing anything.
2. Write the new value.
3. Say that **every `[ENRICH]`-tagged block is now research for the previous destination** — the tag
is the selector, read from the file rather than listed here — and **name the refresh, without
running it.** An `[ENRICH]` block has a writer: § *Write ownership* names the enrichment agent,
and `CLAUDE.md`'s agent roster names a destination change as a condition for dispatching it, so
**the command to name is read live from that roster** rather than listed here. Naming nothing is
the shape § *Write ownership* fixes for a block whose writer does not exist, and this is not one.
4. Say that **the trip directory does not change.** `trip.slug` is the directory name exactly as
`E1` spelled it, no verb of this command renames a directory, and a trip scaffolded as
`lisbon-2027` that becomes Porto keeps its folder name. **The title line and the slug are allowed
to disagree** — the slug is a folder name and the title is content.
**The mode hand-off, named and not performed.** Where the resolved `trip.mode` is `IDEATION`, name
**`/trip-record mode DISCOVERY`** with the value filled in, and say that this verb does not run it —
`/trip-new` names the same hand-off in the same order, so the two surfaces agree. **No other value
of `trip.mode` reaches this naming**, `UNSET` included, because the mode is a different act resting
on a different evidence class, and § *Write ownership* binds that evidence to whoever changes the
cell.
**What it never infers.** Nothing here reads a mode as evidence about a destination. `/trip-new`
writes no `- **Primary destination:**` in any mode — a destination it was told still reaches that
command's title line and its `Mode notes`, both of which it owns — so a freshly scaffolded trip
carries `trip.destination` as `UNDECIDED` whatever its mode, which is why `/trip-new` names this
verb from its `DISCOVERY` branch as well as its `IDEATION` one.
**It does not dispatch Destination Ideation.** That dispatch is `/trip ideas`'s, and making it here
would be a different request type with its own command and its own permissions.
## mode <MODE>
**Reads:** `trips/<slug>/trip-context.md` — the `## Mode` block, read before it is written because `Current mode` and `Mode notes` are replaced in one act, standing rule 2 confines the `Edit` to those lines, and the outgoing `Mode notes` is echoed before it is overwritten. It does **not** re-read that file to learn the trip's mode or its destination: the record block above already carries both by value, and re-deriving them is what § *What the blocks above are* forbids. It performs no read to obtain the mode value set — `CLAUDE.md` § *Modes* is in context when this repository is the workspace and is opened at `${CLAUDE_SKILL_DIR}/../../CLAUDE.md` when the engine is installed elsewhere — a read the installed form adds beside the contract read every invocation makes (`reference/load-class-model.md` § 2). Dispatches no agent. **Non-interactive: the standing clause's *run nobody can answer*.**
**Argument.** One whitespace-delimited token, ASCII-case-folded, matched by **exact string
equality** against the mode values in the first column of `CLAUDE.md` § *Modes*, read live from that
table — in context when this repository is the workspace, otherwise opened at `${CLAUDE_SKILL_DIR}/../../CLAUDE.md`. That set is **not written into this file** and **not counted** — the same
discipline § *Selecting the verb* applies to this command's own verb set, and it is what keeps a
mode a later release adds from needing an edit here. A token matching nothing is **this verb's own
refusal**: render the token verbatim, render the set read live, and stop. **No near-match, no *"did
you mean"*, no fallback** to another value — the reasons § *When the token is not a verb of this
command* gives hold identically here. The canonical value is written in the spelling § *Modes* uses.
**`Mode notes` is written in the same act, and its content is the operator's.** § *Write ownership*
reads *"Whoever changes `Current mode` writes `Mode notes` in the same act, naming the evidence for
the new value."* That evidence is **what the user stated in this conversation** — the same *stated,
not inferred* rule `/trip-new` applies to the starting mode, so it is a shipped convention rather
than a new one. It is **never** inferred from the destination, from which files exist, from the
request's wording, or from the mode being requested. Where the user stated no basis, **ask once** —
one question, not a questionnaire. Where they decline, **write nothing and say so**: a `Mode notes`
recording that no basis was given is a record of a decision nobody made, and § *Write ownership*
makes the basis part of the write rather than a courtesy attached to it.
**An unchanged value is a no-op.** Where the requested value equals the resolved `trip.mode`, write
nothing and say why: the `Mode notes` already in the file is the record of the act that set the
value, and replacing it with a restatement would overwrite the evidence for a transition this act
did not make. **`UNSET` is not one of the values § *Modes* carries**, so a `trip.mode` of `UNSET`
equals no requested value, this branch never fires on it, and the write proceeds — which is what
makes this verb reach a mode field that has never held a value.
**The undecided-destination report.** Where the requested mode is **not `IDEATION`** and
`trip.destination` reads `UNDECIDED`, say so, name **`/trip-record destination`**, and then **write
the mode anyway**. `IDEATION` is the value § *Modes* describes as nothing decided, read from that
description rather than counted here, so the test needs no ordering over the set and invents none.
**This is a report and not a gate.** This verb's
row constrains `destination` at `any`; there is no branch here that declines to write a mode on
account of a destination, and none may be added. The inference runs one way only: this verb may read
`trip.destination` and say it is `UNDECIDED`; nothing here reads a mode as evidence that a
destination was decided.
**How this verb and § *Write ownership*'s carve-out coexist — the partition is observability.** The
carve-out admits exactly the procedures it enumerates — **read that enumeration live from § *Write
ownership*** rather than from here — to write `Current mode`, and it carries its own admission test:
*the transition is observable from the artifact that procedure just produced, and is announced in
the same output.* That test draws the line.
| Path | What it covers, and the evidence it rests on |
|---|---|
| the carve-out | a transition the acting procedure's own completed artifact makes observable and that it announces in the same output — the evidence is the artifact it just wrote |
| this verb | every other transition — the evidence is a statement only the operator can make: the group picked, the flights are booked, we want the days reordered before anything runs |
The two are complements: together they are total, and they do not overlap, because a transition
either is observable in an artifact an enumerated procedure just produced or it is not. **Neither
becomes the silent default**, and these are the properties that stop it. This verb never fires
unless the user typed it, because § *Selecting the verb* supplies no verb nobody typed, so it cannot
become an implicit finaliser of somebody else's work. The carve-out never fires unless an enumerated
procedure completed work that makes the transition observable and announced it. The no-op above
stops a manual invocation after an announced transition from overwriting the announced basis with a
weaker one. And **this verb neither dispatches a planning procedure nor is dispatched by one** —
nothing here instructs an enumerated procedure to call this verb instead of writing the cell itself,
which is the hand-off failure the carve-out exists to prevent.
**What it writes.** `Current mode` and `Mode notes` in `trips/<slug>/trip-context.md`, and nothing
else in that file or in any other. It writes no `[ENRICH]` field and no `[DERIVED]` block.
**A live consequence worth stating.** `ITERATION` and `RESEQUENCING` become reachable through this
verb. Behaviours that branch on them — the hub's equity-aware disruption recovery, the validator's
recovery-equity check and its full pass after a resequence, and the scheduler's mode-gated reads —
begin to execute. That is the point of the verb, and it is also a risk: shipping the writer does not
test the readers.
## group [<name>]
**Reads:** `trips/<slug>/trip-context.md` — the whole of `## Group`, read before it is written because the presence probe on the roster's person column selects adding a row from editing one, the table's own header row fixes the shape a new row is written in, the disposition for `- **Total travelers:**` is chosen from that field's current value and the counted floor, and a row being removed is echoed verbatim before it goes; and `trips/<slug>/outputs/traveler-model.md` — for the outside-roster count and nothing else, read before that disposition is chosen because the counted floor adds it, and on a removal read only once the reconcile that runs before the row comes off has returned, counted from the marks on its `## ` headings and never from a name, and read as zero where the file is absent (§ *Roster standing of a third-party member*). Reads nothing under `trips/<slug>/travelers/` itself — the roster is the traveler denominator and a file count there is not, for the reason stated below. **On a removal, and on no other change**, dispatches `agents/00-enrichment.md` in the same reconciler role `travelers` dispatches — before the row comes off, and once more after it where the row is taken off as a stale row or the person leaving the party is recorded through `/trip-record person` and no stop on their row held the first, supplying for that person the statement that they are not travelling (§ *Removing a row*) — which reads `trips/<slug>/travelers/*.md`, `<store-root>/people/<person-id>.md`, the durable record a file's `person:` line references, and the survivor where that record is a `merged-into:` stub, `trips/<slug>/trip-context.md` and `trips/<slug>/outputs/traveler-model.md` — the model it is about to replace, read before that write because that read is what carries the `[THIRD-PARTY]` entry forward, and that entry has no source file to be re-derived from, and that names the `[OPERATOR-PROVIDED]`-only entry it drops, and `trips/<slug>/outputs/traveler-presence.md` — the presence file it is about to replace, read before that write so the rebuild can say what will not survive it; and writes `outputs/traveler-model.md` and `outputs/traveler-presence.md`, as standing rule 18 names them. **On a removal, and on no other change**, it also reads `trips/<slug>/.approvers` — the existence probe, and then the whole file, its shape held against the one § `.approvers` writes and its `approver=` keys compared — to say whether the declaration still names the key the removed row's person cell resolves to; it never writes that file, and it does not read `trips/<slug>/.approvals`. **Non-interactive: the standing clause's *run nobody can answer*.**
**Scope — the whole of `## Group`:** the roster table, `- **Total travelers:**`, `- **Travel
mode:**` and `- **Subgroup notes:**`. § *Write ownership* names the roster and the traveler count on
one row, and the remaining members of the block fall to its default row; those rows name the same
writer, so which verb serves them is this command's call, and the party is one subject. A user asked
to route `- **Travel mode:**` to a different verb from the roster would not guess it, and the
boundary would sit inside one section for no gain.
**The roster's two columns are found by what they hold, never by their header.** The **person
column** is the table's first column: it holds each traveller's display name, the name authority,
whatever its header reads. The **path column** is the one column after the first with a data row
whose cell, trimmed and with its backticks removed, begins `travelers/` and ends `.md` — a
placeholder such as `travelers/[name].md` included. A roster with no such column has no path
column, and one with two or more has none either: a read that needs it names the columns that
qualified, because a cell repointed in the wrong column is a write nobody asked for. A roster
headed `Traveler | Profile` is therefore read as one headed `Person | … | Traveler file` is.
Every read of the roster in this file that needs either column reads it by this paragraph — this
verb's presence probe and its counts, § `person`'s withdrawal probe, § `group-expand`'s probe
and § `erase`'s join among them.
**Branch selection.**
- **No argument** — render the roster and `- **Total travelers:**` exactly as they stand, and ask
what changes. **Write nothing** until the user names a change. This is the read-and-ask entry, and
it is also the only path to a removal.
Render the outside-roster count beside them as a number, and where the total is below the
counted floor, say so with the asking row's numbers, naming nobody.
- **A name** — a **presence probe** on the roster's person column, matched trimmed and
ASCII-case-folded, **over the named rows only**: a row whose person cell is a placeholder is
skipped before the match, per the placeholder rule below. Present → **edit that row**. Absent →
**add a row**. The probe runs before either write tool is reached and is the whole of the control,
which is the same control `profile` rests on; nothing here rests on the frontmatter, whose runtime
force § *The frontmatter above* records as turn-scoped.
**Adding a row — the append shape standing rule 7 admits**, reached once the read named above has
established the file and the presence probe has selected this branch. The person column carries the
name **verbatim**. The path column, where the roster has one, is `travelers/<file>.md`,
where `<file>` is `/trip-new`'s transform reused verbatim and attributed to it — lowercase the name,
replace every run of characters outside `A-Za-z0-9._-` with a single `-`, then trim leading and
trailing `-`. It is invented nowhere: it is the transform that already wrote the roster's cells at
scaffold, and a second rule here would make this command disagree with the pointer the intake
hand-off rests on. An empty result leaves the cell bracketed and names which name needs a filename.
`Role / Relationship` takes what the user stated and otherwise keeps the template's bracketed
placeholder. **The row is written in the shape the file's own header row declares, and the header
row is never rewritten** — a roster whose path column is headed otherwise, or that has none, is a
real state, and re-heading the table would delete content this command does not own. **Name the
divergence; do not repair it.**
**The named-traveler count — one definition, and every disposition below counts with it.** A
roster row's person cell is tested by **value** against the placeholder predicate `reference/trip-resolution.md`
§ *Resolving a trip* states field-general: **a trimmed value beginning with `[` and ending with `]` is a
placeholder, never a name.** The **named-traveler count is the number of roster rows whose person
cell is not a placeholder** — the count of names, which is what `/trip-new` derives the field from
and is the semantics this section carries forward. **It is never the roster's row count.** The two
are equal only on a roster whose placeholder rows have all been resized away, and `/trip-new`
resizes them only when the user answered: **on an unanswered scaffold it leaves the template's
`[Name]` rows exactly as they stand**, so the row count on a real trip routinely exceeds the party
by however many of them the template still carries. Counting rows there would write a party as that
party plus every placeholder row, which is `ADR-007` §2 bound 6 — a placeholder read as evidence —
reached by arithmetic instead of by a branch. Standing rule 4 binds it in this file for the same
reason.
**Placeholder rows are unreachable as evidence anywhere in this verb**, not only in the count. A row
whose person cell is a placeholder **satisfies no presence probe** — it is never *present* for any
name the user types, so it never selects the edit route and is never edited as though it were
somebody's row; it **enters no count and no comparison** in the table below; and it is **never
removed by this verb**, because removal is predicated on a named person — one who is not
travelling, one whose row is a duplicate or was added in error, or one § *Roster standing of a
third-party member* below takes off the roster — and a placeholder names nobody. It stays exactly
as it stands, which is the state `/trip-new` left and this verb does not own.
**`- **Total travelers:**` reconciliation — a decision over the states the field can be in, never a
silent adjustment.** The rules are `/trip-new`'s, carried forward, with one floor beneath them: a
stated total at or above the counted floor wins where one is given, the counted floor otherwise,
the two may legitimately differ, and **the roster is never padded with placeholder rows to reach a
total**, because a `[Name]` row is indistinguishable from a real traveler with a missing profile.
**The counted floor is the named-traveler count plus the outside-roster count** that
§ *Roster standing of a third-party member* defines — every named traveller, and every party member
recorded through `/trip-record person` whom the roster does not name — so no total written here
counts fewer people than this engine knows travel, and none counts one of them twice.
| State of the field after the change | Disposition |
|---|---|
| a bracketed placeholder | write the counted floor |
| the user stated a total in this act | write it where it is at or above the counted floor; below it, say so and **ask**, as the asking row does |
| a number greater than or equal to the counted floor | leave it — the named person was already inside the count, and so is every member the model records outside the roster |
| a number below the counted floor but not below the named-traveler count, where the one change was a member's needs recorded through `/trip-record person` in this act — a re-run that re-supplies them included | write the counted floor — the reconcile that recorded them wrote the count in this same act, so no roster change postdates it |
| a number below the counted floor, after any other change | say so — the total, the named-traveler count and the outside-roster count, as numbers and never a name — and **ask**; write neither value until the user settles it |
| a withdrawal recorded through `/trip-record person` in this act, of a member the roster does not name, and the field equalled the pre-withdrawal counted floor — the floor the reconcile leaves, plus the member it dropped | decrement it |
| such a withdrawal, and the field exceeded that floor | leave it, and say that the part of the unnamed remainder the model does not record grew by one |
| a removal other than the stale row — someone leaving the party, a duplicate row, a row added in error — and the field equalled the pre-removal counted floor | decrement it |
| such a removal, and the field exceeded that floor | leave it, and say the unnamed remainder grew by one |
| a stale row removed — the second state § *Roster standing of a third-party member* names | leave it, and say the unnamed remainder grew by one: the person still travels, and is counted there now |
**The withdrawal rows, the removal rows and the stale-row row decide the change they name where one
of them matches, and the rows above them decide every other change** — a withdrawal or a removal
below its pre-change floor included, and a withdrawal of a member the roster still names, whose row
then comes off as any departure does. **A departure whose withdrawal this verb carries is one
change, and its removal rows decide it, once** (§ *Removing a row*): the withdrawal rows are for a
statement `/trip-record person` carries. **The asking row is where a stale count lands.** This verb
reads the count as the last reconcile left it, so a row just added for someone recorded through
`/trip-record person` stays in the outside-roster count until `/trip-record travelers` marks their
entry `[ROSTERED]`, and the floor reads one high until then: where the user answers that the total
already counts the person just named, write nothing and name that reconcile. **A removal is judged
on a fresh count:** it runs that reconcile before the row comes off, and where that run cannot
complete it removes nothing but a row one of that run's stops names, which it judges against no
count (§ *Removing a row*), so its rows compare only with the roster's own floor. The user settles
the asking row with a total at or above the floor, and never below it — a floor the user believes
too high is a stale count, which that reconcile refreshes, or a row that reconcile stops on, whose
removal here clears it, or a member who no longer travels, whose withdrawal § *Roster standing of a
third-party member* states.
**The traveler denominator is the roster and `- **Total travelers:**`, never a file count under
`travelers/`.** That directory ships empty and stays empty until a profile is filled, so a file
count reads a real group as zero; the roster is the input `agents/00-enrichment.md`'s `PROFILE
MISSING` branch, `outputs/traveler-presence.md` and the satisfaction layer all read. **A
`- **Total travelers:**` that legitimately exceeds the named-traveler count is a real state and is
never reported as a defect** — a stated total may carry a member the roster has no name for.
**Removing a row.** Only from the no-argument render, or where the user names the person and states
that they are not travelling. **Run the reconcile `/trip-record travelers` names before anything
else** — `agents/00-enrichment.md` in its reconciler role, dispatched as the `**Reads:**` line above
states and never in its research role, for the reason § `travelers` gives — because a removal is
judged against a count wherever that reconcile completes, and this verb otherwise reads the count
as the last reconcile left it: after a row added for someone recorded through
`/trip-record person`, the counted floor reads one high until a reconcile marks their entry
`[ROSTERED]`, and a removal compared with that floor leaves the total one high with nothing to flag
it. Render what that reconcile reports, what its rebuild did not keep as § `travelers` states — the
dispatch carrying the stand-in as that section's does — and its `## Update signals` block by
§ `travelers`'s table,
naming each next verb by its signal class and
running none. **Where that reconcile stops, declines its write, or reports a C4-class stop — the
join's display-name guard or C4 itself — remove nothing, unless one of its stops names this row:**
report the stop and what clears it — for a stop on another row, that row's removal through this
verb, or a name for it that the reconcile can key and tell apart — and say that the removal is made
once it clears, because no count this verb could judge it against is fresh. **Where one of its
stops names this row** — C2 on its name, C4 on it and another row sharing its key, or the
display-name guard on it and the `[THIRD-PARTY]` entry sharing its key — that stop is this row's
own, so it does not hold the row's removal; no count is fresh, so no total is judged against one.
Ask whatever the user has not said: whether the person is leaving the party or still travels, and
whether the row duplicates another row or the member the stop pairs it with, or was added in error.
Where they still travel and the row is none of those, it is their only place in the count: remove
nothing, and report the name the stop asks for. A row that duplicates the member the stop pairs it
with is that member's own under a display name the join cannot confirm; ask too, unless the user
has said, whether the member has since filed their own profile, which nothing this verb reads
answers. If they have, the row is theirs, as in the third state of § *Roster standing of a
third-party member*, and it comes off as any other such row does below; where they still travel,
name `/trip-record group` with the entry's name, which adds their row under the name the join can
confirm, and say to run it next; where they are leaving, name `/trip-record person <name>` with the
statement that they are not travelling, which withdraws the entry the model may still carry for
them, and say that until it runs that entry may stand, counted outside the roster. If they have not,
it comes off as the
stale row does, but its second run carries no statement, since no completed report names the row as
theirs, and nothing is asked once more; where that run does not complete, name
`/trip-record travelers` and say, in place of the stale row's own sentence, that until a reconcile
completes the person may be out of every count taken from the model. Where that member has not
filed and is leaving, say, in place of the stale-row row's message, that the total it leaves is
their withdrawal's to lower, and name where they may still appear — their entry, until
`/trip-record person <name>` with the statement that they are not travelling withdraws it, and any
constraint's `Applies to:` line — saying that until it runs their entry stands, counted outside the
roster from the reconcile that runs without their row. Any other such row is echoed verbatim and
comes off with the total left as it stands; say that the total may still count it, and name
`/trip-record group` with the party's total once `/trip-record travelers` has run. **Where that
reconcile completes, ask whatever the user has not said about whether the person is leaving the
party or still travels** — nothing this verb reads answers that — and take whether their needs are
recorded through `/trip-record person` from that reconcile's report, which names the row as the
stale half exactly when they are and neither a profile of theirs nor their unfilled intake template
is on file. One who still travels and whose row it names as the stale half is the stale row §
*Roster standing of a third-party member* takes off, and the table's stale-row row decides it.
**Where the person still travels and the report does not name the row as the stale half, remove
nothing**, and say why from the report — their own profile now supersedes their entry, so the row is
theirs; or their intake template sits on file unfilled, so the row stays until they fill it; or
nothing records them there, so the row is their only place in the count — unless the user states
that the row is a duplicate or was added in error. Such a row then comes off through the removal
rows, except one the report names as a pending profile: its person is recorded there and still
travels, so it comes off as the stale row does. Every other removal on a completed reconcile
— a departure, a duplicate row, a row added in error — takes its removal rows, whose
pre-removal counted floor is the one that reconcile left. **Where the person leaving the
party is recorded through `/trip-record person` — the
report names their row as the stale half or as a pending profile — this verb carries the statement
that they are not travelling** to the reconcile it runs once the row is off, whose exit for a fresh
operator statement drops their entry (`agents/00-enrichment.md`), so they leave every count in the
act that removes their row. Say so before the echo: their entry goes with the row — where the report
said they still travel, the confirmed answer that they are leaving is what decides it — and
`/trip-record person <name>` with their needs re-admits them. **Where the report names their row as
the stale half, and so says they still travel, and the user says they are leaving, ask once more
before the echo**, naming what the carry deletes — their entry, and the needs recorded for them, go
with the row and are kept in no file — and carry the statement only on a confirmed answer, otherwise
treating the row as the stale row; a pending report says nothing about travel, so a pending
departure keeps the notice alone. **Echo the whole row verbatim before writing** — the removed bytes
survive in the transcript, which is what standing rule 2's bound asks of a write that will not
preserve what it replaces. Remove **only that row**. **Where it came off as
the stale row, or the person leaving is recorded there, run that reconcile once more before choosing
its disposition**, supplying for the person leaving the statement that they are not travelling, and
render what it reports the same way: a stale row's person still travels, and until a reconcile runs
without their row their entry keeps `[ROSTERED]`, so neither this verb's count nor the one
`agents/04-transport.md` takes would hold them; a departing person's entry would otherwise stand,
and re-enter the outside-roster count at the next reconcile once no row shares its key. That second
run should meet no stop the first did not — a removal adds no name for C2, C4 or the display-name
guard to meet, nor does a withdrawal, and it leaves the model as the first run left it —
but where it stops, declines its write, reports a C4-class stop, or does not complete for any other
reason, say so: after a stale row, name `/trip-record travelers`, and say that until a reconcile
completes the person is out of every count taken from the model; after a departure, name
`/trip-record person <name>` with the statement that they are not travelling, and say that until it
runs their entry stands and re-enters the outside-roster count at the next reconcile. **A departure
whose withdrawal this verb carries is decided by its removal rows, once**, against the pre-removal
floor the first reconcile left, whether or not that second run completes. **Never delete anything
under `travelers/`**: that file is Layer-1 source and this verb has no delete path to it. Then, for
a removal no second run followed, name where the person may still appear, without touching any of
the four: `outputs/traveler-model.md`, until `/trip-record travelers` reconciles it, `## Group`'s
prose sub-fields, where the publish guard no longer refuses their name once a withdrawal this verb
carried drops their entry (`reference/data-architecture.md` § 5.3), any constraint's
`Applies to:` line, which is `fact`'s, and `trips/<slug>/.approvers`, where the notice below found
their key, which is `.approvers`'s; after a departure whose withdrawal this verb carried, name only
the last three.
**Every removal says whether the approver declaration still names the person, before the row is
echoed.** The rule is the removal, whichever path above takes the row off; a departure, a duplicate
or erroneous row, a stale or pending row and a row a reconcile stop names are examples. Read
`trips/<slug>/.approvers` as the `**Reads:**` line declares, and compare the removed row's person
cell, normalized as § `.approvers` normalizes a name (`reference/data-architecture.md` § 3.2), with
each `approver=` key. Where one is equal, say: *the approver declaration still names <name> (key
`<key>`), and this removal leaves it as it stands; a plan change waits for their approval wherever
the threshold counts on it, and `/trip-record .approvers` replaces the declaration.* Where the file
is present but cannot be read, say that whether it names them is unknown, and name the same verb.
A file that can be read but is not in the exact shape § `.approvers` writes is treated as one that
cannot be read — its answer is unknown, and `/trip-record .approvers` is named — because the gate
reads it as malformed and holds every plan change until it is repaired.
Where it is absent, or no key is equal, say nothing about it. Ask nothing, and write neither
`.approvers` nor `.approvals`: the declaration is the operator's to restate (`ADR-029`
§ *Decision* 3; § *Roster standing of a third-party member*, second state).
**After any roster change.** Name **`/trip-record travelers`** as the reconcile, and **do not run
it**: an agent dispatch on a one-line change is heavier than the change, which is the same call
`profile` makes. Wherever this paragraph names it, say that `outputs/traveler-presence.md` is
behind the roster until it runs; this verb writes zero bytes of that file. **A removal is where that weight
is paid** (§ *Removing a row*): the reconcile it runs before the row comes off leaves the model
predating the removal, so a removal names that reconcile here like any other change — except
where that reconcile ran again once the row was off, after a stale row or the departure of someone
recorded through `/trip-record person`, and completed, which names none.
**What it writes.** The `## Group` block of `trips/<slug>/trip-context.md`, and nothing else in that
file or in any other. It writes no `[ENRICH]` field, no `[DERIVED]` block, and not the title line.
`outputs/traveler-model.md`, which the reconcile a removal dispatches rewrites, is the enrichment
agent's write and not this verb's — ownership follows the writer, not the caller (`CLAUDE.md`
§ *Write ownership*).
### Roster standing of a third-party member
**A `[THIRD-PARTY]` party member holds no `## Group` roster row, and is counted in
`- **Total travelers:**` as an unnamed member.** This sub-section is the one statement of that
standing: every other sentence that states it carries this sub-section's name, and none may state a
contrary standing in the lexicon `scripts/test-corpus-hygiene.sh` group `E` declares. Such a member
is a person whose needs the operator supplied through `## person <name>`, held as the
`[OPERATOR-PROVIDED]` + `[THIRD-PARTY]` entry in `outputs/traveler-model.md` and never through a
file of their own. A person the roster names is a traveller, and the two meet only in the states
below.
**Why no row.** A row prints a name in the file the site build reads: `trip-context.md` is
publish-bound, and the site renders its `## Group` (`reference/site-layout-spec.md` § 9.1).
`CLAUDE.md` keeps every `[THIRD-PARTY]` value out of every publish-bound artifact, and the publish
guard's non-publishable class takes every value of such an entry (`reference/data-architecture.md`
§ 5.3) — its name among them, which the guard's parse keys as a token. That mechanical half holds
for every name the guard can key and for no other: `reference/adr/ADR-008-publish-content-guard.md`
§ *Coverage boundary* residual 2 declares a name made only of stopwords, such as a member named
Will, outside its reach, and residual 8 retracts any claim that it covers this member completely.
So a row is kept off by this rule, never left for the guard to refuse. A row would also assert a
`travelers/<name>.md` for someone who has filed nothing, and the only way that file reaches
existence for them is the proxy-authored profile `reference/adr/ADR-006-third-party-data-capture.md`
rejected — a durable identity artifact for a person who never asked for one. What that ADR
contemplates instead is the profile that person files themselves, which this verb neither creates
nor forecloses.
**Why the count, and why it names nobody.** The party's size is a fact about the trip, not a value
of the member's entry: `- **Total travelers:**` says how many travel and nothing about who.
`ADR-006` § *Q3* bars a third-party-sourced **constraint** from any published artifact, attributed
or anonymized, and a headcount states no constraint, so the published total counts such a member
and stays honest about the party's size. They sit in the total's **unnamed remainder** — the
difference between the total and the named-traveler count — which the table above treats as a real
state and never as a defect. What stays out of every publish-bound file is what names or describes
them: a row, their name, any need of theirs.
**The count that keeps them in it.** `outputs/traveler-model.md` records such a member as one
`## <Name>` heading carrying both `[OPERATOR-PROVIDED]` and `[THIRD-PARTY]`. The **outside-roster
count** is the number of that file's `## ` headings that carry both of those marks and not
`[ROSTERED]` — the mark the reconciler writes on such an entry while a roster row shares its key
(`agents/00-enrichment.md` § *Traveler identity*), so a person the roster already names is never
counted twice; a file that does not exist yet counts zero. The table above adds it to the
named-traveler count to make the **counted floor**, and this verb, § `group-expand` and § `person`
each apply that table.
**What crosses, and the read that holds it to a count.** One integer crosses from
`outputs/traveler-model.md`, which is `internal-hard`, into this file, which is publish-bound: the
outside-roster count, as one summand of the counted floor, reaching `- **Total travelers:**` only as
part of the number written there. Read that file for this count and for nothing else: a heading is
counted by the marks it carries and never by its name, no line below a heading is used, and nothing
read there reaches anything this verb writes or says — not a name, not a need, not a heading, not a
mark — so the count is rendered as a number that describes nobody. That bound is a rule this verb
follows, never a property of the read: the tool that reads the file returns every byte of it, as it
does for `agents/04-transport.md`, whose read of the same file
`reference/adr/ADR-011-per-traveler-cost-estimation.md` bounds the same way. What stands behind it
mechanically is the publish guard, whose non-publishable class takes every value of such an entry
and keys its name wherever it can (`ADR-008` § *Coverage boundary*, above).
**How they come to be counted.** `## person <name>` dispatches the reconcile that records such a
member, and then applies the table above to `- **Total travelers:**` once, from the outside-roster
count that reconcile has just written: a total at or above the named-traveler count but below the
counted floor becomes the floor, so the total counts them from the act that admits them and the
operator restates nothing (`## person <name>` § *The total*). A total already at or above the floor
is left as it stands, because a total the operator stated may already carry them as a member the
roster has no name for, and raising it would count them twice. This verb and § `group-expand`
apply the same table on every write they make, so a total written before a member was recorded — on
a trip that predates this rule, or after a reconcile that stopped — is brought up to the floor by
the next of them once the operator has seen the numbers: this verb reads a count that may predate a
roster change it made itself, so where the field is below the floor it says so and asks rather than
raising it.
**Nothing this engine does on its own takes them out of it.** The named-traveler count never holds
such a member while they have no row, and the counted floor always does, so no disposition of the
table above subtracts one on their account unless the operator withdraws them: a stale row coming
off is not a departure (the second state below), and an erasure leaves the total as it stands
(§ `erase`, reach row 5). They leave the count only as they entered it, through `## person <name>`
and the model: the operator's statement there that they are not travelling dispatches the
reconcile that drops their entry (`agents/00-enrichment.md`, the second exit), the floor falls with
it, and that verb then applies the table above once, whose withdrawal rows lower the total where it
equalled the floor they were in and leave a total above it for the operator to restate here
(`## person <name>` § *A withdrawal*). Where the roster names such a member and they leave the
party, `## group` carries the same statement in the act that removes their row (the second state
below), or names it for `## person <name>` where a stop on their row held the reconcile before it
(§ *Removing a row*). This engine lowers no total on its own — only on that statement, or on a row
removed here.
**Where their record lives.** Such a member's name and needs are recorded once, in their
carried-forward entry of `outputs/traveler-model.md`, though an approver declaration naming their
stale or pending row may also hold their key, as may any ledger line under that key (the second
state below). The operator's statement is that entry's
authority and the model is its record, **carried forward verbatim across a reconcile rather than
re-derived** (`## person <name>` § *Durability*) — every byte of it but `[ROSTERED]`, which each
reconcile writes afresh. The same file is the party denominator needs-compliance and desire-coverage
grade against, which `CLAUDE.md` states the site build **excludes** and the hub applies as a hard
bound before any objective. A consumer that sizes the party for a non-publishing purpose takes the
outside-roster count there and never reads the total for them: the total cannot tell such a member
from any other member the roster does not name, and it can lag the model where it was written before
they were recorded. `agents/04-transport.md` § *Input* item 7 does exactly that.
**The three states.** A person recorded through `## person <name>` is in exactly one of these, and
each has one disposition.
- **No roster row, and both marks on their entry** — the standing above. They are in the
outside-roster count, and nothing is due.
- **A roster row and a both-marks entry, with no usable profile of theirs on file** — they were
named at scaffold, before anyone knew they would never file, or added here since. The reconciler
joins the two as one person and marks the entry `[ROSTERED]`, so the named-traveler count holds
them and the outside-roster count does not. The row is the stale half, and it comes off through
this verb's no-argument render, which echoes it before removing it. Until it comes off, the stale
row, or a pending row while it stands, holds a person cell that `## .approvers` resolves, and a
declaration naming it outlives the row; retiring or restating it is the operator's act. The
removal rests on the
third-party recording, not on travel: they still travel, now as an unnamed member, so it is not a
departure — the table's stale-row row applies and its removal rows do not, and the total stands.
The reconciler reports this state rather than removing the row (`agents/00-enrichment.md`
§ *Traveler identity*), and its report says the person still travels, which is the answer this
verb asks for before any removal from the render. **This verb runs that reconcile before it
removes the row and again once the row is off**, so their entry loses `[ROSTERED]` and is counted
outside the roster before the act that removed the row ends, and once that second reconcile
completes no count — this verb's, or the one `agents/04-transport.md` takes — leaves them out;
where the first cannot complete the row waits, unless one of that reconcile's stops names it, and
where the second does not the act says so (§ *Removing a row*). Where the row's display name
differs from the entry's although their keys agree, the reconciler stops rather than joining them,
and the row comes off as that paragraph says of a row whose own stop holds the reconcile. Between
the change that makes this state and the reconcile that reports it, the publish guard's refusal of
a name it can key is the only catch. Where the intake template sits
on file for them unfilled, the row is pending rather than stale: the reconciler reports a pending
profile, and the row stays until they fill it, when the third state applies — unless the operator
says the row was added in error, when it comes off as the stale row does. Where such a person
leaves the party instead and the reconcile before the removal completes, their row comes off as a
departure and the table's removal rows apply, and this verb carries the statement that they are
not travelling to the reconcile it runs once the row is off, which drops their entry, so they
leave every count in that act — though where the
reconciler's report says they still travel, this verb asks once more, naming that their entry, and
the needs recorded for them, go with the row and are kept in no file, and carries the statement
only on a confirmed answer, the row otherwise coming off as the stale row does; where that
reconcile does not complete, the act says so and names their withdrawal through
`## person <name>`, and until it runs their entry stands and re-enters the outside-roster count at
the next reconcile.
- **A usable profile of theirs on file — one they have filled, not the intake template left
unfilled** — they filed, and the standing is over. Where the roster does not already name them,
add their row here first; `/trip-record travelers`, named above for after any roster change, then
reconciles: the profile supersedes the entry (`agents/00-enrichment.md`, *supersede, do not
merge*), and they are a traveller like any other. The table leaves the total alone where it
already counts them and asks where it does not — and until that reconcile runs, their entry still
counts them outside the roster, so the asking row names the reconcile rather than a new total. In
this state a row is never stale.
Where the user asks for someone to be added to the party who has filed nothing and never will, name
**`/trip-record person <name>`** and **do not run it**. Someone with a profile on file is added here,
as a traveller. Where the user says such a member no longer travels and the roster holds no row for
them, name that verb with that statement, and do not run it either: their entry is its to withdraw.
Where the roster holds their row, removing it is this verb's, and that removal carries the statement
to the reconcile itself, or names it for that verb where a stop on their row held the reconcile
before it (§ *Removing a row*).
## fact <statement>
**Reads:** `trips/<slug>/trip-context.md` — the one block the statement routes to, read before it is written because standing rule 4 tests a placeholder by value and so separates a fill from a replacement, because an outgoing value is echoed verbatim before it is replaced, and because a new repeat unit is appended under the units already in that block without renumbering or rewriting them. Where the statement records a declared input of `### Effective Planning Days`, it also reads, for the echo and the derivation standing rule 21 names, that block, the blocks holding its inputs — the anchor `### Outbound` and `### Return` legs and `## Accommodation` — and `templates/trip-context.template.md` § *Effective Planning Days [DERIVED]*, resolved against the engine root, because that rule recomputes the lines the input feeds and echoes each line it replaces. Reads no other block of that file. Reads `outputs/event-status.md` not at all — that file is `/trip-record event`'s, and reading it here would give `## Locked Elements` a second source it does not write. Dispatches no agent. **Non-interactive: the standing clause's *run nobody can answer*.**
**The default-row verb.** § *Write ownership*'s default row assigns every untagged field not named
on another row to this command; inside this command those fields are this verb's, except the ones
`destination`, `mode` and `group` name. `## Locked Elements` and `## Current Itinerary Status` are
named to this command on their own row, and they are this verb's too.
**Three ordered steps, and the first is the one that matters.**
**1 — The admission test, before anything else.** *Would the next synthesis pass regenerate the
bytes I am about to write?* That is § *Write ownership*'s own test — *if the next synthesis pass
would regenerate those bytes, they do not belong in this file at all* — made decidable. **Yes → this
is not a fact.** Name the procedure verb that owns it, and **stop**. A restaurant choice lives in
`outputs/final-itinerary.md`, which is versioned, and in `outputs/venue-matrix.md` and
`outputs/links-reference.md`, which are rebuilt on every synthesis; writing it here is not a small
change, it is a change with a deletion already scheduled. The adjacent things that **are** facts:
the dietary need that made the restaurant wrong, which is `profile`'s; the reservation that got
confirmed, which is `/trip-record event`'s; and the hard constraint it violated, which is this
verb's.
**2 — The ownership route.** Which block does the statement land in? A block another writer owns is
**named, not written**.
| Block class | Route |
|---|---|
| `[ENRICH]`-tagged | the enrichment agent's (`agents/00-enrichment.md`). Name it and write nothing — this verb writes no `[ENRICH]` field |
| `[DERIVED]` | **this verb's under standing rule 21 alone, never as a route.** A statement about the block's own values is recorded as the input it derives from, and the lines that input feeds are recomputed in the same act, each echoed outgoing then incoming |
| `**Lifecycle:**` | `/trip-decommission`'s — name it and stop. An absent line is the contract's declared default rather than a gap to fill. This verb never writes it |
| `## Destination`, `## Mode` and `## Group` | a sibling verb of this same command — name it and stop |
| `## Locked Elements`, `## Current Itinerary Status`, and every other untagged field | **this verb writes it** |
Ownership follows the block and not the command: this verb does not write `## Destination` or
`Current mode` merely because they sit in the same file under the same command. One block with more
than one writer is the seam this partition exists to avoid, and it would let a mode reach the file
without the evidence § *Write ownership* binds to it.
**3 — Ambiguity, and the zero case is its own branch.** A statement that does not resolve to exactly
one block resolves either to more than one or to none, and those are two different renders. **More
than one: ask once, naming them.** **None: say that no block of `trip-context.md` owns the
statement, name none, and stop** — the ask has no candidates to offer, and this verb may not create
the block that would be the answer, so the refusal *is* the terminal disposition rather than a
question with nothing in it. This verb never collapses the two. **Never write to more than one
block** to be safe; standing rule 21's recompute of `### Effective Planning Days`, in the act that
records one of its inputs, is that rule's write and not a second route. And **never create a new `##`
block** — § *Write ownership* assigns a block it does not list to nobody, and requires that *a new
block gets an owner in this table before it gets content*, so a command that created blocks would
make that table a description of the past. Adding a `### [Constraint Name]` block under `## Hard
Constraints`, a `#### Origin <letter>` block under `### Additional origins`, or a row under `##
Possible Day Trips` is an **instance of a unit the template already defines** and is not creating a
block.
**Write shapes.** Every echo below, and every line rule 21 replaces, is said as this verb's own
message before its first `Edit`, never first in a closing summary, which reaches the user after the write.
- **A bracketed placeholder becoming a value is a fill**, not a replacement — the placeholder is the
form, not content. Write it.
- **A value becoming a different value is a replacement.** **Echo the outgoing value verbatim before
writing**, and change only that field's lines — where the field is a declared input of
`### Effective Planning Days`, standing rule 21's recompute of the lines it feeds is that rule's write.
- **A new unit is appended**, which is the shape **standing rule 7** admits and the tool it names,
under the block's own repeat unit — a `### [Constraint Name]` block
under `## Hard Constraints`, a `#### Origin <letter>` block under `### Additional origins`, a row
under `## Possible Day Trips` — and **no neighbouring unit is renumbered, reordered or
rewritten**. A new `### [Constraint Name]` block is written with **all of the template's fields
present**, the unanswered ones keeping their bracketed placeholders.
- **A removal** names the unit, **echoes it verbatim before writing**, removes no more than the
named unit, and **never removes a whole `##` block**.
- An unanswered field keeps its bracketed placeholder and a field that does not apply takes a single
em dash — the distinction standing rule 3 draws, and this verb never collapses it. *"None
identified"* under `## Hard Constraints` is written only where the user confirms it, because the
template asks for that confirmation.
**Link, don't copy.** A trip-level constraint lives in this file; the personal detail behind one
traveler's need lives in that traveler's own `travelers/<name>.md`, and the link between them is the
enrichment agent's, recorded through `Applies to:`. **This verb never copies a traveler's need text
into a constraint**, and it writes no per-traveler desire detail, no per-event status and no
satisfaction metric into this file — those have their own homes. **A `[THIRD-PARTY]` subject is
never added to a constraint's `Applies to:` line**, for the publish-bound reason that also keeps
them off the roster. After a new trip-level constraint, name **`/trip-record travelers`** as the
reconcile that establishes the link, and **do not run it**.
**`## Locked Elements` — the seam with `/trip-record event`.** This block is the trip-level **human
summary**, operator-maintained and not `[ENRICH]`-tagged. `outputs/event-status.md` is the
**structured source of truth** for the scheduler, the hub and the validator, and where the two could
drift the structured table is authoritative for those readers and this note is the summary.
**Writing a note here changes no event's status**, and **this verb never writes
`outputs/event-status.md`** — that is `/trip-record event`'s, and it is where an event's status is
recorded. One direction does run and is worth stating: the enrichment agent may **read** `## Locked
Elements` once, at setup, to seed initial `locked` rows. Say that; do not act on it.
**Cross-block consequences — named, never performed.**
| What was recorded | What this verb names |
|---|---|
| a booked transport or lodging anchor — a confirmation code, a flight leg, an accommodation booking status | **`/trip-record mode ENRICHMENT`**, and it does not run it: the mode is another row's cell and its evidence belongs to that act, not this one |
| a changed or added flight leg, or a new `#### Origin <letter>` block | `outputs/traveler-presence.md` is behind: name **`/trip-record travelers`**, and do not run it |
| a changed `Check-in time:` or `Check-out time:` | `outputs/traveler-presence.md` is behind: name **`/trip-record travelers`**, and do not run it |
| a new trip-level constraint | **`/trip-record travelers`**, and it does not run it — travelers' needs link to the constraint, and the link is the enrichment agent's |
| an event that is now fixed | **`/trip-record event`**, and it does not run it — the note here is the summary, the row there is the truth |
More than one row may fire on one statement: a newly booked flight leg is both an anchor and a
change to the planning-day inputs.
`## Current Itinerary Status` carries the template's guidance that it is used in `ITERATION` and
`RESEQUENCING` and left blank in `IDEATION` or `DISCOVERY`. That is guidance: **this verb does not
gate on the mode** — name the mismatch and write what the user asked for.
**What it writes.** Blocks of `trips/<slug>/trip-context.md`, and nothing else in that file or in
any other. It names the enrichment agent and dispatches none, so the corpus's *ownership follows the
writer, not the caller* rule has nothing to exclude on this verb's behalf.
## .publish-slug <name>
**Reads:** `trips/<slug>/.publish-slug` — the existence probe that selects creating the file from replacing it, and, on the replace route, the outgoing value read before it is overwritten, so that it can be echoed and so the reversal has something to restore. Reads `trip-context.md` not at all — nothing in it is this verb's subject. **Reads no `.passphrase`**: reading it would put the secret into the session transcript, which is the failure the publish exclusions exist to avoid. Runs no script and dispatches no agent. **Non-interactive: the standing clause's *run nobody can answer*.**
**The one file this verb writes, and it is not `trip-context.md`.** The target is
`trips/<slug>/.publish-slug` — under `trips/<slug>/` per standing rule 5, where `<slug>` is
`trip.slug` exactly as `E1` spelled it. That path lies **outside § *Write ownership*'s scope**,
which is `trip-context.md` block by block; `reference/publishing-runbook.md` § *Repo name* already
assigns its author — *put the bare repo name in `trips/<destination>-<year>/.publish-slug`* — and
this verb is that author acting through a command, exactly as § *Write ownership* assigns `## Locked
Elements` to *the operator, through `/trip-record`*.
**Why this is not a publish-boundary crossing.** It runs no subcommand of
`scripts/publish-trip-site.sh`, dispatches no agent, touches no credential and has no out-of-repo
effect at write time. What it gives an operator is an addressable way to set the repo name
**before** anything is published. **Standing rule 1 is what establishes that**, and it is untouched;
every entry of `disallowed-tools` is unchanged too and stands beside it as a **declared**
restriction — corroboration, on the terms § *The frontmatter above* states, rather than the thing
that makes the claim true.
**Validation — two conjuncts, and they are strict for opposite reasons.**
1. **Charset.** Non-empty, and every character in `A-Za-z0-9._-`. This mirrors `slug_for()` in
`scripts/publish-trip-site.sh`, whose rejection case is exactly `''|*[!A-Za-z0-9._-]*`, and it is
attributed to that function rather than presented as new. **`/trip-new`'s first-character anchor
is deliberately not applied here.** That anchor exists because a slug becomes a directory name
and `.` and `..` are the segments that traverse; this value is a **GitHub repo name** and never a
path component, so the anchor has no purchase — and applying it would make this command refuse
values the resolver accepts, which is a disagreement with the resolver rather than a guard.
2. **Whitespace is refused**, even though `slug_for()` accepts it. That function reads the file
through `tr -d '[:space:]'`, which **deletes** whitespace rather than trimming or rejecting it,
so `my repo` resolves to `myrepo` and publishes to a repo the operator never typed, with nothing
saying so. The two calls go opposite ways on purpose, and the reason is the difference between
the two failure shapes: the resolver **accepts** a leading dot, so refusing it would be this
command disagreeing with the resolver; the resolver **silently transforms** whitespace, so
accepting it would be this command writing a value that is not the one it validated.
A value failing either conjunct is **this verb's own refusal**: say what was rejected and why, state
the shape, ask for a corrected value, and **write nothing**. A rejected value is never repaired by
guessing, and this verb **generates no name of its own** — the operator chooses it, and standing
rule 3 forbids inventing one.
**File shape — exactly one line.** The bare name and a trailing newline, matching what
`ensure_opaque_slug()` writes. **No comment line, no second line, no markdown.** `slug_for()` reads
the whole file through that whitespace delete, so **a second line is concatenated into the slug**
rather than ignored — a header comment would silently become part of the repo name.
**Create versus replace, selected by an existence probe.** `Read` the target path; the probe runs
before either write tool is reached. Not readable → **create** with `Write`, which is standing rule
2's one condition for it. Readable → **replace**, and only after all four of these:
1. **Echo the outgoing value verbatim.**
2. Say that a site already published under the outgoing value stops being reachable: `update`,
`rotate` and `unpublish` all resolve the repo through this file, and **`unpublish` on a name that
no longer matches a live repo reports that there is nothing to take down and exits successfully**
— the site stays up and the operator is told it is gone. That is the shape the contract's
stop-message rule forbids, arriving from the script rather than from a gate.
3. Name the reversal — **restore the outgoing value**. Reversibility **CHEAP**, and cheap only
because step 1 preserved it.
4. **Ask once**, then write. This verb cannot observe whether the trip is published — it reads no
`.passphrase` and it runs no script — so it does not assert that the trip is unpublished. It says
what it could not establish, and lets the operator answer.
**One more consequence to state.** A `.publish-slug` that already exists makes an **opaque** publish
keep the chosen name rather than generating a random one: `ensure_opaque_slug()` returns early when
the file is non-empty, and says so. An operator who set a memorable name and later wants opacity
removes or replaces the file first.
**Never.** Runs no subcommand of `scripts/publish-trip-site.sh` — not directly, not through `bash`
or `sh`. Reads no `.passphrase`. Sets no `ALLOW_PLAINTEXT`. Passes no `--yes` to `unpublish`.
Generates no name of its own. Writes no path other than `trips/<slug>/.publish-slug`. Where
publishing itself is what the user wants, name `/trip-publish` and stop; where taking a site down is
what they want, name `/trip-decommission` and stop.
## event <id> <state>
**Reads:** `trips/<slug>/outputs/event-status.md` — the row `<id>` names, read **before** it is written because that file is persist-mutable: the read is what locates the one row, supplies its outgoing `Status` for the echo, and makes the never-regenerate shape below checkable rather than merely asserted; `reference/data-model.md` — § *The Per-Event Status Model*, read at invocation for the transitions it names and for the table shape this section cites instead of rendering. Reads `trips/<slug>/trip-context.md` not at all — `## Locked Elements` is the trip-level human summary and `/trip-record fact`'s, and reading it here would give an event's status a second source. It performs no read to obtain the status vocabulary: `CLAUDE.md` § *Key Rules* is in context when this repository is the workspace and is opened at `${CLAUDE_SKILL_DIR}/../../CLAUDE.md` when the engine is installed elsewhere — a read the installed form adds beside the contract read every invocation makes (`reference/load-class-model.md` § 2). Dispatches no agent. **Non-interactive: the standing clause's *run nobody can answer*.**
The per-event status verb. It changes the `Status` cell of one named row of
`trips/<slug>/outputs/event-status.md` and recomputes that row's derived needs-booking cell. It
authors no other cell, creates no row, creates no file, and deletes no row.
**The discriminator, stated first because every refusal below rests on it.** This verb records a
status change that **has already happened**, or that the user is deliberately making to the record.
It never *requests* a planning change. A booking that fell through, a table that was held, a museum
morning the group settled — those are facts about the world. A wish to re-open a settled event is a
request to the plan: name **`/trip replan`**, naming the event, and stop. Naming is the whole of
this verb's part in that; **it does not run it.**
**Every refusal in this section is in-verb and post-resolution.** Each one is reached after the trip
resolved and this verb ran, so **none of them is a branch of the shell**: none sets
`trip.stop_gate`, none changes `trip.resolution`, and none renders a gate id.
**Argument grammar.** The argument string is an event id followed by a state, and nothing after it.
- **A part missing** — say **which** part was not given, and stop.
- **Anything after the state** — say the invocation is malformed, and name **`/trip-record log`** as
where a reason for the change belongs. The signature carries no note field, so absorbing trailing
text into `Notes` would invent a shape standing rule 3 forbids and would make `Notes` a free-text
field with two writers. Name `log`; **do not run it.**
**`<id>` is matched by exact, case-sensitive string equality** against the `Event ID` column. Not a
prefix match, not a nearest match, not a fuzzy match, not a substring match, and **no near-match
suggestion — no *"did you mean"*** — the reasons § *When the token is not a verb of this command*
gives hold identically here, and this is a path that writes. No glob, no wildcard, no `all`, no day
selector, no *"the option on Day 3"*: **one row per invocation.** The case-**sensitivity** is a
deliberate departure from the verb lookup's case-folding rather than an oversight, and the reason is
the difference between the two keys: the verb vocabulary is closed and lowercase, whereas the Event
ID is declared **opaque**, so folding it could collide two distinct keys. Being opaque it is also
**day-independent** — no day is read out of it and none is written into it, the `Day` column carries
the day, and this verb does not touch that column.
**`<state>` is ASCII-case-folded and matched by exact string equality against the per-event status
vocabulary `CLAUDE.md` § *Key Rules* fixes**, read live from that text — in context when this
repository is the workspace, otherwise opened at `${CLAUDE_SKILL_DIR}/../../CLAUDE.md`. That
vocabulary is **not written into this file** and **not counted** — the same discipline § *Selecting
the verb* applies to this command's own verb set, and it is what keeps a status a later release adds
from needing an edit here. A token matching nothing is **this verb's own refusal**: render the token
verbatim, render the vocabulary read live, and stop. No near-match, no fallback.
**Probes, in this order, before any write tool is reached.**
1. `Read` `trips/<slug>/outputs/event-status.md`. **Absent → stop, and create nothing.** That file
is created by whichever agent first writes it — the enrichment agent's setup seed, or the hub on
the first full synthesis — and this command is in neither role; it is not a scaffold member of
`/trip-new` either. Name the path, say that it appears when the plan is first synthesised, and
name the repair `reference/data-model.md` § *Bootstrap — who creates `event-status.md`* states —
**`/trip plan`** where the resolved mode admits it, and the mode-recording step first where it
does not. **Do not run it**, and stop. Naming a verb is not writing the file: this verb stays
outside the creator set that section fixes.
2. **A row carrying `<id>`. None → stop, naming the id verbatim.** This verb never creates a row:
minting an Event ID is the hub's act on first placement, and a status row for an event the
itinerary has not placed is the inverse of the ghost row the model forbids.
3. **The id is unique. More than one row carries it → stop**, naming the id and that it appears more
than once, and **pick neither.** The id is the cross-run join key, so a duplicate is a corrupt
file rather than a choice, and selecting one silently would resolve a conflict the file itself
records.
4. **Already in the requested state → say so and write nothing.** A no-op write to a persist-mutable
file is still a write, and what makes that file worth reading is that a write in it means
something changed.
**Admissibility is cited, never enumerated.** A transition is admitted exactly when
`reference/data-model.md` § *The Per-Event Status Model* names it, read at invocation. **This file
enumerates no transition set of its own**, and the reason is stated rather than left to taste: the
state machine is the data model's to define, and a set copied into a command is a frozen denominator
that refuses a legitimate transition the moment the model gains an edge. A pair that section does
not name is **this verb's own refusal**: render the requested edge verbatim, name that section, and
stop — and where what the user wants is a change to the plan rather than a record of one, name
**`/trip replan`**, and **do not run it.**
**What a transition obliges, and what it does not.** These are consequences, not admissibility:
naming what a transition obliges declares nothing about whether it runs, which stays the model's to
say. Each class below is named, never counted.
**`option → planned` — a deliberate user instruction, never automatic.** The verb *is* that
instruction: the user names the opaque id and names the target state. This verb never selects an
option to promote, never promotes because a primary slot fell vacant, never promotes by day, and
never promotes in bulk.
- *Obliges:* the row's `Status` becomes the state the user named, and the derived needs-booking cell
recomputes — so a backup carrying `requires booking? = yes` immediately reads as needing a
booking, which is the flag taking effect on promotion exactly as the corpus states it.
- *Does not oblige:* **the primary slot is not re-pointed.** A promotion in the corpus is a re-point
plus a flip, and this verb performs the flip half alone, because the itinerary is the hub's
artifact and this verb dispatches nothing. Until the next synthesis `outputs/venue-matrix.md`
still shows the event as an alternative — a disagreement that is **reported here and never
repaired here**, because that file is rebuilt on every synthesis and a hand repair to a rebuilt
artifact is a change with a deletion already scheduled. Where the slot is what the user wants
re-pointed, name **`/trip replan`**, **do not run it**, and stop.
**`option → locked` — promoting and settling in one act, and it carries both.** The model names this
edge, so what it obliges is the union of the classes it spans and nothing new.
- *Obliges:* the row's `Status` becomes `locked` and the derived needs-booking cell recomputes — a
backup carrying `requires booking? = yes` therefore never surfaces as needing one, because the
booking is what this transition records.
- *Does not oblige:* **the primary slot is not re-pointed**, for the reason the promotion class above
gives and with the same disposition — report the `outputs/venue-matrix.md` disagreement, never
repair it here, and where the slot is what the user wants re-pointed name **`/trip replan`**, **do
not run it**, and stop. **`Requires booking?` and `## Locked Elements` are untouched**, for the
reason the settling class below gives.
**The fall-through, so a class this section has not written is never a refusal.** An edge
`reference/data-model.md` § *The Per-Event Status Model* names and this section does not class takes
the union of the classes it spans, and where it spans none it takes the general rules alone:
`Status` is the authored cell, the derived needs-booking cell recomputes by the corpus's predicate,
no other cell is written, and nothing is dispatched. Admissibility stays that section's — this one
states consequences only — so a missing class costs the user the warning, never the transition.
**`planned → locked` and `planned → firmed` — settling.** Which one applies is a fact about whether
a reservation sits behind the event, not a preference, and **this verb never chooses between them**
— the user names the state.
- *Obliges:* the event moves from open-to-iteration to preserved, and drops out of the needs-booking
set by the recompute below.
- *Does not oblige:* **`Requires booking?` is untouched.** It is a property of the event's kind
rather than of its status, and **no verb of this command writes it.** A `firmed` row carrying
`requires booking? = yes` is therefore neither refused nor tidied up: the flag stays true, stops
surfacing, and surfaces again if the event returns to `planned`. `## Locked Elements` is not
written either — that block is the trip-level summary and `/trip-record fact`'s, so where a
settled event should read that way in the summary too, **name that verb and do not run it.**
**`locked → planned` — the fall-through, and a named trigger.** A cancelled reservation, a sold-out
ticket, a withdrawn hold. This is the class whose consequence reaches past its own row, so both
directions are stated.
- *Obliges, in the file:* the event re-opens to iteration and its booking question reopens — the
derived cell recomputes to `yes` where `requires booking? = yes`.
- *Obliges, beyond the file:* the trip now carries the **disruption-recovery trigger** § *Modes*
names, so the hub's equity-aware disruption recovery and the validator's recovery-equity check belong to the
next planning pass. Name **`/trip replan`**, and **do not run it.** Name **`/trip-record log`** as
well, and do not run it: *why* a
booking fell through is exactly what the log carries, and the status table has no field for it.
- *Does not oblige:* it does not dispatch the hub, does not re-run an agent, and does not patch the
itinerary. **It does not write `Current mode`.** The regression triggers the *recovery*; the mode
value is a separate fact resting on a separate evidence class, and inside this command
**`/trip-record mode`** is its writer — named here, not run. It also does not delete the row:
deletion is predicated on the event being removed from the itinerary, which this verb neither
performs nor observes, and a row deleted while its event remains is worse than the ghost row the
rule forbids. It touches no `Day`, `Time`, `Event`, `Requires booking?` or `Notes` cell.
**The one derived cell, and why writing it is not authoring it.** `Status` is the only **authored**
cell any invocation of this verb writes. The row's needs-booking cell is **recomputed**, by the
corpus's stated predicate — `planned` **and** `requires booking? = yes` — and by no other rule; the
corpus calls that column computed rather than authored and states the recompute as a consequence of
the transition itself. The tradeoff is stated rather than hidden: the same passage also says the hub
recomputes the cell whenever it touches a row, which can be read as an exclusive grant. **The
narrower reading is taken** — an obligation stated, not a monopoly — because the alternative writes
a known falsehood into the file the scheduler, the hub and the validator all read, in exactly the
case where the falsehood costs most: a reopened booking reading as needing none.
**Why this verb may write a file the pipeline also writes, and why that permission reaches nothing
else.** The permission comes from that file's **persist-mutable** lifecycle rather than from any
count of its writers: synthesis *reads* existing status and never regenerates it, so a flip made by
hand survives the next pass — an exception the lifecycle predicts, not an exception to the rule.
**Every other artifact the pipeline produces is rebuilt, versioned or appended**, so a hand edit to
`outputs/venue-matrix.md`, `outputs/traveler-model.md`, `outputs/satisfaction-metrics.md` or
`outputs/final-itinerary.md` is a change with a deletion already scheduled, and this verb earns no
licence to make one.
**The no-overwrite shape that follows, and it binds this verb rather than the standing clause.**
`Read` the file; `Edit` the named row in place; **never regenerate it.** Never rewrite the file from
scratch, never append a dated section — that is the accumulate pattern and this file is not it —
never version it, and never create it. Standing rule 2's condition for `Edit` is met in its own
terms: the target exists, and only the named row's line changes.
**What it never does.** It writes **zero bytes of `trip-context.md`** — not `## Locked Elements`,
not `## Current Itinerary Status`, not `Current mode`, in either direction.
`trips/<slug>/outputs/event-status.md` is the only path it writes, built from `trip.slug` exactly as
`E1` spelled it and never from a `--trip` value, which this verb does not consume. It takes no
`Write` grant, creates no file and no directory, dispatches no agent, and runs no script. And it
**never reads a decided destination out of the existence of an event-status file** — that a
synthesis has run says nothing about `## Destination`. Neither the mode nor the destination is a
condition of this verb: its row reads `any` in both cells, so a trip whose mode has never been set
and whose destination is undecided reaches it and runs.
## log
**Reads:** `trips/<slug>/trip-log.md` — read **before** it is written, to confirm the target is the trip's log and to locate the append point at its end; the read never decides the entry's content, which comes from the session, and it never re-opens a prior entry. Reads `trips/<slug>/trip-context.md` not at all — a constraint the session surfaced belongs to that file and is `/trip-record fact`'s, and reading it here would let the log become a second source for a fact whose reasoning is the only part it carries. Reads `trips/<slug>/outputs/event-status.md` not at all — an event's status is `/trip-record event`'s. It performs no read to obtain the entry's structure or its scale: `CLAUDE.md` § *trip-log.md* and § *Ending a session* are in context when this repository is the workspace and are opened at `${CLAUDE_SKILL_DIR}/../../CLAUDE.md` when the engine is installed elsewhere — a read the installed form adds beside the contract read every invocation makes (`reference/load-class-model.md` § 2). Dispatches no agent. **Non-interactive: the standing clause's *run nobody can answer*.**
The session-entry verb. It appends one entry to `trips/<slug>/trip-log.md` — the file § *Session
Protocol* makes the session bridge — and does nothing else.
**A named home for an act that stays available conversationally.** `/trip-new` creates this file as
a scaffold member with the setup entry, and its Resume branch declines to append another, saying in
terms that session logging is already covered by the existing request types. This verb gives that
act a typed home without displacing the conversational path: it is not heavier than asking, because
a free-form request already resolves through the same ladder — this simply types it. **Nothing here
makes a log entry mandatory**, and a session logged by asking rather than by typing is not an
omission.
**Argument.** This verb requires no positional argument. Any remaining argument string is the
entry's **topic**, and never its body: the body is composed from the session, and a one-line
argument is not a session.
**The date.** Get it by running `date +%F` as a tool call **here in the body, not as a pre-execution
block**, and use the bare `YYYY-MM-DD` form exactly as the call returned it. The reason is the
contract rather than style: the contract retired that carrier, and a line opening with its marker
outside a fence fails `scripts/test-command-taxonomy.sh` group `I` on push, whatever this
section says. `Bash(date:*)` is the grant this call takes, and `/trip-new` already takes its own
date this way for the same stated reason — a shipped convention rather than a new one.
**Precondition.** `Read` `trips/<slug>/trip-log.md`. **Absent → stop, and create nothing:** say
which path is missing and name **`/trip-new <slug>`**, whose Resume branch is the declared repair
path for a missing scaffold member. Name it; **do not run it.** No `Write` grant is taken here, and
this verb creates no file and no directory. That stop is reached after the trip resolved and this
verb ran, so it sets no `trip.stop_gate`, does not change `trip.resolution`, and renders no gate id.
**The write tool, and the standing rule it is taken under.** `Edit`, under **standing rule 7** — the
append shape: the target exists, no existing line changes, and the entry is added at end of file.
The precondition above **is** rule 7's existence probe, and it is what makes the tool reachable: it
runs before `Edit`, and on its absent branch this verb stops rather than falling through to `Write`.
Rule 2's own two conditions are cited and neither is met, which is why rule 7 exists rather than
this section reading one of them loosely: **`Write`** is out because it is admitted only where the
target is absent, and this verb stops there and disclaims it in terms; **`Edit`**'s rule-2 condition
speaks of *only the named field's lines* changing, and an append has no named field, because the
lines it writes are not in the file yet. Stretching that clause to cover an append would make it
cover any addition to any file and would leave the sibling `## event` — which meets rule 2's `Edit`
condition literally, and says so — resting on a condition that no longer discriminates. The
widening is stated in the standing clause where it binds every verb, not asserted here.
**Shape and content.**
- **The entry structure is `CLAUDE.md` § *trip-log.md*'s and is not restated here** — the same
discipline `profile` applies to the intake template's questions. That section is the authority on
its own fields, read live from that text — in context when this repository is the workspace,
otherwise opened at `${CLAUDE_SKILL_DIR}/../../CLAUDE.md`.
- **The entry's scale is § *Ending a session*'s:** a quick edit gets a one-liner, a planning session
gets the full register. That section's remaining disposition — skipping the log — **is not
reachable here**, because the verb was typed and the decision to log is therefore already made.
- **Append only.** A new `## Session <YYYY-MM-DD>` section at end of file, carrying the
`— <topic>` suffix shape `/trip-new`'s setup entry uses when a topic was supplied. **No existing
line changes:** the title line is not rewritten, and no prior entry is edited, re-ordered, merged,
deduplicated or removed. Where a section for the same date already exists, **a second one is
appended beside it rather than merged into it** — merging edits a prior entry, and a running
register legitimately holds more than one entry for a date.
- **Never invents.** The content comes from the session. An element with nothing to record is
**omitted**, following the omit-the-line convention `/trip-new`'s setup entry already uses;
standing rule 3 binds unchanged, and an empty element is never filled to make the entry look
complete.
**The boundary that keeps the log from becoming a rival source. There are two seams, not one, and
the second is the one the scale rule opens.** At both, the log carries **why a choice was made** and
never the state itself; it is link-don't-copy applied to the two places a session entry could
quietly become a second source.
**Seam 1 — a constraint.** A constraint that surfaced in a session is recorded here as **a decision
and its reasoning** — what was chosen, and why. The constraint itself belongs to `trip-context.md`
§ *Hard Constraints*, which is **`/trip-record fact`**'s: name it, and **do not run it.**
**Seam 2 — the state of the plan, which this verb reaches by binding its scale to § *Ending a
session*.** That section's full register carries the element *"Current state of the plan (what's
solid, what's still open)"*, and written as free text that element is a **rival to two structured
homes at once**: `outputs/event-status.md`, the per-event source of truth for the scheduler, the hub
and the validator, which is **`/trip-record event`**'s; and `trip-context.md` § *Current Itinerary
Status*, the trip-level human summary, which is **`/trip-record fact`**'s. This verb is the one that
will actually compose the narrative, so it is the one that has to hold the line. **Neither the
guard nor this verb's criterion can observe this seam** — an entry is free text and every rendering
of it is well-formed — so the discipline is stated here and rests on nothing else.
**What the element carries here, and what it does not.** It carries **what was decided this session
and why, and what the session left open and why** — the reasoning, which is exactly what neither
structured home holds. It does **not** carry an event's status, an Event ID, a per-event booking
state, or a restatement of what those files say; a settled event is `event`'s row and a trip-level
summary of the plan's standing is `fact`'s block. **Where the session actually changed a status or
the trip-level summary, name the verb that owns it** — **`/trip-record event`** for the row,
**`/trip-record fact`** for § *Current Itinerary Status* — and **do not run either.** An entry that
would read as a status record if the two structured files were deleted has crossed the seam: the
test is whether removing the log leaves any reader worse off about *state* rather than about
*reasoning*.
**What it never does.** It writes no byte of `trip-context.md` and no byte of
`outputs/event-status.md`; `trips/<slug>/trip-log.md` is the only path it writes, built from
`trip.slug` exactly as `E1` spelled it and never from a `--trip` value, which this verb does not
consume. It creates no file and no directory, overwrites and reorders no existing entry, dispatches
no agent, runs no script, and **never runs `/trip-record event`** — recording that a status changed
is that verb's act, and this one records why it changed. Neither the mode nor the destination is a
condition of it: its row reads `any` in both cells, and nothing here reads a mode as evidence or
infers a destination from which files exist.
## link <name> <person-id>
**Reads:** `trips/<slug>/travelers/` — the **directory-presence probe**, taken with `Read` on the directory path itself and read only to establish whether the directory is there; `trips/<slug>/travelers/<file>.md` — the file-existence probe that establishes the target is there, its frontmatter, read **before** it is written because a reference already present is echoed before it is replaced, and **its declared body fields**, read for the survey below and read before the write because the survey precedes it; `people/<person-id>.md` — the existence probe that establishes the reference **resolves before it is written**, the H1 line, read so the confirmation can name the person the id resolves to, and **its declared body fields**, read for that same survey; the **outgoing** record on the one branch where the file already carries a resolving `person:` naming a different id — its declared body fields alone, because the survey's pre-link side is composed against the record this trip references **now** rather than against an assumed absence; and `reference/data-model.md` § *The classification* and § *The lattice*, read live for each field's class and scope and **never re-authored here**, the same live-read `## profile <name>`'s collision check already takes for its own predicate. **The minimality the widened surface replaces is preserved in the one form that survives a survey: no value read here is written anywhere, on either side, by this verb.** Does not enumerate the store, and does not read `trip-context.md` in either direction. Dispatches no agent. Two of this verb's paths — the repoint, and a non-empty survey — stand behind a gated branch, placed before the write and stated in full by this section's confirmation-posture paragraph below.
The reference verb. It writes the one frontmatter field that points this trip's traveler file at a
durable person record, and it writes nothing else anywhere.
**Filename.** The `<name>` is put through the same transform `## profile <name>` applies, cited
rather than restated, and the collision check there is not repeated here: this verb never creates a
traveler file, so it cannot reach the state that check exists to stop.
**Two probes, in `profile`'s order and for the identical reason.** `Read`
`trips/<slug>/travelers/` first: **absent → stop**, say so, and name `/trip-new <slug>`. Only then
`Read` `trips/<slug>/travelers/<file>.md`. The order is stated because the two conditions are
indistinguishable in the file probe's outcome, exactly as § `profile` sets out; a file probe running
first would take a create branch this verb does not have.
**This verb never creates the traveler file.** Absent → refuse, and name `/trip-record profile
<name>`. That verb's route 2 already writes the template unmodified and says in terms that a file of
unfilled placeholders is a legitimate state, so the create path exists and has exactly one home. A
`link` that minted a frontmatter-and-heading file would author a second shape of this class that no
schema check has seen, and would duplicate a write that is already someone's.
**The write is one frontmatter key.** `person: psn-<token>` on
`trips/<slug>/travelers/<traveler>.md`. **This is standing rule 2's `Edit` condition and not rule
7's append** — the target exists and only the named field's lines change, the named field being
`person:` and its line count moving 0 → 1 or 1 → 1. No new standing rule is owed here and none is
taken. `reference/schemas/traveler-profile.md` declares the field `optional` and it carries no
placeholder, so standing rule 3 is not engaged: **absence is a real state rather than a gap**, and
it is every existing traveler file's shipped condition.
**Refusals, in evaluation order.**
| Condition | What happens |
|---|---|
| `trips/<slug>/travelers/` absent | stop; name `/trip-new <slug>` |
| the traveler file absent | refuse and write nothing; name `/trip-record profile <name>` |
| `<person-id>` resolves to no record | **refuse and write nothing**, naming the store path. Writing it anyway would author a well-formed reference resolving to nothing, which `reference/data-model.md` types as **a defect** — and it would be a defect this command authored rather than found |
| the file already carries a `person:` naming a **different** id | **echo the outgoing value verbatim**, say that this **repoints** rather than adds, and require confirmation before writing |
| the file already carries that same id | say so and write nothing |
**The survey — run before the write, and derived from the lattice rather than enumerated.**
`reference/data-model.md` already computes, totally and deterministically, what the file and the
record each contribute to a composed field. This verb adds no rule to that computation. It runs it
**twice** — once for the state the file is in, once for the state the write would create — and
reports the difference, at a moment when nothing has been written.
- **The pre-link side is composed against the bearer state the file is actually in**, one of the
seven that section declares, read from this file's own frontmatter and, where that frontmatter
already carries a resolving reference, from the record it names. **It is not assumed to be the
no-reference case.** A file carrying no `person:` key genuinely is that case, and its pre-link
side is the traveller file field for field; a file being **repointed** already draws on the
outgoing record, and so does its pre-link side.
- **The post-link side is composed with this invocation's record available**, which is the state
the write would create and nothing else.
**A field enters the survey where either its composed value changes or its disposition changes, and
both limbs are load-bearing.** The data model defines two functions over a field, and they take
different arguments: the value function consumes the field's class, the trip-side value,
availability, the record-side value and the field's scope, while the report function consumes the
**un-collapsed** bearer state rather than the three-valued projection of it. Neither limb subsumes
the other. A sanctioned `DEFAULT` override composes to the trip's own value on **both** sides, so
it moves no value at all and is reached only by the disposition limb — and that population is the
one this card's first acceptance criterion is mostly about. A field this trip leaves unstated
carries no disposition, and on a repoint changes hands silently, so it is reached only by the value
limb.
**Deriving the survey this way is what makes it total over the repoint**, and the repoint is the
branch a fixed row set keyed to *"no reference, then one"* is silent on. The fourth refusal row
above ships that branch explicitly: both the outgoing and the incoming record are real, every field
this trip leaves unstated changes hands, and the needs union **loses every block the outgoing record
supplied**. *"Linking a person is never a destructive act"* is a property of arriving from **no**
reference; it is not a property of replacing one, and reading it as though it were is how that loss
stays invisible. Composing the pre-link side from the bearer state the file is actually in costs no
new rule and covers, without one: the repoint, a reference followed through a single merge hop, a
re-link of the same id — which changes nothing on either side and so surveys empty — and a
reference that today resolves to nothing, where this trip's own answers are being retained only
because the record side was never read.
**The adjudicable set is the part of that difference the operator can resolve either way**, and it
is selected by the field's own class rather than by a list kept in this section: a **slot**-scoped
person-class field this trip answers, whose claim the record's answer displaces; and a `DEFAULT`
override that differs from the record's value. **Everything else the survey reports is reported and
not adjudicated** — reported **with its values**, under render rule 2 below, whose population is the
whole survey and not this subset — and the omission is deliberate rather than an oversight: a
**block**-scoped person-class field composes to a union and a union cannot contradict itself, an
override equal to
the record's value costs one report line and nothing else, and a field this trip never answered is
inheriting rather than losing. Manufacturing a decision that has no losing branch is not thoroughness.
**One count is mandatory output rather than a courtesy.** Where this invocation replaces a resolving
reference, the survey names **how many** fields stop drawing on the outgoing record — **a count,
never the values**. This is `## unlink <name>`'s rule arriving at the other end of the same edge:
that verb must name how many fields stop being composed when a reference is removed, and a repoint
removes one in the same breath as it adds another. **The count line stays a magnitude, and render
rule 2 below does not widen it** — the two outputs differ in **granularity**, not in population. The
count is one aggregate over every field losing the outgoing record, stated as a number and nothing
else; the pair is rendered per **survey** row. Where one field is in both outputs it takes its pair
as a survey row, and **the count line itself still carries no value.**
**Three render rules, and they are what keep the survey a survey.** `reference/data-model.md`
§ *One-way* forbids not only a write to the store but a **solicitation** of one, and names the
prohibited shape verbatim: a prompt of the form *"the record says X, this trip says Y — promote?"*
emitted per diverging field, which leaves every resulting write human-confirmed while the record
drifts toward whatever the most recent trip said. This survey sits inside the one path that section
sanctions — an explicit act the operator initiated at the command surface — and these three are
what keep it there.
1. **No row carries a verb, an offer, or a suggested action.** The resolution verb is named once for
the whole set, in this verb's own confirmation, and the paragraph below that names it is
unchanged by the survey rather than repeated inside it.
2. **The survey renders the pair of values in disagreement, for every row of the survey, and that
pair reaches the operator and nothing else.** What the gate asks is whether to link, and a field
label alone does not answer it: *Passport* says **where** the two sources disagree without saying
**what** the disagreement is, and the two branches of this decision differ precisely in which
value the trip ends up planning on. **Every row the survey reports carries its pair — not the
adjudicable subset alone.** The gate keys on the survey, so the survey is the population the
operator is being stopped for, and those are the rows they have to see; scoping the values to the
adjudicable subset leaves the ordinary case — a record answering fields this trip left unstated —
stopping the operator with a list of field names and nothing beside them. Where a side genuinely
holds no value it **says so and is still rendered**, because an omitted row is a field counted in
the survey and absent from the screen.
**Each side of the pair is read from the file that holds it, never from the composition.** The
record side is the incoming record's own slot. The trip side is this trip's own answer where it
has one, and, where this trip is silent and a resolving reference is being replaced, the outgoing
record's slot — because that is where the value this trip draws on today actually lives, which is
what keeps the pair total over the repoint branch. **Where the field is block-scoped, that side
is every block that file holds, rendered one line per block, and never the union** — the union is
what composition returns and this paragraph has just refused composition as a source, and
`Category` and `Specific` are two **instances** rather than two claimants on one slot, so a side
holding no block renders `UNKNOWN` and a side holding three renders three. **Composition still
decides membership**, and that is the part which must not change: which fields the survey holds,
and which of those are adjudicable, remains the pre/post delta over both functions, which is what
makes the set total over the repoint. What composition is **not** is a source for the displayed
values. On the one sanctioned `DEFAULT` override `K5` composes the trip's own value on **both**
sides, so a pair taken from the two compositions renders the operator's own answer twice and
never shows the record's — and the record's value is the thing `DIVERGENT` was computed from and
the only thing that makes the row a disagreement at all. The record's pre-edit value is not
something composition holds; the record is.
**A side that holds no value renders as the model's own `UNKNOWN`** rather than as a blank or a
second minted sentinel — **and a record value that has lapsed renders as neither.** The record
side is three-valued: `UNSTATED`, `ANSWERED`, `EXPIRED`. Collapsing the third into the first is
the ambiguity `reference/data-model.md` § *The report* already mints a field-scoped mark to
prevent one layer up: a bare `UNKNOWN` would mean either *the record is silent on this field* or
*the record's answer has lapsed*, and the disposition table gives those opposite remedies. So a
lapsed value renders **carrying the record's own `[VALID-THROUGH <YYYY-MM>]` mark**, which is the
token that section reuses rather than minting a second one for this condition. **The mark is a
discriminator and not an offer** — no row names a remedy, and rule 1 is unchanged. **It must
never be declared in `reference/data-architecture.md` § 5.6's `publish-contract-values` fence**,
which is the trap `[CONTESTED]` and `[ERASED]` both carry: an `entry` selector is matched as a
literal substring of every raw value line, so declaring it would make every value in that
traveller's entry non-publishable and abort that trip's publishes permanently. It is invisible to
the guard as written, because `clean()` strips bracketed spans before matching.
**The pair is never written into the persisted report.** `reference/data-model.md` § *The report
— where it lands, and what it never says* forbids restating conflicting values, and its subject
is **the report**, which that same section lands in the `## Update signals [DERIVED]` block of
`outputs/traveler-model.md`. **Two of its three grounds are properties of that persisted artifact
and do not reach a rendered line**: ground **(1) Publishability** matches a label prefix against
**files**, and a rendered confirmation sits in none and is scanned by no guard; ground **(3) Link,
don't copy** is about a value acquiring a second **durable** home, and a render acquires none.
And this verb writes no report at all, its whole on-disk effect being one frontmatter line.
**The ground that survives is (2) Erasure reach, and the residual is filed under it and stated
rather than denied.** That ground names a quoted value as a new copy widening the set an erasure
must reach **by content rather than by address** — so a rendered pair having no address is not an
exemption from it. Unreachable-by-address is precisely the harm it names, never the defence, and
citing address-reach here would answer the ground with the property the ground calls inadequate.
§ `erase` row 24 types **the session transcript** as one of those locations — its rows are the
erasure-reach table, which its own accounting sentence counts — `REPORT` rather than `REACH`: named and not swept, its remedy *never
echo a subject value*, which is exactly what a rendered pair does. It is disclosure into this
trip's own session, it survives the operator declining, and it is carried as a stated residual of
rendering the values at all — not a cost this paragraph may claim is zero. That report goes on
naming fields without their values, and nothing here changes what the enrichment agent writes
into it. Standing rule 9(d) requires the echoed outgoing → incoming pair at exactly this surface,
and `## promote <name> <field>` echoes the same pair for one field at the moment of that one
write. **The two rules govern different surfaces, and both hold as written.**
**Rendering the values does not make this a solicitation, and rule 1 is what keeps it from
becoming one.** The shape § *One-way* names is the value pair **carrying an offer** — the form
*"the record says X, this trip says Y; promote?"* — emitted per diverging field by a composition
pass. The offer is the load-bearing half of that prohibition; rule 1 forbids it and is unchanged,
rule 3 denies the repetition, and § *One-way* names the command surface as the one place a
promotion is legitimately initiated. **The field label is separated from its values by a dash
rather than a colon**, so no rendered line mints the `Passport:` shape the publish selector
matches — which costs nothing here, and keeps a line pasted elsewhere from arriving as a value
that selector was built to catch.
3. **Nothing schedules this.** It runs once, on a token the operator typed. No pass, no synthesis
and no enrichment emits it, and the drift § *One-way* describes needs a repeating prompt this
verb does not have.
**What this verb's reconciliation writes, stated as a prohibition in both directions, because the
tempting move is the opposite one on each side.**
> **This verb's reconciliation reads both records and writes neither, and it performs no resolution
> of its own in either direction.** It takes no licence from standing rule 9, names no path under
> `people/`, and has no branch that reaches one: every record-side resolution it surfaces is
> executed by `## promote <name> <field>`, one field per invocation, as a separate act the
> operator types. **And it does not perform the trip-side removal either.** Where the record's
> answer is the one to keep, the survey names the equivalence class — delete the line, blank it,
> or write a single em dash — **and does not do it**, which is the posture `promote` already ships
> for the identical act one field at a time. **A batched apply is not a convenience this verb
> withholds.** Store-ward it is a write with no sanctioned tool shape, because standing rule 9's
> conditions are conjunctive and fix the granularity at one named field with one echoed pair, and
> widening that is an amendment to the standing clause under the Extension rule rather than a
> feature of this section. Trip-ward the rule 9 argument does not reach at all — that rule bounds
> only writes outside `trips/<slug>/` — and the bar is the sharper one instead: a multi-field
> deletion in a human-authored tree under `<data-root>`, where nothing in this repository could
> restore a wrong deletion, while leaving a line costs one report line per pass.
**The property this protects, cited as what was ratified rather than as a mechanism.**
`reference/adr/ADR-006-third-party-data-capture.md` ratifies **attribution correctness** — a
constraint must reach the planner *once*, attached to the right person, and **must not duplicate
when that person later files their own profile**. That is a property of the outcome. **The record
prescribes no merge-and-drop mechanism, and no rule of it names one**, so a design that cited one
would be resting on a sentence that is not there. This verb satisfies the property the way the rest
of this command already does: by performing no merge at all, in either direction, and by leaving
every resolution a separately typed, individually confirmed act.
**Confirmation posture: CHEAP where the survey is empty, and a gate where it is not.** Where the
survey finds nothing, name the record the id resolved to — the id and its display name — and
write, exactly as this verb has always done. The act is reversible in one step by `/trip-record
unlink`, and confirmation weight tracks the tier rather than being uniform. **Two branches confirm,
and they confirm for different reasons.** The **repoint** confirms because it replaces a resolved
reference whose outgoing value is not otherwise recoverable — the same reason `.publish-slug` and
`mode` echo before writing. **A non-empty survey confirms because the gate is what makes abandoning
free**: it is placed **before** the write rather than after it, so declining writes nothing, on
either side, and both files are byte-identical to what they were. The reason is not reversibility,
which `unlink` already supplies — it is that a resolving reference changes which source a field
composes from, and a verb that wrote first would have moved that before the operator saw it.
**The gated branch refuses a non-interactive run**, on `promote`'s stated ground that a confirmation
nobody can give is not a confirmation. **The clean branch does not refuse**, and that split is the
whole of the compatibility guarantee: a traveller file that surveys empty takes the posture this
verb shipped, so nothing that runs today acquires a gate.
**After a confirmed write, this verb re-reads the frontmatter and says whether `person:` landed.**
It is one read the verb already holds, and it costs no rule. The gate moved consent in front of the
write, which leaves exactly one step that can still fail after the operator has agreed to it — and
without the read-back a failed write is indistinguishable from a successful one, since the survey
this verb just rendered describes the state it was **going** to create. Report the observed
post-state, never the intended one.
**What the confirmation also says, once, and never per field.** That this trip's own answers stay
trip-local, and that `/trip-record promote` is how the operator makes one of them durable. **This is
the only place in this command where that verb is named as an offer**, and it is named at a moment
the operator initiated. No rendered report pairs a field with an invitation to promote it — see
§ `promote` below, where the prohibition is stated and grounded.
**On-disk effect:** exactly one line added or changed inside one frontmatter fence in one file under
`trips/<slug>/`. **Nothing else.** No roster row, no `- **Total travelers:**`, no byte of
`trip-context.md`, no byte of the store, and no derived model — the model is the enrichment agent's,
reached by naming `/trip-record travelers` and **not running it**, exactly as `profile`'s edit route
does.
**Failure modes.** *(a)* An id taken from a stale note resolves to a **merge stub**. The reference is
valid and resolves through one redirect hop, so this verb accepts it and the confirmation names the
**survivor** rather than the stub — otherwise the operator cannot tell they linked through a merge.
*(b)* A `[THIRD-PARTY]` party member cannot be linked, and the bar is **structural rather than a
rule**: `## person <name>` creates no file anywhere for that entry class, so there is no
reference-bearing file to write to. Should a later slice ever declare a second, file-less bearer,
this stops being a consequence and becomes a rule someone has to write. *(c)* Two travelers on two
different trips pointing at one record is **not** a collision and is refused nowhere: two trips, one
person, which is the whole point of the store.
## unlink <name>
**Reads:** `trips/<slug>/travelers/` — the **directory-presence probe**; `trips/<slug>/travelers/<file>.md` — the file-existence probe and its frontmatter, read **before** the write because the outgoing reference is echoed verbatim before it is removed. **Reads no person record and probes no store path at all**, and that negative is deliberate rather than an omission: whether the record still exists is irrelevant to detaching from it, a probe would make this verb's behaviour depend on a state it does not change, and the absence of any store read is what lets this verb be the repair path for a reference that resolves to nothing. Dispatches no agent. **Non-interactive: the standing clause's *run nobody can answer*.**
The detach verb. It removes the one frontmatter field `link` wrote, and **the person record is not
its subject in any sense** — it holds no store write, takes no store read, and has no path that
reaches one.
**What this verb says, and it is required output rather than a courtesy.** In its own render:
**the person record is untouched and still exists; every other trip that references it is
unaffected; and re-running `link` with the same id restores this trip's reference exactly.** It is
mandatory because the operator's mental model at that moment is *"I am removing this person"*, and
the corpus already carries the precedent for exactly this shape in `## group [<name>]` — *"**Never
delete anything under `travelers/`**"* stated in the verb whose act would otherwise read as a
deletion. **A third act is neither of these two:** taking someone off the trip is `group`'s, which
edits the roster and never this field; deleting the person is `## erase <person-id>`, which deletes
the record itself and rewrites every trip that referenced it.
**What it writes, stated as a prohibition because the tempting move is the opposite one.**
> **This verb removes the `person:` line and writes nothing else. It writes no `per-` token, no
> `[ERASED]` mark, no marker of any kind, and it never touches the display name, the title line, or
> the roster. Its post-state is byte-identical to a traveler file that never linked anyone.**
**Why a marker would be a defect rather than a convenience.** `reference/data-model.md` separates a
trip that never linked from a trip whose record was erased on a **conjunction**, not on this field:
absence of `person:` is *necessary but not sufficient*, and the second conjunct is positive
`[ERASED]` evidence that erasure produces by substituting the derived model's entry heading. Both
operations remove this line; only erasure leaves that witness. **A marker written here moves this
verb's post-state toward the erased one**, and if the two ever agree, an erasure reads as a trip that
never linked anyone — with **every composed value byte-identical either way**, so nothing
value-shaped detects it and the build stays green. The whole discriminator is carried by evidence
this verb must not write, which is why the rule is a prohibition and not a preference.
**Removal, not blanking, and the reason is sharper than the field being optional.** A `person:`
present with no value risks reading as **malformed**, which the bearer states type as a **defect** —
so a deliberate, reversible detach would surface as an error. Removal lands in the not-referencing
state, which is exactly what it is, and which is the shipped condition of every traveler file
written before the store existed.
**A second discriminator falls out of the tiers, and its direction is inverted on purpose.** This
verb **echoes the outgoing `person:` value verbatim** before removing it — the shape `group`, `mode`,
`destination` and `.publish-slug` all ship so that a change is reversible. An erasure must never echo
an erased value. **Same absence on disk, opposite interaction contracts**, and each falls out of its
own reversibility tier rather than being asserted.
**Confirmation posture: CHEAP — echo, then write, no gate.** Reversible in one step by `link` with
the echoed id.
**One consequence the render must state, because it is real and otherwise silent.** After a detach
the composed source loses the record's contribution: every field this trip left unstated stops
falling back to the record's answer, so **a need the record supplied stops reaching the plan**. The
verb names **how many** fields stop being composed — **a count, never the values**, because no
person-sourced content belongs in a rendered line — and names `/trip-record travelers` as the
reconcile step **without running it**.
**Failure modes.** *(a)* No `person:` present → say so and write nothing. This is **not** an error
state; it is the default condition of the class. *(b)* A malformed or unresolvable `person:` →
**this verb still succeeds.** It is the repair path for a reference that resolves to nothing, and it
needs no store read in order to be one. *(c)* Invoked in the belief that it removes the traveler from
the trip → the survival statement above, plus naming `/trip-record group`, is the whole mitigation,
and is why that statement is mandatory output rather than optional.
**What it never writes.** No byte of `trip-context.md` — not the roster, not `- **Total
travelers:**`. No byte under `people/`. No derived model. No file is created and none is deleted;
`trips/<slug>/travelers/<traveler>.md` is the only path it touches, built from `trip.slug` exactly as
`E1` spelled it and never from a `--trip` value, which this verb does not consume.
## promote <name> <field>
**Reads:** `trips/<slug>/travelers/<file>.md` — the `person:` reference and the named field's outgoing value, its line read under the field's current label or one of its former labels, **before** the write because both are echoed; `people/<person-id>.md` — the record that reference resolves to: its H1, so the confirmation names the person, **and the named field's line alone**, read under any of those spellings, before it is written because the outgoing record value is echoed for the operator to confirm against. **No other field of the record is read.** Does not enumerate the store. Dispatches no agent, and takes no `Bash(date:*)` use — see the timestamp negative below. The write stands behind an echoed outgoing-to-incoming pair, which is what standing rule 9(d) requires of it and what the two reads above are taken before the write to supply.
**`<field>` names one field of the record's own form, by a field's key, its current label or one of its former labels.** A key is the `Key` cell of the field's row in `reference/data-model.md` § *Field Scope*, and a former label is a row of `reference/data-model.md` § *Former labels*. The token names every field of that form whose key, current label or former label it equals, compared case-sensitively and as written. **Exactly one such field is the field.** Where it names more than one, the token is refused, every field it names is named in the refusal, and none is picked: a precedence may choose between the spellings of one field, never between fields (`CLAUDE.md` § *Rules over an enumeration*). Where it names none, it is not a declared field of the record's own form. The argument is the operator's own words, so a former label is accepted wherever the current one is, and the lines read under either spelling are that field's lines, by standing rule 20.
The promotion verb, and **the only verb of this command that writes outside `trips/<slug>/`.** It
moves one value the operator already wrote in this trip into the durable record this trip
references. **One traveler, one field, one invocation** — never in bulk, because silently choosing
between two allergy or two mobility values is the identity defect the store exists to prevent,
reproduced at field granularity, and a bulk promote makes that choice by omission. The echoed
outgoing → incoming pair also stops being readable at N fields.
**The standing rule this write is taken under is rule 9**, and this section discharges each of its
conditions by name: **(a)** the target path is `people/<person-id>.md`; **(b)** the record is
selected by the id already in the traveler file's `person:` field, which the operator supplied when
they linked — no name is matched and no search is run; **(c)** exactly one named body field changes,
no file is created or deleted and no field is removed; **(d)** the operator confirms against the
echoed outgoing → incoming pair below; **(e)** the value written is already in this trip, so this
verb **moves** a value and authors none.
**It is a distinct operation, not an exception, and writing it as one would be the defect.** Two
prohibitions bind the store and they bind different things. `reference/data-model.md` § *One-way*
bounds **what may cause a write** — no value flows trip-side into the record *as a consequence of
composition* — and this verb's cause is a token the operator typed, not a composition pass. The
store's own write rule bounds **who may write** — no agent authors a value in a record — and this
verb is not an agent. The enumeration of permitted **mechanical** writes, none of which authors a
value, does not reach it either: this verb authors nothing and is outside that enumeration's subject
matter. **Recording it as an exception would make the store's write rule read as negotiable**, which
is the property that rule exists to deny.
**What it writes.** Exactly **one body line** in `people/<person-id>.md`. The record's values are
body fields, so this verb never touches its frontmatter fence, never `merged-into:`, never the title
line, and never a field the record's own form does not declare. **The promoted value lands in the
record's existing line for the field, under whatever spelling that line carries**: only its value
changes and its label stays as written. Where the record holds no line for the field, the line is
written under the field's current label. No label is rewritten, on either side.
**Refusals, in evaluation order. Every one of them writes nothing.**
| Condition | What happens |
|---|---|
| the traveler file carries no `person:` | refuse; name `/trip-record link` |
| the `person:` resolves to nothing | refuse; name `/trip-record unlink` as the repair path for a reference that resolves to nothing |
| the reference resolves to a **merge stub** | refuse and **name the survivor**. Writing through a stub writes a record that is already dead, and resolving the stub first is what keeps redirect depth at one hop |
| `<field>` is not a declared field of the record's own form | refuse, print the fields the form declares, and **offer no near-match**. § *When the token is not a verb of this command* is the shipped posture for this shape: a suggestion is a classification with a reflexive accept |
| `<field>` names more than one field — by any pairing of a key, a current label and a former label | refuse, name every field it names, and **pick none**. A guess between fields would have the echo confirm a field the operator may not have meant |
| `<field>` is the display name or the title line, by its key as by its label | **refuse, always, with no branch.** The normalized title line is the store's own collision key, so changing it changes the record's identity. That is a **rename**, not a promotion, and a rename is not a verb of this command |
| the named field is `slot`-scoped and stands more than once across its spellings, in the trip file or in the record | refuse as `MALFORMED-SLOT`, name each line it stands on, and write nothing: a field answered under more than one of its spellings occurs more than once (`reference/data-model.md` § *Former labels*), and choosing a line would be first-wins or last-wins |
| the trip-side value is not answered — absent, blank, a single em dash, or a surviving bracketed placeholder | refuse; there is nothing to promote. **`none` is an answer** and *is* promotable: the intake form makes it the one place `none` stands in for the em dash, and a promote that dropped it would turn a stated *"I have none"* into *"not asked yet"* in a durable, cross-trip record |
| the trip-side value carries `[THIRD-PARTY]` | refuse. Today no such value can reach this verb, because that entry class has no file to bear a reference — the rule is written anyway, because that consequence holds only while the bearer set stays as it is, and because a durable cross-trip record for a person who never asked for one is the exact artifact `ADR-006` refused |
| the run is non-interactive | refuse. The tier is MODERATE and the effect is durable and cross-trip; a confirmation nobody can give is not a confirmation |
| the record's value already equals the trip's | say so and write nothing — a redundant override, not a promotion |
**`[OPERATOR-PROVIDED]` is carried, not refused.** The store admits a value the operator relayed from
the person's own statement, so the mark is not a bar. It **travels with the value** into the record,
at field granularity, through the inline mark the value already carries — the provenance line
`profile` and `person` draw is preserved by that mechanism rather than by a second declaration, and
no record-level field is written to record it.
**On-disk effect:** exactly one body line in one file under `people/`. **The trip file is not
touched.** There is no fan-out: this session writes one trip's model and no other, and every other
trip that references the record absorbs the new value at its own next pass.
**A stated consequence, because it is real and silent.** After a promote, this trip's own line and
the record agree, so that field reports as a **redundant override** on every subsequent pass until
the operator removes the trip-side line. The verb **says so** and names the equivalence class —
delete the line, blank it, or write a single em dash — and **does not do it.** The line is
human-authored in a tree under `<data-root>`, so nothing in this repository could restore a wrong
deletion, while leaving it costs one report line per pass: reporting is CHEAP and deleting is
IRREVERSIBLE, and that asymmetry decides it.
**Timestamp negative.** This verb writes **no** last-written field and takes no `Bash(date:*)` use.
The record's dominant write path is a human editing it in an editor, which no command observes, so a
stamp maintained only here would read as authoritative while being routinely stale.
**Reversibility: MODERATE, confidence HIGH.** The outgoing record value is echoed before the write
and can be re-entered by hand. It is not CHEAP — the store lives under `<data-root>`, so no revert
in this repository reaches it, and the change is visible to every other trip referencing that
record. It is not IRREVERSIBLE — nothing is deleted, no record ceases to exist, and no identity is
destroyed, which is the line separating this verb from an erasure.
**This verb is never reached from a report, and that is a bound on every emission this command
makes.** No rendered line — in the `## Update signals` block, in any partition of it, or anywhere
else — pairs a field with an offer to promote it, and no pass suggests running this verb. A prompt
of the shape *"the record says X, this trip says Y — promote?"* would leave every resulting write
human-confirmed and would satisfy the store's no-agent-writes rule **literally** while defeating it
in practice, the record drifting toward whatever the most recent trip said one click at a time. The
shipped precedent for reporting without naming a command is already in `## travelers`, whose
changed-journey-facet class reports a change to a line that is no window input and **names no command**. **Discovery is handled once,
non-field-specifically, in `link`'s own confirmation**, at a moment the operator initiated — one
naming, in one place, is not a solicitation.
## erase <person-id>
**Reads:** `people/<person-id>.md` — the file-existence probe and its frontmatter, to resolve the id and to detect a `merged-into:` stub; `people/` — the store listing, the store root being the one `reference/data-model.md`'s store-root rule yields, taken with `Bash(ls:*)` as `ls -1 "<store-root>/people"`, for the stub sweep in step 3 and for the collision check; `groups/` — the group-store listing, taken with `Bash(ls:*)` as `ls -1 "<store-root>/groups"`, and `groups/*.md` — the `## Members` bullets of every group record, read **before they are written** because row 30 removes a bullet located by value and the receipt's occurrence count is derived from the section rather than remembered, together with each record's title line, which row 37 reads and never writes. **The group store is read in full and unconditionally, not per trip**, because a group record belongs to no trip and the discovery step below cannot reach one; `trips/` — the trip listing, **which arrives from the listing block above rather than from a listing this verb takes**; `trips/<t>/travelers/` — for each trip of that population, a listing of its traveller directory, taken with `Bash(ls:*)` as `ls -1 "<data-root>/trips/<t>/travelers"`; `trips/<t>/travelers/*.md` — the frontmatter of every file those listings name, which is the discovery step and the **only** way a trip enters this run's scope; and, for each trip that discovery resolved, that trip's whole directory — its `trip-context.md`, `trip-log.md`, `travelers/`, `outputs/`, `.approvers` and `.approvals` among it — in full, because a substitution has to read a value to replace it and row 38 reads what no other row names; and, under `--third-party <n>`, the resolved trip's whole directory in place of the trips discovery resolved. **Reads no trip discovery did not resolve** — except that resolved trip, which the `--third-party` path reads and writes as a trip discovery resolved is read and written, the residual scan below, which reads other trips' bodies, and a trip `--also-trip` names, which its REPORT rows read; it **writes neither of the last two**. Dispatches no agent. **Takes `Bash(ls:*)` for exactly the listings declared above**, and for each trip it reads whole, `ls -1R "<data-root>/trips/<t>"`, whose dot entries the reach table names by path; it creates no directory. The erasure stands behind a typed confirmation of the id at a terminal, stated in full under § *The confirmation* below.
The erasure verb. A person asked to be deleted; this removes their record and the values that were copied out of it, everywhere those copies can still be found. **It is the only operation on this command surface that destroys personal data irrecoverably, and the only one that writes an archived trip.**
**Irreversible and irrecoverable are two words and this verb is the only one that needs both.** `group-delete` is irreversible in the narrow sense — nothing under `groups/` is in git, so there is no earlier version to restore from — and it is nonetheless **reconstructible**: a group record is a display name and a list of ids, every one of which still exists, so the operator can make it again from what survives. Nothing this verb destroys can be made again from anything. The distinction is what the confirmation shapes are calibrated to, and it is why this verb takes a typed-back id where `group-delete` takes an echoed name and count.
**What this verb is not.** It is not `unlink`, which detaches one trip from a record and leaves both intact. It is not `group`, which takes someone off a trip and never touches `travelers/`. It is not `group-delete`, which removes one file under `groups/` and reaches no person record at all — its own render says so in terms, and the negative is asserted rather than assumed. Those three are recoverable and this is not, and the render says which one is running before anything is written.
### Erasure substitutes; it never regenerates
**Every location below is rewritten by replacing a value, and nothing in this verb rebuilds an artifact from its sources.** That is not a stylistic preference — it is what makes the operation correct on the artifacts that hold the most occurrences.
Regeneration reaches only the `rebuilt-each-synthesis` classes. A display name also rests in `versioned` classes, which a re-synthesis does not clean but supersedes; in `accumulate-append` classes; and in `researched` classes, which `reference/data-architecture.md` § 4.4 declares hold *"independent state"* and are *"not a regenerable projection"*. **A design that regenerates the derived model has covered one class and left the rest standing.**
It is also what lets this verb run on an archived trip at all. `reference/trip-lifecycle.md` § *Archived trips — what the freeze binds* freezes **derivation**, not bytes, and names erasure its one exception on exactly this ground: a redaction composes nothing, so there is nothing for the freeze to forbid. **On an archived trip, substitute is unconditional — the `regenerate` branch is never selected, and this verb never sets the `**Lifecycle:**` marker in either direction.**
### The token, and how it is minted
Erasure mints **one token per (person × trip)**, of the shape `per-<token>` where `<token>` is four lowercase hex digits.
**Per trip, never per person, and the cost is accepted.** A single token reused across a person's trips is a stable cross-trip pseudonym for someone who asked to be deleted, and it discloses that the same person travelled on each of them. The diagnostic loss — no run can prove two tombstones were once one person — is the point rather than a regression, and `reference/adr/ADR-012-people-library.md` records it as decided. **Do not correlate tokens across trips to sharpen a message.**
**The mint is collision-checked inside the trip, and re-mints on collision.** Before writing, derive the candidate's key the way the roster's own reconciler does — lowercase, then strip every character outside `[a-z0-9]`, giving `per<token>` — and compare it against the key of every other row of that trip's roster, and against every heading key in that trip's `outputs/traveler-model.md`, its marks set aside. The roster alone does not hold every token on the trip, because a both-marks entry erased there earlier is carried on under its token with no roster row (§ *A subject who holds no record*). On a match, mint again. Four hex digits give 65,536 values so this terminates immediately in practice, and it must exist anyway: a key collision makes the reconciler **stop for the whole trip** and report both names, which would print a surviving traveller's name beside an erased one.
**The token is safe to write into a rendered artifact, and nothing else here is** — except a both-marks entry's token, which keeps the `[THIRD-PARTY]` mark and so is non-publishable exactly as the name it replaced (§ *A subject who holds no record*). `## per-<token> [ERASED]` parses as an ordinary entry: the publish guard's `clean()` strips a bracketed span as metadata before matching, `[ERASED]` is not a declared entry selector, and the literal `per` prefix survives the key strip so the key is never empty and never a reserved word.
> **`[ERASED]` must never be added to the `publish-contract-values` fence in `reference/data-architecture.md` § 5.6** — not as an `entry` selector, not as a `field` selector, at any scope. The tombstone is required in a `publish: bound` rendered artifact, so declaring it non-publishable would abort **every subsequent publish of every trip carrying one**, permanently and with no remedy short of un-erasing. The fence's fail-closed abort does not catch this, because the value is there legitimately. **This verb's correct action on § 5.6 is to change nothing, and that non-action is recorded here so a later reader does not read the omission as an oversight.**
### Step 1 — resolve, and refuse before anything else
`<person-id>` is the record's id. **A display name is never accepted**, and no name is matched, searched for or computed against the store.
| Condition | What happens |
|---|---|
| `--third-party <n>` is given in place of `<person-id>` | the subject holds no record — a party member, or a traveller who filed no profile: § *A subject who holds no record*, and no row below applies. Given together with a `<person-id>`, refuse: a run has one subject |
| `<person-id>` is absent, or is not of the id's declared shape | refuse; print the shape and **offer no near-match** — a suggestion here is a classification with a reflexive accept, on an irreversible act |
| the id resolves to nothing | refuse; say the record does not exist and **name nothing else** — a "did you mean" over a store of real people is a disclosure |
| the id resolves to a **merge stub** | refuse and **name the survivor's id**. Erasing through a stub erases a record that is already dead and leaves the live one standing |
| on a resolved trip, the row the discovered file joins already carries `per-[0-9a-f]{4}` in column 1, as the cell's whole trimmed value and never inside a longer one | **`ALREADY-ERASED`** — see idempotency below. Not a refusal, and not a second erasure. Where the file joins no row, the no-row branch below applies instead |
| a listing this verb declares cannot be taken | refuse, naming the listing; write nothing. **An empty read is not an empty class**; a run that cannot enumerate its scope cannot bound its own reach |
**A `[THIRD-PARTY]` party member holds no record, so no `<person-id>` names one and discovery never finds one: this verb reaches such a member only as the subject of § *A subject who holds no record*.** Such a member holds no person record (`reference/adr/ADR-012-people-library.md` § 5) and no roster row (`## group` § *Roster standing of a third-party member*); their one record is their carried entry in `outputs/traveler-model.md`. The withdrawal and that sub-section's erasure answer different requests: the withdrawal — a fresh operator statement that they are not travelling (`agents/00-enrichment.md`, the second exit) — ends the entry and lowers the count, and the erasure removes their name from the trip while they still travel. An approver declaration naming their stale or pending row, and any ledger line under its key, is reached by row 31 when they are that sub-section's subject, and is the operator's to retire through `## .approvers` otherwise; the withdrawal does not reach that key. When someone else is the subject, this verb reaches **the subject's** name inside such an entry's text, by row 35.
**Idempotency keys on the authority, not on the model.** The predicate is **column 1 of that trip's roster row matching `per-[0-9a-f]{4}`**, where the row is the one the discovered traveller file joins: the row whose path cell names that file by exact path, where the roster has a path column (§ `group`, *The roster's two columns*), and otherwise the row whose person cell reduces to the file's stem key. Where it holds, the trip's name authority is already erased: **mint nothing**, and emit `ALREADY-ERASED` on every REACH row of that trip's receipt but rows 2, 8 and 9. Those three are step 8's, the write the order of writes keeps for last (§ *The order of writes*), and they are the only write left: where `travelers/per-<token>.md` exists, the old file is superseded, so the run completes step 8 — the cell repointed, then the old file removed — and emits for rows 2, 8 and 9 what a first run emits; where it does not, the old file is the only carrier of the traveller's needs, so the run **writes nothing on that trip**, rows 2, 8 and 9 read `UNDETERMINED`, and the receipt names the file (§ *The receipt*). Its REPORT rows write nothing on any run, so they read and report here as on any other, under the candidate names § *The name every match reads* gives a trip whose roster already carries the token — and because the order of writes leaves the trip resolvable until its last write, this is how a run interrupted before that write shows, through row 38, each place it left the subject's name standing. Keying the predicate on the derived model instead would re-derive it from a stale projection and mint a *second* token, leaving the roster and the model disagreeing about which tombstone is current — on a trip with nothing left to reconcile them against.
**A discovered traveller file that joins no roster row is the no-row branch, and the run writes nothing on that trip.** Discovery found the file by the subject's id, but no row is theirs by the join, so the run holds no name authority there and nothing to tombstone. It meets this branch four ways: the subject was taken off the roster through `## group`, which keeps their traveller file by its own rule; the roster names them in a way the join cannot confirm; a run of this verb was interrupted there — the state step 1 leaves where the roster has no path column, because the tombstone breaks the stem-key join, and the state a run stopped inside step 8 leaves where it has one; or someone else was erased there. Where the roster carries a `per-[0-9a-f]{4}` row, the last two cannot be told apart, because a token is never tied to a person (§ *The token, and how it is minted*). **On every one: mint nothing and write nothing on that trip.** Every REACH row of that trip reads `UNDETERMINED`, except row 2, which reads `n/a` where the roster has no path column. Every REPORT row reads under candidate names — the title line of that file and the record's display name — and lists what it finds (§ *The name every match reads*). The receipt names the file by its role and its discovery key, never by a path derived from it, and says that it holds every value the traveller filed, so the remedy is removing the file (§ *The receipt*). **While any discovered file is in this branch, the run holds the store step**: steps 9 and 10 of § *The order of writes* are not taken, rows 26–30 read `UNDETERMINED`, and row 29's receipt line names each trip holding it. The record stays, so its id still selects the subject, and a re-run after the operator settles each such file reaches those trips and finishes the deletion. **The dry-run reach report names each such trip before the prompt**, so the operator can stop and settle it first: where the person still travels there under a row the join cannot confirm, make the row and the file agree as `agents/00-enrichment.md` § *Traveler identity* case C1 says, and the next run erases them there as on any trip.
### A subject who holds no record — a party member recorded through `## person`, or a traveller who filed no profile
**This is rule 16's path, and it has its own subject.** A party member recorded through `## person <name>` holds no person record, so no `<person-id>` names them; their one record is their carried entry in the resolved trip's `outputs/traveler-model.md`. **Rule 19 widens the path to a rostered traveller who filed no profile**: their entry carries `[OPERATOR-PROVIDED]` alone, or is the `PROFILE MISSING` entry a rebuild leaves once it drops those needs, and their roster row is their name's authority.
1. **Naming.** `erase --third-party <n>` on the resolved trip, `--trip <slug>` naming it as for any verb. `<n>` is the entry's place among the model's person entries — every `## ` heading whose key the reserved-key list in `reference/data-model.md` § *Traveler identity — the satisfaction-layer projection* does not hold, counted from the top. Refuse, writing nothing, where the model is absent; where `<n>` is not a whole number in range, printing the count and offering no near-match; or where the entry is in neither rule's target class — rule 16's, both marks; rule 19's, `[OPERATOR-PROVIDED]` alone or `PROFILE MISSING`, its row joined by no traveller file but the intake template left unfilled and by none carrying `person:` — saying its class and never its name. **Rule 19 also refuses, writing nothing**, wherever a file under `travelers/` joins no roster row, naming each such file by its role — *a traveller file no roster row joins* — and never by its path, whose stem may be the name; and wherever more than one roster row shares the entry's key, naming each such row by its place. **On an active trip an entry carrying `[ROSTERED]` is refused, and the refusal follows the state of its row** (`## group` § *Roster standing of a third-party member*). A **stale** row is refused naming `/trip-record group`, which takes that row off. A **pending** row is refused with that reason — the member's intake form sits on file unfilled, and `## group` keeps such a row until it is filled — and the remedy named is to fill in the form or remove it, which leaves the row stale.
2. **Idempotency.** An entry already carrying `[ERASED]` is not erased again: mint nothing and write nothing. Its row 10 reads `ALREADY-ERASED`, and every other REACH row reads `UNDETERMINED`, never `ALREADY-ERASED`, because a run that stopped after its first write leaves nothing to tell which rows it reached. Every REPORT row reads `UNDETERMINED`, because no name for that member survives to read, and the receipt says that the first run's dry-run reach report is the only inventory of the places that name stood. **For rule 19's subject the predicate is also the authority:** where the entry joins a roster row whose trimmed cell is exactly `per-` followed by four lowercase hex digits — as a rebuild leaves it once it has dropped `[ERASED]` with the rest of the entry (item 8) — it is treated as carrying `[ERASED]`, and the run mints nothing, writes nothing and reads as this item states.
3. **The name every match reads.** The entry's heading name, read before row 10 re-keys it — the one authority for that name, since such a member holds no roster row on an active trip (`## group` § *Roster standing of a third-party member*) and their heading is their own record (`agents/00-enrichment.md` § *Traveler identity*). On an archived trip where the entry carries `[ROSTERED]`, it is the joined roster cell, which the reconciler held equal. For rule 19's subject it is the roster cell their row joins, read before row 1 writes it, on an active trip or an archived one.
4. **Scope.** That one trip. Discovery does not run; the residual scan reads every other trip root for that name, as candidates.
5. **Rows.** The reach table below. Row 10 re-keys the heading to `## per-<token> [ERASED]`, keeping the entry's marks, so the token stays non-publishable exactly as the name was. Rows 1–3 read `n/a` where no roster row joins, and otherwise reach the joined row. Row 8 reaches a pending profile file that joins, and reads `n/a` otherwise; row 9 reads `n/a`. Rows 26–30 read `n/a`: no record, no stub, and a group holds only person ids. For rule 19's subject, row 40 reaches their presence entry and row 36 the path their roster name derives (§ `group`, *Adding a row*). Every other row runs as on any trip.
6. **Order.** Where no roster row joins, row 10 is the first write, because the heading is that name's one authority; the rest follow § *The order of writes* from its step 2, with no store step. Where a row joins — on an archived trip for rule 16's subject, and always for rule 19's — the ordinary order applies, and for rule 19's subject row 10 follows row 1 directly, so the heading gives up the name with its authority. A rule-19 run stopped between those two writes leaves the entry under its name, joined to no row, which neither rule's class admits: a re-run refuses it by class, saying the roster holds a token no entry shares, and the first run's dry-run reach report is the only inventory of where the name stood. On an active trip the next reconcile drops that entry and names it by its place, never its heading (`agents/00-enrichment.md` § *Missing or blank profile*); every place the stopped run did not reach keeps the name until the operator substitutes it by hand.
7. **Confirmation.** `erase --third-party <n>` → the dry-run reach report → the prompt names the entry's name and the trip's slug, and for rule 19's subject prints the entry's class beside the name — *a traveller who filed no profile — `PROFILE MISSING`*, or *needs relayed by you — `[OPERATOR-PROVIDED]`* → a typed confirmation of **the slug** at a terminal → execute. No `--yes`, and no non-interactive path.
8. **Afterwards.** On an active trip the next reconcile carries the entry forward under its token, need included, as it carries every both-marks entry (`agents/00-enrichment.md`, the third exit): the member still counts in `Total travelers` and in the outside-roster count (`## group` § *Roster standing of a third-party member*), and `[THIRD-PARTY]` keeps their need non-publishable. On an archived trip the entry stays as its token, its need and its marks, and a reopen's first reconcile carries it the same way. Only a withdrawal ends the entry, and it lowers the count. It names the entry by its token or by `--third-party <n>`, never by a name, so the member leaves the count on the operator's statement, as `reference/adr/ADR-041-third-party-roster-standing.md` requires (`## person <name>` § *A withdrawal*). **Rule 19's subject is not carried:** on an active trip the next reconcile drops the entry as it drops every `[OPERATOR-PROVIDED]`-only one, naming it by its token (`agents/00-enrichment.md` § *Missing or blank profile*), and writes the flagged-gap entry from the tombstoned cell with no collection prompt and no profile route, so the token stands and the name does not return; its needs stand again only where the operator restates them under the token. On an archived trip the entry stays as row 10 left it.
### Step 2 — discovery, and the residue it cannot find
Discovery is a frontmatter read of `person:` over every file each trip's traveller-directory listing names, plus the `merged-into:` stubs that redirect to this record. A trip with no `travelers/` directory carries no bearer, and that is a completed observation; a listing the harness refused is not. **That is the whole of it, and it is a forward scan holding no persisted state**, so nothing can be stale relative to the files.
**Three residues discovery cannot reach by id, named here rather than hedged:**
| Residue | Why the id cannot find it | Disposition |
|---|---|---|
| a trip this person was **unlinked** from | `unlink` removes the reference and writes no marker, so that trip's post-state is byte-identical to a trip that never linked anyone. Its roster row, model entry and itinerary occurrences all remain, and **no edge connects them to this id** | **reported by the residual scan**, never rewritten. `--also-trip <slug>` names such a trip for a closer report: its REPORT rows read it under the record's display name, as candidates, and list each place; every REACH row there reads `UNDETERMINED` and nothing is written, because no row of that trip can be tied to the id and rule 10 admits a write only on a trip discovery resolved — so a roster there that carries a tombstone reads the same. To erase there, re-link the trip with `/trip-record link <name> <person-id>` while it is active, and the next run resolves it |
| anything **published** | a repository, a Pages site, a cache, a clone. Re-publishing adds a commit; it removes none | **`UNREACHABLE`**, carrying the repo and the count |
| a value **promoted** into the record from a trip | the record is deleted, but the trip keeps the value it promoted | swept as ordinary trip data on a resolved trip; unreachable on one discovery did not resolve |
**`unlink` narrows this verb's reach, and that is a property of the two verbs rather than a defect in either.** The detach is CHEAP and reversible and writes no marker — correct for what it is — and the cost lands here. Say so in the render; do not imply the sweep was total.
### The name every match reads
**Every row below that matches a name, and the residual scan, match the subject's name as this block defines it — never the record's display name alone where the trip's own name can be read, and never a name this command computed.** The roster is the name authority on its own trip (`reference/data-model.md` § *The display name has one authority*), and a trip may name the subject differently from the record — it may say "Mom" where the record says "Pat" — so what is matched depends on where the match reads:
- **on a trip this run resolved**, the subject's name is the value row 1 replaces in that trip's roster, read before step 1 writes it. **Where that roster already carries the token**, because a run was interrupted before its last write there, that value is gone and no file on the trip holds the authority: the run reads the title line of the traveller file discovery resolved there — the old file, which the order of writes removes last so that this read is still possible (§ *The order of writes*) — and the record's display name, as **candidates**, never as the trip's name: the one authority for that name was the roster cell step 1 replaced, and a profile's own title line is not one; the receipt says so (§ *The receipt*);
- **on a trip in the no-row branch of § *Step 1***, there is no trip name: the candidates are the title line of the discovered file and the record's display name;
- **on a trip `--also-trip` names**, which discovery did not resolve, there is no trip name either, because no row of that trip can be tied to the id: its REPORT rows read the record's display name, as a candidate, and nothing is written there (§ *Step 2*);
- **for row 37 and the residual scan**, which read beyond any one trip, it is every name the bullets above yield on this run, candidates included, together with the record's display name.
**On a resolved trip every row matches that trip's name and no other.** Where a trip names the subject otherwise, the record's display name can be another traveller's there, so no REACH row matches it. Row 37 and the residual scan read it, and so does every REPORT row on every trip whose name is not the record's display name, as a candidate, on a first run as on a later one — and none of them writes.
### Step 3 — the reach table
**The receipt is total over this table.** Every **REACH** and every **REPORT** row emits **exactly one** row on every run. **OUT** rows emit none, and a caller checks "no row" against this list rather than inferring it from silence. A location can therefore only be missing from a receipt **by being missing from this table**, which moves "silently partial" from a failure the implementation can have to one only this table can have.
Outcome tokens are `ERASED` · `TOMBSTONED` · `REPORTED` · `UNREACHABLE` · `ALREADY-ERASED` · `n/a` · `UNDETERMINED`. **`UNDETERMINED` is never a pass.** `REPORTED` is the outcome of a REPORT row that reads for the subject's name in places this verb does not write, on every run: its count is what it found there, and `0` is a count, never a missing row.
Locations are named **by path, never by an artifact-class ordinal.** That enumeration renumbered mid-milestone when a class was inserted ahead of the person store, and six ordinal citations in this milestone's own working notes came to name the wrong class — three of them across the in-model boundary. A path does not do that.
| # | Location | Disp. | What happens |
|---|---|---|---|
| **1** | `trip-context.md` § *Group* — **column 1 of the roster table** | REACH | substitute the cell. **The row survives.** Written **first** — see the ordering below |
| **2** | § *Group* roster — the path cell, **where the roster has a path column** | REACH | repoint to `travelers/per-<token>.md`. Where the roster has no such column, emit **`n/a`** and name the column set. **Never a silent skip** |
| **3** | § *Group* roster — **any other cell of that person's row** | REACH | **substitute the whole cell** to `—`. These are free-text descriptions *of the person*, not join keys; replacing only the name inside one leaves a description of the erased person standing under a tombstone, which reads as anonymised when it is not |
| **4** | § *Group* — **the prose sub-fields**, whatever they are | REACH | substitute every occurrence of the subject's name **between the `## Group` heading and the next `## ` heading**. Defined by **block extent, not by a field list**: nothing in the corpus enumerates these sub-fields, so any list written here is stale the first time an operator adds one |
| **5** | § *Group* — `- **Total travelers:**` | REACH | **unchanged.** Erasure does not reduce the party — the person travelled |
| **6** | § *Hard Constraints* / § *Dietary & Health* — `Applies to:` values | REACH | substitute the name. **Never empty the list** |
| **7** | the constraint **description text** | **REPORT** | **not swept.** A trip-level fact the person does not own. Name each constraint whose only `Applies to:` was the subject, by section and heading |
| **8** | `travelers/<traveler>.md` — the file | REACH | **rewritten to the token's stem** and the old path removed. See § *What the traveller file becomes* |
| **9** | `travelers/<traveler>.md` — frontmatter `person:` | REACH | **removed, not substituted.** The field is optional and its absence is that file's pre-existing normal state; the derived model cannot take removal, and the pairing is what makes the tombstoned-versus-dangling discriminator structural |
| **10** | `outputs/traveler-model.md` — the entry heading | REACH | substitute to `## per-<token> [ERASED]`, keeping any marks the entry already carried. **This is the only location that takes the `[ERASED]` mark** |
| **11** | `outputs/destination-shortlist.md` · `links-reference.md` · `venue-matrix.md` · `satisfaction-metrics.md` · `validation-report.md` · `cost-estimate.md` | REACH | substitute |
| **12** | `outputs/activities-list.md` · `food-list.md` · `nightlife-list.md` · `scheduling-framework.md` · `transport-brief.md` · targeted-research outputs · `change-summary.md` | REACH | **substitute only — never regenerate.** `accumulate-append`, and the research outputs hold independent state nothing upstream reconstructs |
| **13** | `outputs/final-itinerary.md` **and every** `final-itinerary-v<N>.md` | REACH | substitute in **every** version. A `versioned` class is only checkable across the whole glob |
| **14** | `outputs/event-status.md` | REACH | substitute. `persist-mutable`; **no row is deleted** — a removed row is a lost booking state, not a redaction |
| **15** | `trip-log.md` | REACH | substitute, **as a declared exception** to never re-opening a prior entry, and append one entry naming the act and **no value** |
| **16** | `engine-learnings.md` | **REPORT** | **cannot be swept — no declared writer, no lifecycle, no schema.** Emit `UNREACHABLE` with the path and the occurrence count |
| **17** | **every** `outputs/*-travel-site.html` — the destination-named page and the slug-named page a build writes while no destination is recorded — and their secondary renders | REACH | delete. On an active trip the site is rebuilt from cleaned sources; on an archived trip it stays deleted, because the site was already taken offline when the trip was concluded |
| **18** | `trips/<slug>/.publish/`, including its own `.git` | REACH | remove the directory — the same act the publish script's takedown arm already performs |
| **19** | **the published repository, its Pages site, its git history, and every cache or clone** | **REPORT** | **structurally unreachable.** Emit `UNREACHABLE` carrying the repo, the commit count and the hand-off |
| **20** | `.passphrase` · `.publish-slug` · `outputs/.staticrypt.json` · `.published-itinerary` · `.published-itinerary.next` · `.change-confirmed` · `.rotation-pending` · `.publish-lock/` | OUT | control files, declared to hold no person data |
| **21** | this repository's own git history | OUT | the only path ever committed under `trips/` is its `README.md` |
| **22** | `examples/**` | OUT | **and must not be swept.** These are CI witnesses, and every profile in them ships *"Illustrative, sanitized example. Not a real person."* |
| **23** | `analysis/**` | **REPORT** | name the tree; do not sweep |
| **24** | the session transcript | **REPORT** | name it — and **never echo a subject value**, which is the act that would put one there |
| **25** | `.claude/worktrees/**` | OUT | git worktrees do not materialise ignored paths |
| **26** | **merge stub, subject as loser** — `people/<subject>.md` rewritten as a stub | REACH | **delete it.** It holds the subject's complete pre-merge body |
| **27** | **merge stub, subject as survivor** — a stub filed under *another* person's id | REACH | **redact the subject's pre-merge values from that stub**, preserving its redirect and the other person's data. **Never delete it** |
| **28** | **merge stub whose `merged-into:` names the deleted record** | REACH | repoint the redirect at the tombstone. **Never delete it** — redirect depth is pinned at one hop, so a deleted stub strands every referrer as `MALFORMED` rather than resolving |
| **29** | `people/<person-id>.md` — the record | REACH | **delete the file.** No stub is left in the store |
| **30** | `groups/*.md` — the `## Members` bullets naming the subject id, **and any bullet naming a `merged-into:` stub id that redirects to it** | REACH | **remove the bullet. No tombstone.** A `per-<token>` written here would be a stable **cross-trip** pseudonym surviving in a **cross-trip** store — the exact correlation the per-(person × trip) mint exists to destroy. Removal is safe because a member set is variable-length **by construction**, so a smaller set is a valid one rather than an emptied location. Where removal empties a group or leaves a single member, **the group is not deleted** — emit its id and its new count. The stub half needs no new machinery: step 2's discovery already computes the stubs that redirect to this record, and this sweep consumes that set. **This row's reach over the section is total by construction rather than by enumeration**: `reference/schemas/group-record.md` closes `## Members` to member bullets and blank lines, so the only thing the section can contain is the thing this row removes, and there is no residue of another shape for it to miss |
| **31** | `.approvers` · `.approvals` — the approver key on every `approver=` line and in every ledger record | REACH | **substitute** the subject's canonical traveller key with the token's own key — `per` and the four hex digits, the key `per-<token>` normalizes to — wherever it is a whole key field, in both files in one write step. **No record is removed and no line is emptied**: a declared approver who is erased stays declared under the token, and every organizer-stated record stays counted under it, so the gate's verdict and the published count are unchanged by the erasure. Where the trip has neither file, emit **`n/a`** and name both files. **Never a silent skip** |
| **32** | `trip-context.md` § *Dietary & Health* — the `Mobility notes:` and `Other health notes:` lines | REACH | substitute the subject's name inside each line's value, on an active or an archived trip alike, and change nothing else on the line. **These are the section's attribution lines**: a name there says whose need a mobility or health note describes, and the need is the plan's while the name is theirs — the rule row 6 applies to this section's `Applies to:` values. **A line is its labelled bullet together with the lines that continue it — every following line up to the next line that begins at column 0, a blank line or a heading, nested bullets included — located by label anywhere between the `## Dietary & Health` heading and the next `## ` heading.** The section's food and allergen lists, and every other line of it, are row 34's: a name there can also be a food, and a line no label here declares may be one of those lists. **Never empty a line** |
| **33** | `trip-context.md` § *Logistics* — the value of every `Primary traveler:` line and every `Departing travelers:` line, wherever in the section it sits | REACH | substitute the subject's name inside the value and change nothing else on the line. **These are the section's traveller slots**: the template has the author write `## Group` roster names there, so each is a projection of the cell row 1 rewrites, and one left standing names, on an origin, a traveller the roster no longer carries. **Located by label anywhere between the `## Logistics` heading and the next `## ` heading, never by sub-block**, so an archived trip keeps this reach after a later release retires the block that holds one |
| **34** | `trip-context.md` — § *Mode*, § *Destination*, § *Logistics* outside row 33's slots, § *Accommodation*, § *Soft Preferences*, § *Trip Style*, § *Budget Posture*, § *Weather Context*, § *Destination Baseline*, § *Events & Calendar*, § *Possible Day Trips*, § *Locked Elements*, § *Current Itinerary Status*, § *Validation Requirements* and § *Notes for All Agents*, each by block extent, with every `[ENRICH]` or `[DERIVED]` sub-block it holds; and § *Dietary & Health* — the `Allergies:`, `Dietary restrictions:` and `Dietary preferences:` lines, and every line of that section rows 6 and 32 do not reach | **REPORT** | **not swept.** Count the subject's name in each section and in each of those `## Dietary & Health` lines, word-boundary and case-sensitive, and name each that holds it with its count — a section by its heading, a line by its label where it has one; a `[DERIVED]` block that names the subject is also reported **stale**, the word `## group` uses for it after any roster change. **A block another writer owns is not this command's to write**: `CLAUDE.md` § *Write ownership* gives the `[ENRICH]` blocks to the enrichment agent, and a `[DERIVED]` block an earlier template left in a trip to no writer at all; the trip window is this command's only as a recompute from the legs and stay times, so it holds no name. **The rest state facts about the trip rather than about a person** — its places, dates, bookings, venues, style, budget and planning state, and the foods and allergens its plan keeps clear of — where a display name that is also a place, a month, a venue or a food is the likeliest false match, and a substitution there would rewrite the trip's own record irreversibly: in an `Allergies:` list it would take another traveller's allergen with it, and leave a plan that grades compliant without it. **A reported name is one the operator can still remove; an over-matched rewrite is one nobody can undo**, so here the report is the cheap error |
| **35** | `outputs/traveler-model.md` — every line of the body but a `##` heading: each entry's needs, desires, facets and `Documents:` line, each `(Applies to: …)` list and each `shared with <Name>` reference, the `## Desire overlap` block, the `## Update signals [DERIVED]` block, and the text of a carried-forward `[OPERATOR-PROVIDED]` + `[THIRD-PARTY]` entry | REACH | **substitute only — never regenerate**, every occurrence of the subject's name, by file extent, on an active or an archived trip alike. A `[THIRD-PARTY]` entry's heading and needs are that party member's and not the subject's to erase, so this row changes only the subject's name inside its text, and the next reconcile carries that text forward verbatim, because carry-forward copies the model this row wrote. **On an active trip a reconcile re-derives every other entry from its own traveller's file**, so a name whose source is another traveller's own words returns with it — row 38 names that file |
| **36** | `outputs/traveler-model.md` — the path of the traveller file row 8 superseded, wherever the model names it | REACH | **repoint** to `travelers/per-<token>.md`, the path row 8 gives the file, as row 2 repoints the roster cell; for rule 19's subject, the path their roster name derives (§ `group`, *Adding a row*) is repointed the same way. **Located by that exact path, never by a name match** — a stem is often the name lower-cased, which a case-sensitive pass cannot see. Where the model names no such path, emit **`n/a`**. **Never a silent skip** |
| **37** | `groups/*.md` — the `# <H1>` display name of every group record | **REPORT** | **not swept, and nothing is written.** Read each record's title line, count the subject's name in it, word-boundary and case-sensitive, and name each group whose name holds it **by id, never by its name**, with its count. The name is free text the operator wrote — the one place `groups/README.md` routes a group's meaning — and rule 13's operation class writes no value, so substituting it would need a widening that rule forbids. **A match is a candidate, not a finding**, because a group's name may use the word for something else, and renaming the group is the operator's act |
| **38** | the rest of a resolved trip's directory, read once after the last write — every place the subject's name still stands outside what rows 16 and 34 count and row 20 declares (row 20's control files are not opened, `.passphrase` among them, the trip's key): another traveller's own `travelers/<traveler>.md` outside the lines row 39 reaches, a file no row of this table names, the description text of each constraint row 7 names, which row 7 reports and does not count, a line of a named file that no row covers — the lines of `trip-context.md` above its first `## ` heading and a section the template does not carry among them — and a REACH location a run did not finish | **REPORT** | **not swept.** Name each place with its count, word-boundary and case-sensitive, and list apart, as **candidates**, the matches that appear only when case is folded; a file this read cannot take as text is named with `UNDETERMINED`. **This row is what makes the receipt total over the trip rather than over a list**: a location nobody added to this table is reported here rather than read as reached, and a place a run interrupted before its last write on the trip left standing is reported on the next run, which still resolves the trip. Where the row the discovered file joins carries the token, that run reads `ALREADY-ERASED` on every REACH row but rows 2, 8 and 9; where the file joins no row, that run meets the no-row branch of § *Step 1* |
| **39** | another traveller's own `travelers/<traveler>.md` — the value of `Relationship:`, `Party:`, `Rooming:`, each `Overlap:` line and `Split off with:`, each with the lines that continue it | REACH | substitute the subject's name inside the value, on an active or an archived trip alike, and change nothing else on the line. **Never empty a line.** **Admission is the `TRIP` class plus this list** (`CLAUDE.md` § *Rules over an enumeration*): a field is reached here only where this row names it and `reference/data-model.md` § *The classification* classes it `TRIP`, the class a person record never holds. A sixth field is admitted by an edit to this row, which `scripts/test-artifact-schema.sh` arm `ER28` grades, and every other line of that file stays row 38's. **This is what keeps an active trip's substitution from coming back**: the reconcile re-derives that traveller's facets from this file, which now carries the token where it carried the name, and no person record holds a `TRIP` field to restore it |
| **40** | `outputs/traveler-presence.md` — the entry heading | REACH | substitute to `## per-<token>`, **without** the `[ERASED]` mark, which stays the model's alone. The lines beneath it carry no name by the writer's own bound, so no free-text pass runs over them. Where the trip has no presence file, emit **`n/a`** and name the absent file; where the file holds no entry for the subject, emit **`n/a`** and name the population rule that admits none. The entry is the one whose heading is the subject's name as § *The name every match reads* gives it on that trip, held in the person column, which § `group`, *The roster's two columns* finds by what it holds. On a trip in the no-row branch of § *Step 1*, this row reads `UNDETERMINED`, as that branch states. Under `--third-party <n>` it reads **`n/a`** for rule 16's subject and names the population rule: the file gives presence lines to first-party roster entries only (`reference/adr/ADR-028-derived-planning-day-block-owners.md` § 13), and a `[THIRD-PARTY]` member's entry is not one, so that member has none there; rule 19's subject is first-party there and is reached. **Never a silent skip** |
**The table carries 40 rows — 28 REACH, 8 REPORT and 4 OUT — numbered contiguously.** Every row but row 29 is a location a copy of the person's data can reach; row 29 is the person's own record.
**Row 30 is numbered after the record and written before it, and the two orders are separate on purpose.** The numbering is **append-only**, because every citation by number in the write order and in the two phase lists re-points silently under a renumbering — which is the property `ER14` grades as contiguity. The write order is stated in its own block below, where each position carries its reason; **the store is still written last, and row 30 is part of the store step rather than after it.** Deleting the record before the group sweep would strand a partial run with a member bullet naming an id nothing resolves and no record to re-derive the sweep from, which is the same argument that put row 29 last in the first place. **That accounting is graded against the table by `scripts/test-artifact-schema.sh` arm `ER14`**, in every term and in both directions, because the receipt's totality rests on this table being the whole population and a bare numeral is the one part of that claim nothing was checking: a row can be added while the figure beside it stays, and a reader checking the figure then reads a confirmation where a widening happened. Re-state the accounting in the same commit as the row. `people/README.md` is **not** a location: it is a tracked signpost carrying no person data, and keeping it that way is a property of the store rather than a thing this verb checks.
### What the traveller file becomes
**The file is rewritten rather than field-edited, and the difference is the whole of the override sweep.** A trip-local override is a divergent copy of a durable field sitting in this file; a field-by-field pass would have to enumerate the durable field set and would silently miss the field no schema declares. Rewriting the file reaches every override, including ones nothing enumerates.
**Rewritten, not replaced with a marker.** The result is a file of the same declared shape, at stem `per-<token>`, in which:
- the title line and the name field carry **the token**;
- every answered personal value is the form's own **not-answered** sentinel — a single em dash — which is the state the composition rules already read as *unanswered*, so no reader needs to learn a new one;
- the **needs and desires, and the `Applies to:` link into the trip's constraints, survive verbatim**;
- the frontmatter carries **no `person:` key**;
- there is **no `[ERASED]` mark**. The bearer's tombstone-ness is carried structurally — a tombstone has no reference field left to dangle — and the positive mark lives in the derived model.
> **The need surviving is deliberate and is the second half of "never empty the list".** Erasure removes a person's identifying values, not the constraint structure the plan was built on. Dropping the need here, or emptying the `Applies to:` roster it points at, turns a concluded plan into one that grades as **compliant** while no longer carrying the need it was built around. That failure is silent, and it is worse than the leak it would be trading against.
### The order of writes, and why it is not tidiness
> **1.** row 1 — the roster cell. **2.** rows 3–4 — the rest of § *Group*. **3.** row 8 — the traveller file, written at the token's stem beside the old one — then row 39, the name slots of every other traveller's file. **4.** row 6 — `Applies to:` — then row 32 and row 33, the attribution lines of § *Dietary & Health* and the traveller slots of § *Logistics*. **5.** row 10 — the derived model's heading — then row 40, the presence file's entry heading, then row 36 and row 35, the rest of the model, then row 31, the approval sidecars. **6.** rows 11–15, 17 — the remaining derived and accumulated artifacts. **7.** row 18 — the publish staging clone. **8.** rows 2, 8 and 9 — the roster's path cell repointed to the token's stem, then the old traveller file removed, and its `person:` key with it: the last write on the trip. **9.** rows 26–28 and row 30 — the merge stubs and the group store. **10.** row 29 — the person's own record, and the last write of the store. Steps 9 and 10 are held while any discovered traveller file is in the no-row branch of § *Step 1*.
**The roster is written first because it is the name authority.** `agents/00-enrichment.md` § *Traveler identity* states it: the roster cell is the authoritative display name, the model heading and the traveller-file stem are **projections** of it, and where a projection disagrees *"the roster is right and the projection is the defect"* — the reconciler converges the projection onto the roster and is forbidden to repair by rewriting the roster.
**So the two orders are not two implementations of one design; one of them is the resurrection bug.** A run interrupted after step 1 leaves the roster tombstoned and the derived model stale, and on an active trip the next reconcile **converges the model onto the tombstone** — the one projection a pass rewrites, because the reconciler renames no traveller file and an archived trip receives no reconcile at all. A run interrupted under the reverse order leaves the projections tombstoned and the authority still carrying the name, and the next pass **restores the name into every projection it just cleaned**. A model-only erasure is not merely incomplete: it is undone *by instruction*. **No other row heals itself**: where the row the discovered file joins carries the tombstone, the next run of this verb keys on that cell and writes nothing on that trip but what step 8 left undone, and where the file joins no row, the next run meets the no-row branch of § *Step 1* and writes nothing on that trip at all. So a row a run did not reach stays as it was until the operator changes it, and row 38 is what names, with its count, each place such a row left standing.
**Row 31 is not healed by that pass either, and not even row 38 shows it**, because the sidecars hold the subject's key rather than their name. The approval sidecars are not projections of the roster, so nothing converges them onto the tombstone: a run interrupted after step 1 and before step 5 reaches row 31 leaves the subject's real key on the `approver=` lines of `.approvers` and in the ledger records of `.approvals`. Where the row the discovered file joins carries the tombstone, the next run emits `ALREADY-ERASED` on row 31 as on every REACH row but step 8's, and writes nothing there. Where the file joins no row, it meets the no-row branch of § *Step 1*: row 31 reads `UNDETERMINED`, and the run writes nothing there either. So on such a trip neither outcome shows that the sidecars were reached, and the key stays in both until it is substituted there by hand, as row 31 states — the only route left to it, because neither branch has the verb write there again.
**This is also what closes the reopen path.** `/trip-decommission reopen` returns the marker to `ACTIVE` and the next pass re-enumerates the party **from the roster**. The entry class with a roster row and no traveller file — the `[OPERATOR-PROVIDED]`-alone entry, a traveller whose needs the operator supplied before they filed a profile — has no source-side substitution to carry it, so a roster left un-swept resurrects them on the first pass after a reopen. **The roster write is what makes the archived erasure hold.**
**The old traveller file is the trip's last write, because it is how the next run finds the trip.** Discovery reads its `person:` key, and where the roster has a path column, that cell, naming the old file by exact path, is how the next run joins the file to the subject's row and reads the token there (§ *Step 1*). So row 8 writes the token-stem file at step 3, where the model can point at it, and the cell and the old file stay until every other write on the trip is done: step 8 repoints the cell (row 2) and then removes the old file, and its key with it. A run interrupted at any earlier write leaves the trip resolvable. Where that column exists and still names the old file, it also leaves the subject's row joined, and the next run emits `ALREADY-ERASED` on its other REACH rows and completes step 8 where the token-stem file exists and writes nothing on that trip where it does not. Where the roster has no such column, or a run stopped inside step 8 after repointing the cell, the old file joins no row, and the next run meets the no-row branch of § *Step 1* and writes nothing on that trip. On every path its REPORT rows read under candidate names, so row 38 names each place the interrupted run left the name standing. **A run interrupted after a trip's last write left nothing there unreached**; the next run does not resolve that trip, and what its REPORT rows would have named was named, under the trip's own name, by the dry-run reach report the first run printed before its confirmation (§ *The confirmation*), and reaches the next run only through the residual scan, as candidates under the names the scan reads.
**Three residues this order leaves, named rather than claimed away.** Where the roster has no path column the join is the stem key, which step 1 breaks, so a run interrupted before step 8 leaves the old file joined to no row: the next run meets the no-row branch of § *Step 1*, writes nothing on that trip, holds the store step, and names the file in its receipt, where it stays until the operator removes it. A traveller `group` took off the roster, whose file stays by that verb's own rule, meets the same branch, with or without a tombstone on that trip, and is reported rather than erased. And from step 1 to step 8 the subject's row pairs the token with the old file's path, so on an active trip a reconcile run inside that window meets a file that does not correspond to its row and writes an `UNRESOLVED` note naming the old path into the derived model (`agents/00-enrichment.md` § *Traveler identity*), until a run completes step 8 and the next reconcile reads the repointed cell.
**The store is written last, for the same reason inverted.** While `people/<person-id>.md` exists a re-run can re-derive the whole sweep from it. Deleting it first strands a partial run with no source of truth for what it was erasing. **That argument reaches the group store too, and is why row 30 sits inside step 9 rather than after step 10**: the group sweep is located by the subject id and by the stub set step 2 computed, and both stop being re-derivable the moment the record is gone.
### The two-phase sweep, and why a name is not a safe pattern
**Phase A — structural loci.** Rows 1, 2, 3, 5, 6, 8, 9, 10, 26–31, 32, 33, 36, 39 and 40. Each is a named cell, heading, field or path, addressed **by position**. Phase A never pattern-matches a name; it rewrites a located slot. **Row 30 belongs here and not in Phase B, and the distinction is exact rather than incidental:** a member bullet is located by an **id**, matched whole against an anchored line, never by a display name — so the free-text hazards Phase B's bounds exist for do not arise, and the group store is outside Phase B's one-trip-directory scope in any case.
**Phase B — bounded free-text.** Rows 4, 6, 11–15, 17, 32, 33, 35 and 39. **Word-boundary, case-sensitive, and scoped to one trip directory per pass.**
**Another person's name is never rewritten by Phase B.** Before it substitutes, it reads the name of everyone else on the trip — the person cell of every other roster row, and the name of every `[THIRD-PARTY]` entry the derived model carries (`## group` § *Roster standing of a third-party member*). An occurrence of the subject's name lying inside one of those names, matched whole and word-bounded, is not substituted on any row; it is counted and listed apart as a candidate on that row's receipt line. So another traveller's name authority is never rewritten, and a third-party member's stale or pending row keeps the key its `[ROSTERED]` join and the counted floor read.
> **Never repository-wide, and never case-folded.** A display name is frequently an ordinary English word. Measured on this repository's own working tree, one live four-character display name occurs **5 times inside its trip, 130 times across the repository, and 4,395 times case-folded** — and every one of those outside occurrences is legitimate prose. A repo-wide or case-insensitive replace does not fail loudly; it corrupts the corpus silently. `examples/**`, `analysis/**`, `agents/**`, `reference/**`, `scripts/**`, `templates/**` and the repository root are outside Phase B **by construction**, not by an exclusion list that a later path could slip past.
**Case-sensitivity is a decision with a stated cost.** A name written by hand in a different case inside a research list is missed. That miss is **detected rather than hidden**: on a trip discovery resolved, row 38 lists it as a candidate, and on any other trip the residual scan does.
### The residual scan
**Run before Phase A rewrites anything**, and emitted as a distinct `CANDIDATES` block below the receipt.
It scans the trip roots discovery did **not** resolve for the subject's name — the names § *The name every match reads* gives this scan — word-boundary and case-sensitive, and reports **path and occurrence count only**. **It substitutes nothing there, ever.** This is what turns the unlink residue from "somewhere" into an enumerated list.
**They are candidates, not findings, and the distinction is measured rather than cautious.** A name match outside its own trip is weak evidence: the same measurement that forces Phase B's scope bound shows an ordinary-word name occurring 26 times outside its trip for every occurrence inside it. Reporting these as findings would train the operator to ignore the block.
### The confirmation
> **`erase <person-id>` → the dry-run reach report → the prompt names the record's display name and id → a typed confirmation of **the id** at a terminal → execute.**
>
> **There is no `--yes`. There is no non-interactive path. There is deliberately no flag to skip it.**
**Under `--third-party <n>` the typed token is the trip's slug** (rules 16 and 19): the prompt names the entry's name and the slug, the operator types the slug, and § *A subject who holds no record* item 7 states the sequence.
**The dry-run reach report is the run's inventory, taken before anything is written.** It carries every REACH row and every REPORT row of the table above, each with the places it would reach or report on every trip discovery resolved and the count at each, computed with the subject's name as § *The name every match reads* gives it — on a first run, the roster's name, read before step 1 writes. Nothing an interruption does can reach it: a run stopped after a trip's last write prints no receipt for that trip, and the next run no longer resolves the trip, so this report is where that trip's REPORT places were last named under the trip's own name. Like the receipt, it names places and counts and never a value.
**The prompt echoes the display name; the typed token is the id.** Those are two separate halves and they answer two different failures.
**Echoing the name closes the mis-target.** An id is opaque: where two co-travellers on the same trips each hold a record, nothing in `psn-3c7e` distinguishes them, and an operator who transposed two ids at the shell would confirm the wrong erasure with no second signal. The prompt therefore names the record it is about to erase — display name **and** id — before it will accept anything. This is the standard shape for an irreversible operation: **show what is about to be destroyed, and require a token to proceed.**
**Typing the id, never the name, closes the other one.** The operator never types an erased value, so the confirmation does not build the habit of typing people's names at prompts, and no personal data enters the shell's history. That was the original objection to naming the subject here and it is preserved intact — what changed is that it was being answered by *withholding the name from the operator*, which pays for it with the one mis-targeting this gate cannot otherwise stop.
**On the transcript.** The name appears once, in the prompt, at a moment when the operator has just read a dry-run reach report for that person and has their record open. It is not new information at that point. Erasure substitutes the display name **in artifacts**; a terminal prompt is not an artifact, and treating it as one bought secrecy the operator did not need at a cost the person being erased would not have chosen.
`unlink` echoes its outgoing reference because it is reversible and the operator may want to re-link. This verb echoes its subject for the opposite reason — because it is not.
**What the gate catches, and what it still does not.** The echoed name catches a run aimed at the wrong **person** — the failure an id alone cannot see. The typed id catches a run aimed at the wrong **record** where two people share a display name, which a name alone cannot see. The two halves are complementary, and each covers the other's blind spot.
**What remains uncaught:** an operator who reads the echoed name, recognises it, and confirms anyway — a deliberate erasure of the intended person, which is the operation working. Beyond that, a record whose display name is itself wrong will echo the wrong name and confirm against a correct id; the reach report above the prompt is what narrows that, and it names paths and occurrence counts rather than people.
**Why the gate is stronger than the nearest precedent's.** The publish script's takedown arm types the *subject identifier* and accepts a flag to skip the prompt, because a deleted repository can be re-published. Its typed identifier would here be the person's name, and its escape hatch would be a scripted irreversible erasure. This verb takes instead the shape the script reserves for the confirmation it will not let anyone skip.
**The cost, stated rather than buried: erasure cannot be scripted, batched, or run in CI.** That is the correct trade for the one irrecoverable operation on this surface, and it is the trade the corpus already made for a reversible one.
### The receipt
One row per **REACH** and per **REPORT** location, every run: **location · disposition · outcome · occurrence count**, and for `UNREACHABLE` the concrete path or URL. **No row carries a value.** Every REPORT row that reads for the subject's name takes the outcome `REPORTED` and lists, after its count, each place it found the name — a section by its heading, a line by its label, a file by its path, a group by its id — with that place's own count, and its candidates apart; on a trip in the no-row branch of § *Step 1*, or whose roster already carried the token, every place it lists is a candidate, because the trip's name could not be read there (§ *The name every match reads*). A heading or a path whose own text carries the subject's name is printed with the trip's token in the name's place — the literal `per-<token>` where no roster row of the trip joins the subject — and marked `(name masked)`, so the row names the place without carrying the value and the operator knows the bytes on disk still hold the name. **A traveller file a run leaves standing — the superseded one, or one in the no-row branch of § *Step 1* — is named otherwise**: by its role and its discovery key — *the superseded traveller file, whose `person:` is `<person-id>`*, or *the unjoined traveller file, whose `person:` is `<person-id>`* — and never by its path, whose stem is the name lower-cased and whose masked form would read as the token-stem file's own path. Rows 8 and 9 read `UNDETERMINED` beside it, and the receipt says that it holds every value the traveller filed, so the remedy is removing the file. For the superseded file it says, where the run's store step runs, that this receipt is the last that can name it, because the run's last write deletes the record its key names, and where the run holds that step, that the next run names it again; for a file in the no-row branch it says that the run held that deletion, so the next run names the file again. An **OUT** row emits none. **The receipt closes on one line saying what it is total over**: its REACH and REPORT rows, by number, and the OUT rows, by number, as declared rather than reached — and never over anything else — and, for each trip in the no-row branch, or whose roster already carried the token, that the trip's name could not be read there, so its REPORT rows counted candidates, and, for each trip whose name is not the record's display name, that the record's name was read there as a candidate, and, for each trip `--also-trip` named, that its REPORT rows read the record's name there as a candidate and nothing was written there. Then the `CANDIDATES` block, then the hand-off for row 19.
**Row 30's receipt row carries the group ids it reached and their new member counts, and that is not a value in the sense the rule above forbids.** A group id is this run's own act made auditable — it names which records changed, so an operator can see that a group they curated is now smaller — and it is neither the subject's data nor anybody else's. A row naming only an occurrence count would leave the operator unable to tell which of their groups moved, on the one location in the table whose contents they authored themselves. **The member ids that stayed are never printed**, and no display name is resolved for this row at all.
**On a trip where the row the discovered file joins already carries the token, a later run mints nothing, emits `ALREADY-ERASED` on every REACH row but rows 2, 8 and 9, and writes nothing there but the completion of step 8 that § *Step 1* allows**; rows 2, 8 and 9 take the outcomes that section gives them, and the REPORT rows read and report there as on any run, under candidate names. Where the file joins no row, the trip is in the no-row branch of § *Step 1*, and its receipt reads as that branch says.
### The standing rules this verb writes under are rules 10, 13, 16 and 19
**Rule 10 carries every row but one** — row 37 among them, which reads the group store and writes nothing, and so needs no rule of its own. This section discharges each of its conditions by name. **(a)** every location written is a row of the table above, and the receipt is total over it; **(b)** every rewritten value becomes the minted token or the form's declared not-answered sentinel, and **no location is emptied** — rows 5 and 6 are the two that would otherwise be, and both are pinned, and row 32, row 33 and row 39 change a name inside a line rather than remove the line. Row 31's rewritten keys are the token in the sidecars' own key form — the key the tombstoned roster cell normalizes to; **(c)** Phase B is scoped to one trip directory, word-boundary and case-sensitive, and reaches no path outside it; **(d)** the operator types the record's id at a terminal, with no flag and no non-interactive path; **(e)** every REACH row and every REPORT row emits exactly one receipt row, including `n/a` for the absent roster column and for a model naming no superseded path, `REPORTED` for the places this verb reads and does not write, and `UNREACHABLE` for the four locations nothing local reaches, and an OUT row emits none.
**Row 30 is rule 13's, and it is stated separately rather than folded in because rule 10 cannot carry it.** Rule 10(b) admits a rewritten value that becomes the minted token, and the minted token is the one thing that must never be written into a cross-trip store; and its *no location is emptied* clause is calibrated to a constraint roster, where empty grades as compliant, rather than to a member set whose length is variable by construction. Rule 13's five conditions are discharged here, named by letter rather than in the bracketed form rule 10's own discharge uses — that form is anchored by an arm of the schema suite at exactly one site in this section, and a second instance of it would leave the arm unable to locate the site it grades. Clause **a**: the location is row 30 of the table above and emits its receipt row like every other. Clause **b**: the bullet is matched whole, against an anchored line, by id. Clause **c**: removal leaves the record standing. Clause **d**: a group left with no members or with one is reported by id and count. Clause **e**: no group record is deleted at any count.
**Rule 16 carries the path of § *A subject who holds no record*.** Its conditions are discharged here by letter, as rule 13's are. Clause **a**: every location written is a row of the table above, on the resolved trip alone, and the receipt is total over it. Clause **b**: every rewritten value becomes the token minted for that trip or the form's declared not-answered sentinel, and no location is emptied. Clause **c**: Phase B runs on that trip's directory alone, word-bounded and case-sensitive. Clause **e**: the receipt stands where an echo would and is total over the table. In place of **d**: the operator typed the trip's slug at a terminal after a prompt naming the entry (§ *The confirmation*). **Rule 19 carries the same path for its own subject, on the same clauses**, the name each match reads being the roster cell their row joins (§ *A subject who holds no record*, item 3).
**Rules 9 and 12 are untouched.** Rule 9's target derivation is taken unchanged and its operation class is not widened — erasure fails it on three counts, which is why rule 10 exists rather than an exception inside rule 9. Rule 12 is likewise not stretched: it derives an **operator-driven** write to a reference store, selected by an id the operator supplied and reaching one file, and an erasure satisfies neither clause — which is why rule 13 exists rather than a carve-out inside rule 12.
### What this verb must never converge with
`unlink` and this verb **both remove the `person:` line**, so field-absence alone discriminates nothing. The corpus separates a trip that never linked anyone from a trip whose person was erased on a **conjunction**: the field is gone **and** the derived model carries an entry keyed `per-[0-9a-f]{4}` and marked `[ERASED]`.
**Only this verb writes the second conjunct.** If this verb's post-state ever converges with the detach's — by dropping the roster tombstone, by removing the roster row, or by not marking the model entry — then a real erasure reads as a trip that never linked anyone, **every composed value is byte-identical either way, and nothing value-shaped detects it.** The build stays green while the detection is gone. The three properties that keep them apart are each checkable: the roster row **survives here and is removed by `group`**; the traveller-file stem is **the token here and the display name there**; and the model entry carries a mark that no other operation writes.
**Reversibility: IRREVERSIBLE, confidence HIGH.** `trips/` and `people/` live under `<data-root>`, so this repository holds no earlier version to restore from; the `researched` artifacts hold independent state nothing upstream reconstructs; and the published surface is beyond every local act. Rollback is not merely expensive here — it does not exist, and the confirmation is shaped around that rather than around the size of the change.
## extract <name>
**Reads:** `trips/<slug>/travelers/` — the **directory-presence probe**, taken with `Read` on the directory path itself and read only to establish whether the directory is there, which § *What the blocks above are* names as a read and requires declared; `trips/<slug>/travelers/<file>.md` — the file-existence probe that gates every branch below, this file's frontmatter for the `person:` key, and its body's labelled bullets, which are both the value set this verb copies and the source of the display name; `reference/data-model.md` § *Field Scope* → *The classification* and § *`ANSWERED()`* — class, scope, section and answered-ness, read live at invocation and **never re-authored here**, the same live read `## profile`'s collision check takes, because a second implementation of either predicate would be a second source of truth for what a field is; `reference/data-model.md` § *Determinism* — **O3**, for the duplicate-slot disposition the refusal below names; `<store-root>/people/` — the store listing, taken with `Bash(ls:*)` as `ls -1 "<store-root>/people"`, which returns the entry names alone and is both the rejection set the minted id is sampled against and the denominator of the display-name collision check; `<store-root>/people/*.md` — **the H1 line alone**, of each entry whose stem has the id's shape, for that collision check, and no other line of any record is read; `templates/person-intake.template.md` — the copy source for the record this verb creates, and a template read in order to copy from it is a read. **Does not read `trip-context.md`, in either direction** — the reason is stated below and it is the reason the negative exists rather than a courtesy. **Dispatches no agent. Takes `Bash(ls:*)` for exactly the listing declared above** and creates no directory. The creation stands behind a preview over the answered set — total over the source's answered fields, name-only, and stated in full under § *The preview, and it is name-only* below.
The extraction verb. A traveller already has a filled profile on this trip, and the durable half of
what it says belongs in a person record they do not yet have. This creates that record from the
file's own answers and points the file at it.
**It copies. It never moves.** No byte of the source file's **body** changes — not on a taken run,
not on a declined one, not on a failed one. The only source-side change is one frontmatter line, and
that field is `optional` by the traveller-profile class's own declaration, so a file that is
extracted from keeps working: every value it composes stays correct, and no planning behaviour
changes. That is a property of the mechanism rather than a promise about it. **It is not the same
claim as being indistinguishable from a file that never was** — what changes is not what the file
does but what the next pass over it **reports**, and that is disclosed in full in § *What the next
enrichment pass will say about the source file* below.
**One file per invocation.** No glob, no `--all`, no directory walk, no upgrade pass. The bound is
the argument grammar rather than a policy: there is nowhere to type a set.
**Store root** resolves by `reference/data-model.md`'s two-step rule — the trip root's own store
where that directory exists, otherwise the data root's — read from that section and never restated
here, because a second copy of a resolution rule is a second source that goes stale silently.
### Identity — the display name is this file's own answered `Name`
The record's display name is the **source file's own answered `Name` field**, read by the same parse
and the same answered-ness predicate as every other value this write copies. It is not the H1 title
line, not the filename stem, not a roster cell, and not an argument this verb takes.
**Why that source and no other, stated as the negative it is.** The title line and the filename stem
are **projections** of the name, and the corpus's own rule for a divergent stem is *report, never
rename* — founding a permanent cross-trip identity on a known projection converts a reported defect
into a durable one. The `## Group` roster is a **second source** for something this file already
states, and it carries a disagreement branch with no resolution, which is why `## profile` rejected
reading the roster and said so. An operator-typed name would make this verb **author** the one value
the record cannot do without, at the one field where rule 11(c) matters most, and would put a
person's name on a command line to do it. **There is exactly one display-name source, so there is no
disagreement branch to leave unresolved.**
`Name` needs no separate read: it is a row of the classification table, `DEFAULT` and `slot`-scoped,
so it is already a member of the MOVES set the partition below computes. What it takes is a
**destination** carve-out — it lands in the record's **H1**, never in a body bullet, because the
person-record class puts the display name there and bars restating it in frontmatter.
### The parse, and the key it matches on
**A labelled bullet is matched line-initially** as `- ` followed by an **optional** `⭐ `
decoration, then `**<Label>:**`. The star is admitted deliberately: an anchored bullet pattern that
does not admit it silently drops every starred field, and that miss is measured rather than
hypothetical — the canonical person-class field is starred in both intake forms, so a star-blind
parse loses it and every downstream count still looks plausible.
**The key is `(section, label)`, not the label alone.** `reference/data-model.md` defines a field as
a distinct `(section, label)` pair in those terms, and this verb matches on that pair: the `label` is
the bullet's own label, and the `section` is the classification table's `Section` value for which the
enclosing `## ` heading's text is that value **read as a leading segment** — the forms render
`## Needs — the must-haves` where the table says `Needs`. That segment ends at a token boundary, the
rule `reference/data-model.md` § *The denominator* states: the rest of the heading is empty, or opens
(after optional whitespace) on a character that is neither a letter, a digit nor whitespace — so
`Destination` does not lead `Destination leanings`. **Exact equality on the section would miss
every repeated block**, which is where this verb's whole `block`-scoped population lives, and
matching the label alone is sound only for as long as no two rows share one. A bullet under a heading
the table names no section for — a trip-local override block is the shipped instance — carries no
classified field and is not a candidate for anything below.
**Refuse and write nothing where a label the classification table names occurs in the source and the
parse did not reach it.** The totality claim below is only worth what its denominator is worth, and a
denominator that is the parser's own output guarantees nothing.
### What moves and what stays
The partition is `(class, scope, ANSWERED)`, all three read live, and it is **total over the source's
answered fields** — every answered field lands in exactly one row.
| Set | Predicate | Disposition |
|---|---|---|
| **MOVES** | class is `PERSON` or `DEFAULT`, and `ANSWERED()` | copied verbatim into the record's like-labelled bullet — **except `Name`**, which is borne by the H1 |
| **STAYS** | class is `TRIP` or `DEST` | untouched, and named in the preview **without its value** |
| **NOT-MOVED** | class is `PERSON` or `DEFAULT`, and not `ANSWERED()` | the record's slot keeps the template's placeholder. A skipped field is a skipped field |
| **REFUSED** | any value carrying `[THIRD-PARTY]` | refused, always |
**`REFUSED` is tested first, and it overrides.** A value carrying `[THIRD-PARTY]` is `REFUSED`
whatever its class, so an answered `PERSON`-class value that also carries the mark lands in that row
and in no other. The precedence is stated rather than left to be inferred because the predicates are
keyed on different things — `REFUSED` on the mark, the other three on `(class, scope, ANSWERED)` — and
without an order between them *exactly one row* is asserted rather than established.
Three labels are handled specially and each has its own reason. **`Name`** is the H1, per the
carve-out above. **`Applies to`** is `TRIP` and is never asked — it is computed, and enrichment
recomputes the need-to-constraint edge per trip — so it stays. **The unlabelled free-text tail** is
`TRIP` by the classification's own fail-safe default, on the ground that a durable store must not
silently carry forward free text that may be trip-specific; it stays, and the preview **names** it
rather than passing over it in silence.
**A `none` answer moves.** It is `ANSWERED()`, and a copy that dropped it would turn a stated *I have
none* into *not asked yet*, which are two different states this command never collapses.
**`[OPERATOR-PROVIDED]` travels with its value** at field granularity through the inline mark, bounded
to the record's `## Needs` section by that class's own rule.
**The record is scaffolded from the person form, never composed freehand.** Copy
`templates/person-intake.template.md`, replace its `[Name]` placeholder with the source's `Name`
value, and fill the MOVES set into like-labelled bullets. **Labels stay byte-identical.** Only
content **above the line-initial `# END OF PROFILE` heading** is written — matched line-initially,
because the form contract guarantees that heading line-initially exactly once (`ADR-023` D2.6,
question 2) and a substring match could take a mention of it anywhere else — and the guide below
that heading is not carried into the record.
### Refusals, in evaluation order. Every one writes nothing.
**The order is the whole of the control, and the first four rows are ordered against a real
population rather than against the shipped fixtures.** A post-split traveller file — the modal file
on any trip that has already adopted the library — carries no `Name` bullet at all, because the trip
form does not ask for one. Evaluating a `Name` refusal ahead of the emptiness check hands that
operator a remedy they cannot perform: the named edit route changes existing field lines, and there
is no `Name` line there to change. **`MOVES` is empty is checked before every `Name` row**, so that
file is told the true thing — there is nothing here to extract — rather than a false one.
| Condition | What happens |
|---|---|
| `trips/<slug>/travelers/` is absent | stop; name `/trip-new <slug>`. **First**, because an absent directory and an absent file are indistinguishable in the file probe's outcome, so a file probe that ran first would take the create branch on a missing scaffold |
| the traveller file is absent | refuse; name `/trip-record profile <name>` |
| the file already carries a `person:` key | refuse. **This is a reconciliation, not an extraction.** Name the reconcile route and stop. Never repoint it, never create a second record |
| the store root does not exist | refuse. This command creates no directory |
| a label the classification table names is present in the source and the parse did not reach it | refuse. The denominator is not the parser's own output |
| a **`slot`-scoped** label in the MOVES set occurs more than once | refuse, naming the label and `MALFORMED-SLOT`. `reference/data-model.md` § *Determinism* forbids resolving it *"never first-wins, never last-wins"* and records that such a duplicate would persist indefinitely; this verb must not be the mechanism that makes one durable and cross-trip. **`block`-scoped repetition is not this case** — a second need is user data, and refusing on it would refuse the population this verb exists to serve |
| **the MOVES set is empty** | refuse — **there is nothing to extract**. The normal state of every post-split traveller file, and **not an error**: say so plainly and name nothing to repair |
| the source carries no answered `Name` field | refuse; name `/trip-record profile <name>` as the field-scoped edit route, so the operator answers it in the source and re-runs |
| the `Name` value is a surviving `[bracketed]` placeholder | refuse — standing rule 4, tested **by value**, on the field-general predicate that a trimmed value opening with `[` and closing with `]` is a placeholder and never a name |
| the normalized `Name` is the empty string | hard stop, naming the value quoted |
| the `Name` value matches `per-[0-9a-f]{4}` | refuse — that is an **erasure tombstone token**, not a name. Minting a durable cross-trip record named after a tombstone re-creates the identity an erasure destroyed, and the shape is present on a shipped fixture rather than hypothetical |
| a listing this verb declares cannot be taken | refuse, naming the listing; write nothing |
| the normalized `Name` equals a live record's normalized H1 | refuse, and offer the **three** remedies the person-record class declares — link to the existing record, disambiguate the display name, or create anyway with the collision acknowledged. **Exact equality after the store's own normalization only**: no similarity, no edit distance, no near-match, and **never a minted suffix**. The third branch is available here, and it is not in `## profile`, because this store's key is a **surrogate** while the trip side's is natural |
| any value carries `[THIRD-PARTY]` | refuse that value, always |
| the run is non-interactive | refuse. No flag skips the gate |
| the operator does not confirm at the preview | write nothing, say so, and **record nothing anywhere** |
### The preview, and it is name-only
**The preview echoes no value.** The erasure reach table's transcript row is an operative
prohibition and not merely an accounting of residue — *never echo a subject value, which is the act
that would put one there* — and a quoted value is a **new copy of person data in a new location**,
widening what an erasure must reach by content rather than by address. **Totality is a property of
the partition, not of the values**, so rule 11(d)'s confirmation is satisfied name-only.
```
extract — <traveller file> -> NEW record <store-root>/people/psn-<token>.md
display name "<Name>" (this file's own answered `Name` field) [nothing written yet]
MOVES — N fields | Field | Section | Class | Scope | <- named, no values
STAYS — M fields | Field | Section | Class | Why | <- named, no values
NOT-MOVED — P person-scoped fields with no answer <- named, no values
REFUSED — any [THIRD-PARTY] value <- named, no values
```
**One value is rendered anywhere: the display name, once, in the confirmation line.** It is
unavoidable — a creation whose subject the operator cannot see is a creation they cannot target — and
it is the bound `erase` already ships, which echoes the name once at its prompt so a mis-targeted run
is visible and never echoes a value afterwards.
**No other value is available on request, and the omission is deliberate.** A per-field reveal with
no cap reconstructs the value-echoing preview exactly, one request at a time, and arrives at the
residue this section is shaped to avoid by a route that looks harmless at each step. **The operator
opens the source file instead**, which is untouched by rule 11(e) and already theirs — that moves the
residue off the transcript entirely rather than rationing it. The corpus settles the direction: *the
cheap error is the safe one*. Under-showing costs a keystroke; over-showing is permanent.
**Confirmation is an explicit gate and a non-interactive run refuses.** No flag skips it.
### The writes — exactly two locations, in this order
| # | Location | Tool | Why this tool |
|---|---|---|---|
| 1 | `<store-root>/people/psn-<token>.md` — a new file | `Write` | standing rule 2's `Write` condition: the target path does not exist, established by the probe above |
| 2 | `trips/<slug>/travelers/<file>.md` frontmatter `person: psn-<token>` | `Edit` | standing rule 2's `Edit` condition: the target exists and only the named field's lines change |
**Record first, and the order is load-bearing.** Link-first that then fails on the record write
leaves a well-formed `person:` key resolving to nothing — a dangling reference, which the data model
types a defect and which `## link` refuses to author. Record-first that fails on the link leaves an
**unreferenced record**, which is an ordinary and non-defective state on the trip side: a trip that
references nothing is exactly a trip that never extracted.
**The id.** `psn-` followed by four lowercase hex digits, rejection-sampled against the store listing.
Minting a surrogate is already shipped on this surface. Standing rule 3 is not engaged, because a
surrogate answers no question. **No ledger of retired or reserved ids is written** — a durable artifact
recording people who asked to be deleted is the linkage an erasure exists to destroy.
**What this verb does not write.** No byte of `trip-context.md`. No byte of the source file's body. No
derived model — `/trip-record travelers` is **named, never run**. No roster row and no traveller total.
No timestamp. **No marker of any kind in the source file**, on the precedent `unlink` already sets.
### The receipt
**Derived from a read-back of disk, never from the plan**, and total over this fixed table — **except
row 4, which is discharged by construction rather than by read-back.** Rows 1, 2 and 3 name paths this
verb has already opened or written, so disk is there to ground them; row 4 names the one path the
**Reads:** line and § *What this verb does not write* both forbid it to touch, and reading it to
confirm it was untouched would perform the very read the row asserts did not happen. The prohibition
is the ground, and it is the stronger of the two: a read-back reports this run, the prohibition holds
on every run.
| # | Location | Disp. | Outcome tokens |
|---|---|---|---|
| 1 | `<store-root>/people/psn-<token>.md` | WRITE | `CREATED` · `NOT-CREATED` |
| 2 | `travelers/<file>.md` frontmatter `person:` | WRITE | `LINKED` · `NOT-LINKED` |
| 3 | `travelers/<file>.md` **body** | ASSERT | `UNCHANGED` |
| 4 | `trip-context.md` | ASSERT | `UNCHANGED` — neither read nor written |
plus the MOVES / STAYS / NOT-MOVED / REFUSED **counts**. **A partial run is a run that says it was
partial.** **The receipt names fields and outcomes and echoes no value, the display name included** —
the confirmation already happened and the receipt is not a second place to hold it.
**`CREATED` beside `NOT-LINKED` is the orphan, and the receipt names it rather than repairing it.**
Emit the record's **path and its id** on row 1 and the undo **in order**: remove the `person:` line
first where one was written, then delete the record. **The order is the whole of the remedy** —
reversed, the trip is left holding a well-formed reference resolving to nothing, which is the defect
this verb's write order exists to avoid, authored by the repair instead of by the run.
**Why the undo is by hand and not a compensating delete.** A second such write here would
falsify standing rule 10's sentence that an erasure is *the one write that may delete a durable person record* — and
§ *The repair extension point* would then oblige this slice to repair a Zone A sentence its own edit
had made untrue. The cost is one manual step on a branch that requires a write to have failed after
another succeeded; the alternative is a second deletion path on a command surface whose deletion
story is currently one verb long. **Rule 11 admits no deletion, and this is where that shows.**
### What the next enrichment pass will say about the source file
**Taking this offer turns a quiet traveller file into a permanently noisy one, and that is disclosed
here rather than discovered.** It is the unavoidable consequence of copy-never-move: after a taken
run **both sources carry every extracted value**, and a resolving reference is the *third conjunct*
of `reference/data-model.md`'s `CLASS-VIOLATION` predicate — the conjunct this file did not satisfy
before, because with no reference there is no second owner, nothing to override and nothing to
report. **This verb is precisely the act that supplies it**, which is why the state is named here and
not left to be met.
So on the next enrichment pass **every field this run moved becomes a divergence report, on a file
that produced none before**: each `DEFAULT` field as a `REDUNDANT-OVERRIDE`, and each `PERSON` need
block as a `CLASS-VIOLATION` whose rendered advice is *move the value into the record* — advice this
verb has already carried out, so it cannot be acted on as written.
**Nothing is unsafe, nothing is lost and nothing is deleted.** The reports are information only, no
replanning is implied, every composed value stays correct, and no line is removed from any file
automatically. **What to do about it, if anything:** nothing is required — a file may carry these
reports indefinitely and plan correctly, which is what makes this a disclosure rather than a defect.
An operator who wants them gone removes the now-redundant trip-side lines **by hand**, which is the
move to `UNSTATED` that `reference/data-model.md` § *Remove* already specifies and whose only
observable effect is that the report line disappears. **This verb will not do it and must not** — that
is a body write rule 11(e) forbids and a deletion rule 11 admits none of, and keeping the two sources
reconciled is the reconciliation route's subject rather than this one's.
### The four mechanical writes, and which one this is
The person-record class permits **exactly four mechanical writes, all operator-initiated and none
authoring a value: the creation scaffold, the merge-stub rewrite, merge absorption into the survivor,
and erasure.** **This verb is the creation scaffold** — the first member of that enumeration, and this
is its first mechanical instance. **The enumeration does not grow and that class's schema is not
edited.**
**Operator-causation is not what places it there, and saying so matters** — every member of that
enumeration is operator-initiated, so causation cannot discriminate between being inside it and being
outside it. What places this verb inside it is the qualifier: **none authoring a value.** Rule 11(c)
makes copying a *condition of the write* rather than a description of it, so every value this verb
puts in the record already exists in the source file and none is authored. The value-bearing half of
the operation therefore needs no carve-out and takes none — it satisfies the enumeration's own
qualifier rather than being excepted from it.
### The standing rule this write is taken under is rule 11
This section discharges each of its conditions by name. **(a)** the record's path does not exist,
established by the store listing this verb already reads, and the run creates exactly one file and
edits exactly one existing line elsewhere. **(b)** the display name is the source file's own answered
`Name` field, read by the parse above — never a title line, a stem, a roster row, an argument or a
search. **(c)** every value written already exists in the source file. **(d)** the operator confirmed
against a preview total over the source's answered set, with every answered field in exactly one of
MOVES / STAYS / NOT-MOVED / REFUSED, and a field the preview does not name is unreachable rather than
merely unmoved. **(e)** no byte of the source body changes, so discarding the record is a complete
rollback. **(f)** a duplicated **`slot`**-scoped label in the MOVES set is refused rather than
resolved, and `block`-scoped repetition is not that case.
**Rules 9 and 10 are untouched.** Rule 9's operation class fails here on two counts — this creates a
file and it copies more than one field — which is why rule 11 exists rather than an exception inside
rule 9, and rule 9 reserved the append in those terms. Rule 10 is not reached at all: nothing here
deletes anything.
**What consent this establishes, stated exactly and not overclaimed.** Rule 11(d) delivers the
**operator's confirmation**, which is not the subject's consent, and this section does not call it
one. What answers the relocation risk structurally is the **precondition**: the subject of an
extraction is a person who **already has a filed profile**, and this verb copies only what that file
already states. There is no path from *no file* to *a record*, so the case the store's own README
forbids — a record for a person who did not ask for one — is unreachable here by construction rather
than by prohibition. **That is a bound, not a consent claim.**
**Everything this verb names, it names and does not run** — `/trip-record travelers`,
`/trip-record profile`, `/trip-new`, and the reconcile route. Whether each is available is a property
of its own file, observed there, and standing rule 8 is why this section does not state it.
**Reversibility: MODERATE, confidence HIGH.** Not CHEAP — the store lives under `<data-root>`, so no
revert in this repository reaches it, and the record is visible to every trip that later links it.
Not IRREVERSIBLE — nothing is deleted, no source value is lost, and a completed extraction is undone
by removing the `person:` line and discarding the record. That tier is a **property of the
copy-never-move decision**: were this verb to remove the extracted bullets from the source, the tier
would move with it.
## group-new <name>
**Reads:** `<store-root>/groups/` — the store listing, taken with `Bash(ls:*)` as `ls -1 "<store-root>/groups"`, which returns the entry names alone and is both the rejection set the minted id is sampled against and the denominator of the display-name collision check; `<store-root>/groups/*.md` — **the H1 line alone**, of each entry whose stem has the id's shape, for that collision check, and no other line of any record is read; `<store-root>/groups/grp-<token>.md` — the file-existence probe on the minted path, which is the control standing rule 2 turns on and is declared because an undeclared probe hides it. **Reads nothing under any store of person records, and nothing under `trips/<slug>/`** — the negatives are stated because a reader will expect the first (this verb creates a set of person references and never resolves one) and because the second is what makes the `lifecycle` cell below honest. **Dispatches no agent. Takes `Bash(ls:*)` for exactly the listing declared above**, and this verb creates no directory. **Non-interactive: the standing clause's *run nobody can answer*.**
The group-creation verb. It mints a record holding a display name and an empty member list, and it is the only verb of the six that brings a file into existence.
**Why the requirement-table row reads `lifecycle: ANY`, stated here because § *The shape of a table row* requires the reason to live in the verb's own section.** This verb writes one file under `groups/` and writes nothing under `trips/<slug>/`, so **no trip lifecycle bears on it at all** — an archived trip is neither served nor obstructed, because the trip is not the subject. That is `erase`'s reason at one remove: `erase` declares `ANY` because its subject is a durable record rather than a trip, and so does this. **The resolved trip is not used by this verb**, and saying so is what keeps the row from reading as a claim that it serves archived trips specially.
**Identity — the id is minted, the name is typed, and neither is derived from the other.**
- **The id** is `grp-<token>` where `<token>` is four lowercase hex digits. **Minting asserts non-existence and re-mints on collision**, sampled against the store's own listing — the same rejection-sampling `## extract` performs for a person id, and the same reason it terminates: four hex digits give 65,536 values against a store of tens of records.
- **The display name is the argument, written as the body H1 and nowhere else.** § 4.3 bars restating a value that already lives in a structural position, and the H1 is the position the identity rule keys on, so **the name never enters frontmatter and the id never enters the body.**
**Creation refuses on a name collision, and the refusal is a refusal rather than a merge.** Normalize the argument with **§ 3.2's existing normalization** — the one the publish guard already executes, read live and never re-implemented, because a second implementation would be a second source of truth for identity — and compare it for **exact equality** against the normalized H1 of every record in the store. Never similarity, never edit distance, never fuzzy matching. On a match, write nothing and offer three remedies, the person store's own: **use the existing group** (name its id), **disambiguate the name**, or **create anyway with the collision acknowledged**. The third branch exists because co-existence is safe when ids differ. **No code path runs from this comparison to a write on the matched record.**
**Two refusals before the collision check, both writing nothing.** An **absent or empty** `<name>` — print the shape and stop. A `<name>` that is **a leftover placeholder** by the field-general predicate — a trimmed value beginning with `[` and ending with `]` — refuse and say which, because a group named `[Group name]` is the shape a later reader cannot distinguish from an unanswered field.
**A listing this verb declares cannot be taken: refuse, naming the listing; write nothing.** The store listing is the rejection set and the collision check's denominator, so neither can stand on a listing that did not run.
**What is written.** One file at `<store-root>/groups/grp-<token>.md`, carrying the eight universal keys `reference/schemas/group-record.md` declares, the H1, and a `## Members` heading with **no bullets under it**. **An empty member list is a valid record and not a partial one** — a group is created before it has members, and the alternative would be a verb that refuses to create the thing it exists to create.
**The receipt names the id, the name as normalized, and the member count, which is zero.** It names no person and reads no person record, because at creation there is nobody in the group.
**The standing rule this write is taken under is rule 12.** This section discharges each condition by name. **(a)** the target path is named above and sits under the resolved store root for a class § 1.1 declares; **(b)** the creation branch's own clause applies — the path does not exist and its stem is an id this run minted and rejection-sampled against the store's listing; **(c)** the only values written are the operator's typed name and the class's own declared constants, so the write authors nothing about anybody; **(d)** vacuous — this write removes nothing; **(e)** exactly one file is written and no path under any person store is touched, read or written.
**Reversibility: CHEAP, confidence HIGH.** The record holds no person's data and nothing references it yet; discarding it costs a `group-delete`.
## group-list [<group-id>]
**Reads:** `<store-root>/groups/` — the store listing, on the no-argument branch, taken with `Bash(ls:*)` as `ls -1 "<store-root>/groups"`, which returns the entry names alone, and the existence probe on the argument branch, which takes no listing; `<store-root>/groups/*.md` or `<store-root>/groups/<group-id>.md` — the H1 and the `## Members` bullets, which are the whole of what either branch renders; `<store-root>/people/*.md` — **the H1 line alone**, on the argument branch only, to resolve each member id to a display name, and **no other line of any person record is read**. **Writes nothing on either branch. Dispatches no agent. Performs no act whose effect lands outside the trip's own files** — reading the store is an observation, and this verb writes nowhere at all. **Takes `Bash(ls:*)` for exactly the listing declared above.**
The read verb, and the only one of the six that writes nothing at all. **Its optional argument mirrors the incumbent `group [<name>]` idiom** — no argument renders the population, an argument renders one member of it — deliberately, so the two verbs that share a stem also share a shape.
**Why the requirement-table row reads `lifecycle: ANY`.** The reason `group-new` states, unchanged: this verb reads the group store and writes nothing anywhere, so no trip lifecycle bears on it.
**No argument — the store.** List it with `ls -1 "<store-root>/groups"`; a record is an entry whose stem has the id's shape, so the store's own `README.md` is not one. One row per record: **id, display name, member count**. Sorted by display name. **No member id is printed on this branch and no person record is opened**, which is what keeps a store listing from being a roster of who travels with whom. **An empty store is rendered as an empty store** — say the store holds no groups and name `group-new`, and never as an error. **A listing that cannot be taken is not an empty store**: refuse, naming the listing.
**An argument — one group's members.** Resolve `<group-id>` first; **an id that resolves to nothing is a refusal**, naming the shape and **offering no near-match** — a "did you mean" over a store of real groups is a disclosure, which is the reason `erase` gives for the same refusal and it holds here for the same reason. Then render the H1, the member count, and one row per member bullet **in the file's own order**, each carrying the id and the name its record's H1 resolves to.
**Three resolution outcomes per member, and they are three different renders.** They are `ADR-012` § 3's branches, inherited verbatim rather than restated as new posture:
| The member id | Renders as |
|---|---|
| resolves to a live record | the id and that record's H1 |
| resolves to a **merge stub** | the id, **followed to depth 1**, and the survivor's H1 — with the redirect named, so the operator sees that the entry is now reaching someone else's record |
| resolves to nothing, or through a **second** stub hop | **`UNDETERMINED`** |
**`UNDETERMINED` is never rendered as *no such person* and the row is never dropped.** A dropped row makes a group of four read as a group of three, and the member count above it would then disagree with the rows below — the two are printed together precisely so that disagreement is impossible. A second stub hop is `MALFORMED` under the shipped resolution rule and takes the same render, because a chain this command follows past depth 1 is a chain it cannot bound.
**This verb suggests nothing.** It does not offer to remove a `UNDETERMINED` member, does not offer to repoint one, and names no verb in either case. The operator reads the store and decides; a read verb that proposes a write is a classification with a reflexive accept, on the one branch of this command that was safe.
**Reversibility: n/a — this verb writes nothing.**
## group-add <group-id> <person-id>
**Reads:** `<store-root>/groups/<group-id>.md` — the file-existence probe that gates every branch, and the whole of `## Members`, read before it is written because the duplicate check runs over the existing bullets and because an append needs the section's own extent; `<store-root>/people/<person-id>.md` — **the file-existence probe alone**, to establish that the id resolves, plus its frontmatter for a `merged-into:` key, and **no body line of any person record is read** — the verb needs to know that the record exists and whether it is a stub, and nothing else about the person. **Dispatches no agent.** **Non-interactive: the standing clause's *run nobody can answer*.**
The membership-addition verb. It appends one bullet and changes nothing else.
**Why the requirement-table row reads `lifecycle: ANY`.** The reason `group-new` states, unchanged.
**Both ids are arguments and neither is searched for.** A display name is never accepted on either position, and no name is matched, searched for or computed against either store. That is rule 12(b) discharged, and it is the same bound `erase` states for its own single argument.
**Refusals, in evaluation order. Every one writes nothing.**
| Condition | What happens |
|---|---|
| either argument is absent, or is not of its id's declared shape | refuse; print both shapes and **offer no near-match** |
| `<group-id>` resolves to nothing | refuse; say the group does not exist and **name nothing else** |
| `<person-id>` resolves to nothing | refuse; say the person record does not exist, and **never mint one** — see below |
| `<person-id>` resolves to a **merge stub** | refuse and **name the survivor's id**. Adding through a stub records an entry that is already dead, and the operator can add the survivor directly |
| the bullet is already present | refuse; say the person is already a member and name the group's member count. **Not an error and not a second bullet** |
**Never minting a person record is a boundary rather than an omission, and it is worth stating because the alternative is superficially helpful.** A verb that created a durable cross-trip record for an id that did not resolve would be authoring a record about someone who never asked for one, which is the consent boundary `reference/adr/ADR-014-cross-trip-consent-refusal.md` closes rather than defers. **Record creation is `## extract`'s, under standing rule 11, from a profile that person filled.** This verb names that path and stops.
**What is written — the append shape standing rule 7 admits**, reached once the read above has established the file and the duplicate check has selected this branch. **One bullet, `- psn-<token>`, appended at the end of `## Members`.** No existing line changes. **Nothing else is written**: not a name, not a date, not a count, not a note. The bullet is the entry, and the anchored form is the whole of what this class admits.
**The receipt names the group, the person's display name resolved live from their record's H1, and the new member count.** The name is read for the render and is not written into the file — which is the one place this verb touches a person record at all, and it reads.
**The standing rule this write is taken under is rule 12.** **(a)** the target path is named above; **(b)** the record is selected by an id the operator supplied and by nothing else; **(c)** the only value written is an id the operator supplied; **(d)** vacuous — this write removes nothing; **(e)** exactly one file is written, and the person record is read and never written.
**Reversibility: CHEAP, confidence HIGH.** `group-drop` is the exact inverse and the entry carries no state to lose.
## group-drop <group-id> <person-id>
**Reads:** `<store-root>/groups/<group-id>.md` — the file-existence probe that gates every branch, and the whole of `## Members`, read before it is written because the presence probe selects refusing from removing, **because the bullet being removed is echoed verbatim before it goes**, and because the member count in the receipt is derived from the section rather than remembered. **Reads no person record on any branch** — the negative is stated because `group-add`'s counterpart does read one: this verb removes an id it was given and never needs to know whose it is, and opening a record to name someone at the moment they are removed would put a person's name in a transcript for no operational purpose. **Dispatches no agent.** **Non-interactive: the standing clause's *run nobody can answer*.**
The membership-removal verb. It removes one bullet and changes nothing else.
**Why the requirement-table row reads `lifecycle: ANY`.** The reason `group-new` states, unchanged.
**Refusals, in evaluation order. Every one writes nothing.**
| Condition | What happens |
|---|---|
| either argument is absent, or is not of its id's declared shape | refuse; print both shapes and **offer no near-match** |
| `<group-id>` resolves to nothing | refuse; say the group does not exist and **name nothing else** |
| no bullet in `## Members` carries `<person-id>` | refuse; say the person is not a member of this group. **The person record is not opened to check whether they exist** — this verb's question is about the group's contents, and answering it does not require knowing whether the id resolves |
**The removal is echoed verbatim before it goes.** Standing rule 2's bound on a write that does not preserve what it replaces, and standing rule 12(d) states it as a condition. **The echo is the bullet's own bytes — the id — and never a name resolved for the occasion.**
**What is written.** The one bullet is removed. **No existing line changes and no other bullet moves**, and the section's remaining order is the file's own. **A removal that empties `## Members` leaves the heading standing and the record in place** — an empty member list is a valid record, exactly as it is at creation, and deleting the group because its last member left would be a second operation the operator did not ask for.
**The receipt names the group, the id removed, and the new member count**, and where that count is zero or one it says so plainly rather than treating either as an error.
**The standing rule this write is taken under is rule 12.** **(a)** the target path is named above; **(b)** the record is selected by an id the operator supplied; **(c)** vacuous — this write adds no value; **(d)** the removed entry is echoed verbatim before it goes; **(e)** exactly one file is written and no person record is opened at all.
**Reversibility: CHEAP, confidence HIGH.** `group-add` is the exact inverse, and the echoed bullet is the receipt that makes it typeable.
## group-delete <group-id>
**Reads:** `<store-root>/groups/<group-id>.md` — the file-existence probe that gates the branch, its H1 and its `## Members` bullet count, the last two **read before the file is removed** because the confirmation is echoed against them and cannot be recovered afterwards. **Reads no person record, and reads nothing under `trips/<slug>/`** — both negatives are load-bearing rather than courtesies, and the section below says why. **Dispatches no agent.** The removal stands behind a display name beside a member count, echoed from the two reads above and stated in full below, where the section says why it is not a typed-back id.
The group-deletion verb. **It deletes exactly one file under `groups/` and nothing else, anywhere.**
**Why the requirement-table row reads `lifecycle: ANY`.** The reason `group-new` states, unchanged.
**What this verb does not do, stated as a negative because the word *delete* invites the wrong guess.** It **deletes no person record**, and no code path from this verb reaches one: the `Reads:` line above names no path under any person store, so there is nothing to write and nothing to remove there. It **changes no trip**: a trip that expanded this group carries no byte naming it, so there is nothing in any trip for a deletion to reach — which is not this verb being careful, it is `group-expand`'s no-residue property leaving nothing to be careful about. **The render says both, in terms, before it asks.**
**The confirmation is an echoed name and count, not a typed-back id, and that is a decision rather than a shortcut.** Print the group's **display name** and its **member count**, say plainly that this deletes the group and no person record, and ask. **Flattening this into `erase`'s typed-back ceremony would erode the distinction that verb works to preserve** — that the render says which one is running before anything is written — by teaching the operator the two are the same weight. Standing rule 12(d) carries the rule and its reason; this section is where the verb discharges it.
**Refusals, in evaluation order. Every one writes nothing.**
| Condition | What happens |
|---|---|
| `<group-id>` is absent, or is not of the id's declared shape | refuse; print the shape and **offer no near-match** |
| `<group-id>` resolves to nothing | refuse; say the group does not exist and **name nothing else** |
| the run is non-interactive | refuse. No flag skips the gate; a confirmation nobody can give is not a confirmation |
| the operator declines the confirmation | write nothing; **the file is left byte-identical** |
**It is irreversible and it is reconstructible, and both words are needed.** Nothing under `groups/` is in git, so there is no earlier version to restore from. But a group record is **a display name and a list of ids, every one of which still exists**, so the operator can make it again — `group-new` then `group-add`, from the member list the confirmation just showed them. **The receipt therefore prints the member ids it is about to destroy**, which is the one place this verb echoes them: they are the whole of what is being lost, and a receipt that withheld them would make the operation unreconstructible in fact while calling it reconstructible in principle.
**The standing rule this write is taken under is rule 12.** **(a)** the target path is named above; **(b)** the record is selected by an id the operator supplied; **(c)** vacuous — this write adds no value; **(d)** the whole record is confirmed against its display name and member count, which is the shape (d) names for a record-removing write; **(e)** exactly one file is removed and no path under any person store is touched.
**Reversibility: MODERATE, confidence HIGH.** Not CHEAP — the file is gone and there is no revert. Not IRREVERSIBLE — every id it held still resolves, so the record is rebuildable from the receipt. That tier is a **property of the no-personal-data decision**: were a group record ever to hold a value about a member, that value would be unrecoverable and the tier would move with it.
## group-expand <group-id>
**Reads:** `<store-root>/groups/<group-id>.md` — the file-existence probe that gates the branch, its H1 for the render, and its `## Members` bullets, which are the whole of the member set and are read **in the file's own order** because the write order below is that order; `trips/<slug>/travelers/` — the **directory-presence probe**, taken with `Read` on the directory path itself and read only to establish whether the directory is there, in `## link`'s order and for `## link`'s reason; `trips/<slug>/trip-context.md` — the whole of `## Group`, read before it is written because the presence probe on the roster's person column selects adding a row from editing one, because the table's own header row fixes the shape a new row is written in, and because the disposition for `- **Total travelers:**` is chosen from that field's current value and the counted floor, which is `## group`'s read and is cited rather than re-derived; `trips/<slug>/outputs/traveler-model.md` — for the outside-roster count and nothing else, which is `## group`'s read of that file and is cited rather than re-derived; and, **per member**, exactly what `## link <name> <person-id>` declares for one member — that member's `travelers/<file>.md` existence probe, frontmatter and declared body fields; that member's `people/<person-id>.md` existence probe, H1 and declared body fields; the outgoing record on the branch where the file already names a different one; and `reference/data-model.md` § *The classification* and § *The lattice*, read live for each field's class and scope and **never re-authored here**; and, **on the `NEW` branch alone**, exactly what `## profile <name>` declares for its create route — `templates/traveler-intake.template.md`, the copy source; `trips/<slug>/travelers/*.md`, **the entry names alone, no file opened**, taken with `Bash(ls:*)` as `ls -1 "<data-root>/trips/<slug>/travelers"`, which is that verb's collision-check denominator; and `reference/data-architecture.md` § 3.2, read live for the canonical traveller key that check normalizes with and **never re-authored here**. **Both per-member read sets are cited rather than re-derived, and neither is widened by being run N times** — `link`'s on every branch, `profile`'s create-route reads on `NEW` — because this verb re-implements neither the survey nor either predicate it rests on, and a second implementation of any of them would be a second source of truth for what a field is or for who is who. **No value read on any side is written anywhere by the survey**, which is `link`'s own minimality clause, preserved. Dispatches no agent. **Takes `Bash(ls:*)` for exactly the listing declared above, on the `NEW` branch alone.** **Non-interactive: the standing clause's *run nobody can answer*.**
The expansion verb. It puts a group's members onto the resolved trip, each linked to their own record exactly as `link` would have linked them one at a time. **It is the only one of the six that requires a trip, and its requirement-table row reads `lifecycle: ACTIVE` for that reason** — it writes trip content, so rule 5's bound applies to it unchanged and the contract's declared default is the correct cell.
### What expansion writes into the trip, and what it does not
**What is copied: the member's display name, and nothing else.** It lands where the shipped path already puts it and nowhere else — the `## Group` roster row in `trip-context.md`, and the `travelers/<file>.md` stem via `/trip-new`'s transform, reused verbatim and attributed to it exactly as `## group` reuses it. **Expansion introduces no newly-copied value**: every byte it writes is a byte one of the shipped verbs already writes, N times over.
**What is reconciled: `- **Total travelers:**`, once, by `## group`'s own table.** The cited read is
taken for **every one of its purposes that applies here**, not two of them: the disposition for that
field is chosen from that field's current value and the counted floor, and `## group [<name>]`'s
reconciliation table for it is **applied rather than restated**.
The one purpose that does not apply is named rather than
dropped — echoing a row that is being removed, which expansion never does. **Reconciling is not an
extra write this verb reaches for; it is what makes the sentence above true.** `## group` run once
per member reconciles the field on every one of those runs, so an expansion that left it alone would
produce a state *N invocations of a shipped path* does not produce — and that equivalence is stated
unqualified in `reference/adr/ADR-016-reusable-groups.md` § 4, which is the record this verb is
built from. It is also the denominator half: `## group` names this field **and** the roster as the
traveler denominator that `agents/00-enrichment.md`'s `PROFILE MISSING` branch and the presence
file, `outputs/traveler-presence.md`, read, and the headline path of this verb — a freshly scaffolded trip, where
the template ships the field bracketed and **every** member surveys `NEW` — ends with a populated
roster beside a placeholder total. `/trip-new` states in terms why that pairing is not harmless,
naming three downstream contracts specified as if the number already existed; a verb that populated
the roster and left the placeholder standing would be the act that hands them the state. **The
table's own rows carry the bulk case unchanged**, its asking row included: a total below the
counted floor is reported and **left unwritten** until the operator settles it, which lands on
the receipt rather than as a second gate.
**What is referenced: everything durable.** Passport, needs, preferences, travel style — all reached through the one `person:` field at composition time. Composition reads the record and writes the trip, never the reverse.
**What is recorded nowhere: the group id.** No trip artifact receives a byte naming the group — not `trip-context.md`, not the traveller file, not the derived model, not `trip-log.md`. **This is the whole of the point-in-time property**, and it is stated as an absence because that is what it is: membership is editable without disturbing a trip that already expanded the group, not because a binding is ignored but because **there is no binding**. Not a weak one, not a stale one, none.
> **The edge this verb writes is byte-identical to the edge `link` writes, and that identity is load-bearing beyond this verb.** A traveller file this verb produced and one an operator produced with `link` are indistinguishable — same field, same value, same position, and nothing anywhere marking which act wrote it. **Any surface that reads a person's history by inverting the `person:` edge therefore needs no group-awareness at all**, and gets the same answer for both. **Nothing tests this property.** It holds by construction, and a change to what this verb writes — a provenance mark, a group id, a differently-shaped field — would cost it silently. It is written down here, and in `reference/adr/ADR-016-reusable-groups.md` § 4, so that a later author meets it rather than discovering it afterwards.
**The group id is deliberately not persisted as provenance, and the reason is the reach set.** *This roster came from group G* is a true and useful fact, and the **expansion receipt names it** — in the transcript, at the moment of the act. Persisting it would put a second cross-trip identifier inside a trip artifact, re-opening the one-location question the person library closed at exactly one location, and every erasure would then have to walk it.
### The preview — bulk presentation, per-member survey
**`link`'s per-member consequence survey runs, once per member, and is not suppressed.** Suppression would regress a deliberate safety property: adding a reference changes which source a field is planned from, and the operator is entitled to know before a write. **What is bulk is the presentation, never the survey.**
1. **Run the shipped survey once per member, writing nothing.** Every member, in `## Members` order, before any write is reached.
2. **Emit one consolidated preview**, one line per member, each carrying a verdict from a **closed three-token set**:
| Verdict | Condition | What expansion will do |
|---|---|---|
| **`NEW`** | no traveller file exists for that member | create it **from `## profile <name>`'s route 2** — see § *Where a `NEW` member's file comes from* — then write `person:` |
| **`CLEAN`** | a traveller file exists and the survey found no field whose value or disposition the link changes | write `person:` |
| **`DIVERGES`** | the survey found at least one | **excluded by default**, and named |
3. **One confirmation, covering `NEW` and `CLEAN` together.** Per-member confirmation would put a gate on every member of a group, on the setup convenience this capability exists to remove.
**A `DIVERGES` member is named by field label only, never by value.** Echoing a value into a transcript is a new copy of someone's personal data in a place erasure cannot reach — the identical reasoning `## extract`'s name-only preview already ships on. **The per-member path is named and is not performed here:** `/trip-record link <name> <person-id>` is where the field-by-field side-by-side lives, and a bulk verb that tried to render N of those would be unreadable at the size this verb exists to serve.
**The three tokens are the whole set, and a member none of them describes is not silently written.** The rule is written rather than its output, because the output is what goes stale: **any member this verb cannot survey to one of the three tokens renders `UNDETERMINED` in the preview and is excluded**, exactly as `group-list` renders it — never *no such person*, never dropped from the list, and never expanded. Three conditions reach it today and the rule is not a list of them: a member id that **does not resolve** to a person record; one that resolves only through a **second** stub hop; and one whose display name meets `## profile <name>`'s collision check against a **different** person already on the trip, per § *Where a `NEW` member's file comes from*. A member resolving through **one** stub hop is followed to depth 1 and surveyed against the survivor, with the redirect named in the preview line.
**Declining leaves every file byte-identical.** The gate sits before the first write, which is `link`'s own property and is preserved rather than re-derived.
### Where a `NEW` member's file comes from
**`NEW` is the headline path, not an edge**, so its source is declared rather than left to be inferred. `## group [<name>]` states that `travelers/` *ships empty and stays empty until a profile is filled*, so on a freshly scaffolded trip **every** member surveys `NEW` — which is exactly the setup case this verb exists to serve.
> **The file is created from `## profile <name>`'s route 2, delegated whole: `Read` `templates/traveler-intake.template.md`, `Write` it to `trips/<slug>/travelers/<file>.md` unmodified.** Nothing is authored, nothing is filled in, and no answer is invented. That route's own sentence — *a file of unfilled placeholders is a legitimate state* — is the warrant, and the enrichment agent's blank-profile branch already handles the result.
**This is not `## link <name> <person-id>` creating a file, and the difference is the whole of the reconciliation.** `link` states that it **never** creates the traveller file and refuses when one is absent, and the ground it gives is precise: *a `link` that minted a frontmatter-and-heading file would author a second shape of this class that no schema check has seen, and would duplicate a write that is already someone's*. Both halves are honoured here rather than overridden. **No shape is minted** — the bytes written are the shipped template's, which is the one shape every schema check already sees. **No write is duplicated** — the create path still has exactly one home, and this verb reaches that home instead of opening a second one. What `link` refuses is *inventing* a file; what this verb does is *copy* the one file `profile` already copies.
**`profile`'s create-side controls come with the route, in `profile`'s own order, and the collision check is the one that matters.** The directory-presence probe is already this verb's — declared above, in `link`'s order and for `link`'s reason. The **collision check** is not, and it cannot be dropped: its predicate is `reference/data-architecture.md` § 3.2's **canonical traveller key**, a coarser partition than the filename transform, so two display names can produce two paths and one key — and a file-existence probe alone reports `NEW` on both, which is the silent second-file-under-one-key state that check exists to stop. A member reaching it is **`UNDETERMINED` in the preview and excluded**, naming the existing file whose stem holds the key; the branches are `profile`'s, taken unchanged. The same-traveler branch is not a `NEW` at all — the key is already present, so the member surveys against the existing file as `CLEAN` or `DIVERGES`, which is `profile`'s *continue to the edit route* reached through this verb's own verdicts.
**A member excluded this way is reported, never dropped**, and the remedy is `profile`'s: the operator disambiguates the display name, which changes the key. **This verb mints no suffix and resolves no collision itself**, for § 3.2's stated reason, and it never widens the create path beyond the one route named above — routes 1 and 3 are interviews and hand-offs, which are conversations with a person rather than acts a bulk verb performs.
### The order of writes, and partial failure
> **Per member, in `## Members` order: the roster row first, then the traveller file and its `person:` field. Then once, after the last member: `- **Total travelers:**`.**
**The roster is written first because it is the name authority**, which is the reason `## erase`'s own ordering states at length and is cited here rather than restated: the roster cell is the authoritative display name and the traveller-file stem is a projection of it, so a run interrupted between the two leaves the authority written and the projection to be converged, rather than the reverse.
**Partial failure is reported and never rolled back.** On a failure at member *k*, **stop** and report which members were written and which were not. A rollback would itself be writes, on a verb whose whole safety argument is that it writes only what the operator confirmed; and the state is recoverable, because **`unlink` is the cheap inverse** and `## group`'s no-argument branch is the path to a roster row. **A partial run is a run that says it was partial**, which is rule 10(e)'s principle applied to an operation that is not an erasure.
**The reconciliation is last for the reason the roster row is first**: it is arithmetic over the
roster, so it can only be right once the roster is. **A run that stopped does not reach it** — stop
means stop, and a write taken after a failure is the shape the no-rollback sentence above refuses. A
partial run therefore reports that the field was **not** reconciled, alongside the members it did and
did not write; `## group`'s no-argument branch, already named above as the path to a roster row,
renders that field and the roster together and is where the reconcile is finished by hand.
**Re-expansion is idempotent by delegation, not by new logic.** A member already on the roster meets `## group`'s shipped presence probe — present → edit, absent → add. A traveller file already naming a **different** record meets `link`'s repoint branch, which echoes the outgoing id and counts the fields that stop drawing on it; that branch is not suppressed here, and a member on it surveys as `DIVERGES`. **This verb re-implements neither.**
**The receipt names the group by id and by H1, the count expanded, and each excluded member with its verdict.** It is the one place the group id and the trip meet, and it is a transcript rather than an artifact.
**The receipt ends as `## group [<name>]` § *After any roster change* ends a roster change — once for the whole run — after any run that wrote a member, a partial run included, because each member it wrote changed the roster, a link, or both.** Name **`/trip-record travelers`** as the reconcile, and **do not run it**; where the run added a roster row, that paragraph's staleness report comes with it **by citation rather than restated here**, so it reads whatever that paragraph reads. N runs of `## group` would each have ended on this step, and `## link <name> <person-id>` names the same reconcile after its `person:` write, so naming it once, after the last member written, is those namings collapsed — the name is the same after every one of them. **Not running it is this verb's equivalence rather than a courtesy:** an expansion that ran the reconcile would produce a state *N invocations of a shipped path* does not produce, which is the argument that makes it reconcile `- **Total travelers:**` above, read in the other direction; and it would dispatch an agent from a verb whose `Reads:` line declares that it dispatches none. A run that wrote no member — declined, or with every member excluded — names nothing, because nothing changed.
**The standing rule this write is taken under is rule 5**, unwidened, and **not rule 12**. Every byte this verb writes lands under `trips/<slug>/`, so no widening is reached for and none is needed: rule 12 governs writes to a reference store, and this verb **reads** the group store and writes none of it. **Rule 2's two conditions and rule 7's append shape carry the trip-side writes**, exactly as they carry `## group`'s roster row, that verb's own edit of this same count — a field whose named lines change, which is rule 2's `Edit` condition unstretched — and `## link`'s field today. Saying so is what keeps the widening ladder honest — a verb that named a rule it did not need would make the next author reach for one too.
**Reversibility: CHEAP, confidence HIGH.** Per member, `unlink` removes the field and `## group` removes the roster row; both are shipped and both are reversible. The tier is per member rather than per run because a partial run leaves a partial state, and that state is the same shape as any other partially-linked trip.
## history <name>
**Reads:** `trips/<slug>/travelers/<file>.md` — the file-existence probe that resolves `<name>` on the resolved trip, and **its frontmatter alone, for the `person:` key**, which is the reference this verb inverts; **no body line of that file is read**, because nothing in a traveller's own answers bears on where they have already been; `<store-root>/people/<person-id>.md` — the file-existence probe and **its frontmatter alone**, to establish that the reference resolves and whether it is a `merged-into:` stub, and **no body line of any person record is read**; `<store-root>/people/` — the store listing, the store root being the one `reference/data-model.md`'s store-root rule yields, taken with `Bash(ls:*)` as `ls -1 "<store-root>/people"`, which returns the entry names alone, for the stubs that redirect to that record, which is the closure step and the only reason this verb reads the store as a whole; `<store-root>/people/*.md` — **the frontmatter of every record that listing names, to the closing `---`**, for `merged-into:`, which is how a stub is told from a live record; `trips/` — the trip listing, **which arrives from the listing block above rather than from a listing this verb takes**; `trips/<t>/travelers/` — for each trip of that population other than the resolved one, a listing of its traveller directory, taken with `Bash(ls:*)` as `ls -1 "<data-root>/trips/<t>/travelers"`; and `trips/<t>/travelers/*.md` — **the frontmatter of every file those listings name, read to the closing `---` and no further**, which is the resolution step and the only way another trip enters this verb's scope. **It opens no trip's `trip-context.md`, in either direction, its own included** — each trip's destination and lifecycle arrive by value in the record block above, which you issued during resolution, so a per-trip open would re-derive what that block already carries. **Writes nothing, anywhere, on every branch. Dispatches no agent. Performs no act whose effect lands outside the trip's own files** — every trip and every person record it reaches, it reaches read-only, and an observation is not an effect. **Takes `Bash(ls:*)` for exactly the listings declared above** — the store listing and a traveller-directory listing per other trip — and creates no directory.
The prior-visit verb. It answers *has this traveller been to this destination before* from the references the trips already carry, and **it answers by offering rather than by writing**: what it produces is a suggestion the traveller may take, and the answer that lands in their file is theirs.
**Nothing about this is stored, and that is the decision rather than an implementation detail.** `reference/adr/ADR-017-derived-trip-history.md` is authoritative for it. The durable person record gains no field, `people/` gains no file and no index, and no result of this verb is persisted anywhere — the resolution runs here, on demand, and is gone when the render is. `people/README.md` § *What a record does not hold* still lists **trip history**, unchanged and still true: this verb resolves history *about* a person without anything being stored *on* them.
**The requirement-table row takes the contract's declared default, and the archived trips are a property of the scan rather than of the gate.** The **resolved** trip is the one being planned, so the row states no reason to serve an archived one. That is a separate question from what the resolution *reads*: a past trip is exactly what history is made of, so **archived trips are in the population and are read there, read-only**. Reading is not derivation, and `reference/trip-lifecycle.md` § *Archived trips — what the freeze binds* freezes derivation; this verb composes nothing and writes nothing, so the freeze has nothing here to forbid.
### The resolution — the shipped discovery scan, reused
**Nothing below is a new scan, a second identity predicate or a second resolution vocabulary.** `reference/adr/ADR-012-people-library.md` § *Reference discovery* already chose a forward scan over a declared bearer set and scored it against the alternatives; this verb runs that scan's steps and skips the ones it does not need.
1. **Resolve `<name>`.** An absent argument, or a name with no traveller file on the resolved trip, is a refusal that names the shape and **offers no near-match** — a suggestion here is a classification with a reflexive accept, and § `## profile <name>`'s collision check already states why similarity is computed nowhere on this surface. A traveller file carrying **no `person:` key** is not a refusal and not an empty history: it is **`NO-REFERENCE`**, the outcome table's own row for this branch — say plainly that this traveller references no durable record, name nothing else, and stop. There is no edge to invert, so nothing is resolved and **no scan runs**, which is what keeps this out of `NO-EDGE-FOUND`.
2. **Closure over `merged-into:`, at one hop.** The subject is the referenced record plus every stub redirecting to it, so a merge does not split a person's history. A stub reached through a second stub is `MALFORMED`, reported, and **never followed** — the redirect depth is pinned at one hop and this verb does not widen it.
3. **Population.** The trip listing, minus the `README.md` line, exactly as the contract's own gates derive it. `G1`'s canary and its **forbidden conclusion** are inherited verbatim: an unreadable listing never yields *no trip references this person*.
4. **Reference read.** Each bearer the trip's traveller-directory listing names: its frontmatter, stopping at the closing `---`. A trip with no `travelers/` directory carries no bearer, and that is a completed observation; a listing the harness refused is not. A trip is in the set where a bearer carries `person: q` for some `q` in the closure.
5. **Exclude the resolved trip.** A trip cannot be its own prior visit.
**The relevance and signalling steps of that scan are not run.** Relevance is a per-field inheritance question, and this verb inherits no field; there is no update signal because there is nothing to signal about.
### The outcomes, and the absences are not the same one
**This verb terminates in exactly one of the tokens below on every branch, and the table is the whole set.** The heading carries no cardinal, deliberately: a count in a heading is the part of an enumeration that goes stale silently, and this one did — `NO-REFERENCE` was already a terminal branch of the resolution, described in step 1 as *"not a refusal and not an empty history"*, while this table named three states and nothing reconciled them. `scripts/test-artifact-schema.sh` arm `DH4` now asserts the row and the branch that reaches it against each other.
| Outcome | What it means | What is offered |
|---|---|---|
| `RESOLVED` | the scan completed and the closure is carried by at least one other trip | the candidates below |
| `NO-EDGE-FOUND` | the scan completed and no other trip carries the closure | **nothing** |
| `NO-REFERENCE` | the traveller file carries no `person:` key, so there is no edge to invert and **no scan is run** — step 1 terminates before the store is read | **nothing**, and that this traveller references no durable record is stated plainly |
| `UNDETERMINED` | a listing this verb declares cannot be taken | **nothing**, and the listing is named; this verb writes nothing on any branch |
| `UNDETERMINED` | a bearer was present but unreadable, the reference dangled, or a stub was `MALFORMED` | **nothing**, and the indeterminacy is stated |
**Every absence here is reported as a different thing and behaves as the same thing.** None yields a value, none is ever rendered as *this person has not been here*, and under each the field stays **unknown**. That is `reference/data-model.md`'s own rule for these fields — an unanswered value reads unknown, never `never` — preserved at this layer rather than restated as a new one. **An unlinked trip is invisible to this verb**, and the render says so rather than implying the set is everywhere the traveller has been.
**`NO-REFERENCE` is not a narrow `NO-EDGE-FOUND`, and keeping them apart is what this table is for.** `NO-EDGE-FOUND` asserts that **the scan completed** and carried nothing; `NO-REFERENCE` asserts that **no scan ran at all**, because there was no edge to invert. Reporting the second as the first would claim a completed scan where none happened — absence of evidence rendered as evidence of absence, which is the failure the rule above closes between the other two, one level up. **Nothing about the behaviour changes by naming this state**: step 1 terminated there before this table carried the row, and it terminates there now. What changes is that a later reader meets the distinction instead of re-deriving it.
### The candidates, and the operator makes the match
**This verb never decides that two trips share a destination.** There is no Destination entity and no destination key — `reference/data-architecture.md` § 3.4 assigns the model's entities and Destination is not among them — so an automatic match would be a name-similarity join over a free-prose string, which is the mechanism the identity work forbids. **Similarity is computed nowhere here**, exactly as it is computed nowhere in the collision checks on this surface.
So `RESOLVED` renders **one row per candidate trip: its slug, and its `- **Primary destination:**` string as the record block already carries it.** The operator or the traveller says which of those are this destination, and that confirmation — and only that confirmation — yields the count the offer below is derived from. **Partial and ambiguous matching is the ordinary case rather than an exception branch**, which is why this verb carries no ambiguity rule and no threshold.
**The render carries trip slugs and a count, and nothing else.** No person's display name, no field value from any trip, and no line of any record body. The reach table in `## erase <person-id>` types the session transcript `REPORT` and `UNREACHABLE`, and `## extract <name>`'s preview already sets the convention this follows: a value echoed into a transcript is a new copy of someone's data in a place an erasure cannot reach.
### The offer, and the two values it refuses
Where the target field is **unanswered** by the traveller, and only there:
| Field | Offered | Refused, and why |
|---|---|---|
| `Been here before?` | **`once`** at a single confirmed prior trip; **`a few times`** above that | **`know it well` — never.** It is a claim about familiarity depth, and a visit count cannot ground one: a person may go five times on business and not know a place, or once for a year and know it well. Offering it would be inventing a value. **`never` — never.** See the outcome table above |
| `Already done` | **a pointer only** — that prior trips to this destination are on file, and which | **any authored prose.** The field is the traveller's own statement of what they need not repeat, and no derivation supplies one |
**Where the field is already answered, nothing is offered at all.** `agents/00-enrichment.md` binds the carry-through — an answer is carried verbatim and never normalized to a neighbouring value — and an offer over an answered field is the first step of exactly that normalization.
**And this verb writes neither field, on any branch.** That is the load-bearing prohibition and it is not a stylistic preference: `Been here before?` is not consumed per traveller. It feeds a **party-level** depth weighting in `agents/01-activities.md`, `agents/02-food.md` and `agents/04-transport.md`, where an unanswered value is an **abstention** rather than a neutral member. Writing a suggestion into `travelers/<traveler>.md` converts that abstention into a member, changes the distribution the weighting reads, and changes which candidate sections carry more candidates — with nothing having asked the traveller. **A written suggestion is not advisory at the aggregate, whatever it is called at the point it was written**, which is why the offer is made where the answer is given and nowhere else.
**This verb suggests no verb, either.** It does not offer to link a traveller, to repoint a reference, or to resolve an `UNDETERMINED`; a read verb that proposes a write is a classification with a reflexive accept.
**The standing clause is taken unwidened, and no rule is appended for this verb.** Every widening of rule 5 in that clause derives a permitted **write** target or operation, and a verb that writes nothing anywhere has nothing to derive and reaches for nothing. Saying so is what keeps the widening ladder honest: a verb naming a rule it did not need would make the next author reach for one too. **`## profile <name>`'s declared read-scope ceiling is left exactly as it stands** — this verb declares its own rather than widening that one, which is what the per-verb `**Reads:**` line is for.
**Reversibility: n/a — this verb writes nothing.**
## .approvers <name...> [--threshold <n>]
**Reads:** `trips/<slug>/trip-context.md` — the `## Group` roster table's first column alone, the Person cells, read to resolve each name the operator typed to one canonical traveller key; `trips/<slug>/.approvers` — the existence probe that selects creating the file from replacing it, and, on the replace route, the outgoing declaration read before it is overwritten, so that it can be echoed and so the reversal has something to restore; `trips/<slug>/.published-itinerary` — an existence probe alone, with no byte of it read, so the verb can say when, in a plan mode, a declaration would hold every `update` and every `rotate` until the current plan is approved. Reads no `.approvals`, no traveller file, no derived model and no person record: a declaration is a set of roster keys and a threshold, and nothing else settles it. Runs no script and dispatches no agent. **Non-interactive: the standing clause's *run nobody can answer*.**
**The one file this verb writes, and it is not `trip-context.md`.** The target is
`trips/<slug>/.approvers` — under `trips/<slug>/` per standing rule 5, where `<slug>` is
`trip.slug` exactly as `E1` spelled it. That path lies **outside § *Write ownership*'s scope**,
which is `trip-context.md` block by block. The publish script's approval gate reads it, and so does
its `confirm` subcommand; the site build never does.
`reference/adr/ADR-029-group-approval-return-and-threshold.md` § *Decision* 3 makes declaring who
approves a policy act the operator may reach through a command, and makes recording that someone
approved a terminal act, which this command cannot perform.
**Resolution — each name to exactly one roster key.** Each name the operator typed is normalized to
a key the way `reference/data-architecture.md` § 3.2 fixes the canonical traveller key —
lowercased, with every character outside `[a-z0-9]` removed — and matched by exact key equality
against the same normalization of each Person cell of the `## Group` roster. The declaration holds
those keys and no display name, because erasure substitutes a key it can only find by exact
equality. Refuse, writing nothing:
- a name that matches no Person cell — and name the roster's display names, so the operator can
choose;
- a name that normalizes to the empty key;
- a key that matches two Person cells;
- the same approver named twice;
- no name at all.
**The threshold.** Omitted, it is `all`, the recommended setting (`ADR-029` § *Decision* 4):
every approver named must approve, so the count the published site shows can include only someone
the organizer recorded as approving. `--threshold <n>` takes an integer from 1 to the number of
approvers named, and `--threshold all` is accepted as written. Anything else is refused, writing
nothing.
**The file's exact shape.** Line 1 is `threshold=all` or `threshold=<n>`, then one
`approver=<key>` line for each approver, in the order named. Every line ends in a newline, and there
is nothing else — no blank line, no comment and no display name. The gate reads this file strictly:
a declaration off this shape is read as malformed, and a malformed declaration holds every plan
change at the gate until it is repaired.
**Create versus replace, selected by an existence probe.** `Read` the target path; the probe runs
before either write tool is reached. Not readable → **create** with `Write`, which is standing rule
2's one condition for it. Readable → **replace**, and only after all four of these:
1. **Echo the outgoing declaration verbatim.**
2. Name what changes: the approvers added and removed, and the threshold before and after.
3. Name the reversal — **restore the outgoing declaration**. Reversibility **CHEAP**, and cheap only
because step 1 preserved it.
4. **Ask once**, then `Edit`. The declaration's lines are the file's lines, so the whole file is the
named field standing rule 2 lets `Edit` change.
**The consequences, stated on every write.**
1. In a plan mode, the next `update` of a changed plan waits for the declared approvals. The
organizer records them one at a time, at a terminal, with `scripts/publish-trip-site.sh confirm`,
and nothing on this command surface can record one. In IDEATION, `/trip-publish update` refuses
the trip's pre-plan site while the declaration stands, because approvers approve the plan only,
and names the ways forward (`skills/trip-publish/SKILL.md` § *update* → *Precondition*).
2. An organizer confirmation already recorded no longer covers a pending change.
3. Retiring a declaration is the operator's own act, and it removes `.approvals` with it: a ledger
left behind without a declaration holds every plan change.
4. **Where the probe finds no `trips/<slug>/.published-itinerary`**, the trip has no published
baseline, so in a plan mode every `update` and every `rotate` waits for approvals of its current
plan — a republish that changes only the coordination marker included — until they are recorded;
in IDEATION, `update` is refused as consequence 1 says. Name the order that costs nothing in a
plan mode: republish once with `/trip-publish update` while the trip is still undeclared, so the
push records a baseline, and declare afterwards.
`- **Total travelers:**` is not read and sets nothing here: the declared population is the approvers named, never the party's size.
**Never.** It runs no subcommand of `scripts/publish-trip-site.sh`, so it cannot record an
approval. It reads no `.passphrase` and no `.approvals`, writes no path but
`trips/<slug>/.approvers`, writes no approval record, and names no approver to any file the site
build reads.
## interview <form> [<target>]
**Reads:** `<form>` — the form file this invocation names, resolved against the engine root and never against the working directory: its frontmatter, for the `trip:` value that roots the output and for the `writer:` and `artifact:` values its `intake-form` block restates; that block; every line above the literal its `boundary:` key names — the title line, the `##` sections in order, their labelled bullets, bracketed placeholders, star markers and guidance quotes, which together are the whole question set, or, on a form that declares regions rather than a boundary, every line outside its frontmatter and that block — its headings, which are its regions, and under them their labelled bullets at any indent, bracketed placeholders and guidance quotes; and, below that literal, **the block headed `### Assistant — the sections, in order` and nothing else**, for how to ask each section and for the conduct that form keeps as its own — never the form's numbered rules and never its instructions for producing a finished file; `reference/adr/ADR-023-interviewer-authored-home-and-form-contract.md` D2.1 — the keys a conforming form's `intake-form` block declares, which conformance question 1 requires the block of a form declaring `1` to carry, checked in § *The form, and the contract version this revision conducts* below before the conduct file is read — read live at invocation and **never re-authored here**, because a second list of those keys would be a second source of truth for what a form must declare to be interviewed; `skills/trip-record/interview-conduct.md` — this verb's conduct, the question set, the rules every interview shares and what only a write-capable session adds, authored there and nowhere else in this command, read whole once the form has passed § *The form, and the contract version this revision conducts* below and before the first question, because a conduct rule read in part is a rule not followed; `reference/data-model.md` § *Field Scope* → *The denominator*, for the rule that maps a `##` heading to a `Section` value, → *The classification*, the one table a form this revision conducts may name on its `classification:` key, for each field's `Scope`, its class and the rows it says are never asked, and § *`ANSWERED()`* with § *The interview's read of an unstated value* after it — read live at invocation and **never re-authored here**, because a second implementation of any of them would be a second source of truth for what a field is; **on a form whose output is the traveller file**, exactly what `## profile <name>` declares for its ordered checks, cited rather than re-derived — `trips/<slug>/travelers/`, the directory-presence probe; `trips/<slug>/travelers/*.md`, the entry names alone, no file opened; `reference/data-architecture.md` § 3.2, the canonical traveller key; and `trips/<slug>/travelers/<file>.md`, the file-existence probe that selects create from resume; **on a store-rooted form**, the store root by `reference/data-model.md`'s store-root rule, `<store-root>/people/` — the store listing, which is both the rejection set the minted id is sampled against and the denominator of the creation collision check — `<store-root>/people/*.md`, **the H1 line alone**, for that check, `reference/data-architecture.md` § 3.2, the canonical traveller key, whose normalization that check applies to the name and to each H1, and `<store-root>/people/<person-id>.md`, the file-existence probe on the resume branch and its frontmatter for `merged-into:`; `reference/schemas/traveler-profile.md` or `reference/schemas/person-record.md`, whichever is the output class's own schema, read at invocation for where that class admits the operator-provided mark, because the conduct file writes a relayed answer only there; **on a block-owned form**, `reference/region-reference.md` — the derived rows whose form is the one this invocation names, read whole at invocation: the writer table and the command they were derived against, and for each region its line and extent, its heading, the row it reached and that row's `Block` cell, its verdict, and the condition under which a `CONDITIONAL` region is this command's — read live and never re-derived here, because a second resolution of the writer table would be a second source of truth for which regions this command may write; **on a form whose output is the trip's own `trip-context.md`**, `trips/<slug>/trip-context.md`, the file-existence probe, which `reference/trip-resolution.md` § *Resolving a trip*'s G3 has already passed; and on any rooting **the target file itself**, read whole when a session resumes because what the file already answers is the resumption state and its own `intake-form` block names the form it was seeded from, and each field's current line read again in the same turn as that field is written, because the file prevails over what the session remembers. **Reads a `trip-context.md` only where the form it conducts outputs one, and then only the resolved trip's own. Dispatches no agent. Takes `Bash(ls:*)` for exactly the listings it declares** — on a form whose output is the traveller file, `## profile <name>`'s, cited; on a store-rooted form, `ls -1 "<store-root>/people"`, the store listing, which returns the names alone, each record's H1 then read with `Read` — and this verb creates no directory.
The interview verb. It conducts one form's interview with one person — the form's own questions, in the form's own order — and writes each answer into the file as it is settled, a single field when it is answered and a repeat unit when it is complete, so a session left part-way resumes from what the file still leaves unanswered. **Its conduct is authored in `skills/trip-record/interview-conduct.md` and nowhere else in this command** — the question set, the rules every interview shares and what only a write-capable session adds. Read that file whole before the first question and follow it. This section settles what the verb decides once per invocation, before the session runs, and the standing rule its writes are taken under; that file governs the session itself, question by question and write by write. `## profile <name>` runs this verb inline on its first route and whenever an existing profile resumes, and cites it rather than restating it. **Neither this section nor that file names a field of any form**: every field the interview touches is read from the form it is given.
### The form, and the contract version this revision conducts
`<form>` is the form's repository-relative path, spelled exactly as the `form:` line of its own `intake-form` block spells it, and resolved against the engine root. Read the file and find its `intake-form` block — a single fenced block, above the line its `boundary:` key names. Then read `form-version:` **before any other key**, because what every other key means depends on it:
| `form-version:` the form declares | What this verb does |
|---|---|
| `1` | conducts the whole form, as the rest of this section states |
| `2` | conducts the form only within the regions its writer table gives this command, as § *A block-owned form* below states |
| any other value, or none | refuses, naming the value it read — or that none was declared — and the values the rows above conduct. It reads nothing past the block and writes nothing |
**The last row stays last, and it is the only row without a literal value**, so a version this section does not conduct is refused whatever a later row adds above it.
A form declaring `1` is interviewable only where its block carries every key `reference/adr/ADR-023-interviewer-authored-home-and-form-contract.md` D2.1 declares; its `form:` line names the file that was read; its frontmatter and its block both declare `writer: human`; its `output:` line names the `artifact:` value its frontmatter carries; its `classification:` key names `reference/data-model.md` § *Field Scope* → *The classification*, the one table this verb's `**Reads:**` line admits; every labelled bullet above its boundary joins exactly one row of that table on its `(section, label)` pair — a bullet joining none, or more than one, has no `Scope`, class or never-asked row to be conducted by; and the `boundary:` literal is a whole line of the file, occurring once, with the end-of-profile heading on the line immediately above it. Those are that record's conformance questions 1, 2, 3 and 5 — the ones whose answers this verb consumes. A form failing any of them is refused, and the refusal names the check, and for question 3 the bullet.
### Where the file lives — rooted by the form's own frontmatter
| The form's `output:`, and the frontmatter `trip:` it requires | The file is | `<target>` is | What the create branch writes into the frontmatter |
|---|---|---|---|
| `travelers/<traveler>.md`, with `trip:` the trip placeholder `<trip-slug>` | a traveller file under `trips/<slug>/`, named by the filename `## profile <name>` derives — the class whose rules are that section's | the traveller's display name, reached through `## profile <name>`'s ordered checks in their order | `trip.slug`, exactly as `E1` spelled it, in place of `<trip-slug>`, and nothing else |
| `people/<person>.md`, with `trip:` the reserved sentinel `cross-trip` | a person record under the resolved store root, named by its id — the class whose rule is standing rule 15 | an existing record's id — `psn-` then four lowercase hex digits — to resume it, or any other value as the display name of a record to create | nothing: `trip: cross-trip` is left exactly as it stands |
| `trip-context.md`, with `trip:` the trip placeholder `<trip-slug>` | the resolved trip's own `trips/<slug>/trip-context.md` — one per trip, under standing rule 5 | none: the form names one file per trip, and a `<target>` given is refused | nothing: this verb never creates this file — § *A block-owned form* |
| any other `output:`, or a `trip:` other than the one its row requires | — | — | refused: no rule of this command's standing clause admits the write |
**Rooting is read from the form and never from its path**: a form declares where its output lives by its `output:` line and by the same frontmatter `trip:` value that `reference/adr/ADR-022-interview-session-model.md` D2.5 already reads to decide what a seed substitutes, and each row above admits one class this command already has a target rule for, naming that rule. **A form whose output no row names is refused rather than written somewhere a rule does not reach.** **The display name never selects a record.** On a store-rooted form it names the record to create, and it is compared with the store only to refuse that creation.
### Create, or resume — selected by a probe, never typed
**The file-existence probe selects the branch, and nothing else does.** Absent → create, on a form whose rooting admits a create branch; present → resume. There is no resume flag, no abandon marker and no cursor: the file is the whole of the session's state, and a session that stops has simply stopped (ADR-022 D1.1, D1.2).
**Create.** On a store-rooted form, first ask the operator whether the person the record is for is here and answering for themselves, and write nothing short of yes (§ *When the person is not here*). Then, before the first question, write the form to the target path **once, and whole** — every line the form carries, the guide below its end-of-profile heading included, exactly as `## profile <name>`'s second route writes it — with the frontmatter change the rooting table names and nothing else changed, but for one line on a store-rooted form: its seed also writes the title line, because a record's display name is its identity, the store's creation refusal keys on it, and a record never stands in the store under a placeholder name. On a trip-rooted form the title line is the session's first write, from `<target>`: a name the operator gave is an answer volunteered (ADR-022 D3.4), recorded and not asked.
**Resume.** Read the file whole. Where it carries an `intake-form` block of its own, that block names the form and the contract version it was seeded from: compare both with the form's before anything is asked, and refuse on a difference (the refusal table below). A file carrying no block — seeded before forms declared one — resumes under the form given. Each field's value is read by `reference/data-model.md` § *The interview's read of an unstated value*, read live, and which fields are asked is W2 of `skills/trip-record/interview-conduct.md`, cited here and not restated. A run over a file with nothing left to ask says so and asks which field, if any, is changing.
**Nothing marks a session complete.** Every field a form carries is skippable, so no predicate over the answers means *done*. The interview ends when they end it or when nothing is left to ask, and nothing here blocks on completeness.
### What the finished file carries
**The `intake-form` block stays.** A finished file carries the form's block exactly as the file's creation wrote it — above the first section, and no write touches it — and it records which form, at which contract version, the file was filled from, which a resume compares with the form before it asks anything. **The guide below the end-of-profile heading stays too**, exactly as the form's second route has always left it: the profile is everything above that heading, and nothing below it is content. **This verb has no output act** — the file is written as the session runs, and there is no block to return at the end (ADR-022 D6.1).
### When the person is not here
**A durable record is created only for a person who is here answering for themselves, and the operator is asked every time.** Before anything is written on the create branch, ask the operator once whether the person is here, answering for themselves — however the request was worded, because a request is written about its subject and establishes nothing about who is present. Short of yes, write nothing, and say what would let it proceed: the person here, answering. Until then the record is theirs to fill: they can fill in `templates/person-intake.template.md` themselves, saved in the store under an id minted for them now — rejection-sampled against the store listing as the create branch would — which this verb names and does not write. Or send them three files — the form, the worked record `examples/people-library-demo/people/psn-3c7e.md` and the portable interview card, `templates/interview-card.md` — to fill in with any assistant. The block they send back is yours to save at that same path, as you writing down what they told you: no rule of this command's standing clause admits a verb to write a returned block into the store, so this verb never does.
### The durable record — the standing rule its writes are taken under is rule 15
This section discharges each condition by name. **(a)** the path is named above — the minted `<store-root>/people/psn-<token>.md` on the create branch, and the operator's `<store-root>/people/<person-id>.md` on resume. **(b)** the create branch asks the operator, once and before anything is written, whether the person the record is for is here and answering for themselves — whatever the request says — and writes nothing short of yes (§ *When the person is not here*). **(c)** every value is taken under shared rules 7 and 8 of `skills/trip-record/interview-conduct.md`, or is the un-answer its shared rule 6 hears, and a relayed value is written under its W8, which reads from `reference/schemas/person-record.md` where the class admits the operator-provided mark. **(d)** its W5 and W6. **(e)** its W3 and W4. **(f)** its shared rule 11.
**Who may write a record, and why this verb is inside that rule rather than beside it.** The class's own write rule is that no agent writes a value into a record, and that every value originates from the person or from the operator relaying that person's own statement. This verb is not an agent — `## promote <name> <field>` draws the same line for itself — and it authors nothing: every value it writes is the subject's own words, held there by the conduct file's shared rule 7 test and its shared rule 8 delete-only bound. **The create branch is the class's creation scaffold**, the member of its enumeration of permitted mechanical writes that `## extract <name>` also is, and it authors nothing either: it writes the form as it ships and the display name the operator gave for a person who is present. The answers written after it are outside that enumeration's subject matter, as `promote`'s write is: each records a person's answer at that person's direction. **The enumeration does not grow, and the class's schema is not edited.**
**What consent this establishes, stated exactly and not overclaimed.** Condition (b) establishes that the subject is present, which is not the subject's consent to be recorded, and this section does not call it that. The bound is structural: a record is created only in a session its subject is answering, so the store's own exclusion — no record for a person who did not ask for one — holds by construction.
### A block-owned form — the regions its writer table gives this command
**A form declaring `2` is block-owned: no single writer owns it, a table does, and this verb writes only where that table gives the write to this command.** The table is the one the form's own `write-ownership:` key addresses, and this verb does not resolve it. `reference/region-reference.md` carries every region of such a form already resolved to that table's row and the verdict the row gives this command — derived by the artifact-schema suite from the form and the table, and failing that suite whenever what is committed differs — so a change to the table reaches this verb through that file and never through an edit to this section. This section settles, once per invocation and before the first question, whether the form is one this verb may conduct and whether that file covers it; `skills/trip-record/interview-conduct.md` § *On a block-owned form* is how the session then uses the file, write by write.
**What such a form must carry before it is conducted.** Its block holds, once each, every key this verb reads from it — `form:`, `form-version:`, `writer:`, `write-ownership:`, `classification:` and `output:` — and sits above the form's first region, with no labelled bullet above that region either; its `form:` line names the file that was read; its frontmatter and its block both declare `writer: block-owned`; its `output:` line names the `artifact:` value its frontmatter carries; and its `classification:` key names `reference/data-model.md` § *Field Scope* → *The classification*, the one table this verb's `**Reads:**` line admits. A form failing any of these is refused, and the refusal names the check.
**What the region reference must say about it.** Keep the rows of that file's derived region whose form is this form's `form:` value. The form is conducted only where the file's forms table carries exactly one row for it, whose writer table is this form's `write-ownership:` value and whose command is this command; where every region row's heading is this form's own line at that row's line number, at the same level and in the same words; and where no region row reads `UNRESOLVED`. Otherwise the form is refused, naming the first check that failed: the file is stale against the form or the table, the file itself says how it is regenerated, and nothing here edits it or conducts past it. **Every labelled bullet in a region whose row in the region reference reads `YES` or `CONDITIONAL` joins exactly one row of the classification its `classification:` key names, on its `(section, label)` pair**, because a bullet joining none, or more than one, has no `Scope`, class or never-asked row to be conducted by; a form where one does not is refused, and the refusal names the bullet.
**Create.** There is no create branch on such a form, and none is reachable: `reference/trip-resolution.md` § *Resolving a trip*'s G3 stops a trip whose file is missing before any verb of this command runs, and a seed would write every region of the form, the ones the region reference denies among them. The file's creation belongs to the writer the table gives it.
### What it refuses, in the order it checks — each refusal writes nothing
| Condition | What happens |
|---|---|
| `<form>` is absent | print this verb's argument shape, and stop |
| the form cannot be read | refuse, naming the path as resolved |
| the form carries no `intake-form` block, or more than one | refuse: it is not an interviewable form |
| `form-version:` is a value no row of the version table conducts | the last row of that table |
| a conformance check this verb consumes fails | refuse, naming the check — and, for question 3, the bullet |
| **block-owned**: the region reference does not cover the form, disagrees with it, or names another command | refuse, naming what was found — § *A block-owned form* |
| no row of the rooting table names the form's `output:`, or its frontmatter `trip:` is not the value that row requires | refuse: no rule of the standing clause admits the write |
| `<target>` is absent where the form's rooting row takes one, or given where it takes none | print the argument shape that row admits, and stop |
| **trip-rooted**: the resolved trip is `ARCHIVED` | refuse before reading the target: say the trip is archived and name `/trip-decommission reopen` |
| **traveller file**: any of `## profile <name>`'s ordered checks stops | exactly what that verb does for that check, in its order |
| **store-rooted**: the store root does not exist | refuse. This command creates no directory |
| **store-rooted, an id**: no record carries it | refuse, and print the create shape |
| **store-rooted, an id**: the record carries `merged-into:` | refuse, naming the id it redirects to |
| a listing this verb declares cannot be taken | refuse, naming the listing; write nothing |
| **store-rooted, a name**: it is a surviving bracketed placeholder, or has the shape of an erasure token (`per-` then four lowercase hex digits) | refuse, and say which |
| **store-rooted, a name**: its normalized form equals a live record's normalized H1 | refuse, and offer the store's three remedies as this verb reads them: use that record — resume it by its id — disambiguate the name, or create anyway with the collision acknowledged. Exact equality after the store's own normalization only — no similarity and no near-match |
| **store-rooted, create**: the operator does not answer yes to whether the person is here, answering for themselves | § *When the person is not here* |
| **resume**: the file carries more than one `intake-form` block, or one naming a `form:` or `form-version:` other than the form's | refuse, naming both: the file was seeded from another form or contract version, and conducting this one over it would ask the wrong questions |
| the run is non-interactive | refuse. No flag skips it |
### Why the requirement-table row reads `lifecycle: ANY`
**Stated here because § *The shape of a table row* requires the reason to live in the verb's own section.** On a store-rooted form this verb writes nothing under `trips/<slug>/`, so no trip lifecycle bears on it: the resolved trip is not that branch's subject, which is the reason `erase` and the `group-*` verbs declare `ANY` for theirs. **On a trip-rooted form the trip is the subject**, and an archived trip is frozen (`reference/trip-lifecycle.md` § *Archived trips — what the freeze binds*), so that branch refuses an `ARCHIVED` trip before it reads the target — the render § *When the resolved state does not serve the verb* gives a lifecycle refusal, issued here from this section's refusal table because the requirement row admits `ANY`. The cell cannot carry the two lifecycles at once, and `ACTIVE` would refuse a durable interview whenever the resolved trip happens to be archived, sending the operator to reopen a concluded trip to write a record that belongs to no trip.
**What this verb names, and what it runs.** After a write to a traveller file it names **`/trip-record travelers`** as the reconcile step, and does not run it; after a write to a block-owned file it names what `## fact <statement>` names after that write, and runs none of it. Beyond those, and the verb a block belongs to where it is not this one, it names no verb of this command as an offer, and standing rule 8 is why it states nothing about any other command's availability.
**Reversibility: MODERATE, confidence MEDIUM.** Not CHEAP — the files it writes live under `<data-root>`, so no revert in this repository reaches them, and a record it creates is read by every trip that later links it. Not IRREVERSIBLE — nothing it writes deletes an answer without an echo first, and a record it created is discarded by removing the file before any trip references it.
## past-coverage <name>
**Reads:** `trips/<slug>/travelers/<file>.md` — the file-existence probe that resolves `<name>` on the resolved trip, by the filename `## profile <name>` derives, and **its frontmatter alone, to the closing `---`, for the `person:` key**, which is the reference this verb inverts; no body line of that file is read; `trips/<slug>/people/` — the **directory-presence probe** the store-root rule's first step takes, with `Read` on the directory path itself, and nothing inside it is read by that probe; `<store-root>/people/` — the store listing, the store root being the one `reference/data-model.md`'s store-root rule yields, taken with `Bash(ls:*)` as `ls -1 "<store-root>/people"`, which returns the entry names alone; `<store-root>/people/*.md` — **the frontmatter of every record that listing names, to the closing `---`**, for `merged-into:`, which establishes whether the referenced record is live or a stub and which stubs redirect to it, and **no body line of any person record is read, its H1 included**; `trips/` — the trip listing, **which arrives from the listing block above rather than from a listing this verb takes**; `trips/<t>/travelers/` — for each trip of that population other than the resolved one, a listing of its traveller directory, taken with `Bash(ls:*)` as `ls -1 "<data-root>/trips/<t>/travelers"`; `trips/<t>/travelers/*.md` — **the frontmatter of every file those listings name, to the closing `---` and no further**, for `person:`, which is the resolution step and the only way another trip enters this verb's scope; `reference/data-model.md` § *Traveler identity* → *The key is computed in two steps* — the key a bearer's file stem and a table's traveller cell are compared under, read live at invocation and **never re-authored here**; and then, **for each reached trip and for no other** — a trip other than the resolved one, archived, and carrying the reference: `trips/<t>/outputs/satisfaction-metrics.md` — the file-existence probe, and then **the file opened whole with `Read`**, because where its `Desire-coverage` section sits is not known until the file is open and this verb takes no `Bash(grep:*)` to find it; **of what that open returns this verb uses** the section whose heading's leading segment is `Desire-coverage` — its table's header row and, from each data row, the traveller, tier and verdict cells, found by header label — **and nothing else: the `Desire` cell is never carried into anything this verb computes or prints, and no other section of the file is used, carried or printed — not needs compliance, not the agreement check, not the balance signals**; `trips/<t>/outputs/satisfaction-metrics.md`, `trips/<t>/outputs/final-itinerary.md`, `trips/<t>/outputs/traveler-model.md` and `trips/<t>/outputs/event-status.md` — **the order observation**: one newest-first listing over exactly these paths, taken with `Bash(ls:*)` as `ls -1t`, an observation of existence and order and never of content, so this verb **opens none of the last three**; and `trips/<t>/trip-context.md` — **opened whole with `Read`, for the same reason; of what that open returns this verb uses the `## Group` roster table's first column alone**, each cell tested for an erasure token's shape, and nothing a cell holds is carried or printed; **no other block of that file is used, carried or printed**, and every trip's lifecycle arrives by value in the record block above. **It reads no `trip-context.md` of the resolved trip, no group record, and nothing of a trip that does not carry the reference beyond its traveller frontmatter. Writes nothing, anywhere, on every branch. Dispatches no agent. Performs no act whose effect lands outside the trip's own files** — every trip and every record it reaches, it reaches read-only, and an observation is not an effect. **A whole-file open returns more than this verb uses; what it does not use stays in the tool result, is carried into nothing and is printed nowhere.** **Takes `Bash(ls:*)` for exactly the listings declared above** — the store listing, a traveller-directory listing per other trip, and a newest-first operand listing per reached trip — and creates no directory.
The past-coverage verb. For one traveller on the resolved trip it answers *what did the plans of this person's earlier trips cover for them* — and it answers with tallies of **plan coverage as last synthesized**, never with how a trip went. It is the read `reference/adr/ADR-027-post-trip-preference-memory.md` § *Decision* 1 defines as `outcomes(p, t₀)`: the coverage rows an archived trip recorded for a person, read in place from that trip, reached through the person reference and copied nowhere.
**Nothing about this is stored.** No result of this verb is written, cached or indexed anywhere, on any branch; the read runs here, on demand, and is gone when the render is. `people/README.md` § *What a record does not hold* stays true unchanged.
**The requirement-table row takes the contract's declared default, and this section states no reason to serve an archived resolved trip.** This verb's row takes the header's depth, so a trip is resolved before this section runs, and the view then leaves that trip out. Were the row to admit an archived resolved trip, an operator between trips — every trip archived — would resolve one of them, and the view would leave out the trip it had just resolved as the one being planned, with nothing on the render to say so. So the row does not admit that state, and on an archived resolved trip this verb takes the render of § *When the resolved state does not serve the verb*. **That is a limit of this surface, and it is stated here:** it shows a person's past plan coverage only while a trip is being planned and that person is a traveller on it. `reference/adr/ADR-027-post-trip-preference-memory.md` § *Decision* 1 also defines this read for a point of use that resolves no trip, where leaving out the resolved trip is vacuous; a trip is always resolved before this section runs, so that point of use is not built here. What this verb *reaches* is a separate question: an archived trip is what it reads, read-only. Reading is not derivation, and `reference/trip-lifecycle.md` § *Archived trips — what the freeze binds* freezes derivation; this verb composes nothing and writes nothing, so the freeze has nothing here to forbid.
**The sub-headings a later verb cites are fixed once cited.** § *The outcomes, and the absences are not the same one*, § *Reading a trip's desire-coverage table*, § *The relation — `plan-to-coverage`* and § *What a render carries, and how it is worded* are citation targets: a citation resolves by heading, so none of them is renamed once a later section of this file cites it. The first is cited for its table headed *Per reached trip*, and a citation of a table resolves by that header cell, so the cell is fixed with its heading.
### The resolution — `history`'s scan, then the archived trips
**The scan is `## history <name>` § *The resolution*, cited and not re-authored**: resolve `<name>`; close over `merged-into:` at one hop; take the population from the listing block, less its `README.md` line, with `G1`'s canary and its forbidden conclusion inherited; read each bearer's frontmatter to the closing `---`; exclude the resolved trip. **Where this section departs from that one, it says so here.** Where that section's first step ends the `NO-REFERENCE` branch by naming nothing else and stopping, **this section's render rule governs what follows the `NO-REFERENCE` line**: § *What a render carries, and how it is worded* prints its sentences after that line, as it does after every output.
A trip in the resulting set is **reached** where the record block above carries `**Lifecycle:** ARCHIVED` for it; an absent line is `ACTIVE`, by `G4`. Only a reached trip is opened beyond its traveller frontmatter. A trip with no `travelers/` directory carries no bearer, and that is a completed observation; a listing the harness refused is not, and is read by the refusal predicate `reference/trip-resolution.md` § *Resolving a trip* states. **That exception is a traveller directory's alone.** A store that is absent is not a completed observation: with a `person:` key present, `reference/data-model.md` § *The bearer states* types a store that is absent or unlistable `STORE-UNREADABLE`, and this verb reads that as `UNDETERMINED`, saying that the store could not be listed.
**Where the scan ends decides the output.** With no `person:` key there is no scan, and the output is `NO-REFERENCE`. A scan that cannot be completed ends `UNDETERMINED`. A completed scan that finds the reference on no other trip ends `NO-EDGE-FOUND`; one that finds it only on trips that are not archived ends in the plain sentence *edges exist, none archived*; and one that reaches an archived trip ends `RESOLVED(n)`.
### The outcomes, and the absences are not the same one
**This verb ends in exactly one of the outputs below on every branch, checked in this order, and the table is the whole set.** Each `ADR-017` token is printed only under the condition beside it; where no token's meaning fits, the output is a plain sentence.
| Output | Printed when |
|---|---|
| `NO-REFERENCE` | the traveller file carries no `person:` key, so there is no edge to invert and **no scan runs** — the store is not listed |
| `UNDETERMINED` | the reference is not a well-formed id, or names no record in a store that was listed; the record is a stub whose target is itself a stub; the store is absent or could not be listed; a traveller directory could not be listed for a reason other than its absence; or a bearer was present and could not be read |
| `NO-EDGE-FOUND` | the scan completed and **no** trip other than the resolved one carries the reference |
| *edges exist, none archived* | the scan completed, the reference sits on trips other than the resolved one, and none of them is archived. A plain sentence: never `NO-EDGE-FOUND`, and never a count of zero |
| `RESOLVED(n)` | the scan completed and reached archived trips other than the resolved one; `n` counts those trips, and each renders one line |
An absent `<name>`, or a name no traveller file on the resolved trip answers to, is a refusal before any of these: it names the argument shape and **offers no near-match**.
**Each reached trip renders exactly one of these, on one line, followed by its relation verdict:**
| Per reached trip | Printed when |
|---|---|
| tier-by-verdict tallies | the table was read and at least one row carries the bearer's key |
| *holds no outcome record* | the coverage file is absent, or it carries no `Desire-coverage` section, or no row carries the bearer's key |
| `UNDETERMINED` | the trip carries more than one bearer for this person, or the section could not be read as § *Reading a trip's desire-coverage table* requires |
**No absence is ever rendered as `not covered`.** Those words are printed only as a tier's count of rows whose own verdict cell says so. None of these outputs reads as *nothing was planned for this person*, and an unlinked trip is invisible to this verb — the render says so.
### Reading a trip's desire-coverage table
**By heading and by header label, never by column position.** A later verb of this command that reads the same table cites this sub-section and restates none of it.
1. **The section** is the one whose heading's leading segment is `Desire-coverage`, token-bounded. None is *holds no outcome record*. More than one is `UNDETERMINED`.
2. **The table** is the first run of pipe rows under that heading, and its first row is the header. A section with no table is `UNDETERMINED`: there is no header to read by.
3. **The cells** are found by comparing each header cell whole, after trimming whitespace and emphasis, with the labels this table has shipped under: the traveller cell is `Traveler` or `Traveller`; the tier cell is `Priority tier` or `Tier`; the verdict cell is `Covered?` or `Covered`. A needed label that no header cell carries, or that more than one carries, is `UNDETERMINED`, and the render names the needed cell.
4. **The rows** are those whose traveller cell has the same key as the bearer's file stem, under the key rule the `**Reads:**` block names. Rows keyed to anyone else are not this person's and reach nothing.
5. **A row counts** under its tier — `anchor`, `wish` or `nice-to-have`, compared after trimming and case-folding — and its verdict — `covered` or `not covered`, with emphasis stripped. Any other value in either cell of one of these rows is `UNDETERMINED` for the trip; it is never guessed and never echoed.
6. **The tally** is, per tier in that order, the count of each verdict. A tier with no row is not printed.
**The `Desire` cell is located only so that it can be skipped.** No text from it, and nothing from the per-day coverage cell, reaches a tally or the render: a desire marked `Recurrence: daily` is counted by its overall verdict cell alone. An instance whose frontmatter declares no version, or one this revision does not recognise, is read by the same steps — `reference/data-architecture.md` § 7.2's tolerant read.
**This verb uses the roster's first column and nothing else in `## Group`.** The trip context is opened whole, as the `**Reads:**` block declares; within `## Group` this verb does not use `- **Total travelers:**`, compares nothing with it and prints nothing from that block.
### The relation — `plan-to-coverage`
**This is where the relation is declared, and it is declared once.** A later verb of this command that renders it cites this sub-section and restates no verdict and no reading.
| relation | the derived side | the source side, by rule | when an operand is not observable |
|---|---|---|---|
| `plan-to-coverage` | `trips/<t>/outputs/satisfaction-metrics.md` | the other paths this section's `**Reads:**` block names for the order observation. They are the files of what `reference/data-model.md` § *Three metric types* says coverage is *determinable from the itinerary, the traveler model, and the per-event status*; that sentence fixes the membership, and a change to it is a change to this row | `UNDETERMINED`, naming the operand |
**`t` is the trip a verdict is rendered for: an archived trip, and never the resolved one.** For this verb it is a reached trip; a later verb that cites this sub-section says in its own section which trips it renders the relation for. Because `t` is never the resolved trip, the relation is evaluated **outside `trip.freshness`**, which is a property of the resolved trip's own artifacts (`reference/trip-resolution.md` § *Resolving a trip*, `G8`). It adds no entry to that list, and this file's contract header is unchanged.
**The observation is of order, never of time, and it is the shipped one**: a newest-first listing over the operands, as `skills/trip/SKILL.md` declares for its own relations. No epoch is read and no duration is computed.
- **`CURRENT`** — every operand was listed and the derived side is the first line.
- **`BEHIND`** — every operand was listed and it is not. The verdict **names the leading source**, the operand that came out first, by its file name under `outputs/`.
- **`UNDETERMINED`** — an operand was not listed, or the listing could not be taken. The verdict **names each operand that could not be observed**. It is never reported as `BEHIND`.
The verdicts are compared by exact token equality, and every reached trip's verdict is rendered, `CURRENT` included. **A verdict belongs to the trip, taken from one listing in a render.** Wherever a render prints a trip's verdict, it prints the same token naming the same operand, and the erasure reading below is printed wherever that trip's verdict is and never apart from it. This verb prints both once, on the trip's line; a later verb whose render carries more than one line for a trip says in its own section where they are printed, inside those bounds.
**What a verdict means, and nothing more.** `CURRENT` and `BEHIND` are an order among the named files, and that order is the order of the files' stamps. Neither says a plan or a status changed after the last synthesis, and neither says one did not. A hand edit to the coverage file reads `CURRENT`. **A copy, a restore or a sync that does not keep stamps resets the order**, and a verdict taken afterwards reports what that act left; no derivation rewrites an archived trip, so the verdict goes on reporting it.
**Report-only, and that is a property of the relation.** A verdict may choose which sentence is printed. It never chooses whether a verb runs, what it reads, which trips it reaches, which output it ends in or what a tally says, and no verb of this command stops, refuses, redirects or writes on one. Nothing mechanical holds this; it is a rule a verb follows.
**The readings a render states rather than infers:**
| Reading | Printed | Why |
|---|---|---|
| *an order set by an erasure* | beside the verdict of a trip whose `## Group` roster table carries, in its first column, a cell that is `per-` followed by four lowercase hexadecimal digits and nothing else | erasure's own writes reorder these files, so on that trip the verdict reads as an order an erasure set, never as a plan change. An erasure of a party member who holds no record (`## erase <person-id>` § *A subject who holds no record*) writes no such cell where no roster row joins, so a trip it rewrote does not carry this reading: a stated residual, because this verb reads no file that would show it |
| *an order the relation cannot interpret* | on every render, unconditionally | where a trip's last pass ran no validator after its hub — an IDEATION pass, or a remediation leg — the order that pass left is one the relation cannot interpret. **No read this verb declares can observe the shape of a pass, so it declares none and states the reading every time** |
| *a tie* | on every render, unconditionally | two operands may share a stamp — on a filesystem with coarse stamps, or after a copy that set them together — and a listing cannot tell a tie from a lead. Where the newest stamp is shared, the listing falls back to name order among the files that share it: a tie between the coverage file and a source whose name sorts before it prints `BEHIND` naming that source, and a tie only with a source whose name sorts after it prints `CURRENT` |
### What a render carries, and how it is worded
**The wording rule and the transcript bound are stated here once**; a later verb of this command that renders retained coverage cites this sub-section.
**Every tally is worded as plan coverage as last synthesized** — whether the plan, when it was last synthesized, covered a desire of that tier. It is never worded as what happened on a trip, what anyone enjoyed, or how a trip went. An archived coverage file is a snapshot taken at synthesis and records nothing that happened after it.
**A render carries** trip slugs, the person id, tier-by-verdict tallies, relation verdicts with an operand's file name, the output token or sentence, and the sentences below. **It never carries** a display name — the argument is not echoed, and the subject is named by person id — a traveller file's stem, a desire's text, a destination string, a roster cell, any line of a record's body, or a path. **What could not be read or listed is named by its kind**: the person store or the group store; a trip's traveller directory, or a bearer in it, by the trip's slug; a record by its id. The reach table in `## erase <person-id>` types the session transcript `REPORT`, and a value echoed into one is a copy an erasure cannot reach.
**The order of a render:** the person id with the output; then, under `RESOLVED(n)`, the words *plan coverage as last synthesized, on archived trips other than this one*, and a line per reached trip in the listing block's order — slug, the per-trip reading, the relation verdict with what it names, and the erasure reading where it applies. **Where a reached trip's roster is unreadable — its `trip-context.md` cannot be opened, or carries no `## Group` heading, or carries no pipe table under that heading — no cell of it was tested**: the trip's line carries the verdict with the words *the erasure reading could not be tested on this trip*, never the erasure reading, and never nothing — which would read as a roster that was tested and holds no token. **`n` counts archived trips and no others**: a trip that carries the reference and is still being planned, or was reopened, has no line and is not counted, and the view's own sentence below says that it is not shown. Then **the shared sentences**, as written, **on every render whatever the output** — a later verb of this command that renders retained coverage prints these same sentences:
> Every tally here is plan coverage as last synthesized: whether a trip's plan, when it was last synthesized, covered a desire of that tier. It says nothing about what happened on a trip.
>
> `plan-to-coverage` is evaluated here, outside `trip.freshness`, because the files it orders belong to other trips. It is report-only. `CURRENT` and `BEHIND` are an order among the named files' stamps and nothing more, and a copy, a restore or a sync that does not keep stamps resets that order.
>
> Where a trip's last pass ran no validator after its hub, the order that pass left is one this relation cannot interpret. Nothing this view reads can show whether that happened, so the caution applies to every verdict it prints.
>
> Two of those files can share a stamp, on a filesystem with coarse timestamps or after a copy. The listing then falls back to name order, so a tie can print `BEHIND` naming whichever tied file sorts first, and a listing cannot tell a tie from a lead.
And then **this view's own sentence**, on every render as well. It is written for one subject and is not part of the shared set; a later verb words its own statement of what it does not show:
> Only archived trips other than the one being planned are shown, and only where a traveller file on them carries this person's reference. A trip still being planned, or reopened, is not shown; a trip this person was never linked on, or was unlinked from, is invisible here.
Under `NO-REFERENCE` the person-id position reads *this traveller references no durable record*, and nothing else is named.
**This verb suggests no verb and offers no value.** It does not offer to link a traveller, to answer a field or to carry a tally into a profile. **The standing clause is taken unwidened, and no rule is appended for this verb**: it writes nothing, so it has no write to derive a rule for.
**Reversibility: n/a — this verb writes nothing.**
## group-past-coverage [<group-id>]
**Reads:** `trips/<slug>/people/` — the **directory-presence probe** the store-root rule's first step takes, with `Read` on the directory path itself, and nothing inside it is read by that probe; `<store-root>/groups/` — **on the no-argument branch alone**, the store listing, the store root being the one `reference/data-model.md`'s store-root rule yields, taken with `Bash(ls:*)` in the form the person-store listing below takes, which returns the entry names alone; `<store-root>/groups/<group-id>.md` — **its `## Members` section alone, from that heading to end of file**, which is the whole of the record's one section: taken with `Bash(grep:*)` as `grep -H -A 99999 -E '^## Members$' "<store-root>/groups/<group-id>.md"`, a match on the heading with trailing context, which returns the heading line and every line below it, each behind the path of the record it came from, and **no line above the heading — so the title line, which holds the group's display name, is not read, and this verb opens no group record with `Read`**; the same call is the file-existence probe, because where the path does not exist the call's own diagnostic says so; on the named branch it is given the one record named, and on the no-argument branch every record that listing names — the entries whose stem has the id's shape — in one call or in several, and never a path the listing did not name; **a record the call returns no heading line for has not been read**; `<store-root>/people/` — the store listing, taken with `Bash(ls:*)` as `ls -1 "<store-root>/people"`; `<store-root>/people/*.md` — **the frontmatter of every record that listing names, to the closing `---`**, for `merged-into:`, which establishes whether each member bullet resolves, to which survivor, and which stubs redirect to a member, and **no body line of any person record is read, its H1 included**; `trips/` — the trip listing, **which arrives from the listing block above rather than from a listing this verb takes**; `trips/<t>/travelers/` — a listing of a trip's traveller directory, taken with `Bash(ls:*)` as `ls -1 "<data-root>/trips/<t>/travelers"`: on the named branch for each trip of that population other than the resolved one, and on the no-argument branch for the resolved trip alone; `trips/<t>/travelers/*.md` — **the frontmatter of every file those listings name, to the closing `---` and no further**, for `person:`, which is the only way a trip enters this verb's scope; and then, on the named branch, **for each candidate and for no other trip**: `trips/<t>/trip-context.md` — **opened whole with `Read`, because its `## Group` section ends before the file does, so where it ends is not known until the file is open, and no locator is taken for a trip's file; of what that open returns this verb uses the `## Group` roster table alone** — the count of its data rows, and each first-column cell tested for an erasure token's shape — and nothing a cell holds is carried or printed; **no other block of that file is used, carried or printed**, and every trip's lifecycle arrives by value in the record block above; and, **for each candidate the operator confirms and for no other**: `trips/<t>/outputs/satisfaction-metrics.md` — the file-existence probe, and then the file opened whole with `Read`, **of which this verb uses what `## past-coverage <name>` § *Reading a trip's desire-coverage table* uses and nothing else**; `trips/<t>/outputs/satisfaction-metrics.md`, `trips/<t>/outputs/final-itinerary.md`, `trips/<t>/outputs/traveler-model.md` and `trips/<t>/outputs/event-status.md` — **the order observation** of `## past-coverage <name>` § *The relation — `plan-to-coverage`*: one newest-first listing over exactly these paths, taken with `Bash(ls:*)` as `ls -1t`, an observation of existence and order and never of content, so this verb **opens none of the last three**; and `reference/data-model.md` § *Traveler identity* → *The key is computed in two steps* — the key a bearer's file stem and a table's traveller cell are compared under, read live at invocation and **never re-authored here**. **It reads no line of a group record above its `## Members` heading, no `trip-context.md` of the resolved trip, nothing of a trip that is not a candidate beyond its traveller frontmatter, no coverage file of a candidate the operator did not confirm, and on the named branch no traveller file of the resolved trip. Writes nothing, anywhere, on every branch — the candidate list and the operator's confirmation included. Dispatches no agent. Performs no act whose effect lands outside the trip's own files** — every trip and every record it reaches, it reaches read-only, and an observation is not an effect. **A whole-file open of a trip's file returns more than this verb uses; what it does not use stays in the tool result, is carried into nothing and is printed nowhere.** **Takes `Bash(ls:*)` for exactly the listings declared above, and `Bash(grep:*)` for exactly the one read declared above — a group record's `## Members` section — and for nothing in any trip**, and creates no directory.
The group view of past plan coverage. For a named group it lists the archived trips, other than the one being planned, on which at least two of the group's members travelled as linked travellers; the operator says which of those were this party's trips; and for each trip confirmed it prints each member's own tallies. It is the view `reference/adr/ADR-027-post-trip-preference-memory.md` § *Decision* 2 defines — `members(G)`, `k(t)`, `cand(G, t₀)`, `confirmed(G, t₀)` and the group view — read there and never re-authored here. **It is a view and not a memory.** Every line it prints is one member's own, no value in it belongs to the group, and it shows nothing `## past-coverage <name>` would not show for each member in turn.
**Nothing about this is stored.** The candidate list is recomputed on every invocation and shown every time. The operator's confirmation lives in the session and is written nowhere — not to the group record, not to a trip, not to any file — so the next invocation asks again. No group id is written to any trip artifact, and a group record gains no slot: `groups/README.md` § *What a record does not hold* stays true unchanged.
**This verb reads the group store and is not one of the verbs that manage it.** Where a section above says *of the six*, it is counting the verbs `reference/adr/ADR-016-reusable-groups.md` decided, `group-new` through `group-expand`; this verb writes no group record and is not among them.
**It is its own verb, and not a branch of `## history <name>` or of `## past-coverage <name>`.** `## history <name>` opens no trip's `trip-context.md`, and this verb opens a candidate's. `## past-coverage <name>` takes a traveller on the resolved trip; this verb takes a group and resolves every member's edges in the same scan, so a render carries a line for each member on each confirmed trip. For that reason it is run from the command surface alone: never from an interview, and nothing it prints is put in front of a traveller. **Where the session is conducting an interview that has not ended — `## interview <form> [<target>]`, or `## profile <name>` running it inline — this verb is not run in it**: say that the group view is run from the command surface, outside an interview, name nothing else, and stop. That is a refusal, taken before the group is chosen and before any read this section declares. Whether an interview is under way is the session's own knowledge and no read establishes it, so this is a rule this verb follows, and nothing mechanical holds it.
**The requirement-table row takes the contract's declared default, on the ground `## past-coverage <name>` gives for its own.** A trip is resolved before this section runs and the candidates leave that trip out, so on an archived resolved trip the omission would be silent; the row admits no such state. **That is a limit of this surface, and it is stated here:** it shows a group's past plan coverage only while a trip is being planned. `reference/adr/ADR-027-post-trip-preference-memory.md` § *Decision* 2 also says that where no trip is resolved the group must be named; a trip is always resolved before this section runs, so that point of use is not built here.
**The sub-headings of this section that a later verb cites are fixed once cited.** § *Choosing the group — and the engine chooses none*, § *The members, and the scan*, § *The outcomes, and the absences are not the same one*, § *The candidates, and the operator confirms* and § *What a confirmed trip prints* are citation targets: a citation resolves by heading, so none of them is renamed once a later section of this file cites it.
### Choosing the group — and the engine chooses none
**With a `<group-id>`, the view runs for that group.** The id is `grp-` followed by four lowercase hexadecimal digits. A value of any other shape is a refusal that prints the shape and **offers no near-match**; a display name is never accepted, matched or searched for. An id that names no record is a refusal too — the take's own diagnostic says the path does not exist: say the group does not exist and name nothing else. A record that is there and cannot be read is not a refusal — it is `UNDETERMINED`, below.
**With no argument, the qualifying groups are listed and the run stops.** A group qualifies where at least two of its members carry an edge on the resolved trip, members and edges being read as § *The members, and the scan* reads them. Each prints as **its id and its member count, and nothing else** — never its display name, which this verb does not read — in id order, the count being the number of `## Members` bullets, as `## group-list [<group-id>]` counts it. **No group is chosen, and the view is run for none**, including where exactly one qualifies. Where none qualifies, say that no group qualifies on this trip and stop; that sentence is not *no group exists*, and it says nothing about who has travelled together. Where the group store cannot be listed for a reason other than its absence, or the person store is absent or cannot be listed, the output is `UNDETERMINED`, naming the store by its kind, the group store or the person store; and a group record that cannot be read — one the take returns no heading line for — prints as its id beside `UNDETERMINED` and is not listed as qualifying. Neither prints a path. The records are the entries of the store listing whose stem has the id's shape, and their `## Members` sections are taken with the call the `**Reads:**` block declares, given those records and no other path. The listing is not a render of the view and prints none of the sentences § *What a confirmed trip prints* closes a render with.
### The members, and the scan
**The bullets are the lines the take returns below the `## Members` heading, and nothing above that heading is returned.** A group record's one section runs from that heading to end of file (`reference/schemas/group-record.md`), so the take the `**Reads:**` block declares is that section, and each returned line is read for the record whose path it carries. **A record the take returns no heading line for has not been read**, whether the file could not be read or carries no such heading: it is the record that is there and cannot be read.
**The member count is the count of `## Members` bullets, and a member is a bullet that resolves.** Each bullet is resolved by the table in `## group-list [<group-id>]` under *Three resolution outcomes per member*, cited and not restated: a live record is a member; a record reached through a merge stub is followed to depth one and the survivor is the member; and a bullet that resolves to nothing in a store that was listed, or through a second hop, reads `UNDETERMINED`, is counted in the member count and **is not a member**. Members are survivor ids, each taken once. An unresolved bullet prints as its id beside `UNDETERMINED`; a line under `## Members` that is not a bare member id prints as `UNDETERMINED` alone, and none of its text is echoed. **Where the person store is absent or cannot be listed, no bullet's resolution was observed, and none is reported:** the run ends there in `UNDETERMINED`, naming the store, with no bullet line — and never in *fewer than two resolvable members*, which is for a count that was observed.
**The scan is `## history <name>` § *The resolution*, steps 2 to 4, run once for the whole member set and not once for each member**: the closure of every member over `merged-into:` at one hop; the population from the listing block, less its `README.md` line, with `G1`'s canary and its forbidden conclusion inherited; and each bearer's frontmatter to the closing `---`. A trip carries a member's edge where one of its bearers carries `person: q` for some `q` in that member's closure. **Where this section departs from that one, it says so here**: it excludes the resolved trip from every count below instead of from one person's history. A trip with no `travelers/` directory carries no edge, and that is a completed observation; a listing the harness refused is not.
**A candidate is an archived trip, other than the resolved one, that carries the edges of at least two members.** A trip is archived where the record block above carries `**Lifecycle:** ARCHIVED` for it; an absent line is `ACTIVE`, by `G4`. A member with more than one bearer on a trip counts once. **That floor is what makes a trip joint, and it is the only one**: no similarity is computed, no further threshold is applied, no candidate is ranked, and none is selected.
### The outcomes, and the absences are not the same one
**A run of the view ends in one of the outputs below, in a candidate list, or in what a confirmation prints. The table is the whole set of outputs, and the paragraph under it gives the order they are reached in.** Each `ADR-017` token is printed only under the condition beside it; where no token's meaning fits, the output is a plain sentence.
| Output | Printed when |
|---|---|
| `UNDETERMINED` | the group record is there and could not be read; the person store is absent or could not be listed; or the scan could not be completed — a traveller directory could not be listed for a reason other than its absence, or a bearer was present and could not be read. It names what could not be read by its kind and prints no path: the group record by its id, the person store, or a trip's traveller directory — or a bearer in it — by the trip's slug. Never *no joint trips* |
| *fewer than two resolvable members* | the person store was listed and fewer than two of the group's bullets resolve to a member, so **no scan runs**, and the view says so |
| *no joint archived trip* | the scan completed, some member's edge exists **on a trip other than the resolved one**, and no archived trip other than the resolved one carries the edges of two or more members. A plain sentence, and never `NO-EDGE-FOUND` |
| `NO-EDGE-FOUND` | the scan completed and **no** member's edge exists on any trip other than the resolved one. A group whose members' only edges are on the resolved trip ends here |
| `UNDETERMINED`, per candidate | that candidate's roster could not be read, so its roster size is not known. The candidate is still listed, with `UNDETERMINED` where the size would stand |
| `UNDETERMINED`, per bullet | a `## Members` bullet does not resolve in a store that was listed. It is counted in the member count and is not a member |
**Where the run ends decides the output.** A group record that cannot be read ends `UNDETERMINED`, and so does a person store that is absent or cannot be listed — each before any bullet is resolved, and each naming what could not be read. With the store listed, a group that resolves fewer than two members ends, before any scan, in the plain sentence *fewer than two resolvable members*. A scan that cannot be completed ends `UNDETERMINED`. A completed scan that finds no candidate ends in *no joint archived trip* where some member's edge sits on another trip, and in `NO-EDGE-FOUND` where none does — so an edge on the resolved trip alone never turns the second into the first. A run that reaches candidates prints `UNDETERMINED`, per bullet for each bullet that did not resolve and `UNDETERMINED`, per candidate for each candidate whose roster could not be read, and neither stops it. **None of these outputs reads as *this party has not travelled together*.**
### The candidates, and the operator confirms
**Each candidate prints on one line: its slug, how many members carry an edge on it out of the member count, and its roster size — and nothing else.** No destination, no date, no name. Candidates print in the listing block's order. The roster size is the count of data rows in the roster table under `## Group` in that trip's `trip-context.md` — the rows below its header row and its delimiter row — and a row whose first cell holds an erasure token is still a row, so an erasure does not shrink it. **A roster is unreadable where that file cannot be opened, or carries no `## Group` heading, or carries no pipe table under that heading, and an unreadable roster is never a roster of no rows**: its size prints as `UNDETERMINED`, and the candidate is still listed and can still be confirmed. **This verb does not use `- **Total travelers:**`**, compares nothing with it and prints nothing else from that block: the total may exceed the named travellers, and its unnamed members carry no key to count against.
**Then ask which of the candidates were this party's trips, and stop.** The confirmation is the operator's, given in this session, and it is taken by slug: a candidate is confirmed where the operator's reply names its slug as listed, and by nothing else. **A slug is matched whole**: a reply names a candidate where it carries that candidate's slug in full and as a slug of its own, so a reply carrying a longer slug that contains it, or only a part of it, confirms nothing by that. A reply that names no listed slug — *yes*, *all of them*, *the first* — confirms nothing: say that a confirmation names each trip by its slug, and wait. A slug that is not on the list is not a candidate: say so, offer no near-match, and confirm nothing by it. This is `## history <name>` § *The candidates, and the operator makes the match*, taken for a different question — the engine presents, and the operator decides each one.
**Where the operator confirms none, the run ends with the candidate list.** Say that no trip was confirmed and that nothing further is shown. That is not an output of the table above, and it never reads as *this party has not travelled together*. Where the session can take no reply, the list is where the run ends.
### What a confirmed trip prints
**For each confirmed trip, in the listed order, and for each member with an edge on it, in `## Members` order: one line** — the trip's slug, the member's person id, that member's reading, and that trip's relation verdict. A member with no edge on a trip has no line for it: a member has a line only where a traveller file on that trip carries their reference, and this view's own sentence below says so on every render.
- **The member's reading is exactly one of those `## past-coverage <name>` gives a reached trip** — the table headed *Per reached trip* under `## past-coverage <name>` § *The outcomes, and the absences are not the same one* — taken for this member's bearer on this trip, with the table read as `## past-coverage <name>` § *Reading a trip's desire-coverage table* directs. No reading and no step of that read is restated here.
- **The relation is `## past-coverage <name>` § *The relation — `plan-to-coverage`*, cited and never restated.** This verb renders it for each confirmed trip, which is the trip `t` of that sub-section: archived, and never the resolved one. It takes one observation for a trip in a render, and **every member line of that trip carries the trip's verdict with what it names, and beside it the erasure reading wherever that sub-section prints one** — the same on each of the trip's lines, because the verdict is the trip's and not the member's. **Where a confirmed trip's roster is unreadable, no cell of it was tested**: each of that trip's member lines carries the verdict with the words *the erasure reading could not be tested on this trip*, never the erasure reading, and never nothing — which would read as a roster that was tested and holds no token.
- **No total.** No line sums or counts tallies across members or across trips, none ranks a member or a trip, and none counts the trips confirmed.
- **The wording rule and the transcript bound are `## past-coverage <name>` § *What a render carries, and how it is worded*, cited and never restated.** Beyond what that sub-section lets a render carry, this view prints the group id the operator named, each candidate's member counts and its roster size. It never prints a group's display name.
**A render of the view is a run that ends in an output of the table above, in the candidate list with its ask, or in the member lines of a confirmation, and nothing else is one.** A refusal is not a render, and neither is what this section has the view say to a reply that confirms nothing: each is printed alone, without the sentences below.
**The order of a render:** the group id; each unresolved bullet; then the output, or the candidate lines and the ask; and, after a confirmation, the words *plan coverage as last synthesized, on the trips confirmed* and the member lines. Then, **on every render of the view whatever it ends in — the candidate list included** — the shared sentences of `## past-coverage <name>` § *What a render carries, and how it is worded*, as written there, and then **this view's own sentence**:
> Only archived trips other than the one being planned are offered, and only where at least two of this group's members are linked on them. A trip with fewer linked members is not offered, a trip still being planned or reopened is not offered, and a candidate you did not confirm is not shown. A member has a line only for a trip on which a traveller file carries their reference, so a member who went on a trip unlinked has no line for it. Each line is one member's own: nothing here is a total, and nothing here belongs to the group.
**This verb suggests no verb and offers no value.** It does not offer to add, drop or resolve a member, to link a traveller, or to carry a tally into a profile. **The standing clause is taken unwidened, and no rule is appended for this verb**: it writes nothing, so it has no write to derive a rule for.
**Reversibility: n/a — this verb writes nothing.**