/** * The TOP-LEVEL names of the daemon state home, as crew's `src/` knows them (wicked-core#411 / * crew#497). * * The registry of record is `tests/fixtures/state-home-subtrees.json` — the file wicked-core * embeds to build the worker Read fence (design v3.1 §1) and crew mirrors byte for byte. It lives * under `tests/` so `src/` cannot read it, yet the daemon needs the same classification at BOOT * to say, before anyone launches, that an entry under its state home is one the fence will refuse * every worker launch over (`state-home-preflight.ts`). The engine answers that question itself * once the addon carries `Core.preflightStateHome`; on an older addon crew classifies with THIS * list. Same doctrine as `skills/root-names.ts` for the skills root's children: `src/` carries the * names, `tests/state-home-subtrees.test.ts` asserts they equal the fixture, so the two cannot * drift without a red test. * * `names` are exact top-level names; `prefixes` cover a file and its sidecars (`core.db`, * `core.db-wal`, `core.db.events`, …). Nothing here is enumerated at runtime to BUILD a rule — * that is core's fail-closed contract; crew only REPORTS what core would refuse. */ /** Exact top-level names the registry classifies. */ export declare const STATE_HOME_ENTRY_NAMES: ReadonlyArray; /** Top-level PREFIXES the registry classifies (a file and its sidecars). */ export declare const STATE_HOME_ENTRY_PREFIXES: ReadonlyArray; /** * OS file-manager metadata (Finder, Explorer): never a crew entry and never a configuration error, * at the state home AND the skills root. The same list as wicked-core's `OS_METADATA_PATTERNS` * (src/state_home.rs, wicked-core#1117; a trailing `*` there is a prefix here): * tests/state-home-subtrees.test.ts reads core's source and holds the two equal. */ export declare const OS_METADATA_NAMES: ReadonlyArray; /** OS metadata PREFIXES (AppleDouble `._` companions). */ export declare const OS_METADATA_PREFIXES: ReadonlyArray; /** Is `name` OS file-manager metadata (exact name or prefix — `.DS_Store.bak` is NOT)? */ export declare function isOsMetadataEntry(name: string): boolean; /** Is `topLevel` a name the registry classifies (or OS metadata, which never refuses)? */ export declare function isRegisteredStateHomeEntry(topLevel: string): boolean; //# sourceMappingURL=state-home-registry.d.ts.map