Repository navigation
This release is about the edit feedback loop when 1 to 32 agents edit at once. An edit is acknowledged quickly and reads back right away. When a read can't be exact yet, it says so instead of returning stale data. Every answer says how fresh it is. Write-ahead log growth during start-up is bounded. Linked worktrees are served automatically.
Before upgrading, read the upgrade guide. The store schema is upgraded in place on first start.
Full changelog: v0.64.11...v0.64.12 (377 merged pull requests and 5 security advisory fixes, from 29 authors)
Highlights
- Fast edit acknowledgement and immediate read-back. Every source edit goes through one guarded write path, and the file reads back with its new contents right after the acknowledgement, including through
search_symbolsandsearch_text. With the opt-in local acknowledgement, edit ack p95 is about 36 ms for 1 to 16 agents and 54 ms for 32. With the default full acknowledgement it is 557–641 ms. Read-back was exact in every probe at 1 and 4 agents. At 8 to 32 agents, 0.2–1.1% of probes returned a labelled pending answer or a typed retry instead. - Every answer says how fresh it is. Graph answers report freshness per tier (file, relations, derived) in every output mode. Relation and change-impact tools return labelled partial answers instead of refusing, or answering "clean", while relations lag. Across 125 test configurations on the release commit, no answer claimed to be fresh while stale.
- Fair dispatch for many agents. MCP tool calls go through three admission lanes (mutating, fast and slow), with reserved edit slots and per-session turns, so one busy session or a slow analysis can't starve edits.
- Bounded write-ahead log during start-up. Peak start-up WAL size fell from 4.8–19 GB to 1.1–1.5 GB. WAL reclaim yields to edits and interactive reads.
- Lower memory. Peak start-up memory is 4.43 GB, against 5.75 GB on v0.64.10. The 32-agent edit loop peaks at 3.0 GB, including file cache.
- Safer store upgrades. The schema upgrade checks free disk space first, takes a backup when there's room, and survives interruption at any step.
- Linked worktrees are served automatically and more cheaply. Worktree sessions no longer need to track themselves. Contract analysis for linked worktrees waits for idle time by default.
- Windows. Files in subdirectories are no longer indexed twice, and directory junctions are treated as links by the path-confinement guards. Native Windows worktree edits after a daemon restart pass on the release candidate in 10 of 10 repetitions.
Security
This release fixes these advisories. Upgrade if you run v0.64.11 or earlier.
- GHSA-ccjq-25j8-m4ph: repo-local config could run commands.
- A repository's own
.gortex.yamlcan no longer make Gortex run commands, load native code, or send data to a provider it chooses, unless you opt in. This applies whether the repository is tracked or is the directory the daemon orgortex mcpstarts in. - The gated keys are
index.transforms,index.grammars,index.extractor_plugins,semantic.providers, thellmblock, and the embedding provider and URL. - The opt-in variables are
GORTEX_ALLOW_LOCAL_TRANSFORMS,GORTEX_ALLOW_LOCAL_GRAMMARS,GORTEX_ALLOW_LOCAL_EXTRACTOR_PLUGINS,GORTEX_ALLOW_LOCAL_SEMANTIC_PROVIDERSandGORTEX_ALLOW_LOCAL_PROVIDERS(#1201, #1203). - A working-directory
.gortex.yamlis now layered over your own config instead of replacing it. It cannot remove your tool denies, loosen a restrictive preset, or turn off secret redaction.
- A repository's own
- GHSA-pm83-jjqr-9h7j: browser requests to local HTTP listeners.
gortex eval-server,gortex daemon --http-addr,gortex mcp --serverand the opt-in pprof listener now refuse requests from web pages: cross-origin requests, DNS rebinding, and cross-site requests.- Listeners without a token accept only local host names:
localhost,127.0.0.1,[::1]and the Docker host aliases. Use--http-allowed-hostfor others. - The pprof listener no longer serves
/debug/pprof/cmdline.
- GHSA-7r63-3cm7-q2r9: agent writes to Git metadata, and redaction gaps.
- Agent sessions can no longer modify Git metadata. That covers
.git, worktree git dirs, and the hooks and include files named by Git config. Agent sessions also can't change agent or editor configuration that defines hooks, MCP servers or tasks. - Secret redaction now catches prefixed and camelCase credential names, more credential file types, and well-known token formats. It applies to every read path.
- Agent sessions can no longer modify Git metadata. That covers
- GHSA-r4qw-735m-8mcj: agents could track the home directory's parent.
- Agent sessions can no longer track
$HOME, any parent of it, filesystem roots, hidden directories under home, or system and tool directories. - Agent sessions can track only real Git work trees.
- Operators can track broad roots with
gortex track --force, which recordsallow_broad_root.
- Agent sessions can no longer track
- GHSA-mj98-cmvv-26pq: reads through links outside the repository.
- Reads that locate a file through the graph or from a caller-supplied path are confined to the indexed repositories. This covers navigation, context, search, review, simulation, edits and LSP.
- A file or directory replaced by a link to an outside location after indexing is purged from the index instead of re-indexed.
- Other hardening:
- Extractor-plugin subprocesses no longer inherit secret environment variables.
- Bearer tokens are no longer accepted in URL query strings, and token comparison is constant-time.
- Config and cache files are written readable only by their owner.
- Windows directory junctions are treated as links (#1194–#1207, #1417).
- Language servers: when semantic enrichment is on, some language servers can run a repository's build code. Index only code you trust, or disable language servers with
GORTEX_LSP_DISABLEorsemantic.enabled: false(see SECURITY.md). - Extractor-plugin subprocesses no longer inherit secret-bearing environment variables (#1205). Plugin file paths reject control characters and shell metacharacters (#1195, #1202).
- Bearer tokens are no longer accepted in the URL query string (#1196). The streamable endpoint compares tokens in constant time (#1194).
- Global config and cache files are written readable only by their owner, and atomic config writes use random-named temporary files (#1197, #1198, #1206).
- Git blob names validate the repository-relative path, hook binary paths are quoted, embedding base URLs are validated, and contract extraction is bounded by source file size (#1199, #1200, #1204, #1207).
- Path-confinement checks treat Windows directory junctions like symlinks (#1417).
Performance
How this was measured.
- Setup: load runs used a Linux reference VM (8 CPUs, 16 GB memory limit), one run per configuration unless stated.
- Statistics: p95 is nearest-rank over the measured edits, normally 100. MB and GB are decimal.
- Baselines: "Before" is the previous release we measured against, named in each table. The write-ahead log (WAL) tables compare the same code with and without the new WAL bound.
- Builds: some v0.64.12 figures were taken on release candidates during the cycle and were not re-run on the final commit.
Edit feedback loop (v0.64.12, one repository, every agent editing)
| Agents | Edit ack p95, local ack | Edit ack p95, full ack | Read-back p95, local ack | Read-back p95, full ack | Exact read-back, local ack | Exact read-back, full ack |
|---|---|---|---|---|---|---|
| 1 | 36.0 ms | 627 ms | 388 ms | 719 ms | 500/500 | 500/500 |
| 4 | 36.2 ms | 641 ms | 491 ms | 745 ms | 500/500 | 500/500 |
| 8 | — | 598 ms | — | 834 ms | 98.9%¹ | 500/500 |
| 16 | 35.8 ms | 636 ms | 1,051 ms² | 1,213 ms² | 99.6% | 99.8% |
| 32 | 54.3 ms | 557 ms | 1,077 ms² | 1,115 ms² | 99.8% | 99.4% |
¹ From the read-back test that covers all nine edit kinds (3,600 probes). See the limits below.
² Computed over the reads that were measured: 98 and 99 of 100 at 16 agents, 99 and 97 of 100 at 32 agents.
- Every run applied all 100 edits, with no failed edits at any width in either acknowledgement mode.
- Daemon CPU per edit at full ack was 1.46, 1.35, 1.27, 0.97 and 0.87 s at 1, 4, 8, 16 and 32 agents. This is averaged over the whole phase, including the read probes.
Final edit-path optimisations in this release (1 agent, full ack, same test before and after):
| Metric | Before | After | Change |
|---|---|---|---|
| Edit ack p95 | 3,115 ms | 627 ms | 5× faster |
| Relations p95 | 2,445 ms | 374 ms | 6.5× faster |
| CPU per edit | 8.92 s | 1.46 s | −84% |
| Peak WAL during edits | 65.2 MB | 45.5 MB | −30% |
Closed-loop edits, v0.64.10 → v0.64.12.
- This is a smaller workload: 6 to 59 edits per run.
- The v0.64.12 column was measured before the final optimisations above, so the released build is faster than shown.
- At 4 and 8 agents, v0.64.10 did not complete its workload. Its first-visible figures leave out the edits that never became visible, so the real v0.64.10 numbers are worse.
| Agents | Edit ack p95, v0.64.10 → v0.64.12 | First visible p95, v0.64.10 → v0.64.12 |
|---|---|---|
| 1 | 3.03 s → 3.20 s | 15.7–17.0 s → 5.94 s |
| 4 | 10.4–10.9 s → 3.25 s | 24.2–25.0 s → 8.88 s |
| 8 | 20.1 s → 3.60 s | 34.2–41.7 s → 14.5 s |
Relations and derived freshness (v0.64.12, one repository, full ack)
| Agents | Relations p95, client | Relations p95, daemon | Target | Derived p95, daemon |
|---|---|---|---|---|
| 1 | 374 ms | 380 ms | 1.5 s | 592 ms |
| 4 | 478 ms | 394 ms | 3 s | 608 ms |
| 8 | 663 ms | 385 ms | 5 s | 573 ms |
| 16 | 928 ms | 429 ms | — | 606 ms |
| 32 | 1,094 ms | — | — | — |
Linked worktrees (v0.64.12):
| Checkouts | Ack p95 | Read-back p95 | First exact read-back p95 | Relations p95 |
|---|---|---|---|---|
| 4 | 377 ms | 868 ms | 1,053 ms | 879 ms |
| 8 | 404 ms | 1,969 ms | 1,969 ms | 2,204 ms |
| 16 | 323 ms | 2,139 ms | 2,489 ms | 2,332 ms |
- Re-reads: in linked worktrees, 78 to 89 of every 100 edits first read back as labelled pending and needed a re-read to become exact.
- Compared with v0.64.10: at 4 and 8 worktrees, with 8 readers, and with 4 editors plus 4 readers, every operation's p95 is at most 0.59× the v0.64.10 value. Some v0.64.10 runs were incomplete, so treat these ratios as indicative.
- Contract freshness after an edit in the primary checkout: p95 went from 4.91 s on v0.64.10 to 2.76 s on v0.64.12 (40 edits each, all fresh).
Memory
| Metric | v0.64.10 | v0.64.12 |
|---|---|---|
| Start-up peak, 32-agent run (cgroup) | 5.75 GB | 4.43 GB (−23%) |
| Edit-loop peak, 32 agents, full ack (cgroup, includes file cache; about 0.8 GB is process memory) | not measurable (its edit workload did not complete) | 3.01 GB |
| Warm restart to queryable, median of 10 (220-worktree fixture) | 2.17 s | 1.35 s |
| Daemon peak RSS during the edit loop, 1/4/8/16 agents | — | 398 / 393 / 411 / 444 MB |
Disk and write-ahead log
The start-up WAL is now bounded. The default bound is 1 GiB (4× the 256 MiB reclaim threshold). Set GORTEX_SQLITE_WAL_BOUND_MB to change it, or 0 to turn it off. Edits never wait on the bound.
Peak start-up WAL (largest -wal before the first edit) |
Without the bound | With the bound (v0.64.12) |
|---|---|---|
| Warm-up | 4.76–8.86 GB, median 4.77 GB (15 runs) | 1.09–1.46 GB, median 1.12 GB (10 runs) |
| Warm-up including the first base-snapshot build | 4.76, 13.9 and 19.3 GB (3 runs) | 1.10–1.41 GB (3 runs) |
- Edit-phase WAL peak at full ack (v0.64.12): 45.5, 88.5, 146, 312 and 589 MB at 1, 4, 8, 16 and 32 agents.
- Reclaim activity: at 1, 4 and 8 agents, the bound never engaged during edits and WAL reclaim never retried.
- Peak can exceed the bound: a single background write hold can span several commits, so the peak isn't held exactly to 1 GiB. The largest measured start-up peak was 1.46 GB. Tightening is tracked in #1690.
Indexing
| Metric | Without the WAL bound | With the WAL bound (v0.64.12) | Change |
|---|---|---|---|
| Time to fully indexed (warm-up), 1 editor, median of 5 | 163.1 s | 176.8 s | +8% |
| Time to fully indexed, 8 editors | 165.1 s | 177.9 s | +8% |
| First full index including the base-snapshot build, median | 289.3 s³ | 339.7 s | +17% |
| Peak disk growth from the WAL during that first index | 13.9–19.3 GB³ | 1.1–1.4 GB | −90% or more |
³ Median of the two runs without the bound that took the same base-snapshot copy path as v0.64.12. A third run took a shorter path (212.3 s, 4.76 GB peak). Including it, the change is +22%.
| Cold index | v0.64.10 | v0.64.12 | Change |
|---|---|---|---|
| Time to queryable | 110.6–114.3 s | 72.4–74.9 s | −34.5% (median) |
| Time to enrichment complete | 332.5–341.5 s | 213.4–229.6 s | −34.3% (median) |
The v0.64.12 cold-index runs were taken before the WAL bound landed.
Store upgrade time: about 13 s on a 1.5 GB store when upgrading from an older store schema, and under 3 s from a recent one.
Search and read latency
| Operation | v0.64.11 | v0.64.12 | Change |
|---|---|---|---|
search_symbols p95, after 1 h of 8-editor churn |
177.7 ms | 268.4 ms | +51.0% |
search_symbols median, same window |
124.3 ms | 100.3 ms | −19% |
search_text p95, after 1 h of 8-editor churn |
102.0 ms | 113.4 ms | +11.1% |
- How this was measured: 100 first-attempt requests per window on a 29-repository store.
- Start of the hour: v0.64.12 p95 was 91.1 ms for
search_symbolsand 56.4 ms forsearch_text.
| Scoped reads, p50 | v0.64.10 | v0.64.12 |
|---|---|---|
| Session-scoped outline | 6,682 ms | 1.65 ms |
| Dead-code, single-repository store | 970 ms | 314 ms |
Dispatch (v0.64.12):
- With 32 editors, the mutating lane's queue wait p95 was at most 1 ms. In the same run, 9 fast-lane reads were refused as busy.
- On a six-repository store with 8 readers and 3 slow calls running, fast-read p95 stayed within 1.003× of a quiet control.
Freshness correctness (v0.64.12)
| Check | Result |
|---|---|
| Stale answers claimed as fresh, coverage matrix on the release commit (125 configurations, 100 edits each) | 0 in JSON (683,935 answers), TOON (1,303,880), CLI (12,300) and the facade (1,493)⁴ |
| Language, edit-kind and tool combinations covered | 85 of 97⁵ |
Stale-graph refusals from explain_change_impact and detect_changes, 8 agents |
0. Of 192 answers, 160 were labelled partial and 32 complete. |
| Strict contract request under load | 22 of 23 steady probes fresh, p95 0.22 s. Another call was in flight for only 4 of the 23 probes. |
⁴ The check counts answers that claim to be fresh while stale. Compact text output has no freshness field, so it can't be checked. About 267 records were cut by the evidence size cap.
⁵ The run's own scorer reported 72 of 97. It required the first line of an answer to be the result, but not-found replies begin with the freshness line. Rescoring offline, skipping one leading freshness line, gives 85, and an independent pass confirmed it.
Known regressions and limits
search_symbolsp95 is 51% higher than v0.64.11 at the end of an hour of 8-editor churn (268.4 ms against 177.7 ms).search_textis 11% higher (113.4 ms against 102.0 ms). Profiling is tracked in #1524.- First full index is about 17% slower (339.7 s against 289.3 s), and warm-up is 8% slower, because of the WAL bound. In exchange, peak WAL disk use during that index fell from 13–19 GB to 1.1–1.4 GB. A faster base-snapshot copy is planned in #1690.
- Start-up WAL peak can exceed the 1 GiB bound. The largest measured peak was 1.46 GB (#1690).
- Read-back at 8 and 32 agents: in the nine-edit-kind read-back test, 39 of 3,600 probes missed at 8 agents (98.9%) and 6 of 3,600 at 32 agents (99.8%), against a 99.9% target. Only delete and rename edits miss. Every miss is a labelled pending answer or a typed retry refusal, never stale data presented as fresh. The fix is planned for v0.64.13 (#1699).
- Store contention at 32 agents: with full acknowledgement, three file summaries came back empty, so exact read-back was 99.4% (#1706). One read failed with an untyped RPC error (#1697).
- Six repositories with six agents editing: relations freshness p50 is 25.6 s with local ack and 115.7 s with full ack, against a 9 s p95 target. The target is deferred to v0.64.13.
- Strict contract request in a linked worktree: 1 of 23 steady probes waited the full 5 s deadline (#1707, v0.64.13).
- Contract freshness with 4 and 8 concurrent readers is about 32 s p95 (31.9 and 33.1 s), with no v0.64.10 comparison (#1700).
- Edit accounting at 16 and 32 agents: about one in five edits ended with an accounting state that could not be closed (#1696). The reads were correct.
- Coverage: 12 of 97 combinations remain uncovered. Eight of them come from an occasional untyped
symbol not foundreply (#1718).
New features and behaviour changes
Editing and read-back
- Guarded write path: source edits commit through one guarded write path. The daemon config key
edit.ackselectsfull(the default) orlocalacknowledgement, and each response records the mode used inack_mode(#1229, #1012). - New fields on committed edits:
commit_seq,content_sha256,readback_exactandgraph_status_hint.- A structured
file_viewwith the file's state, symbol delta counts, the first 20 changed symbols and syntax health. - Per-file
file_viewsfor transactional batches (#1229).
- Exact read-back after acknowledgement: an edited file reads back exactly through a pending file projection, and reads no longer trigger a reindex (#1011, #1014).
search_symbolsandsearch_textreturn the new contents too (#1223, #1015). - Watcher: tool edits reach the watcher without debounce, and the watcher's echo events are matched by content hash (#1250, #1010).
Freshness reporting
- Freshness on every answer: each answer reports graph freshness per tier (
file,relations,derived) in every output mode. Pending or failed answers carry a visible tier line in text, TOON and compact output (#1016, #1256). - Change-impact tools answer instead of refusing:
detect_changesandexplain_change_impactwait briefly for edits in scope. They then return a labelled answer withcomplete:false,graph_freshness,pending_files,pending_file_countandbarrier_wait_ms(#1228, #1018). - Relation tools: tools that read relations wait briefly or label their results instead of answering "clean". Deletes are blocked while callers are pending (#1231, #1019).
- Better refusals: freshness refusals name the receipt query and the real recovery paths, and
mutation-Nids are accepted (#1141, #1008). A call chain whose root is still resolving says so (#1552). - Choosing a freshness tier:
- Request metadata
require_fresh,freshness_scope(file,relationsorderived) andwait_deadlineselect the tier to wait for. - The new global CLI flag
--require-freshexits with code 4 when the tier stays pending. - CLI verbs print the freshness line on stderr.
- Request metadata
Indexing and storage
- Schema upgrade safeguards:
- New command:
gortex store cleanup-backup [--backend-path P]removes pre-upgrade backups (#1221). - WAL behaviour:
- Boot compaction waits until enrichment completes, never runs right after a migration, and spills VACUUM temporary data to disk (#1212, #1024).
- New status fields:
index_healthaddslast_first_index_drain, and daemon status addsdense_indexes_missing.
Daemon and worktrees
- Three admission lanes for MCP dispatch: mutating, fast and slow, with two reserved mutation slots, per-session turns, and cancellation that frees capacity. Busy replies are retryable and carry
retry_after_ms. Daemon status exposesmcp_dispatch(#1159, #1001). - Daemon stop:
gortex daemon stopcancels shutdown work and checks the store is free before reporting success (#1161, #1022).- Closing the store skips the final WAL checkpoint by default. Set
GORTEX_SQLITE_CLOSE_CHECKPOINT=fullfor the old behaviour. GORTEX_STOP_DUMP=1writes a goroutine dump when a stop runs out of time (Unix only).
- Prefix collisions: tracking a second repository whose prefix is already in use is rejected on every path with a structured
prefix_collision(#1164, #1025). - Tracked repositories survive inventory failures: a tracked repository stays in configuration when a Git family inventory fails, and its offline edits are reconciled when the checkout returns (#1252, #1026).
- Linked worktrees:
- Linked worktrees of a known repository are served automatically.
gortex track <linked-worktree>now warns and changes nothing; use--as-worktreefor a separate graph (#1153, #1035). - A pending checkout discovery is scoped to its own worktree (#1235, #1033).
- Contract analysis for linked worktrees runs only while the daemon is idle by default. It's configured with
contract_analysis.linked_policy(idle,throttledoreager),linked_idle_window,linked_throttle_intervalorGORTEX_CONTRACT_LINKED_POLICY(#1299, #1034). - The
viewselector gains aworktreekind.
- Linked worktrees of a known repository are served automatically.
MCP tools and CLI
gortex doctoradds a read-only "Legacy state" section, and alegacy_statekey in--jsonoutput (#1418).- Offline untrack after
gortex daemon stopis the documented way out of an unwanted warmup (#1172, #1029). mutation_status:- Reports
ack_at,file_graph_at,relations_at,derived_atandtier_after_commit_ms. - Unknown receipts return
state:"lost"immediately.
- Reports
track_repositorycan answeracceptedand keeps its final outcome for ten minutes, so a retry doesn't start a second index.gortex hookgains an--eventflag.- Tool set: no MCP tools were added or removed. The changes are new fields and behaviours on existing tools.
Diagnostics
- Write and timing metrics:
- Memory in health and status:
daemon_healthand daemon status add live checkoutcoordinators, SQLite page-cache size, and process memory:rss_bytes,pss_byteson Linux, and the physical footprint on macOS (#1234, #999). - Lane and writer attribution: daemon status adds
repository_lanesandreach_topology(#1565), and reports each edit's SQLite writer time (#1575). - Opt-in switches:
GORTEX_SEARCH_REFUSAL_EVIDENCE=1andGORTEX_MCP_DISPATCH_OCCUPANCY=1(#1331, #1349, #1407, #1542).
Performance work (figures above)
- Scoped reads: read cost now follows the scoped repository instead of the whole store, for dead-code, outline, repository queries and traversal (#1147, #1183, #1002, #1003, #1004).
- FTS: a bounded FTS merge after indexing replaces a full optimize (#1209, #1021).
- Go extraction: less repeated reference extraction, and shared function-body analysis (#1226, #1282, #1383).
- Indexer: repository-scoped topology gates, and reuse of file inventory and row charges (#1227, #1296, #1398, #1408, #1409, #1425, #1357).
- Search: batched pending search readers, and fewer FTS token allocations (#1295, #1320, #1336, #1333).
- SQLite query plans: improved query plans and reuse of vector decoding buffers (#1354, #1367, #1443, #1474, #1339).
- Contract fills: amortized fill handoffs and batched cold projections (#1434, #1438, #1440, #1441, #1551, #1563).
- Reads: no whole-file hydration for indexed symbol source (#1468, #1455, #1382).
- Other: #1475, #1358, #1211 and #1476.
Languages and extractors
- JavaScript and TypeScript: bare calls resolve through import evidence, and named imports and lexical shadows are honoured (#1361, #1496).
- Luau: require-by-string paths are bound (#1371).
- Java:
jdtlsstarts with a capped heap (2 GiB, lower on small hosts). UseGORTEX_LSP_JDTLS_XMXto change it (#1601).
Integrations and LLM providers
- New gateway presets:
opper(#1139),llm-buzz(#1174),runcrate(#1178),cloudgpu(#1214),cheapaimodel(#1276),standardcompute(#1373),uberllm(#1384),teamorouter(#1562) andllmtr(#1661). - Antigravity: native hook protocol.
gortex installwrites hooks, rules and skills, andgortex doctorreports on them.gortex uninstall --globalnow covers Pi and Antigravity (#1275, #1304, #1308). - Plugin marketplace:
gortex plugin emitwrites an installable plugin marketplace (#1176). - Pi: a stop is answered with post-task diagnostics, and Pi is told once per session when the daemon is down (#1215, #1284).
- Generated agent files refresh automatically: they refresh when a new binary first runs, and only files Gortex can prove it wrote are rewritten. Controlled by
agents.auto_refresh(#1356, #1369).
Upgrade notes
- Store schema upgrade on first start. The store is migrated in place. The upgrade needs free disk space and takes a backup when there's room. v0.64.10 can't read an upgraded store, so restore the backup before downgrading.
- Default change: linked-worktree contract analysis waits for idle time. To restore the old behaviour, set
contract_analysis.linked_policy: eagerorGORTEX_CONTRACT_LINKED_POLICY=eager. - Default change: no final WAL checkpoint when the store closes. Set
GORTEX_SQLITE_CLOSE_CHECKPOINT=fullfor the old behaviour. - Default change: the
jdtlsheap is capped. UseGORTEX_LSP_JDTLS_XMX, for example4G, oroff. - Behaviour change:
gortex track <linked-worktree>warns and changes nothing when the repository is already known. Use--as-worktreefor a separate graph. - Behaviour change: prefix collisions are errors. Pass a
namewhen tracking a second repository with the same folder name. - Breaking:
?token=query-string auth is removed. Send the bearer token in theAuthorizationheader. - Breaking: repo-local execution settings are ignored unless you opt in. This covers extractor plugins, transforms, grammars, semantic providers, the
llmblock and the embedding provider and URL, in a tracked repository's.gortex.yamlor one in the daemon's working directory. Opt in with the matchingGORTEX_ALLOW_LOCAL_*variable, or move the settings to~/.gortex/config.yaml. - Behaviour change: a
.gortex.yamlread because the daemon started in$HOMEcounts as repository-local. - Behaviour change:
review.post.allow_publicis now operator-only. Set it in~/.gortex/config.yaml. - Behaviour change: listeners without a token refuse other host names. If you reach the daemon,
mcp --serveror eval-server through a host name other thanlocalhost,127.0.0.1,[::1]or the Docker host aliases, pass--http-allowed-host <name>or configure a token. - Behaviour change: the pprof listener's search-mode switch now requires POST.
- Behaviour change: agent sessions track only real Git work trees. A home ancestor, a hidden directory under home, or a system tree is refused. A configured root that is a non-Git ancestor of home now needs
gortex track --force(orallow_broad_root: true). - Behaviour change: agent sessions cannot write Git metadata or agent/editor configuration files (for example
.claude/settings.json,.mcp.json,.vscode/tasks.json). Make those changes yourself. - Behaviour change: token-shaped secrets in source files read back redacted. Pass
allow_secrets: truewhere appropriate. Config formats are re-extracted once on upgrade, so stored secret values are removed from the index. - Change-impact tools no longer refuse on pending edits. Check
completeandgraph_freshnesson the answer. - Downgrading: finish any pending cleanup with this build before downgrading.
- Generated agent files refresh after the upgrade. Customized files are kept. Start a new agent session to pick up the refreshed guidance.
Fixes
Editing and read-back
- Receipts: settled pending sources are retired, and lost receipts become terminal (#1145, #1009).
- Batch edits keep exact per-file ownership. Cleanup is refused over a foreign after-image (#1270, #1292, #1297, #1264, #1302, #1454).
- Read views stay consistent through publication: edited-file read views, bounded file reads and typed read retries (#1230, #1298, #1346, #1348, #1450, #1446).
- File summaries stay correct during edit storms, store contention and busy full acknowledgements (#1312, #1397, #1518, #1680).
- Newer commits: summary and editing-context reads answer from a newer commit of the same file, including another editor's commit (#1572, #1604, #1543, #1566, #1599).
- Projections and proofs:
Freshness
- Pending relation reads are fixed, and query results stay immutable (#1294).
- Caller reads retry or rebind after a projection is retired, within the freshness deadline (#1449, #1494, #1502, #1547, #1549, #1472).
- Change impact answers by
wait_deadlinewhile a publication holds the walk (#1590, #1469).
Search
- Name-only symbol results are complete and coherent (#1323, #1317).
- Owner selection: symbol search selects coherent owners during initial binding (#1326, #1338, #1341, #1334, #1340).
- Pending text capture is coordinated with tool writes (#1337, #1335, #1329, #1328).
Indexing and storage
- Bulk writes: SQLite bulk writes are fail-safe on panics and a full disk (#1233, #1027).
- WAL reclaim refuses before copying when it isn't eligible (#1286, #1466).
- Retries: failed files are retried without restaging successful ones (#1355, #1416).
- Type enrichment resumes a pass that hit its deadline (#1395, #1406).
- Submodule gitlinks are skipped in commit-layer change sets (#1459).
- Cold indexing honours nested cgroup memory limits (#1527).
- Other indexing fixes: #1249, #1471, #1366 and #1389.
Contracts
- Baselines: baseline reconstruction accepts content skips, isolates a failing file, and repairs stale baselines (#1144, #1463, #1402).
- Census repair fixes missing receipt rows and drifted bytes (#1412, #1415, #1435).
- Routes:
- Consumers require protocol evidence (#1414).
- Fill scheduling fixes: #1364, #1568, #1569, #1483 and #1439.
Daemon, startup and stop
- Startup admission: loading admission is kept until repository identity is ready (#1162, #1291, #1290). Migration refusals are kept through the upgrade (#1289, #1510, #1023).
gortex daemon stopno longer reports failure when it completes between polls (#1279, #1278).- Warmup retries repositories that WAL pressure refused (#1378).
- CLI loading and startup fixes: #1254, #1253, #1381, #1516, #1523, #1537 and #1538.
Worktrees
- Working directory: the MCP proxy follows the host's working directory when it changes mid-session (#1344).
- Sibling and absolute paths: worktree sessions can read sibling repositories, and absolute paths into a routed worktree are admitted (#1478, #1485, #1484).
- Review tools diff the worktree's working copy (#1431).
- Unsupported requests: an unsupported dedicated-checkout request is distinguished from a building view (#1351).
- Availability: instructions and the tool catalog stay available while a checkout is loading (#1489, #1544).
- Clean source reads reuse checked spans (#1461).
- Edit receipts: linked-checkout edit receipts report all four tiers (#1623, #1630, #1638, #1642).
- No false "exact" label: a graph read racing a same-checkout edit is never labelled exact from the commit generation alone (#1708, #1705).
MCP and CLI
- Protocol mismatch:
gortex mcphands off to a new daemon instead of falling back to embedded mode (#1152, #1032). - Untracked-repository errors explain how to recover (#1245, #1237).
- External symbols:
ext::symbols return source or a structured answer (#1457). - Dry-run renames are admitted as reads (#1593).
gortex doctorjudges MCP stanzas by command and args only (#1300).- REST keeps contract analysis status (#1359).
Agent guidance, hooks and plugin
- Guidance: guidance treats loading, warming and busy states as "retry or keep working" (#1148, #1030). Installed guidance matches the advertised tools (#1182, #1181).
- Hooks:
- Plugin: each workflow is emitted once, and the plugin builds without the llama tag (#1173, #1208).
Languages and resolver
- JavaScript and TypeScript:
extendsandinstantiatesedges for JavaScript classes, and TypeScript abstract classes are extracted (#1391, #1392). - PHP:
usealiases, namespace-import receivers, property receivers, static methods andparent::calls (#1393, #1399, #1404, #1400, #1403). - Vue: template references bind through default imports (#1394).
- Go: external attribution is scoped to Go files (#1332).
LSP
- Cold references: cold on-demand LSP references are retried (#1248, #1217).
- One server per workspace: under concurrent first use, only one language server starts per workspace (#1602, #1617).
Windows
- No duplicate indexing: files in subdirectories are no longer indexed under both
/and\spellings, and existing duplicates are healed (#1151, #1150). - Junctions: directory junctions are treated as links in the path-confinement guards (#1417).
Docs, CI and tests
- Tests: about 50 test-only pull requests, including a native Windows smoke test of worktree edits after a daemon restart (#1155).
- Benchmarks and load harness: 58 pull requests. They add a reproducible agent load client, edit-and-probe scenarios and budget checks.
- CI: 19 pull requests. PRs now run tests only for affected packages, with full suites on main. Test budgets are split, and edit-loop regression checks run in CI.
- Docs: a new upgrade guide and daemon shutdown doc. The MCP, multi-repo, CLI, LSP, LLM and onboarding docs are updated. A README notice states that Gortex has no cryptocurrency token.
- Dependencies: 8 dependency updates, including the SQLite driver.
Contributors
Thank you to everyone who contributed to this release:
@britishbadger (#1320, #1339, #1354, #1355, #1357, #1358, #1359, #1367, #1378, #1395, #1406, #1412, #1413, #1415, #1416, #1423, #1435, #1440, #1443, #1463, #1476, #1483) · @protereus (#1185, #1216, #1272, #1275, #1304, #1308, #1316, #1356, #1369, #1601, #1602, #1617) · @ArcheeNic (#1391–#1394, #1399–#1405) · @BSchneppe (#1459, #1466, #1474, #1475, #1478, #1489, #1490, #1492) · @Seyamalam (#1482, #1486, #1498, #1529, #1577, #1616, #1642) · @sronix (#1173, #1176, #1180, #1300) · @timkjr (#1144, #1344, #1364, #1366) · @vitaliyslion (#1192, #1193, #1215, #1284) · @aldarund (#1496, #1626, #1651) · @jihtsan (#1332, #1414) · @rhmatzeka (#1210, #1211) · @2867297362mjb-sketch (#1562) · @agenticsymphony-tech (#986) · @al-global-tech (#1384) · @bigconnect (#1174) · @cloudgpuapp (#1214) · @Felixkw12 (#1139) · @henrikdukefoss (#1373) · @heydryft (#1178) · @hussain-alsaibai (#1418) · @ishpagin (#1361) · @knowhycodata (#1661) · @MrNiceRicee (#1371) · @mvanhorn (#1351) · @nicho810 (#1276) · @NishilRathod (#1417) · @peterkc (#1431) · @sainimal1ba-hue (#1457)
Thank you for responsibly reporting the security issues fixed in this release: @hgrgr (GHSA-ccjq-25j8-m4ph, GHSA-r4qw-735m-8mcj) · @adityasunny06help-coder (GHSA-pm83-jjqr-9h7j) · @giulioc84 (GHSA-7r63-3cm7-q2r9) · @manus-use (GHSA-mj98-cmvv-26pq)