@neuralis/brain-core 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (123) hide show
  1. package/README.md +41 -40
  2. package/app/README.md +3 -3
  3. package/app/filesystem/FilesystemHost.tsx +7 -0
  4. package/app/filesystem/README.md +1 -1
  5. package/app/filesystem/api/index.ts +4 -4
  6. package/app/filesystem/hooks/README.md +1 -1
  7. package/app/filesystem/hooks/useFilesystemSSE.ts +41 -1
  8. package/app/filesystem/host/README.md +2 -2
  9. package/app/filesystem/host/buildFilesystemHostValue.ts +9 -2
  10. package/app/filesystem/lib/sourceKindForm.ts +109 -5
  11. package/app/filesystem/store/filesystemStore.ts +13 -3
  12. package/app/filesystem/ui/DiscoverDock.tsx +5 -1
  13. package/app/filesystem/ui/FileTree.tsx +34 -8
  14. package/app/filesystem/ui/FilesystemWidget.tsx +10 -2
  15. package/app/filesystem/ui/GitControlPanel.tsx +2 -2
  16. package/app/filesystem/ui/PendingChangesPanel.tsx +1 -1
  17. package/app/filesystem/ui/README.md +14 -13
  18. package/app/filesystem/ui/SourcesPanel.tsx +124 -24
  19. package/app/filesystem/ui/VectorHealthPanel.tsx +2 -2
  20. package/dist/app/host.js +41 -37
  21. package/dist/src/channels/filesystem.d.ts +1 -1
  22. package/dist/src/channels/filesystem.js +1 -1
  23. package/dist/src/domain/mime.d.ts +3 -3
  24. package/dist/src/domain/mime.js +3 -3
  25. package/dist/src/domain/scopeAccessCtx.d.ts +2 -2
  26. package/dist/src/domain/scopeAccessCtx.js +2 -2
  27. package/dist/src/domain/types.d.ts +8 -1
  28. package/dist/src/domain/types.d.ts.map +1 -1
  29. package/dist/src/events/pending.d.ts +1 -1
  30. package/dist/src/events/pending.js +1 -1
  31. package/dist/src/git/sourceGitControl.d.ts +2 -2
  32. package/dist/src/git/sourceGitControl.js +3 -3
  33. package/dist/src/lifecycle.d.ts +1 -1
  34. package/dist/src/routes/approve.d.ts +1 -1
  35. package/dist/src/routes/approve.js +1 -1
  36. package/dist/src/routes/events.d.ts +1 -1
  37. package/dist/src/routes/events.js +1 -1
  38. package/dist/src/routes/git.d.ts +7 -7
  39. package/dist/src/routes/git.js +18 -18
  40. package/dist/src/routes/health.d.ts +6 -6
  41. package/dist/src/routes/health.js +12 -12
  42. package/dist/src/routes/helpers/sourceNotConfigured.d.ts +1 -1
  43. package/dist/src/routes/helpers/sourceNotConfigured.js +1 -1
  44. package/dist/src/routes/helpers.d.ts +1 -1
  45. package/dist/src/routes/helpers.js +1 -1
  46. package/dist/src/routes/list.d.ts +1 -1
  47. package/dist/src/routes/list.js +1 -1
  48. package/dist/src/routes/pending.d.ts +4 -4
  49. package/dist/src/routes/pending.js +9 -9
  50. package/dist/src/routes/policies.d.ts +4 -4
  51. package/dist/src/routes/policies.d.ts.map +1 -1
  52. package/dist/src/routes/policies.js +11 -11
  53. package/dist/src/routes/policies.js.map +1 -1
  54. package/dist/src/routes/raw.d.ts +1 -1
  55. package/dist/src/routes/raw.js +1 -1
  56. package/dist/src/routes/read.d.ts +1 -1
  57. package/dist/src/routes/read.js +1 -1
  58. package/dist/src/routes/search.d.ts +1 -1
  59. package/dist/src/routes/search.js +1 -1
  60. package/dist/src/routes/sources.d.ts +20 -5
  61. package/dist/src/routes/sources.d.ts.map +1 -1
  62. package/dist/src/routes/sources.js +118 -118
  63. package/dist/src/routes/sources.js.map +1 -1
  64. package/dist/src/routes/upload.d.ts +1 -1
  65. package/dist/src/routes/upload.js +1 -1
  66. package/dist/src/routes/write.d.ts +2 -2
  67. package/dist/src/routes/write.js +2 -2
  68. package/dist/src/services/BridgeService.d.ts +7 -1
  69. package/dist/src/services/BridgeService.d.ts.map +1 -1
  70. package/dist/src/services/BridgeService.js +15 -3
  71. package/dist/src/services/BridgeService.js.map +1 -1
  72. package/dist/src/services/FilesystemService.d.ts +1 -1
  73. package/dist/src/services/FilesystemService.js +2 -2
  74. package/dist/src/services/declaredSources.d.ts +9 -3
  75. package/dist/src/services/declaredSources.d.ts.map +1 -1
  76. package/dist/src/services/declaredSources.js +2 -1
  77. package/dist/src/services/declaredSources.js.map +1 -1
  78. package/dist/src/tools/execCtx.d.ts +2 -2
  79. package/dist/src/tools/execCtx.js +2 -2
  80. package/dist/src/tools/fs_read.d.ts.map +1 -1
  81. package/dist/src/tools/fs_read.js +5 -0
  82. package/dist/src/tools/fs_read.js.map +1 -1
  83. package/dist/src/usecases/embeddingBacklog.js +1 -1
  84. package/dist/src/usecases/embeddingBacklog.js.map +1 -1
  85. package/dist/src/usecases/readFiles.d.ts.map +1 -1
  86. package/dist/src/usecases/readFiles.js +84 -1
  87. package/dist/src/usecases/readFiles.js.map +1 -1
  88. package/dist/src/usecases/syncPointWrites.d.ts +2 -0
  89. package/dist/src/usecases/syncPointWrites.d.ts.map +1 -1
  90. package/dist/src/usecases/syncPointWrites.js +5 -1
  91. package/dist/src/usecases/syncPointWrites.js.map +1 -1
  92. package/dist/src/usecases/vectorMaintenance.js +1 -1
  93. package/dist/src/usecases/vectorMaintenance.js.map +1 -1
  94. package/dist/src/usecases/write/content.js +1 -1
  95. package/dist/tools/fs_list.json +1 -1
  96. package/dist/tools/fs_read.json +1 -1
  97. package/dist/tools/fs_search.json +1 -1
  98. package/dist/tools/fs_write.json +1 -1
  99. package/instructions/brain-model.md +1 -1
  100. package/package.json +70 -63
  101. package/rules/brain-rules.md +2 -2
  102. package/skills/brain-start/SKILL.md +1 -1
  103. package/skills/connect-business-data/SKILL.md +1 -1
  104. package/skills/create-package/SKILL.md +8 -8
  105. package/skills/create-package/references/connectors-and-uri-policies.md +7 -2
  106. package/skills/create-package/references/runtime-and-build.md +1 -1
  107. package/skills/create-package/references/skills-and-context.md +1 -1
  108. package/skills/create-package/references/test-and-ship.md +4 -4
  109. package/skills/create-package/scripts/check-package.sh +1 -1
  110. package/skills/git/SKILL.md +23 -23
  111. package/skills/manage-files/SKILL.md +13 -13
  112. package/skills/manage-files/scripts/upload.sh +1 -1
  113. package/skills/manage-sources/SKILL.md +55 -54
  114. package/skills/manage-sources/scripts/reembed.sh +1 -1
  115. package/skills/manage-uri-policy/SKILL.md +9 -9
  116. package/skills/organize/SKILL.md +1 -1
  117. package/skills/sync/SKILL.md +2 -2
  118. package/tools/fs_list.json +1 -1
  119. package/tools/fs_read.json +1 -1
  120. package/tools/fs_search.json +1 -1
  121. package/tools/fs_write.json +1 -1
  122. package/workflows/sources-digest.json +1 -1
  123. package/docs/drive-overview.md +0 -59
