Repository navigation
docs(site): correct fourteen claims on the session page and the pages that repeat them - #305
Merged
Merged
Conversation
… that repeat them A source-backed review with fixtures of learn/operations/write-through-a-session.md: a session lands on refs/heads/main whatever branch the checkout has open; two concurrent first puts can lose one; doctor --fix and task status done write before they take the checkout lock; only session commits and curate merge write a snapshot; a commit through a head server with --drop-refused rebases on its own; exec lists a reserved-path file under rejected and appends the rest; a move only has to drop the old edge; an empty log is refused; a behind session can answer refused before rebase-needed; nothing enforces a fresh run id; neighbors is a limit of three; the ERR_SESSION_BOUND suggestion is a template; correct is closed in a run-bound session; and an unlanded log needs a rebase before its commit. Eight paragraphs are split or simplified. The same snapshot, lock, retry and suggestion sentences are corrected on the glossary, two internals pages and three operations pages.
Contributor
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
Contributor
Author
|
Merge basis: documentation only (seven docs-site pages). The local gate is green (75/75), CI is 11/11 green on f285522, our own fixture-backed review and its follow-up over the whole edited page are applied, and Copilot's review body is its monthly-quota message. |
laithalsaadoon
added a commit
that referenced
this pull request
Oct 20, 2026
Brings the branch current with main before the merge Laith approved on 2026-10-20 (bench card 63). Main gained #299, #300, #301, #304, #305 and #297 (Effect 4.0.5) since the last merge; the branch's two files, packages/store/src/git.ts and packages/store/tests/git.test.ts, are untouched on main in that range.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Corrects
learn/operations/write-through-a-session.mdagainst the 0.16.0 source, and the same sentences where six other pages repeat them. The page was written inside the v2 PR (#287) and had no source-backed review.What was wrong, each reproduced on a fixture store:
refs/heads/mainwhatever branch the checkout has open. On a store onmasterit creates a newmainthe checkout never sees, andhead searchand a head server (which followHEAD) miss the records. The page now says to pass--ref <branch>, and the "see the new records at once" sentence is scoped to that case.MEMHTML_SESSIONcan lose a put. The session lock does not wait, so when two puts arrive at the same instant one fails withERR_STORAGEand appends nothing (6 of 6 tries).checkout.lockedis false fordoctor --fixandtask status <path> done. Both write the working tree before they take the lock, and a rerun finds nothing left to do. Fixed here and on the glossary,internals/concurrency-and-conflicts.mdandshare-one-store.md.curate mergewrite a snapshot.memhtml write,applyand a handgit commitwrite none. Fixed here, on the glossary, oninternals/sessions-and-the-commit-path.md, and in therecover-from-a-lost-index.mdtable, which said the first head load writes one (it does not).session commit --drop-refusedrebases and commits again on its own, up to three times, so "a commit never retries on its own" now applies to a commit without that flag.session execlists a reserved-path file underrejectedand still appends the rest of the harvest. The page had said the whole call is refused.moveonly requires that no live record still carries the old edge. Cutting the edge passes without adding a new one.refusedwith no violations.refusedbeforerebase-needed.neighborslists up to three records, only ones that match.ERR_SESSION_BOUNDsuggestion is a template with placeholders, not a runnable line. Fixed here and onset-the-store-policy.md.memhtml correctis closed in a run-bound session, where aclaim-editrefusal reaches the agent, so the page no longer offers it there.session prunelists needssession rebasebefore its commit; a local--drop-refusedcommit alone answersrebase-needed.Eight paragraphs are split or made specific. Every payload block's keys match what the CLI prints.
Verified:
mise run check: 75/75.mainandmasterstores, a head server, a held checkout lock, concurrent puts, a simulated killed commit), and a follow-up re-read the whole edited page and the pages that repeat it.