@bevel-software/platform-shared 0.25.0 → 0.26.0

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.
@@ -106,41 +106,40 @@ export let SKILLS_DIR = 'Skills';
106
106
  */
107
107
  export let PLUGINS_DIR = 'Plugins';
108
108
  /**
109
- * The file name of the platform's MANAGED agent guide at the repository root —
110
- * the document every connected agent is told to read first, written and
111
- * refreshed from the packaged template on every start.
112
- *
113
- * Configurable for one reason: `AGENTS.md` is the name coding agents look for
114
- * by convention, so a customer arriving with a repository of their own very
115
- * often already HAS one, and under the default name the platform would
116
- * overwrite it on the first boot and on every boot after. Renaming the managed
117
- * guide (`HEXIS.md`, say) hands that name back: `AGENTS.md` becomes ordinary
118
- * content the platform never writes, never refreshes and never hides, and the
119
- * customer's file is the one that points at ours (see
120
- * {@link agentsFilePointerSentence}).
121
- *
122
- * A live binding like the three roots above — read it inside a function body,
123
- * never capture it at module scope.
109
+ * The name the platform's agent guide is READ BY at the repository root — the
110
+ * document every connected agent is told to read first.
111
+ *
112
+ * The guide is no longer a file: the backend composes it from text the code
113
+ * owns and serves it through `get_agent_guide` and through a `read_file` of
114
+ * this name (see core-backend's `modules/agent-guide`), after the knowledge
115
+ * base's own file of that name when it has one. ONE name on every
116
+ * deployment: the setting that let a deployment rename the written guide is
117
+ * gone, and the settings layer no longer reads a value it saved — the layout
118
+ * it produces carries this name. The field stays on the layout for the shape
119
+ * every consumer reads, and the helpers here (`agentsFileOf`,
120
+ * `configureKbLayout`) still apply whatever a caller puts in it, so the one
121
+ * name is the producer's doing, not this module's.
124
122
  */
125
123
  export let AGENTS_FILE = 'AGENTS.md';
126
124
  /**
127
- * The name the managed guide had when it was the only name it could have.
125
+ * The name the guide had when it was the only name it could have, and the
126
+ * name it is always read by now.
128
127
  *
129
128
  * Referenced ONLY by the code that has to tell OUR file from THEIRS — the
130
- * boot-time removal of a platform-written `AGENTS.md`, the ignore rule that
131
- * stops hiding it, the instruction telling an agent to read the customer's
132
- * file too. In the spirit of {@link LEGACY_GROUPS_DIR}: a second live spelling
129
+ * boot-time removal of the guide copies earlier releases wrote, the ignore
130
+ * rule that stops hiding them, the instruction telling an agent what to read
131
+ * first. In the spirit of {@link LEGACY_GROUPS_DIR}: a second live spelling
133
132
  * of the CURRENT name is how two layouts start being supported by accident, so
134
133
  * this one is a constant and means exactly one thing.
135
134
  */
136
135
  export const LEGACY_AGENTS_FILE = 'AGENTS.md';
137
136
  /**
138
137
  * The platform files whose names are FIXED — the ones no deployment renames.
139
- * The guide is the fourth platform file and is deliberately absent here: its
140
- * name is {@link AGENTS_FILE}, and `platform-files.ts` composes the two into
141
- * the set every gate reads.
138
+ * The guide is NOT a platform file: nothing is written under its name, so a
139
+ * root `AGENTS.md` (or whatever the deployment once called the guide) is the
140
+ * organisation's own conventions page, movable and deletable like any other.
142
141
  *
143
- * It lives in this module rather than beside that composition because the
142
+ * It lives in this module rather than beside `platform-files.ts` because the
144
143
  * LAYOUT has to validate against it (a guide may not be called `access.md`),
145
144
  * and `platform-files.ts` already reads this module — the other direction
146
145
  * would be a cycle.
@@ -167,124 +166,12 @@ export function agentsFileOf(layout) {
167
166
  * a leading `#` is a comment and a leading `!` a negation (the rule would
168
167
  * silently hide nothing), `[`, `]`, `*` and `?` are globs, and a backslash is
169
168
  * the escape itself. Each is escaped so the pattern names exactly the file.
169
+ * Read by the startup step that takes the platform's own rule for the guide
170
+ * OUT of an ignore file an earlier release wrote it into.
170
171
  */