@@ -9,6 +9,6 @@
9
9
  import type { ChannelSubscribeHandler } from '@neuralis/package-system/contracts';
10
10
  export declare const channel = "filesystem";
11
11
  /** The feature of the route this channel mirrors (`routes/events.ts`). */
12
- export declare const feature = "drive.read";
12
+ export declare const feature = "files.read";
13
13
  export declare const subscribe: ChannelSubscribeHandler;
14
14
  //# sourceMappingURL=filesystem.d.ts.map
@@ -9,7 +9,7 @@
9
9
  import { subscribeFilesystemEventsImpl } from '../routes/helpers.js';
10
10
  export const channel = 'filesystem';
11
11
  /** The feature of the route this channel mirrors (`routes/events.ts`). */
12
- export const feature = 'drive.read';
12
+ export const feature = 'files.read';
13
13
  export const subscribe = async (session, params, emit, state) => {
14
14
  if (params.agentIds.length === 0)
15
15
  return () => { };
@@ -16,7 +16,7 @@
16
16
  *
17
17
  * ## The rule the policy encodes
18
18
  *
19
- * A member with `drive.write` can put arbitrary bytes at a URI another member
19
+ * A member with `files.write` can put arbitrary bytes at a URI another member
20
20
  * can read. If the byte lane then serves those bytes as a DOCUMENT on the app
21
21
  * origin (`content-type: image/svg+xml` + `content-disposition: inline`), the
22
22
  * document's script runs with the READER's session. That is a stored-XSS
@@ -67,7 +67,7 @@
67
67
  * multipart part type), by the write engine's create lane (the caller's
68
68
  * `fields.metadata`), and by its `fields` verb (a metadata PATCH — historically
69
69
  * the least guarded of the three, because the deleted `modify` route excluded
70
- * `set_fields` from the uri-policy check). All three are `drive.write`. `normalizeStoredMimeType` and
70
+ * `set_fields` from the uri-policy check). All three are `files.write`. `normalizeStoredMimeType` and
71
71
  * `normalizeNodeMetadataMime` below close all three; each one left open keeps
72
72
  * the classification input caller-controlled. The first round of this fix closed
73
73
  * only ONE, the architect's review found the second, and the live run found the
@@ -159,7 +159,7 @@ export declare function normalizeStoredMimeType(declared: string | undefined, fi
159
159
  *
160
160
  * `metadata.mimeType` has THREE writers — the byte lane (the multipart part
161
161
  * type), the write engine's create lane and its `fields` verb. All are
162
- * `drive.write`, a MEMBER default on the seeded `data` source, and the field is
162
+ * `files.write`, a MEMBER default on the seeded `data` source, and the field is
163
163
  * the FIRST thing `loadRawBytes` reads — i.e. the input the byte lane's
164
164
  * classifier rules on. Normalizing only one writer leaves that input
165
165
  * caller-controlled, so all three go through here. The `fields` verb
@@ -16,7 +16,7 @@
16
16
  *
17
17
  * ## The rule the policy encodes
18
18
  *
19
- * A member with `drive.write` can put arbitrary bytes at a URI another member
19
+ * A member with `files.write` can put arbitrary bytes at a URI another member
20
20
  * can read. If the byte lane then serves those bytes as a DOCUMENT on the app
21
21
  * origin (`content-type: image/svg+xml` + `content-disposition: inline`), the
22
22
  * document's script runs with the READER's session. That is a stored-XSS
@@ -67,7 +67,7 @@
67
67
  * multipart part type), by the write engine's create lane (the caller's
