Repository navigation
Conversation
~/.claude/colloquy/ held the user overlay layer, every page directory, and the /colloquy-plans toggle in one directory, which forced the reserved-slug rule and put pid- and port-bearing review state in a synced config path. Overlay and config.json now live in $XDG_CONFIG_HOME/colloquy; pages (by convention) and the sessions registry in $XDG_STATE_HOME/colloquy. The project layer ./.claude/colloquy/ stays. A drift test holds the plain-python3 hook scripts' inlined paths to interact.py's. Co-Authored-By: Claude Fable 5 <[email protected]>
Co-Authored-By: Claude Fable 5 <[email protected]>
Owner
Author
|
Merging locally instead — this project isn't using PRs. |
max-sixty
added a commit
that referenced
this pull request
Sep 9, 2026
A preserving widget with any action or report was skipped by the render gate, so unrelated prose replacement passed. Removing that exemption directly would also reject legitimate reader rewrites and retired content. This compares every preserving owner with the canonical projected passage. Page owners use the rendered revision's page projection; frozen message owners use the conversation projection. Standing reader body edits, retirement and undo, and declared generated additions flow through the existing projection helpers. Reports remain unable to authorize body rewrites. The action and report count now serves only the caught-up readiness wait. Tests reproduce action and report corruption, protect legal rewrite, retirement, and undo behavior, keep a parent wrapper checked when only its child acts, and pin page-versus-frozen scope. Existing dark-mode and anonymous-owner regressions remain green. Completed workspace items #1, #3, and #5 are removed from `TODO.md`. > _This was written by Codex on behalf of max-sixty_
This was referenced Sep 12, 2026
max-sixty
added a commit
that referenced
this pull request
Sep 18, 2026
The Lit application arc between 2026-09-13 and 2026-09-17 closed #1 and #3 without the list recording it: `semantic-state.js` is 77 lines over one publisher and `application.js` holds no DOM reference, while `version.js` activates through one door returning one result that `state-application.js` adopts atomically. Both leave for git history. The largest remaining duplication was not on the list. `scripts/browser/application.ts` re-derives the Ask inventory, the winner resolution and each thread's `awaits_reader` from a wire that already carries all three, roughly 750 lines that arrived in #746; the two copies of the `when` predicate already disagree on an attribute recorded as `null`, and nothing compares them. That inverts #4, which asked for a corpus proving parity between the two implementations — built first it would police one that should go — so #4 now names the deletion and the corpus follows it. Three items are new. #25 is the Worker's second App Server client, whose reconnect backoff is written four times and has already drifted. #26 is the generated-hint machine that `go-to-sequence.js` and `target-chooser.js` each build. #27 is admission: six of the nine `append_event` callers check no contract, and of the three that do, `cmd_receipt` uses a validator `requests.py` defines itself, so the rules sit in two homes and the gate in three against a stated boundary of validating once at the edge. They take ids above #23 because `notes/workspace-followups.md` numbers its research #1 to #23 and the workspace section here draws from it, so #9 and #10 were already spoken for. The section now says where its ids come from rather than leaving the next writer to rediscover it. The items that stay keep their numbers and gain what the survey measured: how much of `margin-projection.js` is already free of the DOM, what fraction of the render suite drives no input, and the 53 capabilities `page.js` and `leaf.js` both name. #8 stops waiting for a change to prove the need, which has happened. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
max-sixty
pushed a commit
that referenced
this pull request
Sep 18, 2026
`notes/workspace-followups.md` has been presenting finished work as the plan since 9 September. It opens with "Start #2, #3 and #4 as one coordinated contract batch; run the review-queue simplification #8 alongside it" — all four of those shipped that week — and carries thirteen briefs, each with a live "Next task" and "Done when", for work `TODO.md` dropped as complete. This removes them and leaves the six `TODO.md` still links: #11, #14, #19, #20, #22 and #23. The trim follows the convention #666 set and the reason `CLAUDE.md` gives for it: a note is never a second specification for shipped behavior. #666 removed #6, #7, #16 and #17 the same way, rewriting the two `Owner / dependencies` lines in surviving briefs that named them; it simply did not reach the rest. Each removal is evidenced by the commit that took the item out of `TODO.md`, not by a reading of the current code: | Brief | Removed from `TODO.md` by | | --- | --- | | #1, #3, #5 | [`0f7f06a6`](0f7f06a) — "Completed workspace items #1, #3, and #5 are removed from `TODO.md`" | | #2, #4, #8, #9 | [`28b5da99`](28b5da9) — "the completed #2, #4, #6, #8, #9, and #17 backlog entries are removed while preserving the deferred evaluation work" | | #13, #15 | [`6df40353`](6df4035) — "closes three bounded workspace follow-ups" | | #10, #12 | [`c9eaa2c6`](c9eaa2c) — the continuation cue and the adaptive Threads placement | | #18, #21 | [`e46c8b93`](e46c8b9) — the monitoring workspace and its package-owned root | Alongside the briefs, three group headings are now empty and go; the `Suggested work packages` table loses the rows whose whole scope landed; and four cross-references that named a removed ID are rewritten — #14's dependency on the Threads-placement experiment, #20's ordering behind #8, and the two sentences in `Reproduction record` and `Browser evidence` that pointed at briefs no longer here. #14 needed more than a rewritten pointer. The experiment it waited on was settled in two steps, and only the first removed an ID: [PR #520](#520) kept the adaptive placement and deferred the modal-focus work to #24, which landed in [PR #536](#536) as inertness, dialog semantics and focus containment for a covering workspace. That is the surface #14 exists to verify, so its `Done when` — "Avoid imposing a modal focus trap on a nonmodal panel" — described the containment #536 shipped as the defect to avoid. It now states the containment the shipped modality requires, and the dependency line names both settlements. The dated evidence sections themselves stay. They are the record of what was read in a browser on 8 September, not a plan, and the note's own header scopes them to that date. No test covers `notes/`, and this changes no behavior, so there is nothing to regress. `pre-commit` passes on the file; the `TODO.md` → note anchors all still resolve, and no surviving text references a removed ID. --------- Co-authored-by: leaf-agent <[email protected]>
max-sixty
added a commit
that referenced
this pull request
Sep 26, 2026
…delivery eval an ack reading and a mid-turn case (#1240) Two follow-ups to #1238's benchmark survey. **`verify-site-local.sh` becomes `verify_site.py wrangler`.** The shell script started `wrangler dev` with prewarm off, polled it, ran `verify_site.py`, and printed the Worker log on failure, which is the same lifecycle `local_adapter()` already ran in Python for the `local` target. Both targets now share `serving` (start, wait for readiness, terminate) and `logged` (collect output, print it beside any failure). CI, `publish-site`, `AGENTS.md`, `scripts/AGENTS.md`, and `/developing-leaf` call the new target. It also removes its own containers once wrangler exits: `wrangler dev` 4.130 stops each session's container but leaves its `proxy-everything` sidecar running, and no later run reclaims it, so each local run used to leak about three running containers. To tell its containers from those of another `wrangler dev` of this Worker (such as `npm run dev` in `worker/`), the run serves under a Worker name of its own, `lv<pid>`, which workerd puts in every container's name. Verified with real runs through Docker, including one beside a stand-in container named like another run's, which survived. **The delivery eval gets a sharper per-comment reading and a mid-turn case.** "Actions before ack" read 1 in every run because the one action was always the expected read of the wait's output, so it had no range. It is replaced by `ack`, the seconds from the delivery reaching the agent to its pickup (the agent's own share of pickup time), and `extra`, anything run before `leaf wait --ack` other than that read. Cases: - `idle`: a comment after the setup turn ends, then a second once that turn has ended, which only arrives if the ack re-armed the wait; - `mid-turn`: a comment posted while the setup turn runs, which the Stop hook carries in. The children now run with `--include-hook-events`, each stream record carries the time it was read, and `ROUNDS` drops to 2. One A/A round (same plugin in both arms): | session | route | pickup | reply | ack | extra | |---|---|---|---|---|---| | base idle #1 / #2 | notification | 6 s / 5 s | 9 s / 8 s | 5 s / 5 s | none | | head idle #1 / #2 | notification | 5 s / 5 s | 11 s / 8 s | 5 s / 4 s | none | | base mid-turn | Stop hook | 10 s | 13 s | 6 s | read two references first | | head mid-turn | Stop hook | 8 s | 13 s | 4 s | none | On idle comments nearly all of pickup is the agent's own time; the notification lands within a second of the comment. > _This was written by Claude Code on behalf of max-sixty_ --------- Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
max-sixty
added a commit
that referenced
this pull request
Oct 11, 2026
#2387) When another actor withdrew the selected thread, the list pulled its neighbors up and opened a fallback conversation. The 34px jump was present before this change, but Lit's detach/reinsert moves hid it from Chrome's shift reporting. This fixes that presentation owner and completes the Lit portion of survey item #1, deferred in [#2324](#2324). The list keeps the withdrawn thread's measured space while removing it would disturb the reader, replaces its disconnected controls with “Thread withdrawn” and Dismiss, and keeps semantic counts and navigation current. Dismiss, choosing another conversation, changing the view, or leaving that reading releases the space. A selected notice prevents an unsolicited fallback conversation from opening. Complete-list rollback restores the committed native cards and editors. Frozen-message preparation now reads projected threads, so historical withdrawn markup no longer has to find an absent thread owner. The locked lit-html keyed, child-part and root-marker insertion sites use the shared move primitive. Chrome retains focus, caret, edited values and iframe documents during reorders; named form fields cannot shadow the native methods. The focus-holding render wrapper remains for engines without moveBefore, where insertion can still reload frames. Measured handwritten production sources (build script, dom-children, state-application, thread-list/view and source chrome stylesheet): **3,659 → 3,841 lines (+182)**. Generated assets, tests and documentation are excluded. This adds the withdrawal lifecycle needed to safely adopt native Lit moves; it is not a line-count reduction. Validation: native/fallback × Leaf/Lit browser proof; withdrawal with selected and closed cards, a scrolled conversation with a frozen widget and saved draft, and a scaled panel; Dismiss, keyboard navigation and narrowing; complete-list failure/rollback and neighboring thread journeys. 335 runtime tests and 95 framework tests pass; pre-commit passes. Independent code review and a fresh user-task review completed. The paired startup probe made 242 requests in each version with no errors or initial shifts; candidate transfer grew by about 5.6KB for the required presentation behavior. > _This was written by Codex on behalf of max-sixty_
max-sixty
added a commit
that referenced
this pull request
Nov 6, 2026
…ge; travel goes to a passage's first drawn line Placement re-placed a thread only where a change touched the text nodes its last successful match stood in, so what a resolution depends on beyond those nodes went unheard. In Chromium and Firefox, on 58753e4: - words a script took out of a marked phrase and, in a later task, put back left it unmarked (#1); - a second copy of a quote written in its section, with no context to tell the two apart, left the first marked (#1); - a word prepended inside a declared shadow stage a passage runs into left both pieces marked, since the native walker never reached the page's piece before it (#2); - an element inside a passage made contenteditable, which fences it, left it marked, since the watcher reported only text writes and child lists (#3). Each was a mark a fresh resolution rejects, or one it finds that wasn't painted. The page's index of quotes (passages.js, `trackQuotes`) now holds what a quote's resolution depends on: every copy of each quote the threads name, placed or not, and the words a resolution read beside a copy to tell copies apart (`near`). Copies are found by hashing their letters, so one pass over the page finds every quote's copies, where a pattern apiece searched the whole page, once per thread (#4). Between readings the index is carried through the span the two readings differ in (`changedSpan`), which compares the readings themselves, so text, edges, fences and the order the walk reads the page's trees in all count, by the reading's own rules: copies outside the span stand, shifted past it, and the span plus the widest quote's letters before it is searched again. The words watcher no longer interprets which nodes a change touched; it says the reading changed, and which text nodes a change wrote or took out, whose live ranges the DOM moved even where the page then reads the same. Placement places again, after the script, the threads whose quotes the index says changed (`quotesChanged`) and those whose text nodes were rewritten, placed before or not. `runsOn`, the native walker and the per-reading, per-section regex cache go. A thread that comes to stand where the last paint marked nothing for it, and didn't choose to (a resolved thread, a drawing), is painted by a presentation, since only a paint of the page knows where it falls among the marks (anchor-paint.js, `replace`). Overlapping copies still collapse into the first. What changes: the regex's lead consumed its text whether or not the rest of the quote followed, so a lead that failed, or crossed a fence, hid a real copy starting inside it; now only a copy does. This reaches only quotes that overlap themselves. Step 0, a paragraph holding N marked passages, toggling a leading space (Chromium): - origin/main (6cc574a): the edit searches nothing and its next presentation searches each quote over the whole page: 32/512/1,600 searches, 24k/6M/59M characters, 4.8/127/1,077 ms. The merge base (6b3159d) is the same. - 58753e4: the edit runs those searches (reviewer's measure 0.5/7.5/42 ms). - Now: 0 searches; the edit takes 0.75/2.5/6.4 ms, which at 1,600 is re-placing the 1,600 threads whose node the edit rewrote. Pointer moves: 1.17 to 1.27 ms at 512, 3.29 to 3.32 at 1,600; the scaling page's 1,600-section edit 9.0 to 7.1 ms, moves 1.58 to 1.44. - Each script task that changes the page's words now builds the page reading once, for the index to compare: 0.3/2.2/6 ms at 32/512/1,600 sections. A counter redrawn every frame far from any mark costs 1.5 ms more a frame at 512 sections and 5 ms at 1,600. - A presentation on the 1,600-mark paragraph still takes about 0.9 s, on main too: the inventory keys each passage's row by reading its whole block (`passageRow`). - B, threads placed again over 80 moves beside a counter: 0 at 32 and 512 marks. Where travel lands (#5, #6). `passageStart` read a passage's first line down the page, so in vertical-rl it returned one character and `t` left the column at y 765-1165 in a 900 px window, and it took the first segment even where it draws no box, so `t` left a passage whose first words are display:none at y 1,685. It now takes the first segment the browser draws a box for and reads its line along the block axis of its writing mode. Tests, each failing on 58753e4 in Chromium and Firefox: - test_a_mark_whose_words_a_script_puts_back_is_marked_again (#1); - test_a_marked_phrase_a_script_writes_again_is_marked_no_more (#1); - test_words_a_script_puts_inside_a_passage_s_shadow_stage_unmark_it (#2); - test_a_passage_a_script_makes_editable_inside_is_marked_no_more (#3); - test_travel_to_a_thread_shows_the_first_line_its_passage_draws, vertical and hidden start (#5, #6). Runtime: a kept quote answers each of nine changes as a fresh pass does, and the quotes the index says changed are those whose answer did; a change beside a told-apart copy changes its quote. Each fails with the window search, the fence or segment comparison, or the `near` check taken out.
max-sixty
added a commit
that referenced
this pull request
Nov 26, 2026
…s own revision Codex's second review of the bound-file source found these, numbered as it numbered them: - #1: a comment was admitted on a value its widget could never draw. `page check` now refuses an input of another contract than `text-document` that binds a bound file's id (`file-contract`, `data.bound_file_conflicts`), and the door refuses a datum comment naming the value a source holds now where that value holds an error or no input of the section reads its contract (`datum-undrawn-source`). A comment naming a value since replaced is admitted as before. - #3: the source missed a permission removal and a same-size rewrite that put the old modification time back, and its run didn't move. The page's news, the source's cache and its run now read one observation of a bound file, `file_bindings.observed`: its stamp and its change time. Adding the change time to `file_stamp` itself re-parsed revisions in two `test_interact_document` tests, since Leaf hard-links a revision's files and a link moves the change time, so it stays out of `file_stamp`. - #9: a clean editor opened before `leaf file bind` stayed at "No file is bound" until Retry. A failure now holds a file's reads only while it holds a draft or a save whose answer was lost. - #10: a comment recorded a digest of the source's value, which a new label moves. A bound file's source revision is now the first 16 digits of the file's own, the one a save names. Its run digests the observation, path and label, and the served state's tail now sends a source's value again when its revision or its run moves, so a new label reaches the tab. A publication rerun with the same value now sends that value again, where it sent only the run; the tail still sends nothing of the sources a write leaves alone. - #11: `leaf data clear` on a bound file's id deleted the publication behind it. It now refuses the id, as `set` does (`page_data._published`). The public site's first-visit state carried every granted file. It now holds the data the page's markup binds, through the export's filter (`markup_data`). `text-document`'s `revision` is an opaque non-empty string.
max-sixty
added a commit
that referenced
this pull request
Nov 26, 2026
…age data on first visits Codex's review of the previous commit found faults in it, numbered as its findings are: - #1: the door refused a comment a reader genuinely drew. A revision digests a value alone, so the same value republished under another contract read as a contract the seat never drew. The door now refuses only a current reading that holds an error; an input of another contract is left to `page check`. - #3: on Linux two writes can share a change time, so the separate change-time stat still missed a same-size rewrite with the old modification time (35 of 100 cache trials, 86 of 100 news trials), and the hosted publisher's fingerprint (`record_reading`) ignored it. `file_stamp` takes `changed`, which adds the change time from the same stat and settles on the later of the two times, and every reader of a bound file (news, the hosted fingerprint, the source's cache and run) stamps it that way. - #10: comments keep the file's own revision, but the previous commit made the served state's tail resend a publication's unchanged value on every rerun (one 256 KiB rerun grew the answer from 362 bytes to 262 KB), and a validation cached by the file's revision went stale when the label moved. A bound file's whole value now has its own digest, kept with its reading, which the tail compares (`data.value_key`) and validation keys on; the tail's rerun test is back as it was. - #12: the first-visit state dropped a publication only a thread's widget binds, and advertised the version of all data while sending part of it, so a tab naming that version never got the rest. It now holds every source a document or message of the page binds, and the version of exactly those (`page_data.bound_data`), in place of the export's filter, which leaves messages out. - #13 (part): a widget's construction in `leaf page state` said an input of another contract had its value available. It now says it has none, with why. `page check` still finds a file bound under another contract only in the page's own markup, not in a sample's or a message's. - #14: a read failure whose cause the file's stamp doesn't name, such as a symlink in its path, stayed cached after its cause cleared. A source holding an error is now read again each time. - #15: looking up one source for the door read every bound file. It now reads the one it names.
max-sixty
added a commit
that referenced
this pull request
Nov 26, 2026
… and leave drafts off first visits Codex's review of the previous commit confirmed #3 fixed on Linux and macOS and found these still open: - #10: two overlapping state requests could lose a relabel, since a reading the file cache no longer held fell back to the file's revision, which leaves the label out. `data.value_key` now takes the digest kept with that exact reading, and digests any other reading of a bound file afresh; a publication still stands in by its revision, so a rerun sends no value. - #12: first visits held every binding `working_data_bindings` knows, the unpublished source's among them, so a binding only `index.html` holds put its file in the public state. `bound_data` now reads the published revisions and the messages, and not the draft. - #14: a symlink put in a bound file's path and taken out again moved neither the news nor the run, and a file holding bad bytes was read again on every state read. A bound file's observation (`file_bindings.observed`), which the news, the hosted fingerprint and the source's cache all read, now also says whether its path names it without a symlink, so every reading, an error's included, is kept under it. - #15: admission read every publication to learn whether a source was supplied. It now asks for the one source first, and reads the others only where that source holds nothing. Still open, and reported: #1's comment on a file an input of another contract binds after its page was checked, and a contract that pins the file's name, which a new label then breaks; #13's file-contract check, which reaches the page's own markup and not a sample's or a message's; and the copy of a file source into a live sample, which takes a publication's revision.
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.
~/.claude/colloquy/held three unlike things: the user overlay layer, every page directory, and the/colloquy-planstoggle. Sharing one directory forced the reserved-slug rule (widgets/vendorunavailable as page names), put pid- and port-bearing review state inside a config directory that sync tooling treats as portable, and left user-facing review pages buried next to overlay files.This splits the homes by kind, along XDG lines:
~/.config/colloquy/($XDG_CONFIG_HOME): the user overlay layer (theme.css,registry.json,colloquy.js,widgets/,vendor/) and the/colloquy-plansconfig.json. Genuinely config: portable, sync-worthy.~/.local/state/colloquy/($XDG_STATE_HOME):pages/<slug>/as the conventional page home, andsessions/for the live-session registry (previously.sessions/; the leading dot existed only to dodge page-slug collisions, which the split dissolves along with the reserved-slug rule).Pages are review state, not documents: they carry pids, ports, and absolute paths, and the durable output of a review leaves through
exportor a copied version. Every command still takes the page directory explicitly, so pages at any path keep working; only the convention and the two global lookups (overlay layer, sessions registry) move.The project layer
./.claude/colloquy/stays: project-scoped Claude config in.claude/is that ecosystem's own convention.review-guard.py,plan-mode-redirect.py, andplans.pyinline the XDG resolution because they run under plainpython3and can't import theuvscript; a drift test holds the three copies tointeract.py'sconfig_home()/state_home().Upgrading with an existing overlay or toggle:
mv ~/.claude/colloquy/{theme.css,registry.json,colloquy.js,widgets,vendor} ~/.config/colloquy/(whichever exist) and re-run/colloquy-plans on; pages under~/.claude/colloquy/keep working where they are, since every command takes the directory explicitly.