@orkestrel/scaffold 0.0.118 → 0.0.119
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.
- package/dist/bin/main.js +1 -1
- package/dist/bin/main.js.map +1 -1
- package/dist/host/agents/platforms/windows.md +2 -1
- package/dist/host/agents/skills/orkestrel-publish/references/release.md +1 -0
- package/dist/host/agents/skills/orkestrel-publish/references/wave.md +2 -1
- package/dist/host/claude/rules/names.md +3 -2
- package/dist/host/claude/rules/tests.md +2 -0
- package/dist/host/claude/rules/workspace.md +2 -1
- package/dist/host/guides/scaffold.md +11 -1
- package/dist/host/manifest.json +106 -9
- package/dist/host/tests/setupPolicy.ts +18 -6
- package/dist/src/core/index.cjs +65 -1
- package/dist/src/core/index.cjs.map +1 -1
- package/dist/src/core/index.d.cts +23 -0
- package/dist/src/core/index.d.ts +23 -0
- package/dist/src/core/index.js +65 -2
- package/dist/src/core/index.js.map +1 -1
- package/dist/src/server/index.cjs +37 -14
- package/dist/src/server/index.cjs.map +1 -1
- package/dist/src/server/index.d.cts +9 -4
- package/dist/src/server/index.d.ts +9 -4
- package/dist/src/server/index.js +38 -15
- package/dist/src/server/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -4257,6 +4257,16 @@ export declare class Compiler implements CompilerInterface {
|
|
|
4257
4257
|
/** Sets the shortest name length at which a one-edit neighbor counts as a near name. */
|
|
4258
4258
|
export declare const SURFACE_EDIT_LENGTH = 6;
|
|
4259
4259
|
|
|
4260
|
+
/**
|
|
4261
|
+
* Lists the declared transfers of bare names to their ruled keepers, frozen.
|
|
4262
|
+
*
|
|
4263
|
+
* @remarks
|
|
4264
|
+
* `stageHost` admits each keeper into its name's recorded owner set and refuses a transfer
|
|
4265
|
+
* whose keeper alone claims the name. `.claude/rules/names.md` § Fleet name ownership rule 5
|
|
4266
|
+
* governs when a transfer is declared and removed.
|
|
4267
|
+
*/
|
|
4268
|
+
export declare const SURFACE_TRANSFERS: readonly SurfaceTransfer[];
|
|
4269
|
+
|
|
4260
4270
|
/**
|
|
4261
4271
|
* Reports a name a candidate adds beside a near name or an equal contract another owner claims.
|
|
4262
4272
|
*
|
|
@@ -4324,6 +4334,19 @@ export declare class Compiler implements CompilerInterface {
|
|
|
4324
4334
|
*/
|
|
4325
4335
|
export declare type SurfaceSimilarity = 'case' | 'plural' | 'edit' | 'signature';
|
|
4326
4336
|
|
|
4337
|
+
/**
|
|
4338
|
+
* Represents a declared transfer of one bare name to the package a roadmap item rules keeps it.
|
|
4339
|
+
*
|
|
4340
|
+
* @remarks
|
|
4341
|
+
* `keeper` is the owner admitted into the name's recorded owner set, and `item` is the
|
|
4342
|
+
* `ROADMAP.md` item that rules the transfer.
|
|
4343
|
+
*/
|
|
4344
|
+
export declare interface SurfaceTransfer {
|
|
4345
|
+
readonly name: string;
|
|
4346
|
+
readonly keeper: string;
|
|
4347
|
+
readonly item: number;
|
|
4348
|
+
}
|
|
4349
|
+
|
|
4327
4350
|
/** Sets the columns one tab occupies when the formatter measures a line, matching `tabWidth`. */
|
|
4328
4351
|
export declare const TAB_WIDTH = 2;
|
|
4329
4352
|
|
package/dist/src/core/index.d.ts
CHANGED
|
@@ -4257,6 +4257,16 @@ export declare class Compiler implements CompilerInterface {
|
|
|
4257
4257
|
/** Sets the shortest name length at which a one-edit neighbor counts as a near name. */
|
|
4258
4258
|
export declare const SURFACE_EDIT_LENGTH = 6;
|
|
4259
4259
|
|
|
4260
|
+
/**
|
|
4261
|
+
* Lists the declared transfers of bare names to their ruled keepers, frozen.
|
|
4262
|
+
*
|
|
4263
|
+
* @remarks
|
|
4264
|
+
* `stageHost` admits each keeper into its name's recorded owner set and refuses a transfer
|
|
4265
|
+
* whose keeper alone claims the name. `.claude/rules/names.md` § Fleet name ownership rule 5
|
|
4266
|
+
* governs when a transfer is declared and removed.
|
|
4267
|
+
*/
|
|
4268
|
+
export declare const SURFACE_TRANSFERS: readonly SurfaceTransfer[];
|
|
4269
|
+
|
|
4260
4270
|
/**
|
|
4261
4271
|
* Reports a name a candidate adds beside a near name or an equal contract another owner claims.
|
|
4262
4272
|
*
|
|
@@ -4324,6 +4334,19 @@ export declare class Compiler implements CompilerInterface {
|
|
|
4324
4334
|
*/
|
|
4325
4335
|
export declare type SurfaceSimilarity = 'case' | 'plural' | 'edit' | 'signature';
|
|
4326
4336
|
|
|
4337
|
+
/**
|
|
4338
|
+
* Represents a declared transfer of one bare name to the package a roadmap item rules keeps it.
|
|
4339
|
+
*
|
|
4340
|
+
* @remarks
|
|
4341
|
+
* `keeper` is the owner admitted into the name's recorded owner set, and `item` is the
|
|
4342
|
+
* `ROADMAP.md` item that rules the transfer.
|
|
4343
|
+
*/
|
|
4344
|
+
export declare interface SurfaceTransfer {
|
|
4345
|
+
readonly name: string;
|
|
4346
|
+
readonly keeper: string;
|
|
4347
|
+
readonly item: number;
|
|
4348
|
+
}
|
|
4349
|
+
|
|
4327
4350
|
/** Sets the columns one tab occupies when the formatter measures a line, matching `tabWidth`. */
|
|
4328
4351
|
export declare const TAB_WIDTH = 2;
|
|
4329
4352
|
|
package/dist/src/core/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { fillTemplate } from "@orkestrel/template";
|
|
|
3
3
|
import { Emitter } from "@orkestrel/emitter";
|
|
4
4
|
var package_default = {
|
|
5
5
|
name: "@orkestrel/scaffold",
|
|
6
|
-
version: "0.0.
|
|
6
|
+
version: "0.0.119",
|
|
7
7
|
description: "Scaffold workspaces with commands: new, audit, surface, repair, catalog, and overwrite.",
|
|
8
8
|
keywords: [
|
|
9
9
|
"audit",
|
|
@@ -363,6 +363,69 @@ var SEED_GUIDE_PATHS = Object.freeze(["guides/guide.md", "guides/scaffold.md"]);
|
|
|
363
363
|
/** Names the repository-relative path where the committed vendored-file inventory is served. */
|
|
364
364
|
var HOST_INVENTORY_PATH = "host.json";
|
|
365
365
|
/**
|
|
366
|
+
* Lists the declared transfers of bare names to their ruled keepers, frozen.
|
|
367
|
+
*
|
|
368
|
+
* @remarks
|
|
369
|
+
* `stageHost` admits each keeper into its name's recorded owner set and refuses a transfer
|
|
370
|
+
* whose keeper alone claims the name. `.claude/rules/names.md` § Fleet name ownership rule 5
|
|
371
|
+
* governs when a transfer is declared and removed.
|
|
372
|
+
*/
|
|
373
|
+
var SURFACE_TRANSFERS = Object.freeze([
|
|
374
|
+
...["BOM"].map((name) => ({
|
|
375
|
+
name,
|
|
376
|
+
keeper: "codec",
|
|
377
|
+
item: 80
|
|
378
|
+
})),
|
|
379
|
+
...[
|
|
380
|
+
"CHOICE_LIMIT",
|
|
381
|
+
"NAME_LIMIT",
|
|
382
|
+
"NODE_LIMIT",
|
|
383
|
+
"STRING_LIMIT",
|
|
384
|
+
"TEXT_LIMIT",
|
|
385
|
+
"errorToMessage",
|
|
386
|
+
"escapeRegExp",
|
|
387
|
+
"failure",
|
|
388
|
+
"isFailure",
|
|
389
|
+
"isSuccess",
|
|
390
|
+
"success"
|
|
391
|
+
].map((name) => ({
|
|
392
|
+
name,
|
|
393
|
+
keeper: "contract",
|
|
394
|
+
item: 79
|
|
395
|
+
})),
|
|
396
|
+
...[
|
|
397
|
+
"JSONRPCError",
|
|
398
|
+
"JSONRPCErrorResponse",
|
|
399
|
+
"JSONRPCId",
|
|
400
|
+
"JSONRPCInvocation",
|
|
401
|
+
"JSONRPCMessage",
|
|
402
|
+
"JSONRPCNotification",
|
|
403
|
+
"JSONRPCRequest",
|
|
404
|
+
"JSONRPCResponse",
|
|
405
|
+
"JSONRPCResultResponse",
|
|
406
|
+
"JSONRPC_INTERNAL_ERROR",
|
|
407
|
+
"JSONRPC_INVALID_PARAMS",
|
|
408
|
+
"JSONRPC_INVALID_REQUEST",
|
|
409
|
+
"JSONRPC_METHOD_NOT_FOUND",
|
|
410
|
+
"JSONRPC_PARSE_ERROR",
|
|
411
|
+
"buildJSONRPCError",
|
|
412
|
+
"buildJSONRPCResult",
|
|
413
|
+
"isJSONRPCError",
|
|
414
|
+
"isJSONRPCErrorResponse",
|
|
415
|
+
"isJSONRPCId",
|
|
416
|
+
"isJSONRPCInvocation",
|
|
417
|
+
"isJSONRPCMessage",
|
|
418
|
+
"isJSONRPCNotification",
|
|
419
|
+
"isJSONRPCRequest",
|
|
420
|
+
"isJSONRPCResponse",
|
|
421
|
+
"isJSONRPCResultResponse"
|
|
422
|
+
].map((name) => ({
|
|
423
|
+
name,
|
|
424
|
+
keeper: "jsonrpc",
|
|
425
|
+
item: 81
|
|
426
|
+
}))
|
|
427
|
+
].map((transfer) => Object.freeze(transfer)));
|
|
428
|
+
/**
|
|
366
429
|
* Lists the vendored paths whose present bytes belong to each workspace, frozen.
|
|
367
430
|
*
|
|
368
431
|
* @remarks
|
|
@@ -9825,6 +9888,6 @@ var Compiler = class {
|
|
|
9825
9888
|
return error;
|
|
9826
9889
|
}
|
|
9827
9890
|
};
|
|
9828
|
-
export { APP_BROWSER_DEV_DEPENDENCIES, APP_DEV_DEPENDENCIES, APP_MATRIX, APP_SERVER_DEV_DEPENDENCIES, ARTIFACT_TEMPLATES, AXES, BASE_DEV_DEPENDENCIES, BIN_CONFIGS, BIN_ENTRY_PATH, BIN_OUTPUT_PATH, BROWSE_DEV_DEPENDENCIES, BROWSE_UPSTREAM, CANON_PATHS, CAPTURE_DEV_DEPENDENCIES, CAPTURE_UPSTREAM, CATALOG_AGENT_PATH, CATALOG_END_MARKER, CATALOG_START_MARKER, CONFIG_TEMPLATES, CONFORMANCE_TEST_PATH, CONTROL_CHARACTER_PATTERN, Compiler, DECLARATION_DEV_DEPENDENCIES, DEFAULT_ENGINES, DEFAULT_VERSION, DEPENDENCY_NAME_PATTERN, DISTRIBUTION_SETUP_PATH, DISTRIBUTION_TEST_PATH, ENGINES_PATTERN, ENVIRONMENTS, EXECUTABLE_PATHS, EXTRA_RANGE_PATTERN, FLOOR_RANGE_PATTERN, FOREIGN_NAME_PATTERN, FRAMEWORKS, FRAMEWORK_MATRIX, GLOBAL_SETUP_PATH, GROUPS, GUIDES_TEST_PATH, HEX_PATTERN, HOST_INVENTORY_PATH, HOST_PATHS, INTEGRATION_TEST_PATH, INVALID_PATH_CHARACTER_PATTERN, JOURNEY_CONFIG_PATH, MANIFEST_PATH, MAX_ARTIFACT_BYTES, MAX_ARTIFACT_HEX_LENGTH, MAX_AUDIT_FINDINGS, MAX_COLLECTION_ITEMS, MAX_DEPENDENCY_NAME_LENGTH, MAX_MANIFEST_BYTES, MAX_NAME_LENGTH, MAX_PATH_LENGTH, MAX_RANGE_LENGTH, MAX_REGISTRY_BYTES, MAX_SCRIPT_LENGTH, MAX_TOTAL_ARTIFACT_BYTES, MAX_TOTAL_REGISTRY_BYTES, MINIMUM_NODE_VERSION, MINIMUM_NPM_VERSION, NAME_PATTERN, ORCHESTRATION_PATH_NAMES, ORCHESTRATION_PATH_PREFIXES, ORKESTREL_RANGE_PATTERN, PRINT_WIDTH, REFERENCE_PATHS, RELEASE_PROOF_COMMAND, RESERVED_SHEET_NAMES, SEED_GUIDE_PATHS, SERVICE_SCRIPT_PATH, SERVICE_SETUP_PATH, SERVICE_TEST_INCLUDE, SHEET_ENTRY_NAME, SHOWCASE_CONFIG_PATH, SHOWCASE_DEV_DEPENDENCIES, SHOWCASE_OVERRIDES, SHOWCASE_PAGES_PATH, SKILLS_CONFIG_PATH, SOURCE_BROWSER_DEV_DEPENDENCIES, SRC_MATRIX, STUDIES_TEST_INCLUDE, STYLES_DEV_DEPENDENCIES, STYLES_ENTRY_PATH, SURFACES, SURFACE_EDIT_LENGTH, ScaffoldError, TAB_WIDTH, TARGET_SKILL_NAMES, THEMES_BARREL_PATH, THEMES_ENTRY_PATH, TOOLCHAIN_HOLDS, TREE_TEST_PATH, VERSION_PATTERN, WORKSPACE_DEV_ENGINES, WORKSPACE_OWNED_PATHS, applyOverrides, artifactToFinding, artifactToHex, artifactsToQuestions, blueprintToConfigArtifacts, blueprintToDevDependencies, blueprintToDocumentArtifacts, blueprintToExports, blueprintToFaces, blueprintToGuideArtifacts, blueprintToHostArtifacts, blueprintToMachinery, blueprintToManifest, blueprintToManifestOverrides, blueprintToOptimizedDependencies, blueprintToOrchestrationArtifacts, blueprintToProjects, blueprintToQuestions, blueprintToRootTsconfig, blueprintToRootVite, blueprintToScripts, blueprintToSheets, blueprintToSourceArtifacts, blueprintToTestArtifacts, blueprintToToolchainHolds, blueprintToWritableScripts, bytesToHex, catalogToLayers, cloneValue, collectSurfaceAdvisories, collectSurfaceCollisions, collectSurfaceConflicts, compareSurfaceCollisions, compareVersions, computeBytes, computeHash, computeTotal, contentToHex, createBlueprint, dependenciesToQuestions, extractRangeMajor, extractVersion, inferDrift, inferGroup, inferSurfaceSimilarity, insertManifestDependencies, insertManifestSection, isArtifact, isAudit, isBlueprint, isBrowserExtension, isCanonPath, isCatalogEntry, isCollection, isCompilerHooks, isCompilerOptions, isContent, isDeferredPath, isDependency, isDependencyName, isEnvironment, isExtension, isFinding, isFloorPath, isGroup, isGroups, isHex, isManifestScript, isMirror, isOverride, isPath, isPlan, isQuestion, isRetainedPath, isScaffoldError, isSheetName, isSnapshot, isStylesExtension, isSurface, iterateAnswers, manifestToDependencies, manifestToName, matchesDriftReachability, matchesEngines, matchesGuideRefusal, matchesOrchestrationPath, matchesPrintWidth, matchesRange, matchesSurfaceStructure, nameToGuide, overridesToQuestions, parseBlueprint, parseCompilerOptions, parseExtension, parseGroups, parseSnapshot, pathToCondition, planToFindings, planToHash, planToSummary, renderSkillPointer, replaceManifestOverride, replaceManifestOverrides, replaceManifestRanges, replaceManifestScripts, replacePlanRanges, scanManifestTokens, selectGroups, selectHostPaths, serializeTypeScriptString, srcToEntry, srcToExports, srcToRoot };
|
|
9891
|
+
export { APP_BROWSER_DEV_DEPENDENCIES, APP_DEV_DEPENDENCIES, APP_MATRIX, APP_SERVER_DEV_DEPENDENCIES, ARTIFACT_TEMPLATES, AXES, BASE_DEV_DEPENDENCIES, BIN_CONFIGS, BIN_ENTRY_PATH, BIN_OUTPUT_PATH, BROWSE_DEV_DEPENDENCIES, BROWSE_UPSTREAM, CANON_PATHS, CAPTURE_DEV_DEPENDENCIES, CAPTURE_UPSTREAM, CATALOG_AGENT_PATH, CATALOG_END_MARKER, CATALOG_START_MARKER, CONFIG_TEMPLATES, CONFORMANCE_TEST_PATH, CONTROL_CHARACTER_PATTERN, Compiler, DECLARATION_DEV_DEPENDENCIES, DEFAULT_ENGINES, DEFAULT_VERSION, DEPENDENCY_NAME_PATTERN, DISTRIBUTION_SETUP_PATH, DISTRIBUTION_TEST_PATH, ENGINES_PATTERN, ENVIRONMENTS, EXECUTABLE_PATHS, EXTRA_RANGE_PATTERN, FLOOR_RANGE_PATTERN, FOREIGN_NAME_PATTERN, FRAMEWORKS, FRAMEWORK_MATRIX, GLOBAL_SETUP_PATH, GROUPS, GUIDES_TEST_PATH, HEX_PATTERN, HOST_INVENTORY_PATH, HOST_PATHS, INTEGRATION_TEST_PATH, INVALID_PATH_CHARACTER_PATTERN, JOURNEY_CONFIG_PATH, MANIFEST_PATH, MAX_ARTIFACT_BYTES, MAX_ARTIFACT_HEX_LENGTH, MAX_AUDIT_FINDINGS, MAX_COLLECTION_ITEMS, MAX_DEPENDENCY_NAME_LENGTH, MAX_MANIFEST_BYTES, MAX_NAME_LENGTH, MAX_PATH_LENGTH, MAX_RANGE_LENGTH, MAX_REGISTRY_BYTES, MAX_SCRIPT_LENGTH, MAX_TOTAL_ARTIFACT_BYTES, MAX_TOTAL_REGISTRY_BYTES, MINIMUM_NODE_VERSION, MINIMUM_NPM_VERSION, NAME_PATTERN, ORCHESTRATION_PATH_NAMES, ORCHESTRATION_PATH_PREFIXES, ORKESTREL_RANGE_PATTERN, PRINT_WIDTH, REFERENCE_PATHS, RELEASE_PROOF_COMMAND, RESERVED_SHEET_NAMES, SEED_GUIDE_PATHS, SERVICE_SCRIPT_PATH, SERVICE_SETUP_PATH, SERVICE_TEST_INCLUDE, SHEET_ENTRY_NAME, SHOWCASE_CONFIG_PATH, SHOWCASE_DEV_DEPENDENCIES, SHOWCASE_OVERRIDES, SHOWCASE_PAGES_PATH, SKILLS_CONFIG_PATH, SOURCE_BROWSER_DEV_DEPENDENCIES, SRC_MATRIX, STUDIES_TEST_INCLUDE, STYLES_DEV_DEPENDENCIES, STYLES_ENTRY_PATH, SURFACES, SURFACE_EDIT_LENGTH, SURFACE_TRANSFERS, ScaffoldError, TAB_WIDTH, TARGET_SKILL_NAMES, THEMES_BARREL_PATH, THEMES_ENTRY_PATH, TOOLCHAIN_HOLDS, TREE_TEST_PATH, VERSION_PATTERN, WORKSPACE_DEV_ENGINES, WORKSPACE_OWNED_PATHS, applyOverrides, artifactToFinding, artifactToHex, artifactsToQuestions, blueprintToConfigArtifacts, blueprintToDevDependencies, blueprintToDocumentArtifacts, blueprintToExports, blueprintToFaces, blueprintToGuideArtifacts, blueprintToHostArtifacts, blueprintToMachinery, blueprintToManifest, blueprintToManifestOverrides, blueprintToOptimizedDependencies, blueprintToOrchestrationArtifacts, blueprintToProjects, blueprintToQuestions, blueprintToRootTsconfig, blueprintToRootVite, blueprintToScripts, blueprintToSheets, blueprintToSourceArtifacts, blueprintToTestArtifacts, blueprintToToolchainHolds, blueprintToWritableScripts, bytesToHex, catalogToLayers, cloneValue, collectSurfaceAdvisories, collectSurfaceCollisions, collectSurfaceConflicts, compareSurfaceCollisions, compareVersions, computeBytes, computeHash, computeTotal, contentToHex, createBlueprint, dependenciesToQuestions, extractRangeMajor, extractVersion, inferDrift, inferGroup, inferSurfaceSimilarity, insertManifestDependencies, insertManifestSection, isArtifact, isAudit, isBlueprint, isBrowserExtension, isCanonPath, isCatalogEntry, isCollection, isCompilerHooks, isCompilerOptions, isContent, isDeferredPath, isDependency, isDependencyName, isEnvironment, isExtension, isFinding, isFloorPath, isGroup, isGroups, isHex, isManifestScript, isMirror, isOverride, isPath, isPlan, isQuestion, isRetainedPath, isScaffoldError, isSheetName, isSnapshot, isStylesExtension, isSurface, iterateAnswers, manifestToDependencies, manifestToName, matchesDriftReachability, matchesEngines, matchesGuideRefusal, matchesOrchestrationPath, matchesPrintWidth, matchesRange, matchesSurfaceStructure, nameToGuide, overridesToQuestions, parseBlueprint, parseCompilerOptions, parseExtension, parseGroups, parseSnapshot, pathToCondition, planToFindings, planToHash, planToSummary, renderSkillPointer, replaceManifestOverride, replaceManifestOverrides, replaceManifestRanges, replaceManifestScripts, replacePlanRanges, scanManifestTokens, selectGroups, selectHostPaths, serializeTypeScriptString, srcToEntry, srcToExports, srcToRoot };
|
|
9829
9892
|
|
|
9830
9893
|
//# sourceMappingURL=index.js.map
|