deepseek-harness/docs
Hypatia May b257ed5e8a docs(session): make the boundary's position and ownership conditional
Documentation only; no behavior change.

`firstLiveSeq`'s JSDoc still stated the boundary sits at that seq
unconditionally. Verified reachable on a plain production path: pick up a log,
do no work, pick it up again — the seed already ends in a boundary, so it is
not re-marked and `events[firstLiveSeq]` is undefined. Both that claim and the
firehose-gap sentence are now conditional, with the locate rule ("scan for the
last boundary") matching what types.ts already said.

`repair.ts`'s header claimed this module supplies the boundary. It does not —
the constructor does; this module supplies the activity read that must skip it.
Reworded, and it now names the closer timestamp leak, which is the one real
coupling that justifies `lastActivityTime` living beside the repair synthesis.

Recorded that `Session`'s constructor is the boundary's only legitimate writer,
since the invariant companion constrains nothing and a plugin-side append would
silently turn live brackets below it into dead history.
2026-07-30 14:46:38 +08:00
..
cookbook refactor: migrate linting to Oxlint 2026-07-29 14:32:11 +08:00
cordis-catalog docs(session): make the boundary's position and ownership conditional 2026-07-30 14:46:38 +08:00
cordis-tutorial docs: translate remaining non-README documentation 2026-07-26 02:33:29 +08:00
core-data-structures docs(session): make the boundary's position and ownership conditional 2026-07-30 14:46:38 +08:00
i18n Merge branch 'master' into fix/translation-brief-uncommitted-pair 2026-07-29 20:54:30 +08:00
postmortem docs(i18n): record proofread README pairs 2026-07-29 15:30:44 +08:00
user Merge remote-tracking branch 'origin/master' into xtr/agent-loop-message-machine 2026-07-27 16:48:38 +08:00
agent-lifecycle.md refactor(agent): return request retry action 2026-07-27 21:17:49 +08:00
AGENTS.md docs(notes): archive low-value decision records 2026-07-26 23:06:00 +08:00
architecture.i18n.yaml refactor(agent): scope queue actions to edit and remove 2026-07-30 01:58:51 +08:00
architecture.md refactor(agent): scope queue actions to edit and remove 2026-07-30 01:58:51 +08:00
architecture.zh.md refactor(agent): scope queue actions to edit and remove 2026-07-30 01:58:51 +08:00
capability-seams.md refactor(cordis): generate catalogs from Typert models 2026-07-29 23:55:12 +08:00
config-catalog.md Merge remote-tracking branch 'origin/master' into worktree-trpc 2026-07-30 00:04:52 +08:00
cordis-primer.i18n.yaml docs(i18n): clarify Cordis and test wording 2026-07-24 14:21:15 +08:00
cordis-primer.md Merge remote-tracking branch 'origin/master' into worktree/pr343-retarget-latest-master 2026-07-23 13:40:29 +08:00
cordis-primer.zh.md docs(i18n): clarify Cordis and test wording 2026-07-24 14:21:15 +08:00
defensive-patterns.i18n.yaml docs(security): include password names in scrub rule 2026-07-28 09:40:33 -07:00
defensive-patterns.md docs(security): include password names in scrub rule 2026-07-28 09:40:33 -07:00
defensive-patterns.zh.md docs(security): include password names in scrub rule 2026-07-28 09:40:33 -07:00
development.i18n.yaml docs: correct the Oxlint workflow contract 2026-07-29 23:45:06 +08:00
development.md docs: correct the Oxlint workflow contract 2026-07-29 23:45:06 +08:00
development.zh.md docs: correct the Oxlint workflow contract 2026-07-29 23:45:06 +08:00
event-producer-consumer.md refactor(agent): scope queue actions to edit and remove 2026-07-30 01:58:51 +08:00
glossary.i18n.yaml docs: align Goal Round step cardinality 2026-07-24 12:10:40 +08:00
glossary.md docs: align Goal Round step cardinality 2026-07-24 12:10:40 +08:00
glossary.zh.md docs(i18n): allow zero-step Goal Rounds 2026-07-23 21:13:34 +08:00
graph-atlas.md docs(graphs): retain archived rationale link 2026-07-26 23:08:47 +08:00
module-graph.md Merge remote-tracking branch 'origin/master' into worktree-locale 2026-07-30 01:10:57 +08:00
persistence-catalog.md docs(session): make the boundary's position and ownership conditional 2026-07-30 14:46:38 +08:00
testing.i18n.yaml build(web): rebuild plugin bundles before the browser lane 2026-07-28 18:14:22 +08:00
testing.md build(web): rebuild plugin bundles before the browser lane 2026-07-28 18:14:22 +08:00
testing.zh.md build(web): rebuild plugin bundles before the browser lane 2026-07-28 18:14:22 +08:00
tool-catalog.md Merge latest master into skill catalog hot refresh 2026-07-28 01:10:33 +08:00
tool-execution-pipeline.md Merge remote-tracking branch 'origin/master' into feat/send-unify 2026-07-23 22:41:45 +08:00
typert-catalog-integration-design.i18n.yaml refactor(cordis): generate catalogs from Typert models 2026-07-29 23:55:12 +08:00
typert-catalog-integration-design.md refactor(cordis): generate catalogs from Typert models 2026-07-29 23:55:12 +08:00
typert-catalog-integration-design.zh.md refactor(cordis): generate catalogs from Typert models 2026-07-29 23:55:12 +08:00
web-styling.i18n.yaml docs: translate remaining non-README documentation 2026-07-26 02:33:29 +08:00
web-styling.md docs: translate remaining non-README documentation 2026-07-26 02:33:29 +08:00
web-styling.zh.md docs: translate remaining non-README documentation 2026-07-26 02:33:29 +08:00