Commit Graph
1109 Commits
Author SHA1 Message Date
danusha2345andClaude Fable 5.1 986005228b fix(directory): a schema-less codegraph.db does not make a project initialized (#1895)
isInitialized() accepted any existing .codegraph/codegraph.db, so an empty or
table-less file in an ancestor directory (an interrupted init, a stray touch,
a never-populated ~/.codegraph/) captured the upward walk of
findNearestCodeGraphRoot / resolveProjectPath / resolveServerRoot for every
project beneath it: the real index of a sub-project became unreachable, the
sub-project down-scan never ran, and commands either operated on the broken
file or failed opening it instead of showing the not-initialized guidance.

An initialized project is now one whose db carries the schema: the probe is
gated by file size (>= the 100-byte SQLite header), then the header magic,
then a read-only node:sqlite open with a single sqlite_master lookup for the
`nodes` table, memoized per path + mtime + size so hot callers (the prompt
hook, MCP root resolution on every call) never reopen an unchanged db. The
handle is closed immediately so the probe never holds the db on Windows; a
locked/busy db counts as live.

createDirectory() uses the same predicate, so `codegraph init` in the
directory with the broken file repairs it in place (the schema is applied
with CREATE ... IF NOT EXISTS) instead of refusing with "Already
initialized"; the CLI says what it found. Nothing is deleted automatically.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-23 14:41:33 +00:00
Forge 16d7b9a1a9 test: add bounded release issue reproduction probes 2026-09-23 14:40:17 +00:00
Forge 59009c5c6c docs: record checked marketplace theme and UI-only deployment [skip ci] 2026-09-23 05:01:26 +00:00
Forge b4dcb40d92 feat(marketplace): match CodeGraph theme with local Lucide assets [skip ci] 2026-09-23 04:50:13 +00:00
Forge 7bbce09f4b docs: record source inspection acceptance and conditional budget fit [skip ci] 2026-09-23 04:18:55 +00:00
Forge 9f18692f07 docs: prepare UI-only preview rollout and shared-account budget controls [skip ci] 2026-09-23 04:10:07 +00:00
Forge ca6c375993 feat: inspect immutable extension source and gate hosted publication [skip ci] 2026-09-23 04:05:48 +00:00
Forge d971e06fad docs: record Cloudflare HTTPS and provider persistence acceptance [skip ci] 2026-09-22 21:37:08 +00:00
Forge ad09aa586b test: verify provider object inventories independently of analytics [skip ci] 2026-09-22 21:32:05 +00:00
Forge c9b63f5610 fix: verify latest deployed bindings before hosted operator writes [skip ci] 2026-09-22 21:24:42 +00:00
Forge 2b9ec85df6 test: isolate hosted catalog selection and persistence readback [skip ci] 2026-09-22 21:20:29 +00:00
Forge 384daf329f feat: bound hosted publication windows and add HTTPS acceptance [skip ci] 2026-09-22 21:15:03 +00:00
Forge 89d6996123 feat: support reviewed hosted operators through Wrangler OAuth [skip ci] 2026-09-22 21:05:56 +00:00
Forge eee4e0696c docs: record integrated shadow results and reuse blockers 2026-09-22 17:15:46 +00:00
Forge 58b04f685a test: retain auditable shadow identity and query observations 2026-09-22 17:11:21 +00:00
Forge fa2c839833 test: observe audited semantic adapter in managed candidate path 2026-09-22 17:07:05 +00:00
Forge 415291abea docs: record dependency review proof and decision limits 2026-09-22 16:45:39 +00:00
Forge 57f332dbb7 docs: review opt-in semantic read sets with executable counterexamples 2026-09-22 16:41:59 +00:00
Forge b04cf47937 Record semantic update latency, recovery and integrated regression evidence 2026-09-22 16:15:31 +00:00
Forge e0885ee750 Run fixture assertions only in the benchmark coordinator 2026-09-22 15:02:40 +00:00
Forge 7575dcc71e Bulk rebuild candidate indexes and retain concurrent config edits 2026-09-22 15:00:18 +00:00
Forge f7793a836b Record exact route assertions for semantic update measurements 2026-09-22 14:50:16 +00:00
Forge 018b840a3e Replace candidate text search atomically in bulk 2026-09-22 14:44:46 +00:00
Forge 5c27e4ffd2 Reuse pure core parses across atomic semantic updates 2026-09-22 14:34:14 +00:00
Forge 4e54a29321 docs: record Drupal accuracy, performance and integrated regression [skip ci] 2026-09-22 14:03:01 +00:00
Forge 8936a3dc43 fix: reconcile global extension links atomically after source changes 2026-09-22 13:37:42 +00:00
Forge 2bc4029bf4 test: record Drupal profile and convergence methodology 2026-09-22 13:20:29 +00:00
Forge e72c064546 test: expand Drupal corpus proofs and native package regression 2026-09-22 13:15:58 +00:00
Forge 7e674aa0fa feat: pin reviewed Drupal 0.1.1 while retaining immutable 0.1.0 2026-09-22 13:08:13 +00:00
Forge b27bf875c9 fix: tighten Drupal wiring evidence and pending release metadata 2026-09-22 13:06:43 +00:00
Forge 1209454f3b test: add Drupal accuracy negatives and measured corpus samples 2026-09-22 12:59:47 +00:00
Forge c69ae3f2f1 docs: record official Drupal import and graph acceptance 2026-09-22 12:43:17 +00:00
Forge 6272db657e docs: explain reviewed official Drupal operator workflow 2026-09-22 12:33:55 +00:00
Forge 5d40696905 feat: add reviewed official Drupal registry operator 2026-09-22 12:29:38 +00:00
Forge 55fb9796f9 docs: record Cloudflare runtime validation and hosting gates 2026-09-22 12:12:28 +00:00
Forge e77f011ec3 fix: refuse uninitialized Cloudflare backup sources 2026-09-22 07:07:06 +00:00
Forge 52c1b38644 test(marketplace): validate Cloudflare persistence and package boundaries 2026-09-22 07:00:25 +00:00
Forge 44aaa721b2 feat(marketplace): checkpoint Worker D1 and R2 adapter 2026-09-22 06:53:02 +00:00
Forge 160f4685ea docs(validation): record registry persistence and HTTPS hosting limits 2026-09-22 06:29:05 +00:00
Forge ebf32f8fb0 fix(marketplace): preserve author input when catalog loads late 2026-09-22 06:15:21 +00:00
Forge f00b77b3dc test(marketplace): verify HTTPS browser flows on included Linux runner 2026-09-22 06:11:16 +00:00
Forge 63de525482 fix(marketplace): flush registry files with Windows-compatible handles 2026-09-22 06:08:03 +00:00
Forge 35d7d8c100 feat(marketplace): add persistent registry operations and verified backups 2026-09-22 05:39:24 +00:00
Forge 5e242b6fc9 docs(extensions): record native and full Linux validation evidence 2026-09-22 05:14:05 +00:00
Forge 37d4dd8371 test(extensions): import directory helper from its defining module 2026-09-22 05:00:44 +00:00
Forge 70d24ab276 fix(extensions): honor configured graph directory during recovery 2026-09-22 04:58:58 +00:00
Forge 258cd005fe fix(extensions): preserve trust across native path aliases and publisher input 2026-09-22 04:47:58 +00:00
Forge bae8e16dde Add native test-only workflow and durable full regression shards 2026-09-22 04:35:43 +00:00
Forge 13304f935e Record process recovery matrix, regression evidence and repair guidance 2026-09-22 03:56:46 +00:00
Forge 9ab6959d26 Keep legacy graph owners protected and root reads lightweight 2026-09-22 03:49:35 +00:00