Skip to content

docs(session-flow): call the hot file the handoff file and the hop file the archive file - #18925

Merged
kyle-sexton merged 4 commits into
mainfrom
docs/handoff-file-archive-file-terms
Nov 25, 2026
Merged

kyle-sexton merged 4 commits into
mainfrom
docs/handoff-file-archive-file-terms

Conversation

@kyle-sexton

@kyle-sexton kyle-sexton commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

No related issue: owner-approved terminology change from a /planning:interview

Summary

  • docs/glossary.md gains four owner-agreed terms, curated through
    /domain-driven-design:ubiquitous-language curate: handoff file (Avoid: hot file, resume
    file), archive file (Avoid: hop file), reminder and focus file.
  • Prose across session-flow (skills, references, README, eval prompts and expectations, code
    comments and docstrings) and the handoff ADRs (0084, 0091, 0115, 0120) now says "handoff file"
    and "archive file". The ## Shape 3 heading in reference/structure.md and its three anchor
    links move together.

Fix

Swept with /docs-hygiene:rename-references patterns (space, hyphenated-compound and
line-wrapped forms, with a hop file becoming an archive file). Left unchanged on purpose:

  • Script output strings in save_point.py, tidy_work.py and harness/hop_chain.py (for
    example hot-file cap, shape-3 and shape-4 hot files only, no hot file of its chain is on disk, which test_save_point.py:4119,4325 and test_tidy_work.py:1106 assert), plus --help
    strings, the retired-entries index note INDEX_NOTE, and test literals.
  • Identifiers and paths: hop_file, hot_file, hop_files, HOT_FILE_MAX_BYTES, eval ids and
    names (rt-reads-each-hop-from-hop-files, artifact-hot-file-points-at-*), the hop-files tag.
  • Eval criterion fields that quote an earlier Brief, and released CHANGELOG.md entries.
  • Three comment lines in save_point.py (229, 237-238, 4640): the code-tidying comment-lint
    pre-commit job flags any edited comment there, so the rename waits for that sweep.
  • Unrelated senses of "hot file": the harness-ops OTEL hot/cold store and docs-hygiene
    extract-ssot's contention hot files.

Merged main in: the role-chain standing-decisions and retired-entries-index prose it added to
reference/structure.md, reference/save-point.md, one save_point.py docstring and the new
test_save_point_standing_decisions.py docstring carry the same rename.

Verification

  • pytest -n 4 plugins/session-flow/scripts/tests plugins/session-flow/scripts/harness after the
    merge: 950 passed.
  • scripts/run-ruff.sh check on the changed Python: all checks passed.
  • markdownlint-cli2 on the changed markdown: 0 issues; every changed JSON file parses.
  • scripts/check-changelog-fragments.sh --check: all fragments valid.

Related

  • The PreCompact hook that writes the focus file ships in a later PR; this one defines the term.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Vcupon7WnXmS7MsGbmijSY

kyle-sexton and others added 2 commits November 24, 2026 18:00
…le the archive file

Add four owner-agreed glossary terms (handoff file, archive file,
reminder, focus file) and rename the rejected words in prose across
session-flow skills, references, evals, code comments and docstrings,
and the handoff ADRs. Script output strings, identifiers, file paths,
eval ids, quoted brief criteria and released changelog entries keep
the old words.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Vcupon7WnXmS7MsGbmijSY
Keep main's role-chain standing-decisions and retired-entries-index
prose in reference/structure.md and reference/save-point.md, and apply
the handoff file / archive file rename to it, plus one new save_point.py
docstring and the new test module docstring.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Vcupon7WnXmS7MsGbmijSY
@kyle-sexton
kyle-sexton marked this pull request as ready for review November 24, 2026 23:09
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-24T23:11:51.425297Z fa98637 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Their docstring-only edits made Test Selection check the suites' undeclared
reads (affected-tests.sh R8); tests keep the old wording per this PR's rule.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Vcupon7WnXmS7MsGbmijSY
@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 1b84cf311faeea3dffbafef8161da6f0100d9fb5: read 2 of 2 changed file(s); 0 finding(s), 0 as inline comments.

Security review: incremental (7760e46 → 1b84cf3)

I found no security issues in this push. This review was blocking only, since this lane already reviewed an earlier head.

The push changes one docstring line in each of two files:

  • plugins/session-flow/scripts/handoff_chain.py: in the journey() docstring, the article "a" becomes "an" before "archive file".
  • plugins/session-flow/scripts/harness/resume_cases.py: the build_predecessor_chain() docstring now says it returns "the handoff file of each hop" rather than "the archive files". That corrects the wording from the earlier rename.

No executable statement, identifier, path or output changes.

Checks:

  • Trusted paths: neither file matches a TRUSTED PATHS glob.
  • Trust controls: neither file is one.
  • Manifests: no plugin manifest is touched, so there are no manifest lines.
  • Instruction surface: no standing instruction is deleted, narrowed or softened.
  • Prior findings: the only earlier post is this lane's clean summary for 7760e46, which held no findings, so nothing is restated.
  • Spend: none.

critical-findings: 0

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

claude-review: 2 inline finding(s) on 7760e463faaa5396068384c219701f18a4974621; the summary is in this lane's pull request comment.

claude-lane: claude-review

@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

claude-review reviewed 1b84cf311faeea3dffbafef8161da6f0100d9fb5: read 2 of 2 changed file(s); 0 finding(s), 0 as inline comments.

Code review: incremental (2 files), blocking only

This lane already reviewed an earlier head (7760e463), so this review reports blocking findings only.

The push fixes both findings from the last review:

  1. plugins/session-flow/scripts/harness/resume_cases.py:750: the build_predecessor_chain docstring now says it returns "the handoff file of each hop, oldest first". That matches _build, which collects the path new prints, the handoff file, once per hop.
  2. plugins/session-flow/scripts/handoff_chain.py:715: "a" before the wrapped "archive file" is now "an".

No findings. Both hunks change only docstrings. No code, identifier or output string changes.

Closing issue: none. The description says it is an owner-approved terminology change, so there were no acceptance criteria to check.

Loosened checks: this push loosens no check. The prompt gave no loosened_check_verdict:, loosened_check_patterns: or loosened_check_decision_record: lines, so the review used fail with no consumer entries. The citation requirement was not checked. Loosened checks would be marked: fail (default; no resolved settings); patterns: 0.

Verifier dropped 0 of 0 candidates.

build_predecessor_chain returns each hop's handoff file, not archive files;
"a archive file" becomes "an archive file".

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Vcupon7WnXmS7MsGbmijSY
@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 25, 2026
Merged via the queue into main with commit 92fb10e Nov 25, 2026
57 checks passed
@kyle-sexton
kyle-sexton deleted the docs/handoff-file-archive-file-terms branch November 25, 2026 01:27
@github-actions github-actions Bot added the merge-path: owner-agent Post-merge accounting record (README.md, Merge paths) label Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-path: owner-agent Post-merge accounting record (README.md, Merge paths)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant