export declare const PACKAGE_JSON_TEMPLATE: { readonly name: "__NAME_PLACEHOLDER__"; readonly version: "0.0.0"; readonly description: ""; readonly private: true; readonly type: "module"; readonly scripts: { readonly typecheck: "tsc --noEmit"; readonly test: "bun test src"; readonly check: "biome check --no-errors-on-unmatched"; readonly build: "tsc -p tsconfig.build.json"; }; readonly dependencies: { readonly '@wifo/factory-context': "^0.0.14"; readonly '@wifo/factory-core': "^0.0.14"; readonly '@wifo/factory-runtime': "^0.0.14"; }; readonly devDependencies: { readonly '@biomejs/biome': "^2.4.4"; readonly '@types/bun': "^1.1.14"; readonly '@wifo/factory-spec-review': "^0.0.14"; readonly typescript: "^5.6.0"; }; }; export declare const TSCONFIG_TEMPLATE = "{\n \"compilerOptions\": {\n \"target\": \"ES2022\",\n \"module\": \"ESNext\",\n \"moduleResolution\": \"Bundler\",\n \"lib\": [\"ES2022\"],\n \"types\": [\"bun\"],\n \"strict\": true,\n \"noUncheckedIndexedAccess\": true,\n \"noImplicitOverride\": true,\n \"noFallthroughCasesInSwitch\": true,\n \"esModuleInterop\": true,\n \"skipLibCheck\": true,\n \"forceConsistentCasingInFileNames\": true,\n \"resolveJsonModule\": true,\n \"isolatedModules\": true,\n \"verbatimModuleSyntax\": true\n },\n \"include\": [\"src/**/*\"],\n \"exclude\": [\"node_modules\", \".factory\"]\n}\n"; export declare const GITIGNORE_TEMPLATE = "node_modules\n.factory/worktrees/\n.factory/twin-recordings/\n*.log\n.DS_Store\n.factory-spec-review-cache\n"; export declare function readScopeProjectCommandTemplate(): string; export declare const FACTORY_CONFIG_TEMPLATE: { readonly runtime: { readonly maxIterations: 5; readonly maxTotalTokens: 1000000; readonly maxPromptTokens: 100000; readonly noJudge: false; }; readonly dod: { readonly template: readonly ["typecheck clean (`pnpm typecheck`)", "tests green (`pnpm test`)", "biome clean (`pnpm check`)"]; }; }; export declare const BIOME_JSON_TEMPLATE = "{\n \"$schema\": \"https://biomejs.dev/schemas/2.4.4/schema.json\",\n \"linter\": { \"enabled\": true, \"rules\": { \"recommended\": true } },\n \"formatter\": { \"enabled\": true, \"indentStyle\": \"space\", \"indentWidth\": 2, \"lineWidth\": 100 },\n \"files\": { \"includes\": [\"**\"] }\n}\n"; export declare const INDEX_TS_TEMPLATE = "export const VERSION = \"0.0.0\";\n"; export declare const INDEX_TEST_TEMPLATE = "import { expect, test } from \"bun:test\";\nimport { VERSION } from \"./index.js\";\n\ntest(\"VERSION exists\", () => expect(VERSION).toBe(\"0.0.0\"));\n"; export declare const README_TEMPLATE = "# {{name}}\n\nA software-factory project. Specs live in `docs/specs/`; the agent loop\nruns against them via `pnpm exec factory-runtime run docs/specs/.md`.\n\n## Setup\n\n```sh\npnpm install\n```\n\nResolves the `@wifo/factory-*` deps from the public npm registry.\n\n## The loop\n\n```sh\n# 1. Scope a task \u2014 writes docs/specs/.md\n/scope-task \"\"\n\n# 2. Lint the spec\npnpm exec factory spec lint docs/specs/\n\n# 3. Review the spec (LLM judges, subscription auth via `claude -p`)\npnpm exec factory spec review docs/specs/.md\n\n# 4. Run the autonomous loop (default 5 iterations, 500k token cap)\npnpm exec factory-runtime run docs/specs/.md --context-dir ./.factory\n\n# 5. Inspect what came out\npnpm exec factory-context tree --dir ./.factory --direction down\n\n# 6. Archive the shipped spec\n/finish-task \n```\n\n## Multi-spec products\n\nReal products are sequences of 4-6 specs in dependency order \u2014 `/scope-project` decomposes a product description into that DAG, and `factory-runtime run-sequence` walks it.\n\n```sh\n# Decompose a product description into 4-6 ordered specs:\n/scope-project A URL shortener with click tracking. JSON-over-HTTP, in-memory.\n\n# Lint + review the first spec:\npnpm exec factory spec lint docs/specs/\npnpm exec factory spec review docs/specs/.md\n\n# Walk the dependency DAG:\npnpm exec factory-runtime run-sequence docs/specs/ --no-judge\n```\n\n`factory init` writes `.claude/commands/scope-project.md` automatically \u2014 the slash command is available in any Claude Code session opened in this project, with no user-level install required.\n\nFor a single feature (one spec, not a product), use `/scope-task` \u2014 it lives in your user-level `~/.claude/commands/` and applies to every project.\n\n## Layout\n\n```\n{{name}}/\n\u251C\u2500\u2500 package.json\n\u251C\u2500\u2500 tsconfig.json\n\u251C\u2500\u2500 .gitignore\n\u251C\u2500\u2500 src/ # write your implementation + tests here\n\u2514\u2500\u2500 docs/\n \u251C\u2500\u2500 specs/\n \u2502 \u2514\u2500\u2500 done/ # /finish-task moves shipped specs here\n \u2514\u2500\u2500 technical-plans/\n \u2514\u2500\u2500 done/\n```\n\n## Tips\n\n- `.factory/` holds run records. It's gitignored \u2014 diffable history lives in commits.\n- `--no-judge` skips LLM-judged satisfactions (no `ANTHROPIC_API_KEY` needed).\n- `--no-implement` drops to validate-only mode (no `claude` spawn).\n\n## Prerequisites: bun is required for `pnpm test` only\n\n**bun is required for `pnpm test` only** \u2014 the workspace's test runner is `bun test src` per package. `pnpm build` and `pnpm typecheck` are Node-native (Node 22+); `pnpm install` for consumers of the published `@wifo/factory-*` packages does NOT require bun.\n"; //# sourceMappingURL=init-templates.d.ts.map