export declare const FJALL_STATE_GITIGNORE_ENTRIES: readonly [".fjall-state*.json", ".deploy-state.json", ...string[]]; /** * Path of the per-checkout local-state file, relative to the project anchor * directory, in `.gitignore` spelling. Derived from the constants that define * the real write path (`Config.writeLocalConfig`) so the ignore rule cannot * drift away from the file it is meant to cover. */ export declare const LOCAL_CONFIG_GITIGNORE_ENTRY = "/.fjall/local.json"; /** * Fjall-managed state DIRECTORIES under `.fjall/` — drift baselines, codemod * history, and reserved operator logs. Anchored with a leading slash, so each * entry only covers the directory holding the `.gitignore` that carries it. */ export declare const FJALL_MANAGED_STATE_DIR_ENTRIES: readonly ["/.fjall/history/", "/.fjall/baseline/", "/.fjall/logs/"]; /** * `.gitignore` for a scaffolded COMPONENT directory (`fjall//`): * compiled output, CDK synth artefacts, per-machine deploy state, and codemod * backups. * * Deliberately does NOT ignore `fjall-config.json`. Earlier copies of this * content did, which is a data-loss hazard rather than a tidiness win: the file * is committed project state, and its `capacityIdentity` block is load-bearing * deployed state — losing it renames (replaces) every stateful resource in its * slot on the next deploy. The entry was harmless only by accident, because it * sat in component directories where no `fjall-config.json` exists AND because * the packaging defects above meant it never reached a customer machine. */ export declare const FJALL_COMPONENT_GITIGNORE: string; /** * `.gitignore` for the PROJECT ANCHOR directory — the directory holding * `fjall-config.json`, which is where `.fjall/` managed state is written. * * This is a separate policy from {@link FJALL_COMPONENT_GITIGNORE} because the * two cover different directories. A component `.gitignore` at * `fjall//` cannot reach `fjall/.fjall/local.json` one level up, so * the local-state entries only do anything when written at the anchor. */ /** Attribution marker for entries appended to a pre-existing `.gitignore`. */ export declare const LOCAL_STATE_GITIGNORE_MARKER = "# fjall: managed local state (added by the fjall CLI)"; /** * Explanatory preamble written when Fjall CREATES the anchor `.gitignore`. * Not appended to an existing file — only the missing entries are, under * {@link LOCAL_STATE_GITIGNORE_MARKER}. */ export declare const FJALL_PROJECT_GITIGNORE_HEADER = "# Fjall-managed local state.\n#\n# `fjall-config.json` beside this file is deliberately NOT ignored: it is\n# committed project state, and its `capacityIdentity` block is load-bearing\n# deployed state \u2014 losing it renames (replaces) every stateful resource in its\n# slot on the next deploy.\n\n# Per-checkout active deploy target. Never committed: a committed value\n# silently re-aims a teammate's deploy or a CI pipeline at the wrong target.\n"; /** Full anchor-directory `.gitignore` (header plus every managed entry). */ export declare const FJALL_PROJECT_GITIGNORE: string;