68
68
  * `fields.metadata`), and by its `fields` verb (a metadata PATCH — historically
69
69
  * the least guarded of the three, because the deleted `modify` route excluded
70
- * `set_fields` from the uri-policy check). All three are `drive.write`. `normalizeStoredMimeType` and
70
+ * `set_fields` from the uri-policy check). All three are `files.write`. `normalizeStoredMimeType` and
71
71
  * `normalizeNodeMetadataMime` below close all three; each one left open keeps
72
72
  * the classification input caller-controlled. The first round of this fix closed
73
73
  * only ONE, the architect's review found the second, and the live run found the
@@ -280,7 +280,7 @@ export function normalizeStoredMimeType(declared, filename, bytes) {
280
280
  *
281
281
  * `metadata.mimeType` has THREE writers — the byte lane (the multipart part
282
282
  * type), the write engine's create lane and its `fields` verb. All are
283
- * `drive.write`, a MEMBER default on the seeded `data` source, and the field is
283
+ * `files.write`, a MEMBER default on the seeded `data` source, and the field is
284
284
  * the FIRST thing `loadRawBytes` reads — i.e. the input the byte lane's
285
285
  * classifier rules on. Normalizing only one writer leaves that input
286
286
  * caller-controlled, so all three go through here. The `fields` verb
@@ -17,8 +17,8 @@ export declare function scopeAccessCtxFromExecution(ctx: ExecutionContext): Scop
17
17
  * Synthesize the per-record owner scope used by the pending-change floor.
18
18
  * `canAccessScope` does NOT isolate per-user on a project-kind source (true for
19
19
  * every member), so a `{kind:'user', userId}` scope makes the ONE shared
20
- * predicate yield exactly "own record OR a `filesystem.observeScoped` /
21
- * `modifyScoped` HOLDER" — the grant decides, not the role NAME (D-A removed
20
+ * predicate yield exactly "own record OR a `files.readOthers` /
21
+ * `files.writeOthers` HOLDER" — the grant decides, not the role NAME (D-A removed
22
22
  * `canAccessScope`'s role-name conjunct, so a custom role granted the feature
23
23
  * passes exactly like the seeded `owner`/`admin`). The `' __no_owner__'`
24
24
  * sentinel (a leading space ⇒ an impossible real userId) fences an ownerless
@@ -23,8 +23,8 @@ export function scopeAccessCtxFromExecution(ctx) {
23
23
  * Synthesize the per-record owner scope used by the pending-change floor.
24
24
  * `canAccessScope` does NOT isolate per-user on a project-kind source (true for
25
25
  * every member), so a `{kind:'user', userId}` scope makes the ONE shared
26
- * predicate yield exactly "own record OR a `filesystem.observeScoped` /
27
- * `modifyScoped` HOLDER" — the grant decides, not the role NAME (D-A removed
26
+ * predicate yield exactly "own record OR a `files.readOthers` /
27
+ * `files.writeOthers` HOLDER" — the grant decides, not the role NAME (D-A removed
28
28
  * `canAccessScope`'s role-name conjunct, so a custom role granted the feature
29
29
  * passes exactly like the seeded `owner`/`admin`). The `' __no_owner__'`
30
30
  * sentinel (a leading space ⇒ an impossible real userId) fences an ownerless