171
172
  export function gitignoreLiteral(name) {
172
173
  return name.replace(/[[\]*?\\]/g, '\\$&').replace(/^([#!])/, '\\$1');
173
174
  }
174
- /**
175
- * The ONE sentence the platform offers to keep in a customer's own
176
- * `AGENTS.md`, pointing at the managed guide beside it.
177
- *
178
- * Defined here, once, because two surfaces must produce the identical text:
179
- * the deployment-settings field previews it before the admin consents, and the
180
- * startup step appends it. A sentence written twice is a sentence that drifts,
181
- * and a drifted one appends a SECOND copy to every customer file on the boot
182
- * after the drift — which is the one thing this whole feature exists to stop.
183
- *
184
- * A guide name is a FILE NAME, not an identifier: everything `validateFilename`
185
- * admits can appear in it — spaces, brackets, parentheses, `#`, `%` — and each
186
- * of those means something in an inline link. So the link is BUILT rather than
187
- * interpolated: the label backslash-escaped ({@link markdownLinkLabel}), the
188
- * destination percent-encoded ({@link agentsFileLinkPath}). A name that only
189
- * parenthesised would break the destination; `#` would turn the rest of the
190
- * name into a URL fragment, and the link would point at the customer's own
191
- * file.
192
- *
193
- * Neither spelling need match the name as it is on disk, so nothing may ask
194
- * whether this sentence is present by searching for the RAW name — see
195
- * {@link mentionsAgentsFile}, which is how the startup step asks.
196
- */
197
- export function agentsFilePointerSentence(agentsFile) {
198
- return `Read [${markdownLinkLabel(agentsFile)}](${agentsFileLinkPath(agentsFile)})${POINTER_SENTENCE_TAIL}`;
199
- }
200
- /**
201
- * Everything of the sentence that does NOT depend on the guide's name — split
202
- * out so the one definition above can also be RECOGNISED, by the pattern below,
203
- * when the name it was written with is no longer the name in effect.
204
- */
205
- const POINTER_SENTENCE_TAIL = " before working in this knowledge base — it is the platform's guide to its layout, files and rules.";
206
- /**
207
- * A pointer sentence the platform wrote, naming ANY guide.
208
- *
209
- * The label admits a backslash escape (`\[`, `\]`) because that is what
210
- * {@link markdownLinkLabel} puts there; the destination cannot contain a `)`
211
- * or a newline because {@link agentsFileLinkPath} encodes both. Anchored at
212
- * both ends by text the platform fixed, so the shape is the provenance —
213
- * a customer would have to reproduce our sentence word for word to be taken
214
- * for us, which is the same bar the managed-guide header sets.
215
- */
216
- const POINTER_SENTENCE_PATTERN = new RegExp(`Read \\[(?:[^\\]\\n\\\\]|\\\\[\\s\\S])*\\]\\(\\.\\/[^)\\n]*\\)${escapeRegExp(POINTER_SENTENCE_TAIL)}`, 'g');
217
- /** `text` as a literal inside a regular expression. */
218
- function escapeRegExp(text) {
219
- return text.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
220
- }
221
- /**
222
- * `text` with every pointer sentence THE PLATFORM WROTE aimed at `agentsFile`
223
- * — or null when it holds none of ours.
224
- *
225
- * This is what a SECOND rename needs. The guide's name is a setting an admin
226
- * may change again: a knowledge base whose `AGENTS.md` was given a sentence
227
- * pointing at `HEXIS.md` and is then renamed to `GUIDE.md` must have that
228
- * sentence aimed at the new file, not a second one appended beneath a first
229
- * that now points at nothing. Asking only whether the NEW name is mentioned
230
- * cannot see that — the old sentence does not mention it.
231
- *
232
- * Returning the text unchanged (rather than null) when the sentence is already
233
- * right is deliberate: "ours and correct" and "not ours at all" are different
234
- * answers, and only the caller knows that the second one means "consider
235
- * appending".
236
- */
237
- export function retargetAgentsFilePointer(text, agentsFile) {
238
- let found = false;
239
- const wanted = agentsFilePointerSentence(agentsFile);
240
- const updated = text.replace(POINTER_SENTENCE_PATTERN, () => {
241
- found = true;
242
- return wanted;
243
- });
244
- return found ? updated : null;
245
- }
246
- /**
247
- * `text` as an inline link's LABEL: the characters that would end the label or
248
- * start emphasis or code inside it, backslash-escaped. Nothing else is touched
249
- * — a filename is read by people, and `AGENTS\.md` helps no one.
250
- */
251
- function markdownLinkLabel(text) {
252
- return text.replace(/[\\[\]`*_]/g, (c) => `\\${c}`);
253
- }
254
- /**
255
- * The guide as an inline link's DESTINATION: `./` and the name, percent-encoded.
256
- *
257
- * `encodeURI` does most of it (a space, a bracket, and `%` itself, so an
258
- * already-encoded-looking name is not decoded by a reader). Three more are
259
- * encoded by hand because `encodeURI` leaves them and each one ENDS the path
260
- * early: `#` opens a fragment, and `(`/`)` close the destination in
261
- * CommonMark's bare form. `?` and the rest of the URL-significant set are
262
- * already refused by {@link validateFilename}.
263
- *
264
- * An ordinary name has none of these and comes out exactly as it went in.
265
- */
266
- function agentsFileLinkPath(agentsFile) {
267
- return `./${encodeURI(agentsFile).replace(/[#()]/g, (c) => `%${c.charCodeAt(0).toString(16).toUpperCase()}`)}`;
268
- }
269
- /**
270
- * Whether `text` already points at the guide — the ONE question the startup
271
- * step asks before appending {@link agentsFilePointerSentence} to a customer's
272
- * own `AGENTS.md`.
273
- *
274
- * The plain name is the answer that matters: a mention in the customer's own
275
- * words, a heading, a link they wrote, all count, and the platform stays out
276
- * of a file it does not own. The other two spellings are the platform's OWN,
277
- * and they are here for idempotence: the sentence writes the name escaped in
278
- * the label and encoded in the destination, so on a punctuated name the file
279
- * the last boot wrote need not contain the raw name at all. Asking only for
280
- * that one would append a second copy on the next boot, and a third on the
281
- * one after — the exact failure this feature exists to prevent.
282
- */
283
- export function mentionsAgentsFile(text, agentsFile) {
284
- return (text.includes(agentsFile) ||
285
- text.includes(markdownLinkLabel(agentsFile)) ||
286
- text.includes(agentsFileLinkPath(agentsFile)));
287
- }
288
175
  /**
289
176
  * What is wrong with one root name, or null. A root is joined onto the repo
290
177
  * root and onto `<dir>/.gitkeep`, so a separator or `..` would write outside
@@ -309,22 +196,16 @@ export function validateKbRootName(name) {
309
196
  return null;
310
197
  }
311
198
  /**
312
- * What is wrong with the agent guide's file name, or null.
313
- *
314
- * The rules, and what each one is for:
315
- *
316
- * - ONE FILE NAME. The name is joined onto the repository root and read from
317
- * there and nowhere else, so a separator would name a file the platform
318
- * would write but never read back.
319
- * - A MARKDOWN NAME. The guide is a markdown document that people open in the
320
- * app and agents read as text; `.md` is also what the per-file access rules
321
- * apply to, so a guide under any other extension would take its folder's
322
- * rules and stop being readable by everyone.
323
- * - NOT `CLAUDE.md`. That is the guide's own pre-rename name; knowledge bases
324
- * seeded before the rename still carry one, and it stays legacy content
325
- * rather than becoming a second managed file.
326
- * - NOT ANOTHER PLATFORM FILE. Two platform roles on one path means whichever
327
- * writer runs last wins, silently.
199
+ * What is wrong with the agent guide's name, or null. The rules date from when
200
+ * the guide was written to disk under this name; a saved name still has to be
201
+ * one the read tools can answer to, so they stand:
202
+ *
203
+ * - ONE FILE NAME. The name is read at the repository root and nowhere else.
204
+ * - A MARKDOWN NAME. The guide is markdown that agents read as text.
205
+ * - NOT `CLAUDE.md`. That is the guide's own pre-rename name; a knowledge
206
+ * base seeded before the rename may still carry one of its own.
207
+ * - NOT ANOTHER PLATFORM FILE. A read of `access.md` must answer with the
208
+ * access rules, not the guide.
328
209
  * - NOT A ROOT FOLDER'S NAME, compared case-insensitively like the roots are
329
210
  * to each other: the workspaces live on case-insensitive filesystems, where
330
211
  * a file `Docs.md` and a folder `docs.md` are one entry.
@@ -485,13 +366,13 @@ export function isDefaultKbLayout(layout) {
485
366
  agentsFileOf(layout) === DEFAULT_KB_LAYOUT.agentsFile);
486
367
  }
487
368
  /**
488
- * Render the layout placeholders a managed template carries —
369
+ * Render the layout placeholders a managed text carries —
489
370
  * `{{knowledgeBaseDir}}`, `{{skillsDir}}`, `{{pluginsDir}}`, `{{agentsFile}}`
490
- * — with the names in effect. The packaged guide and `.bevelignore` are
491
- * written this way so a deployment that renamed its roots hands the agent a
492
- * guide that names the folders it will actually find, and a deployment that
493
- * renamed the guide gets a guide naming the file it lives in. Text without
494
- * placeholders passes through unchanged.
371
+ * — with the names in effect. The agent guide's sections and the packaged
372
+ * `.bevelignore` are written this way so a deployment that renamed its roots
373
+ * hands the agent a guide that names the folders it will actually find, and
374
+ * one that gave the guide a name of its own gets a guide naming it. Text
375
+ * without placeholders passes through unchanged.
495
376
  */
496
377
  export function renderKbLayoutPlaceholders(text, layout) {
497
378
  // Replacer FUNCTIONS: a string replacement would interpret `$&`, `$$` and
@@ -1 +1 @@
1
- {"version":3,"file":"kb-layout.js","sourceRoot":"","sources":["../../src/workspace/kb-layout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEjD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AAEH,oEAAoE;AACpE,MAAM,CAAC,IAAI,kBAAkB,GAAG,eAAe,CAAC;AAEhD;;;;;;;;;;;;G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AAC,UAAU,CAAC,CAAC,CAAC;AACjF,CAAC;AAED,gFAAgF;AAChF,MAAM,CAAC,MAAM,aAAa,GAAG,WAAW,CAAC;AAEzC,qFAAqF;AACrF,MAAM,CAAC,MAAM,YAAY,GAAG,WAAW,CAAC;AAExC,+EAA+E;AAC/E,MAAM,CAAC,MAAM,gBAAgB,GAAG,IAAI,GAAG,CAAC,CAAC,aAAa,EAAE,YAAY,CAAC,CAAC,CAAC;AAUvE,6EAA6E;AAC7E,8EAA8E;AAC9E,iEAAiE"}
@@ -2,31 +2,28 @@ import { type KbLayout } from './kb-layout.js';
2
2
  /**
3
3
  * The files the platform reads as configuration, not content. `access.md`
4
4
  * governs the folder it sits in and `.bevelignore` layers like `.gitignore`,
5
- * so both count at any depth; `roles.yaml` and the agent guide are read from
6
- * the repository root only, so a nested file of either name is ordinary
7
- * content. Moving one changes what the platform enforces, so moves refuse them.
5
+ * so both count at any depth; `roles.yaml` is read from the repository root
6
+ * only, so a nested file of that name is ordinary content. Moving one changes
7
+ * what the platform enforces, so moves refuse them.
8
8
  *
9
- * A FUNCTION OF THE LAYOUT, not a constant, and that is the whole of the
10
- * configurable-guide change on this side: the guide's name is a deployment
11
- * setting, so the fourth platform file is `HEXIS.md` on one deployment and
12
- * `AGENTS.md` on the next — and on the first, a root `AGENTS.md` is the
13
- * CUSTOMER'S own conventions file, which has to move and delete like any page.
14
- * Every gate asks this with the layout it serves rather than reading a list
15
- * captured at module load.
16
- */
17
- export declare function platformFileNames(layout: KbLayout): readonly string[];
18
- /**
19
- * The platform file names under the DEFAULT layout — what they were before the
20
- * guide could be renamed. Kept for callers that want the default answer rather
21
- * than this deployment's; anything judging a real path asks
22
- * {@link platformFileNames}, which knows what this deployment called its guide.
9
+ * The agent guide is NOT among them. It was, while the platform wrote it to
10
+ * the repository root; the backend serves it from code now (core-backend's
11
+ * `modules/agent-guide`), and a root `AGENTS.md` — or a file under whatever
12
+ * name a deployment once gave the guide — is the organisation's own
13
+ * conventions page, which moves and deletes like any other.
14
+ *
15
+ * Still a FUNCTION OF THE LAYOUT, so every gate asks the question the same
16
+ * way it asks the others, and a file the layout makes a platform file again
17
+ * one day needs no caller to change.
23
18
  */
19
+ export declare function platformFileNames(_layout: KbLayout): readonly string[];
20
+ /** The platform file names under the DEFAULT layout — the same three on every deployment. */
24
21
  export declare const PLATFORM_FILE_NAMES: readonly string[];
25
22
  /**
26
23
  * The platform files split by the DEPTH they count at, which is the half of
27
24
  * {@link isPlatformFile} that a name alone does not tell you: `access.md` and
28
- * `.bevelignore` are platform files in any folder, `roles.yaml` and the agent
29
- * guide only in the repository root.
25
+ * `.bevelignore` are platform files in any folder, `roles.yaml` only in the
26
+ * repository root.
30
27
  *
31
28
  * Exported because the agent-facing rules state that split in prose, and a
32
29
  * prose list written by hand drifts from the predicate that actually refuses
@@ -57,7 +54,7 @@ export declare function platformFileCreationRefusal(pathOrName: string): string;
57
54
  /**
58
55
  * The sentence an UPLOAD is refused with when one of its paths would land a
59
56
  * platform file — a zip carrying an `access.md`, a `.bevelignore`, a
60
- * `roles.yaml` or the agent guide, or a single file sent under one of those
57
+ * `roles.yaml`, or a single file sent under one of those
61
58
  * names.
62
59
  *
63
60
  * Its own sentence rather than the move's, because the thing being kept out is
@@ -80,7 +77,7 @@ export declare function isPlatformFolder(repoRelativeDir: string, layout: KbLayo
80
77
  export declare function platformFolderRefusal(repoRelativeDir: string): string;
81
78
  /**
82
79
  * Whether the platform file at `repoRelativePath` sits directly in the
83
- * repository root — the copy every one of the four is read from there, and so
80
+ * repository root — the copy every one of the three is read from there, and so
84
81
  * never the misplaced one: it is the copy a restore puts back. A nested
85
82
  * `access.md` or `.bevelignore` is a platform file too, but it layers on top
86
83
  * of the root's rather than standing in for it, which is why moving the
@@ -91,7 +88,7 @@ export declare function isRootPlatformFile(repoRelativePath: string, layout: KbL
91
88
  * The place a misplaced platform file is allowed to be put back, when
92
89
  * `repoRelativeDestination` names one, and null when it does not.
93
90
  *
94
- * `roles.yaml` and the agent guide are read from the repository root and
91
+ * `roles.yaml` is read from the repository root and
95
92
  * nowhere else, so their one required location is the root. A nested `.bevelignore` is
96
93
  * read too (it layers, see `BevelIgnoreStack`), yet a restore of one lands at
97
94
  * the root only — a deliberate narrowing of the exception, not a claim about
@@ -120,8 +117,8 @@ export declare function platformRestoreDestination(repoRelativeDestination: stri
120
117
  * Three things make the shape, and all three are about the move rather than
121
118
  * about the source's current standing:
122
119
  *
123
- * - the source is NAMED like a platform file. A nested `roles.yaml`, or a
124
- * nested copy of the agent guide, is ordinary content where it sits
120
+ * - the source is NAMED like a platform file. A nested `roles.yaml` is
121
+ * ordinary content where it sits
125
122
  * (`isPlatformFile` says so, and moving it needs no exception), but it is
126
123
  * still the copy a restore carries back to the root — judging the shape on
127
124
  * `isPlatformFile` would skip the exception for exactly the two files the
@@ -1 +1 @@
1
- {"version":3,"file":"platform-files.d.ts","sourceRoot":"","sources":["../../src/workspace/platform-files.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,QAAQ,EACd,MAAM,gBAAgB,CAAC;AAExB;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,QAAQ,GAAG,SAAS,MAAM,EAAE,CAErE;AAED;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,EAAE,SAAS,MAAM,EAEhD,CAAC;AAKF;;;;;;;;;;GAUG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,QAAQ,GAAG;IAAE,QAAQ,EAAE,SAAS,MAAM,EAAE,CAAC;IAAC,QAAQ,EAAE,SAAS,MAAM,EAAE,CAAA;CAAE,CAMnH;AAwBD;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,gBAAgB,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,GAAG,OAAO,CAKlF;AAED,wEAAwE;AACxE,wBAAgB,mBAAmB,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAE9D;AAED;;;;;;;GAOG;AACH,wBAAgB,2BAA2B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wBAAgB,sBAAsB,CACpC,kBAAkB,EAAE,MAAM,EAC1B,uBAAuB,EAAE,MAAM,EAC/B,MAAM,EAAE,QAAQ,GACf,OAAO,CAOT"}
@@ -1,36 +1,34 @@
1
- import { DEFAULT_KB_LAYOUT, FIXED_PLATFORM_FILE_NAMES, agentsFileOf, reservedRootDirNames, } from './kb-layout.js';
1
+ import { DEFAULT_KB_LAYOUT, FIXED_PLATFORM_FILE_NAMES, reservedRootDirNames, } from './kb-layout.js';
2
2
  /**
3
3
  * The files the platform reads as configuration, not content. `access.md`
4
4
  * governs the folder it sits in and `.bevelignore` layers like `.gitignore`,
5
- * so both count at any depth; `roles.yaml` and the agent guide are read from
6
- * the repository root only, so a nested file of either name is ordinary
7
- * content. Moving one changes what the platform enforces, so moves refuse them.
5
+ * so both count at any depth; `roles.yaml` is read from the repository root
6
+ * only, so a nested file of that name is ordinary content. Moving one changes
7
+ * what the platform enforces, so moves refuse them.
8
8
  *
9
- * A FUNCTION OF THE LAYOUT, not a constant, and that is the whole of the
10
- * configurable-guide change on this side: the guide's name is a deployment
11
- * setting, so the fourth platform file is `HEXIS.md` on one deployment and
12
- * `AGENTS.md` on the next — and on the first, a root `AGENTS.md` is the
13
- * CUSTOMER'S own conventions file, which has to move and delete like any page.
14
- * Every gate asks this with the layout it serves rather than reading a list
15
- * captured at module load.
9
+ * The agent guide is NOT among them. It was, while the platform wrote it to
10
+ * the repository root; the backend serves it from code now (core-backend's
11
+ * `modules/agent-guide`), and a root `AGENTS.md` — or a file under whatever
12
+ * name a deployment once gave the guide — is the organisation's own
13
+ * conventions page, which moves and deletes like any other.
14
+ *
15
+ * Still a FUNCTION OF THE LAYOUT, so every gate asks the question the same
16
+ * way it asks the others, and a file the layout makes a platform file again
17
+ * one day needs no caller to change.
16
18
  */
17
- export function platformFileNames(layout) {
18
- return [...FIXED_PLATFORM_FILE_NAMES, agentsFileOf(layout)];
19
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars -- the layout is the question's shape, kept for every caller (see above)
20
+ export function platformFileNames(_layout) {
21
+ return [...FIXED_PLATFORM_FILE_NAMES];
19
22
  }
20
- /**
21
- * The platform file names under the DEFAULT layout — what they were before the
22
- * guide could be renamed. Kept for callers that want the default answer rather
23
- * than this deployment's; anything judging a real path asks
24
- * {@link platformFileNames}, which knows what this deployment called its guide.
25
- */
23
+ /** The platform file names under the DEFAULT layout — the same three on every deployment. */
26
24
  export const PLATFORM_FILE_NAMES = Object.freeze(platformFileNames(DEFAULT_KB_LAYOUT));
27
25
  /** The platform files that are read wherever they sit, not only at the root. */
28
26
  const PLATFORM_FILES_AT_ANY_DEPTH = new Set(['access.md', '.bevelignore']);
29
27
  /**
30
28
  * The platform files split by the DEPTH they count at, which is the half of
31
29
  * {@link isPlatformFile} that a name alone does not tell you: `access.md` and
32
- * `.bevelignore` are platform files in any folder, `roles.yaml` and the agent
33
- * guide only in the repository root.
30
+ * `.bevelignore` are platform files in any folder, `roles.yaml` only in the
31
+ * repository root.
34
32
  *
35
33
  * Exported because the agent-facing rules state that split in prose, and a
36
34
  * prose list written by hand drifts from the predicate that actually refuses
@@ -91,7 +89,7 @@ export function platformFileCreationRefusal(pathOrName) {
91
89
  /**
92
90
  * The sentence an UPLOAD is refused with when one of its paths would land a
93
91
  * platform file — a zip carrying an `access.md`, a `.bevelignore`, a
94
- * `roles.yaml` or the agent guide, or a single file sent under one of those
92
+ * `roles.yaml`, or a single file sent under one of those
95
93
  * names.
96
94
  *
97
95
  * Its own sentence rather than the move's, because the thing being kept out is
@@ -127,7 +125,7 @@ export function platformFolderRefusal(repoRelativeDir) {
127
125
  }
128
126
  /**
129
127
  * Whether the platform file at `repoRelativePath` sits directly in the
130
- * repository root — the copy every one of the four is read from there, and so
128
+ * repository root — the copy every one of the three is read from there, and so
131
129
  * never the misplaced one: it is the copy a restore puts back. A nested
132
130
  * `access.md` or `.bevelignore` is a platform file too, but it layers on top
133
131
  * of the root's rather than standing in for it, which is why moving the
@@ -158,8 +156,8 @@ export function platformRestoreDestination(repoRelativeDestination, layout) {
158
156
  * Three things make the shape, and all three are about the move rather than
159
157
  * about the source's current standing:
160
158
  *
161
- * - the source is NAMED like a platform file. A nested `roles.yaml`, or a
162
- * nested copy of the agent guide, is ordinary content where it sits
159
+ * - the source is NAMED like a platform file. A nested `roles.yaml` is
160
+ * ordinary content where it sits
163
161
  * (`isPlatformFile` says so, and moving it needs no exception), but it is
164
162
  * still the copy a restore carries back to the root — judging the shape on
165
163
  * `isPlatformFile` would skip the exception for exactly the two files the
@@ -1 +1 @@
1
- {"version":3,"file":"platform-files.js","sourceRoot":"","sources":["../../src/workspace/platform-files.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,yBAAyB,EACzB,YAAY,EACZ,oBAAoB,GAErB,MAAM,gBAAgB,CAAC;AAExB;;;;;;;;;;;;;;GAcG;AACH,MAAM,UAAU,iBAAiB,CAAC,MAAgB;IAChD,OAAO,CAAC,GAAG,yBAAyB,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC,CAAC;AAC9D,CAAC;AAED;;;;;GAKG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAsB,MAAM,CAAC,MAAM,CACjE,iBAAiB,CAAC,iBAAiB,CAAC,CACrC,CAAC;AAEF,gFAAgF;AAChF,MAAM,2BAA2B,GAAG,IAAI,GAAG,CAAC,CAAC,WAAW,EAAE,cAAc,CAAC,CAAC,CAAC;AAE3E;;;;;;;;;;GAUG;AACH,MAAM,UAAU,oBAAoB,CAAC,MAAgB;IACnD,MAAM,KAAK,GAAG,iBAAiB,CAAC,MAAM,CAAC,CAAC;IACxC,OAAO;QACL,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,2BAA2B,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;QACvE,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,2BAA2B,CAAC,GAAG,CAAC,IA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,IAAI,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;AACvD,CAAC;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,UAAU,sBAAsB,CACpC,kBAA0B,EAC1B,uBAA+B,EAC/B,MAAgB;IAEhB,IAAI,YAAY,CAAC,kBAAkB,CAAC;QAAE,OAAO,KAAK,CAAC;IACnD,MAAM,IAAI,GAAG,QAAQ,CAAC,kBAAkB,CAAC,CAAC;IAC1C,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC;QAAE,OAAO,KAAK,CAAC;IACnD,IAAI,kBAAkB,CAAC,kBAAkB,EAAE,MAAM,CAAC;QAAE,OAAO,KAAK,CAAC;IACjE,MAAM,MAAM,GAAG,0BAA0B,CAAC,uBAAuB,EAAE,MAAM,CAAC,CAAC;IAC3E,OAAO,MAAM,KAAK,IAAI,IAAI,MAAM,CAAC,IAAI,KAAK,IAAI,CAAC;AACjD,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bevel-software/platform-shared",
3
- "version": "0.25.0",
3
+ "version": "0.26.0",
4
4
  "description": "Shared types and pure domain utilities of the Bevel core platform (auth, workspace, git/workflow contracts, branch registry).",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",