@@ -245,7 +245,14 @@ export type ReadFilesResponse = {
245
245
  createdAt?: string;
246
246
  updatedAt?: string;
247
247
  content?: string;
248
- readSource?: 'brain' | 'live';
248
+ /**
249
+ * Where the content came from: the index (`brain`), the connector (`live`),
250
+ * or the INDEXED copy of a file whose source is offline (`index` — an
251
+ * offline paired device's text, up to what the index holds).
252
+ */
253
+ readSource?: 'brain' | 'live' | 'index';
254
+ /** `readSource: 'index'` only: the indexed copy is shorter than the file was. */
255
+ truncated?: boolean;
249
256
  version?: FileVersionInfo;
250
257
  selected_version?: 'current' | 'baseline';
251
258
  available_versions?: Array<'current' | 'baseline'>;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/domain/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACxC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAE3E;;;GAGG;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC;AAEhC,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,eAAe,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,+CAA+C;IAC/C,SAAS,EAAE,MAAM,CAAC;IAClB,yDAAyD;IACzD,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,iDAAiD;IACjD,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,wEAAwE;IACxE,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,+DAA+D;IAC/D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mEAAmE;IACnE,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,iFAAiF;IACjF,QAAQ,CAAC,EAAE;QACT,YAAY,EAAE,MAAM,CAAC;QACrB,OAAO,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;QAC1C,SAAS,EAAE,MAAM,CAAC;QAClB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MAAM,CAAC;IACd;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,KAAK,CAAC,EAAE,KAAK,CAAC;CACf,CAAC;AAEN;;;;;;;;GAQG;AACH,MAAM,MAAM,YAAY,GAAG,OAAO,GAAG,QAAQ,GAAG,WAAW,GAAG,eAAe,CAAC;AAE9E,MAAM,MAAM,mBAAmB,GAAG;IAChC,kFAAkF;IAClF,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnC,4EAA4E;IAC5E,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,IAAI,EAAE;QACJ,YAAY,EAAE,MAAM,CAAC;QACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,KAAK,EAAE,UAAU,CAAC;QAClB,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,EAAE,EAAE,IAAI,CAAC;IACT,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,KAAK,CAAC;CACf,CAAC"}
@@ -17,7 +17,7 @@
17
17
  * `pending:changed` re-count debounce.
18
18
  *
19
19
  * `visible`: a role-holding member of the event's project — the declaration's
20
- * `requires.features` (`drive.read`, the pending route's feature) is checked by
20
+ * `requires.features` (`files.read`, the pending route's feature) is checked by
21
21
  * the host before this runs. Content-free, so nothing else is needed to judge
22
22
  * it; the list behind the `nav` re-applies every per-record gate.
23
23
  *
@@ -17,7 +17,7 @@
17
17
  * `pending:changed` re-count debounce.
18
18
  *
19
19
  * `visible`: a role-holding member of the event's project — the declaration's
20
- * `requires.features` (`drive.read`, the pending route's feature) is checked by
20
+ * `requires.features` (`files.read`, the pending route's feature) is checked by
21
21
  * the host before this runs. Content-free, so nothing else is needed to judge
22
22
  * it; the list behind the `nav` re-applies every per-record gate.
23
23
  *
@@ -444,7 +444,7 @@ export declare function getSourceGitSummary(resolvedRoot: string, gitBin?: strin
444
444
  * owner gains write via `byRole`/`byUser`). PURE (no git I/O) → O(1)/source, safe on
445
445
  * the hot list path. Deny-by-default: false unless BOTH planes allow.
446
446
  *
447
- * canWrite = caller HAS `drive.write` (the file-level FEATURE, same predicate as
447
+ * canWrite = caller HAS `files.write` (the file-level FEATURE, same predicate as
448
448
  * the route `denyIfNoWrite`) ∧ the caller's RESOLVED uri-policy
449
449
  * `write` on the source ROOT `<slug>://` is allowed.
450
450
  */
@@ -457,7 +457,7 @@ export declare function resolveGitCanWrite(permissions: HierarchicalPermissions,
457
457
  * ROOT `<slug>://`, exactly what the remote-op route gates on
458
458
  * (`resolveGitSource({capability:'exec'})`). Drives whether the panel enables
459
459
  * the fetch/pull/push popover vs the "grant exec" affordance. Unlike canWrite it
460
- * does NOT gate the `drive.write` FEATURE (the route + the panel's canWrite
460
+ * does NOT gate the `files.write` FEATURE (the route + the panel's canWrite
461
461
  * trigger gate that separately) — it reflects ONLY the exec policy so the
462
462
  * affordance is precise. PURE (no git I/O). Deny-by-default: `exec:false`
463
463
  * baseline out of the box.
@@ -802,12 +802,12 @@ async function computeSummaryUncached(resolvedRoot, gitBin) {
802
802
  * owner gains write via `byRole`/`byUser`). PURE (no git I/O) → O(1)/source, safe on
803
803
  * the hot list path. Deny-by-default: false unless BOTH planes allow.
804
804
  *
805
- * canWrite = caller HAS `drive.write` (the file-level FEATURE, same predicate as
805
+ * canWrite = caller HAS `files.write` (the file-level FEATURE, same predicate as
806
806
  * the route `denyIfNoWrite`) ∧ the caller's RESOLVED uri-policy
807
807
  * `write` on the source ROOT `<slug>://` is allowed.
808
808
  */
809
809
  export function resolveGitCanWrite(permissions, source, createdBy, caller) {
810
- if (!hasFeature({ grantedFeatures: caller.grantedFeatures ?? [] }, 'drive.write'))
810
+ if (!hasFeature({ grantedFeatures: caller.grantedFeatures ?? [] }, 'files.write'))
811
811
  return false;
812
812
  return (resolvePermissions(permissions, `${source}://`, {
813
813
  userId: caller.userId,
@@ -825,7 +825,7 @@ export function resolveGitCanWrite(permissions, source, createdBy, caller) {
825
825
  * ROOT `<slug>://`, exactly what the remote-op route gates on
826
826
  * (`resolveGitSource({capability:'exec'})`). Drives whether the panel enables
827
827
  * the fetch/pull/push popover vs the "grant exec" affordance. Unlike canWrite it
828
- * does NOT gate the `drive.write` FEATURE (the route + the panel's canWrite
828
+ * does NOT gate the `files.write` FEATURE (the route + the panel's canWrite
829
829
  * trigger gate that separately) — it reflects ONLY the exec policy so the
830
830
  * affordance is precise. PURE (no git I/O). Deny-by-default: `exec:false`
831
831
  * baseline out of the box.
@@ -67,7 +67,7 @@ export type BrainCoreApi = {
67
67
  * per source (local kinds: a single `fs.access`; webtop: in-memory session
68
68
  * lookup) — NO live walk / vector count — so it is safe to call once per
69
69
  * stream without hurting time-to-first-token. Scope + feature filtered
70
- * (`canAccessScope` → `filesystem.observeScoped` for user/agent-scoped
70
+ * (`canAccessScope` → `files.readOthers` for user/agent-scoped
71
71
  * sources), deny-by-default.
72
72
  */
73
73
  listSourceRuntimeSummaries: (projectId: string, opts: SourceRuntimeSummaryOptions) => Promise<SourceRuntimeSummary[]>;
@@ -1,5 +1,5 @@
1
1
  import type { RouteHandler } from '@neuralis/package-system/contracts';
2
2
  export declare const pattern = "approve";
3
- export declare const feature = "drive.write";
3
+ export declare const feature = "files.write";
4
4
  export declare const POST: RouteHandler;
5
5
  //# sourceMappingURL=approve.d.ts.map
@@ -1,7 +1,7 @@
1
1
  import { SourcePermissionDeniedError } from '../domain/sourceConfig.js';
2
2
  import { extractCtx, ensureAccess, getServices } from './helpers.js';
3
3
  export const pattern = 'approve';
4
- export const feature = 'drive.write';
4
+ export const feature = 'files.write';
5
5
  export const POST = async (req, raw) => {
6
6
  const state = raw;
7
7
  const ctx = extractCtx(req);
@@ -1,5 +1,5 @@
1
1
  import type { RouteHandler } from '@neuralis/package-system/contracts';
2
2
  export declare const pattern = "events";
3
- export declare const feature = "drive.read";
3
+ export declare const feature = "files.read";
4
4
  export declare const GET: RouteHandler;
5
5
  //# sourceMappingURL=events.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import { extractCtx, ensureAccess, subscribeFilesystemEventsImpl } from './helpers.js';
2
2
  export const pattern = 'events';
3
- export const feature = 'drive.read';
3
+ export const feature = 'files.read';
4
4
  const HEARTBEAT_MS = 25_000;
5
5
  export const GET = async (req, raw) => {
6
6
  const state = raw;
@@ -3,7 +3,7 @@
3
3
  * "Git Control" sidebar panel, branch-switcher, side-by-side diff, and the
4
4
  * in-panel commit graph.
5
5
  *
6
- * READ routes (GET, `drive.read`-gated):
6
+ * READ routes (GET, `files.read`-gated):
7
7
  * GET /git/status?source=<slug> — the WHOLE-repo change-set (staged /
8
8
  * unstaged / untracked) + current branch +
9
9
  * upstream/ahead/behind when an upstream
@@ -75,7 +75,7 @@
75
75
  * including the hunk-extracted ones. Without `repo` everything is
76
76
  * byte-identical to the single-repo behavior.
77
77
  *
78
- * WRITE routes (POST, additionally `drive.write`-gated — G2.3):
78
+ * WRITE routes (POST, additionally `files.write`-gated — G2.3):
79
79
  * POST /git/stage {source, paths?[], hunk?} — whole-file `add` OR hunk
80
80
  * `apply --cached`.
81
81
  * POST /git/unstage {source, paths?[], hunk?} — whole-file `reset -- <p>`
@@ -90,7 +90,7 @@
90
90
  * (plain, non-force — git refuses
91
91
  * if it would overwrite local changes).
92
92
  *
93
- * REMOTE routes (POST, `drive.write` + uri-policy `exec` — G4 keyring-kestrel Slice 2):
93
+ * REMOTE routes (POST, `files.write` + uri-policy `exec` — G4 keyring-kestrel Slice 2):
94
94
  * POST /git/fetch {source} — `git fetch origin` (updates remote-tracking refs).
95
95
  * POST /git/pull {source} — `fetch` + `merge --ff-only FETCH_HEAD` (S4: token
96
96
  * never rides the working-tree-writing merge).
@@ -114,7 +114,7 @@
114
114
  * composed ONCE in the resolver, threaded into `guardWritePaths` (incl.
115
115
  * hunk-extracted paths) so no gate site can drift (MAJOR-B).
116
116
  * - WRITE is the HUMAN face: the caller's authenticated session IS the consent
117
- * (uri-policy `write` + the `drive.write` feature). The agent-approval
117
+ * (uri-policy `write` + the `files.write` feature). The agent-approval
118
118
  * `PendingInteraction` ladder is a SEPARATE later increment (G3) — NOT here.
119
119
  * A synthetic/agent sentinel identity is rejected upstream (catch-all boundary).
120
120
  * - Q6 SECURITY FLOOR: before ANY destructive op (discard, branch -D) the SERVER
@@ -134,13 +134,13 @@
134
134
  import type { RouteHandler } from '@neuralis/package-system/contracts';
135
135
  import { type GitBranchInfo } from '../git/GitRunner.js';
136
136
  export declare const pattern = "git/*";
137
- export declare const feature = "drive.read";
137
+ export declare const feature = "files.read";
138
138
  export declare const escalations: string[];
139
139
  export declare const GET: RouteHandler;
140
140
  /**
141
141
  * WRITE routes (G2.3) — the HUMAN face of the git engine. Dispatched on
142
- * `req.path[0]`. Each handler additionally gates `drive.write` (the file-level
143
- * `feature` only guarantees `drive.read`) and the uri-policy `write` capability,
142
+ * `req.path[0]`. Each handler additionally gates `files.write` (the file-level
143
+ * `feature` only guarantees `files.read`) and the uri-policy `write` capability,
144
144
  * auto-snapshots before a destructive op (Q6), and publishes the IN-APP badge
145
145
  * with the actor's real identity (N3) on success.
146
146
  */
@@ -3,7 +3,7 @@
3
3
  * "Git Control" sidebar panel, branch-switcher, side-by-side diff, and the
4
4
  * in-panel commit graph.
5
5
  *
6
- * READ routes (GET, `drive.read`-gated):
6
+ * READ routes (GET, `files.read`-gated):
7
7
  * GET /git/status?source=<slug> — the WHOLE-repo change-set (staged /
8
8
  * unstaged / untracked) + current branch +
9
9
  * upstream/ahead/behind when an upstream
@@ -75,7 +75,7 @@
75
75
  * including the hunk-extracted ones. Without `repo` everything is
76
76
  * byte-identical to the single-repo behavior.
77
77
  *
78
- * WRITE routes (POST, additionally `drive.write`-gated — G2.3):
78
+ * WRITE routes (POST, additionally `files.write`-gated — G2.3):
79
79
  * POST /git/stage {source, paths?[], hunk?} — whole-file `add` OR hunk
80
80
  * `apply --cached`.
81
81
  * POST /git/unstage {source, paths?[], hunk?} — whole-file `reset -- <p>`
@@ -90,7 +90,7 @@
90
90
  * (plain, non-force — git refuses
91
91
  * if it would overwrite local changes).
92
92
  *
93
- * REMOTE routes (POST, `drive.write` + uri-policy `exec` — G4 keyring-kestrel Slice 2):
93
+ * REMOTE routes (POST, `files.write` + uri-policy `exec` — G4 keyring-kestrel Slice 2):
94
94
  * POST /git/fetch {source} — `git fetch origin` (updates remote-tracking refs).
95
95
  * POST /git/pull {source} — `fetch` + `merge --ff-only FETCH_HEAD` (S4: token
96
96
  * never rides the working-tree-writing merge).
@@ -114,7 +114,7 @@
114
114
  * composed ONCE in the resolver, threaded into `guardWritePaths` (incl.
115
115
  * hunk-extracted paths) so no gate site can drift (MAJOR-B).
116
116
  * - WRITE is the HUMAN face: the caller's authenticated session IS the consent
117
- * (uri-policy `write` + the `drive.write` feature). The agent-approval
117
+ * (uri-policy `write` + the `files.write` feature). The agent-approval
118
118
  * `PendingInteraction` ladder is a SEPARATE later increment (G3) — NOT here.
119
119
  * A synthetic/agent sentinel identity is rejected upstream (catch-all boundary).
120
120
  * - Q6 SECURITY FLOOR: before ANY destructive op (discard, branch -D) the SERVER
@@ -145,10 +145,10 @@ import { resolveGitToken } from '../git/tokenResolve.js';
145
145
  import { extractCtx, ensureAccess, getServices, toScopeAccessCtx, publishInAppGitBadge, } from './helpers.js';
146
146
  import { assertUriCapability, uriPolicyDeniedResponse, UriPolicyDeniedError, } from './helpers/uriGuard.js';
147
147
  export const pattern = 'git/*';
148
- export const feature = 'drive.read';
148
+ export const feature = 'files.read';
149
149
  // The mutating op-class escalates in-handler (`denyIfNoWrite`, and the per-row
150
150
  // `canWrite` projection); the module gate only guarantees the read tier.
151
- export const escalations = ['drive.write'];
151
+ export const escalations = ['files.write'];
152
152
  /** Max change-set entries returned across all three buckets (response size cap). */
153
153
  const MAX_STATUS_ENTRIES = 1000;
154
154
  /**
@@ -221,8 +221,8 @@ export const GET = async (req, raw) => {
221
221
  };
222
222
  /**
223
223
  * WRITE routes (G2.3) — the HUMAN face of the git engine. Dispatched on
224
- * `req.path[0]`. Each handler additionally gates `drive.write` (the file-level
225
- * `feature` only guarantees `drive.read`) and the uri-policy `write` capability,
224
+ * `req.path[0]`. Each handler additionally gates `files.write` (the file-level
225
+ * `feature` only guarantees `files.read`) and the uri-policy `write` capability,
226
226
  * auto-snapshots before a destructive op (Q6), and publishes the IN-APP badge
227
227
  * with the actor's real identity (N3) on success.
228
228
  */
@@ -932,7 +932,7 @@ async function handleGitRepos(req, state) {
932
932
  }
933
933
  /**
934
934
  * Per-repo write capability for a `/git/repos` row (MAJOR-C tail) — the SAME
935
- * two-plane gate as `resolveGitCanWrite` (the caller must HOLD `drive.write`
935
+ * two-plane gate as `resolveGitCanWrite` (the caller must HOLD `files.write`
936
936
  * AND the resolved uri-policy `write` must allow), evaluated at the REPO
937
937
  * granularity `<slug>://<repo>/`: root-level canWrite is the wrong
938
938
  * granularity in both directions — a `<repo>/**` write-deny must flip that
@@ -949,7 +949,7 @@ function resolveRepoCanWrite(resolved, rel) {
949
949
  return false;
950
950
  if (rel === '')
951
951
  return resolveGitCanWrite(permissions, source, createdBy, ctx);
952
- if (!hasFeature({ grantedFeatures: ctx.grantedFeatures }, 'drive.write'))
952
+ if (!hasFeature({ grantedFeatures: ctx.grantedFeatures }, 'files.write'))
953
953
  return false;
954
954
  return (resolvePermissions(permissions, `${source}://${rel}/`, {
955
955
  userId: ctx.userId,
@@ -965,7 +965,7 @@ function resolveRepoCanWrite(resolved, rel) {
965
965
  * Per-repo REMOTE-op capability (NIT-2) — the uri-policy `exec` capability at
966
966
  * the repo granularity `<slug>://[<rel>/]`, exactly what the remote-op route
967
967
  * gates on (`resolveGitSource({capability:'exec'})`). Unlike canWrite this does
968
- * NOT gate `drive.write` (the route gates that separately) — it reflects ONLY
968
+ * NOT gate `files.write` (the route gates that separately) — it reflects ONLY
969
969
  * whether `exec` is granted, so the panel can show a precise "grant exec to
970
970
  * enable remote ops" affordance. PURE — no git I/O.
971
971
  */
@@ -1035,7 +1035,7 @@ function filterReadableChanges(resolved, rows) {
1035
1035
  });
1036
1036
  }
1037
1037
  // ---------------------------------------------------------------------------
1038
- // WRITE handlers (G2.3) — the HUMAN face; each gates `drive.write` + uri-policy
1038
+ // WRITE handlers (G2.3) — the HUMAN face; each gates `files.write` + uri-policy
1039
1039
  // `write`, and returns { ok:true, ... } / a structured error.
1040
1040
  // ---------------------------------------------------------------------------
1041
1041
  async function handleStage(req, state) {
@@ -1287,7 +1287,7 @@ async function handleCheckout(req, state) {
1287
1287
  * - `{kind:'branch', ref:<anchor>, name}` → `git branch <name> <anchor>`
1288
1288
  * (recreate a deleted branch; NON-force → git 409s on an existing name, never
1289
1289
  * clobbers a live branch).
1290
- * Gated EXACTLY like the other writes: `drive.write` + uri-policy `write` (root) —
1290
+ * Gated EXACTLY like the other writes: `files.write` + uri-policy `write` (root) —
1291
1291
  * NO new capability, NO exec, NO per-path gate (stash-apply is whole-WT), NO
1292
1292
  * `PendingInteraction` (a human-consent WRITE route). The caller-echoed
1293
1293
  * `ref`/`name` are `#guardRef`-validated at the GitRunner boundary (m4). A
@@ -1351,7 +1351,7 @@ const GIT_REMOTE = 'origin';
1351
1351
  * POST /git/fetch | /git/pull | /git/push — the network-reaching git ops
1352
1352
  * (G4 keyring-kestrel Slice 2). The security-heaviest git surface:
1353
1353
  *
1354
- * 1. `drive.write` (feature) + uri-policy `exec` on the SOURCE ROOT
1354
+ * 1. `files.write` (feature) + uri-policy `exec` on the SOURCE ROOT
1355
1355
  * (`capability:'exec'`) — remote ops are exec-class, deny-by-default
1356
1356
  * (`exec:false` out of the box → 403 with the D4 grant-exec affordance).
1357
1357
  * 2. Derive the remote HOST server-side from the checkout's `origin` URL
@@ -1470,17 +1470,17 @@ async function handleRemoteOp(req, state, op) {
1470
1470
  // WRITE helpers
1471
1471
  // ---------------------------------------------------------------------------
1472
1472
  /**
1473
- * The `drive.write` feature gate for every WRITE route. Checked FIRST (before the
1473
+ * The `files.write` feature gate for every WRITE route. Checked FIRST (before the
1474
1474
  * source is resolved) so a write-lacking caller gets a UNIFORM 403 regardless of
1475
1475
  * whether the source exists — no existence inference. The file-level `feature`
1476
- * export only guarantees `drive.read`; the mutation op-class needs `drive.write`.
1476
+ * export only guarantees `files.read`; the mutation op-class needs `files.write`.
1477
1477
  */
1478
1478
  function denyIfNoWrite(req) {
1479
- if (hasFeature(req.session, 'drive.write'))
1479
+ if (hasFeature(req.session, 'files.write'))
1480
1480
  return null;
1481
1481
  return {
1482
1482
  status: 403,
1483
- body: { error: "Forbidden: missing feature 'drive.write'", code: 'feature_denied', feature: 'drive.write' },
1483
+ body: { error: "Forbidden: missing feature 'files.write'", code: 'feature_denied', feature: 'files.write' },
1484
1484
  };
1485
1485
  }
1486
1486
  /**
@@ -2,14 +2,14 @@
2
2
  * Vector-index health.
3
3
  *
4
4
  * TWO TIERS, and the second one is hand-coded. The module feature is
5
- * `drive.read` — a `viewer` default — because the bare path and `scan` are
5
+ * `files.read` — a `viewer` default — because the bare path and `scan` are
6
6
  * pure reads. The `gc` sub-path is not: it runs `garbageCollect` /
7
7
  * `repairOrphans`, whose `dryRun` DEFAULTS TO FALSE, so an un-parameterised
8
8
  * call really deletes the project's `deleted` vector points. It therefore
9
- * escalates in-handler to `drive.write` (`escalations` below) and answers a
10
- * caller without it with 403 `Missing feature: drive.write (vector health
9
+ * escalates in-handler to `files.write` (`escalations` below) and answers a
10
+ * caller without it with 403 `Missing feature: files.write (vector health
11
11
  * repair)`, exactly as the sibling `policies` route escalates to
12
- * `drive.policy`. Its `repair-pending` action runs on the CALLER's context (the
12
+ * `sources.policy`. Its `repair-pending` action runs on the CALLER's context (the
13
13
  * per-record pending floor), not the project scope the vector passes use.
14
14
  * `ensureAccess` is the orthogonal SCOPE axis (which agent),
15
15
  * never a write-feature gate — it cannot stand in for this one.
@@ -20,7 +20,7 @@
20
20
  *
21
21
  * The `hot-uris` sub-path (the vector write monitor) is a read, but it names
22
22
  * files across the project's users and agents, so it takes the SAME
23
- * `drive.write` tier and then filters per uri for the caller
23
+ * `files.write` tier and then filters per uri for the caller
24
24
  * (`usecases/writeMonitor.ts` `listHotUris`): source scope, the uri READ
25
25
  * policy, and agent isolation for `brain://`.
26
26
  *
@@ -36,7 +36,7 @@
36
36
  */
37
37
  import type { RouteHandler } from '@neuralis/package-system/contracts';
38
38
  export declare const pattern = "health/*";
39
- export declare const feature = "drive.read";
39
+ export declare const feature = "files.read";
40
40
  export declare const escalations: string[];
41
41
  export declare const GET: RouteHandler;
42
42
  export declare const POST: RouteHandler;
@@ -2,14 +2,14 @@
2
2
  * Vector-index health.
3
3
  *
4
4
  * TWO TIERS, and the second one is hand-coded. The module feature is
5
- * `drive.read` — a `viewer` default — because the bare path and `scan` are
5
+ * `files.read` — a `viewer` default — because the bare path and `scan` are
6
6
  * pure reads. The `gc` sub-path is not: it runs `garbageCollect` /
7
7
  * `repairOrphans`, whose `dryRun` DEFAULTS TO FALSE, so an un-parameterised
8
8
  * call really deletes the project's `deleted` vector points. It therefore
9
- * escalates in-handler to `drive.write` (`escalations` below) and answers a
10
- * caller without it with 403 `Missing feature: drive.write (vector health
9
+ * escalates in-handler to `files.write` (`escalations` below) and answers a
10
+ * caller without it with 403 `Missing feature: files.write (vector health
11
11
  * repair)`, exactly as the sibling `policies` route escalates to
12
- * `drive.policy`. Its `repair-pending` action runs on the CALLER's context (the
12
+ * `sources.policy`. Its `repair-pending` action runs on the CALLER's context (the
13
13
  * per-record pending floor), not the project scope the vector passes use.
14
14
  * `ensureAccess` is the orthogonal SCOPE axis (which agent),
15
15
  * never a write-feature gate — it cannot stand in for this one.
@@ -20,7 +20,7 @@
20
20
  *
21
21
  * The `hot-uris` sub-path (the vector write monitor) is a read, but it names
22
22
  * files across the project's users and agents, so it takes the SAME
23
- * `drive.write` tier and then filters per uri for the caller
23
+ * `files.write` tier and then filters per uri for the caller
24
24
  * (`usecases/writeMonitor.ts` `listHotUris`): source scope, the uri READ
25
25
  * policy, and agent isolation for `brain://`.
26
26
  *
@@ -43,10 +43,10 @@ import { buildRebuildDeps } from '../usecases/vector/rebuildGeneration.js';
43
43
  import { resolveNeuralisHome } from '@neuralis/package-system/paths';
44
44
  import { extractCtx, ensureAccess, getServices } from './helpers.js';
45
45
  export const pattern = 'health/*';
46
- export const feature = 'drive.read';
47
- // The `gc` and `hot-uris` sub-paths escalate in-handler to `drive.write`, the
46
+ export const feature = 'files.read';
47
+ // The `gc` and `hot-uris` sub-paths escalate in-handler to `files.write`, the
48
48
  // `collection` sub-path to `platform.vector.maintain`; the module gate is the read tier.
49
- export const escalations = ['drive.write', 'platform.vector.maintain'];
49
+ export const escalations = ['files.write', 'platform.vector.maintain'];
50
50
  const MAINTAIN_FEATURE = 'platform.vector.maintain';
51
51
  export const GET = async (req, raw) => {
52
52
  const state = raw;
@@ -61,8 +61,8 @@ export const GET = async (req, raw) => {
61
61
  };
62
62
  }
63
63
  if (sub === 'hot-uris') {
64
- if (!hasFeature({ grantedFeatures: ctx.grantedFeatures }, 'drive.write')) {
65
- return { status: 403, body: { error: 'Missing feature: drive.write (vector write monitor)' } };
64
+ if (!hasFeature({ grantedFeatures: ctx.grantedFeatures }, 'files.write')) {
65
+ return { status: 403, body: { error: 'Missing feature: files.write (vector write monitor)' } };
66
66
  }
67
67
  return handleHotUris(ctx, state);
68
68
  }
@@ -86,8 +86,8 @@ export const POST = async (req, raw) => {
86
86
  await ensureAccess(ctx, state);
87
87
  const [sub] = req.path;
88
88
  if (sub === 'gc') {
89
- if (!hasFeature({ grantedFeatures: ctx.grantedFeatures }, 'drive.write')) {
90
- return { status: 403, body: { error: 'Missing feature: drive.write (vector health repair)' } };
89
+ if (!hasFeature({ grantedFeatures: ctx.grantedFeatures }, 'files.write')) {
90
+ return { status: 403, body: { error: 'Missing feature: files.write (vector health repair)' } };
91
91
  }
92
92
  try {
93
93
  return await handleHealthGc(req, ctx, state);
@@ -14,7 +14,7 @@
14
14
  * - **The suggestion list is the caller's OWN visible set**, resolved through
15
15
  * `FilesystemService.listAccessibleSourceNames` (`canAccessScope` +
16
16
  * source-level read + enabled). A raw `sourceConfigs.list()` here would make
17
- * a `drive.read` error body a cross-scope source enumerator — strictly worse
17
+ * a `files.read` error body a cross-scope source enumerator — strictly worse
18
18
  * than the 500 it replaces. Live-verified across two identities and two
19
19
  * projects, including a cache-poisoning attempt: 13 probes, zero leaks.
20
20
  * - **`nextStep` stays an enum TOKEN**, like `SourceDisabledError.nextStep`.
@@ -14,7 +14,7 @@
14
14
  * - **The suggestion list is the caller's OWN visible set**, resolved through
15
15
  * `FilesystemService.listAccessibleSourceNames` (`canAccessScope` +
16
16
  * source-level read + enabled). A raw `sourceConfigs.list()` here would make
17
- * a `drive.read` error body a cross-scope source enumerator — strictly worse
17
+ * a `files.read` error body a cross-scope source enumerator — strictly worse
18
18
  * than the 500 it replaces. Live-verified across two identities and two
19
19
  * projects, including a cache-poisoning attempt: 13 probes, zero leaks.
20
20
  * - **`nextStep` stays an enum TOKEN**, like `SourceDisabledError.nextStep`.
@@ -106,7 +106,7 @@ export declare function httpError(status: number, message: string): Error & {
106
106
  * Without it the WHOLE open-shape `connection.config` is withheld — never a
107
107
  * `root`/`hostRoot` denylist, because a later root-bearing kind carries its
108
108
  * path under a key no list names.
109
- * - `maySeeSyncErrors`: the caller holds `drive.sync`. The raw last-sync error
109
+ * - `maySeeSyncErrors`: the caller holds `sources.sync`. The raw last-sync error
110
110
  * names files (URIs the caller may not read) and container paths, so below
111
111
  * that tier a fixed text only says the run failed — never a variant scrubbed
112
112
  * of absolute paths, which would still carry the file names.
@@ -132,7 +132,7 @@ export async function subscribeFilesystemEventsImpl(state, session, agentIds, ty
132
132
  }
133
133
  // The derived `pending:changed` frame needs no agent or source match: the
134
134
  // subscription itself is the gate (the channel and the `/events` route are both
135
- // `drive.read`, the hub resolves membership) plus the project check below.
135
+ // `files.read`, the hub resolves membership) plus the project check below.
136
136
  const deliversPendingSignal = acceptedTypes.size === 0 || acceptedTypes.has('pending:changed');
137
137
  return state.subscribeEvents(session.projectId, (event) => {
138
138
  const e = event;