@lucern/pack-host 1.0.28 → 1.0.30

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.
Files changed (67) hide show
  1. package/dist/contracts.d.ts +35 -35
  2. package/dist/contracts.js.map +1 -1
  3. package/dist/dependencyResolution.d.ts +3 -3
  4. package/dist/dependencyResolution.js +83 -59
  5. package/dist/dependencyResolution.js.map +1 -1
  6. package/dist/domain-pack/authoring.core.d.ts +82 -82
  7. package/dist/domain-pack/authoring.core.js +7 -6
  8. package/dist/domain-pack/authoring.core.js.map +1 -1
  9. package/dist/domain-pack/authoring.js +400 -281
  10. package/dist/domain-pack/authoring.js.map +1 -1
  11. package/dist/domain-pack/authoring.validation.js +400 -281
  12. package/dist/domain-pack/authoring.validation.js.map +1 -1
  13. package/dist/domain-pack/contracts.d.ts +95 -95
  14. package/dist/domain-pack/contracts.js.map +1 -1
  15. package/dist/domain-pack/index.js +416 -285
  16. package/dist/domain-pack/index.js.map +1 -1
  17. package/dist/domain-pack/ontology/software-entities-v1.d.ts +7 -7
  18. package/dist/domain-pack/ontology/software-entities-v1.js.map +1 -1
  19. package/dist/domain-pack/packs/developer-reasoning.js +7 -1
  20. package/dist/domain-pack/packs/developer-reasoning.js.map +1 -1
  21. package/dist/domain-pack/packs/engineering-accelerator.js.map +1 -1
  22. package/dist/domain-pack/packs/index.js +333 -239
  23. package/dist/domain-pack/packs/index.js.map +1 -1
  24. package/dist/domain-pack/shaping.d.ts +15 -15
  25. package/dist/domain-pack/shaping.js +326 -238
  26. package/dist/domain-pack/shaping.js.map +1 -1
  27. package/dist/domain-pack/validation.d.ts +6 -6
  28. package/dist/domain-pack/validation.js +318 -236
  29. package/dist/domain-pack/validation.js.map +1 -1
  30. package/dist/domain-pack.js +416 -285
  31. package/dist/domain-pack.js.map +1 -1
  32. package/dist/index.d.ts +6 -6
  33. package/dist/index.js +3793 -3643
  34. package/dist/index.js.map +1 -1
  35. package/dist/lifecycle.d.ts +9 -9
  36. package/dist/lifecycle.js.map +1 -1
  37. package/dist/manifestValidation.d.ts +9 -9
  38. package/dist/manifestValidation.js.map +1 -1
  39. package/dist/manifests/chat-v1.js.map +1 -1
  40. package/dist/manifests/deals-v1.js +1 -6
  41. package/dist/manifests/deals-v1.js.map +1 -1
  42. package/dist/manifests/decisions-v1.js.map +1 -1
  43. package/dist/manifests/documents-v1.js.map +1 -1
  44. package/dist/manifests/epistemic-algorithms-v1.js.map +1 -1
  45. package/dist/manifests/graph-visualization-v1.js.map +1 -1
  46. package/dist/manifests/index.js +1 -6
  47. package/dist/manifests/index.js.map +1 -1
  48. package/dist/manifests/news-v1.js.map +1 -1
  49. package/dist/manifests/philosophy-mode-v1.js.map +1 -1
  50. package/dist/manifests/sprints-v1.js.map +1 -1
  51. package/dist/manifests/task-management-v1.js.map +1 -1
  52. package/dist/manifests/team-analysis-v1.js.map +1 -1
  53. package/dist/manifests/themes-v1.js.map +1 -1
  54. package/dist/manifests/user-profiles-v1.js.map +1 -1
  55. package/dist/manifests.js +1 -6
  56. package/dist/manifests.js.map +1 -1
  57. package/dist/namespacePolicy.d.ts +6 -6
  58. package/dist/namespacePolicy.js.map +1 -1
  59. package/dist/proof-attestation.json +1 -1
  60. package/dist/registry.js +84 -65
  61. package/dist/registry.js.map +1 -1
  62. package/dist/runtime.d.ts +6 -6
  63. package/dist/runtime.js +83 -59
  64. package/dist/runtime.js.map +1 -1
  65. package/dist/serviceContracts.d.ts +4 -4
  66. package/dist/serviceContracts.js.map +1 -1
  67. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/domain-pack/contracts.ts","../../../src/domain-pack/packs/engineering-accelerator-tail.ts","../../../src/domain-pack/packs/engineering-accelerator.ts"],"names":[],"mappings":";AAoSA,SAAS,cAAc,MAAA,EAA4B;AACjD,EAAA,OAAO,KAAA,CAAM,IAAA;AAAA,IACX,IAAI,GAAA,CAAI,MAAA,CAAO,GAAA,CAAI,CAAC,MAAM,CAAA,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EAAa,2DAAA;AAAA,MACb,YAAA,EAAc,gDAAA;AAAA,MACd,QAAA,EAAU;AAAA,KACZ;AAAA,IACA;AAAA,MACE,MAAA,EAAQ,oBAAA;AAAA,MACR,IAAA,EAAM,oBAAA;AAAA,MACN,WAAA,EACE,8EAAA;AAAA,MACF,WAAA,EACE,kEAAA;AAAA,MACF,YAAA,EAAc,uDAAA;AAAA,MACd,QAAA,EAAU;AAAA,KACZ;AAAA,IACA;AAAA,MACE,MAAA,EAAQ,WAAA;AAAA,MACR,IAAA,EAAM,WAAA;AAAA,MACN,WAAA,EACE,yFAAA;AAAA,MACF,WAAA,EAAa,iDAAA;AAAA,MACb,YAAA,EAAc,sCAAA;AAAA,MACd,QAAA,EAAU;AAAA,KACZ;AAAA,IACA;AAAA,MACE,MAAA,EAAQ,QAAA;AAAA,MACR,IAAA,EAAM,QAAA;AAAA,MACN,WAAA,EACE,6EAAA;AAAA,MACF,WAAA,EAAa,6CAAA;AAAA,MACb,YAAA,EAAc,kCAAA;AAAA,MACd,QAAA,EAAU;AAAA;AACZ,GACF;AAAA,EAEA,GAAG;AACL,CAAC","file":"engineering-accelerator.js","sourcesContent":["/**\n * Domain Pack Contracts\n *\n * A DomainPack is a self-contained reasoning context bundle that defines\n * how reasoning works in a specific domain. It binds ontology versions,\n * defines topic structure, declares workflow templates, gate schemas,\n * artifact schemas, and reasoning roles.\n *\n * This is the THIRD pack type in Lucern's architecture:\n * - AppPackManifest: UI routes, surfaces, policy profiles (app-level)\n * - MethodologyPack: Agent workflow phases, gates, enforcement (process-level)\n * - DomainPack: Reasoning domain context (domain-level)\n *\n * All fields are internal until RS-5+ external authoring certification.\n */\n\n// ---------------------------------------------------------------------------\n// Ontology Binding — ties a pack to specific ontology versions\n// ---------------------------------------------------------------------------\n\nexport type OntologyProvisionMode = \"bind\" | \"seed\" | \"extend\";\n\nexport type OntologyBinding = {\n ontologyId: string;\n versionConstraint: string; // semver range, e.g., \"^1.0.0\"\n required: boolean;\n provisionMode?: OntologyProvisionMode;\n seedRef?: string;\n requiredEntityTypes?: string[];\n requiredEdgeTypes?: string[];\n};\n\n// ---------------------------------------------------------------------------\n// Topic Root — defines the domain's top-level topic tree structure\n// ---------------------------------------------------------------------------\n\nexport type TopicRoot = {\n slug: string;\n name: string;\n description: string;\n ontologyId?: string; // which ontology governs this root\n};\n\n// ---------------------------------------------------------------------------\n// Workflow Template — shape of a workflow (not execution logic)\n// ---------------------------------------------------------------------------\n\nexport type WorkflowStep = {\n stepId: string;\n name: string;\n description: string;\n requiredRoles: string[]; // roleId references\n produces?: string[]; // artifactId references\n gateId?: string; // gate checked after this step\n};\n\nexport type WorkflowTemplate = {\n workflowId: string;\n name: string;\n description: string;\n steps: WorkflowStep[];\n requiredArtifacts: string[]; // artifactId references\n gateCheckpoints: string[]; // gateId references\n};\n\n// ---------------------------------------------------------------------------\n// Gate Schema — declarative description of what must be true\n// ---------------------------------------------------------------------------\n\nexport type GateCriterionOperator = \"gte\" | \"lte\" | \"eq\" | \"gt\" | \"lt\";\n\nexport type GateCriterion = {\n criterionId: string;\n description: string;\n metric: string;\n threshold?: number;\n operator?: GateCriterionOperator;\n};\n\nexport type GateSeverity = \"blocking\" | \"warning\" | \"informational\";\n\nexport type GateSchema = {\n gateId: string;\n name: string;\n description: string;\n criteria: GateCriterion[];\n severity: GateSeverity;\n};\n\n// ---------------------------------------------------------------------------\n// Artifact Schema — what artifacts workflows produce\n// ---------------------------------------------------------------------------\n\nexport type ArtifactSchema = {\n artifactId: string;\n name: string;\n description: string;\n stage: string; // workflow step that produces this\n contentSchema: Record<string, unknown>; // JSON Schema for content\n requiredFields: string[];\n};\n\n// ---------------------------------------------------------------------------\n// Reasoning Role — epistemic actors in the domain\n// ---------------------------------------------------------------------------\n\nexport type ReasoningRole = {\n roleId: string;\n name: string;\n description: string;\n perspective: string;\n optimizesFor: string;\n mayBlock: boolean; // Epistemic Invariant #13: agents may block progress\n};\n\n// ---------------------------------------------------------------------------\n// Inquiry Shaping — pack-level hooks for RS-3 auto-shaping\n// ---------------------------------------------------------------------------\n\nexport type InquiryShapingQuestionTemplate = {\n templateId: string;\n questionType:\n | \"validation\"\n | \"falsification\"\n | \"assumption_probe\"\n | \"counterfactual\"\n | \"scope\"\n | \"comparison\"\n | \"mechanism\"\n | \"general\";\n priority?: \"critical\" | \"high\" | \"medium\" | \"low\";\n template: string; // Supports {{objective}} and {{hypothesis}}\n whenObjectiveIncludes?: string[];\n};\n\nexport type InquiryShapingTaskTemplate = {\n templateId: string;\n title: string; // Supports {{objective}} and {{hypothesis}}\n description?: string; // Supports {{objective}} and {{hypothesis}}\n taskType?:\n | \"general\"\n | \"find_evidence\"\n | \"verify_claim\"\n | \"research\"\n | \"review\"\n | \"interview\"\n | \"analysis\"\n | \"track_metrics\";\n priority?: \"urgent\" | \"high\" | \"medium\" | \"low\";\n whenObjectiveIncludes?: string[];\n whenQuestionTypes?: string[];\n};\n\nexport type InquiryShapingFrameworkHint = {\n frameworkName: string;\n whenObjectiveIncludes?: string[];\n whenQuestionTypes?: string[];\n boost?: number;\n reason?: string;\n};\n\nexport type InquiryShapingConfig = {\n questionTemplates?: InquiryShapingQuestionTemplate[];\n taskTemplates?: InquiryShapingTaskTemplate[];\n frameworkHints?: InquiryShapingFrameworkHint[];\n};\n\n// ---------------------------------------------------------------------------\n// Operating System Layer — prompts, tools, topic bootstrap, install surfaces\n// ---------------------------------------------------------------------------\n\nexport type RuntimeTarget = \"claude-code\" | \"codex\" | \"hybrid\" | \"portable\";\n\nexport type PromptSource = \"langfuse\" | \"file\";\nexport type PromptChannel =\n | \"bootstrap\"\n | \"workflow\"\n | \"analysis\"\n | \"review\"\n | \"tool\";\n\nexport type PromptBinding = {\n promptId: string;\n description: string;\n source: PromptSource;\n ref: string;\n fallbackRef?: string;\n channel: PromptChannel;\n required: boolean;\n runtimeTargets?: RuntimeTarget[];\n};\n\nexport type ToolKind = \"mcp\" | \"cli\" | \"script\" | \"hook\" | \"ai-tool\";\n\nexport type ToolBinding = {\n toolId: string;\n description: string;\n kind: ToolKind;\n entrypoint: string;\n required: boolean;\n runtimeTargets?: RuntimeTarget[];\n};\n\nexport type SetupAssetKind =\n | \"instruction\"\n | \"settings\"\n | \"hook\"\n | \"skill\"\n | \"agent\"\n | \"manifest\"\n | \"template\"\n | \"inbox\"\n | \"script\"\n | \"ui\";\n\nexport type SetupAsset = {\n assetId: string;\n kind: SetupAssetKind;\n description: string;\n path: string;\n required: boolean;\n runtimeTargets?: RuntimeTarget[];\n};\n\nexport type TopicTemplate = {\n slug: string;\n name: string;\n description: string;\n parentSlug?: string;\n ontologyId?: string;\n};\n\nexport type InstallProfile = {\n profileId: string;\n name: string;\n description: string;\n runtimeTarget: RuntimeTarget;\n promptIds: string[];\n toolIds: string[];\n assetIds: string[];\n defaultTopicSlugs: string[];\n};\n\nexport type OperatingSystemLayer = {\n prompts?: PromptBinding[];\n tools?: ToolBinding[];\n setupAssets?: SetupAsset[];\n topicTemplates?: TopicTemplate[];\n installProfiles?: InstallProfile[];\n};\n\n// ---------------------------------------------------------------------------\n// Domain Pack — the top-level contract\n// ---------------------------------------------------------------------------\n\nexport type DomainPack = {\n // Identity\n packId: string;\n name: string;\n version: string; // semver\n\n // Scope\n ontologyBindings: OntologyBinding[];\n topicRoots: TopicRoot[];\n\n // Workflow Templates\n workflows: WorkflowTemplate[];\n\n // Gate Schemas\n gates: GateSchema[];\n\n // Artifact Schemas\n artifacts: ArtifactSchema[];\n\n // Reasoning Roles\n roles: ReasoningRole[];\n\n // Inquiry shaping hooks\n inquiryShaping?: InquiryShapingConfig;\n\n // Runtime/install packaging layer\n operatingSystem?: OperatingSystemLayer;\n\n // Composition — optional references to other pack types\n appPackKeys?: string[]; // AppPackManifest keys this domain uses\n methodologyPackId?: string; // MethodologyPack for agent behavior\n};\n\n// ---------------------------------------------------------------------------\n// Builder helper — normalizes arrays and validates basic structure\n// ---------------------------------------------------------------------------\n\nfunction dedupeStrings(values: string[]): string[] {\n return Array.from(\n new Set(values.map((v) => v.trim()).filter((v) => v.length > 0))\n );\n}\n\nexport type DomainPackInput = Omit<DomainPack, \"appPackKeys\"> & {\n appPackKeys?: string[];\n};\n\nfunction normalizeRuntimeTargets(\n values: RuntimeTarget[] | undefined\n): RuntimeTarget[] | undefined {\n return values ? (dedupeStrings(values) as RuntimeTarget[]) : undefined;\n}\n\nfunction normalizeOntologyBinding(binding: OntologyBinding): OntologyBinding {\n return {\n ...binding,\n requiredEntityTypes: binding.requiredEntityTypes\n ? dedupeStrings(binding.requiredEntityTypes)\n : undefined,\n requiredEdgeTypes: binding.requiredEdgeTypes\n ? dedupeStrings(binding.requiredEdgeTypes)\n : undefined,\n };\n}\n\nfunction normalizeOperatingSystem(\n layer: OperatingSystemLayer | undefined\n): OperatingSystemLayer | undefined {\n if (!layer) {\n return;\n }\n\n return {\n prompts: layer.prompts?.map((prompt) => ({\n ...prompt,\n runtimeTargets: normalizeRuntimeTargets(prompt.runtimeTargets),\n })),\n tools: layer.tools?.map((tool) => ({\n ...tool,\n runtimeTargets: normalizeRuntimeTargets(tool.runtimeTargets),\n })),\n setupAssets: layer.setupAssets?.map((asset) => ({\n ...asset,\n runtimeTargets: normalizeRuntimeTargets(asset.runtimeTargets),\n })),\n topicTemplates: layer.topicTemplates,\n installProfiles: layer.installProfiles?.map((profile) => ({\n ...profile,\n promptIds: dedupeStrings(profile.promptIds),\n toolIds: dedupeStrings(profile.toolIds),\n assetIds: dedupeStrings(profile.assetIds),\n defaultTopicSlugs: dedupeStrings(profile.defaultTopicSlugs),\n })),\n };\n}\n\nexport function defineDomainPack(input: DomainPackInput): DomainPack {\n return {\n ...input,\n ontologyBindings: input.ontologyBindings.map(normalizeOntologyBinding),\n appPackKeys: input.appPackKeys\n ? dedupeStrings(input.appPackKeys)\n : undefined,\n operatingSystem: normalizeOperatingSystem(input.operatingSystem),\n workflows: input.workflows.map((w) => ({\n ...w,\n requiredArtifacts: dedupeStrings(w.requiredArtifacts),\n gateCheckpoints: dedupeStrings(w.gateCheckpoints),\n steps: w.steps.map((s) => ({\n ...s,\n requiredRoles: dedupeStrings(s.requiredRoles),\n produces: s.produces ? dedupeStrings(s.produces) : undefined,\n })),\n })),\n };\n}\n","/**\n * Private tail for the engineering accelerator domain pack.\n */\n\nimport type { DomainPackInput } from \"../contracts\";\n\nexport const ENGINEERING_ACCELERATOR_TAIL = {\n inquiryShaping: {\n questionTemplates: [\n {\n templateId: \"engineering-rationale-recall\",\n questionType: \"comparison\",\n priority: \"high\",\n template:\n \"Which prior migration, incident, review, or architecture decision most resembles {{objective}}, and what rationale or failure should we reuse before changing anything?\",\n whenObjectiveIncludes: [\n \"migration\",\n \"review\",\n \"pull request\",\n \"incident\",\n \"architecture\",\n \"decision\",\n \"rollback\",\n \"refactor\",\n ],\n },\n {\n templateId: \"engineering-rollback-falsifier\",\n questionType: \"falsification\",\n priority: \"critical\",\n template:\n \"What rollback, compatibility, or blast-radius assumption would fail first if {{hypothesis}} is wrong?\",\n whenObjectiveIncludes: [\"migration\", \"deploy\", \"rollout\", \"backfill\"],\n },\n {\n templateId: \"engineering-review-regression\",\n questionType: \"counterfactual\",\n priority: \"high\",\n template:\n \"Which prior regression, incident, or failed attempt should a reviewer inspect before approving {{objective}}?\",\n whenObjectiveIncludes: [\"review\", \"pull request\", \"diff\", \"merge\"],\n },\n {\n templateId: \"engineering-incident-contradiction\",\n questionType: \"mechanism\",\n priority: \"high\",\n template:\n \"Which competing hypothesis or contradiction must be surfaced before treating {{objective}} as the root cause?\",\n whenObjectiveIncludes: [\n \"incident\",\n \"outage\",\n \"error\",\n \"latency\",\n \"regression\",\n ],\n },\n {\n templateId: \"engineering-architecture-precedent\",\n questionType: \"validation\",\n priority: \"high\",\n template:\n \"Which earlier architecture decision would {{objective}} narrow, supersede, or reaffirm, and what evidence justified it then?\",\n whenObjectiveIncludes: [\n \"architecture\",\n \"decision\",\n \"interface\",\n \"contract\",\n \"api\",\n \"design\",\n ],\n },\n ],\n taskTemplates: [\n {\n templateId: \"engineering-memory-brief\",\n title:\n \"Compile prior rationale, analogous changes, and failed attempts for {{objective}}\",\n description:\n \"Create a first-hour memory brief so the workflow starts with precedent instead of rediscovery.\",\n taskType: \"analysis\",\n priority: \"urgent\",\n whenObjectiveIncludes: [\n \"migration\",\n \"review\",\n \"incident\",\n \"architecture\",\n \"decision\",\n \"rollback\",\n ],\n },\n {\n templateId: \"engineering-rollback-check\",\n title:\n \"Define blast radius, rollback path, and verification checkpoints for {{objective}}\",\n description:\n \"Turn risky engineering work into a reversible plan before implementation or approval.\",\n taskType: \"analysis\",\n priority: \"high\",\n whenObjectiveIncludes: [\"migration\", \"deploy\", \"rollout\", \"backfill\"],\n },\n {\n templateId: \"engineering-review-brief\",\n title:\n \"Draft a review brief linking prior rationale, regressions, and missing checks for {{objective}}\",\n description:\n \"Use prior incidents and earlier review context to focus approval on what can actually break.\",\n taskType: \"review\",\n priority: \"high\",\n whenObjectiveIncludes: [\"review\", \"pull request\", \"diff\", \"merge\"],\n },\n {\n templateId: \"engineering-contradiction-sweep\",\n title:\n \"Surface competing hypotheses and active contradictions for {{objective}}\",\n description:\n \"Keep incident triage or regression analysis from collapsing into a single untested explanation.\",\n taskType: \"analysis\",\n priority: \"high\",\n whenObjectiveIncludes: [\n \"incident\",\n \"outage\",\n \"error\",\n \"latency\",\n \"regression\",\n ],\n },\n {\n templateId: \"engineering-decision-record\",\n title:\n \"Capture cited precedent, rejected options, and follow-up risks for {{objective}}\",\n description:\n \"Turn architecture decisions into explicit rationale that future work can recall instead of re-litigating.\",\n taskType: \"analysis\",\n priority: \"medium\",\n whenObjectiveIncludes: [\n \"architecture\",\n \"decision\",\n \"interface\",\n \"contract\",\n \"design\",\n \"refactor\",\n ],\n },\n ],\n frameworkHints: [\n {\n frameworkName: \"Timeline Replay\",\n whenObjectiveIncludes: [\n \"migration\",\n \"deploy\",\n \"rollout\",\n \"incident\",\n \"rollback\",\n ],\n boost: 0.28,\n reason:\n \"Migration and incident work benefits from replaying prior changes, causes, and rollback timing.\",\n },\n {\n frameworkName: \"Contradiction Sweep\",\n whenObjectiveIncludes: [\"incident\", \"outage\", \"error\", \"regression\"],\n boost: 0.3,\n reason:\n \"Incidents need competing hypotheses surfaced explicitly before confidence collapses too early.\",\n },\n {\n frameworkName: \"ADR Delta Review\",\n whenObjectiveIncludes: [\n \"architecture\",\n \"decision\",\n \"interface\",\n \"contract\",\n \"design\",\n ],\n boost: 0.26,\n reason:\n \"Architecture work should compare against earlier decisions and explain the delta, not just the new plan.\",\n },\n {\n frameworkName: \"Pre-Merge Regression Audit\",\n whenObjectiveIncludes: [\"review\", \"pull request\", \"diff\", \"merge\"],\n boost: 0.24,\n reason:\n \"Risky reviews are faster and better when they start from prior regressions, rationale, and missing checks.\",\n },\n ],\n },\n\n operatingSystem: {\n prompts: [\n {\n promptId: \"claude-quick-reference\",\n description: \"Claude Code quick-reference and Lucern operating loop\",\n source: \"file\",\n ref: \"CLAUDE.md\",\n channel: \"bootstrap\",\n required: true,\n runtimeTargets: [\"claude-code\", \"hybrid\"],\n },\n {\n promptId: \"build-command\",\n description: \"Main-session worktree execution protocol\",\n source: \"file\",\n ref: \".claude/commands/build.md\",\n channel: \"workflow\",\n required: true,\n runtimeTargets: [\"claude-code\", \"codex\", \"hybrid\"],\n },\n {\n promptId: \"architect-command\",\n description: \"Product-architecture framing command\",\n source: \"file\",\n ref: \".claude/commands/architect.md\",\n channel: \"analysis\",\n required: true,\n runtimeTargets: [\"claude-code\", \"codex\", \"hybrid\"],\n },\n {\n promptId: \"pipeline-command\",\n description: \"Pipeline sequencing and queue-management command\",\n source: \"file\",\n ref: \".claude/commands/pipeline.md\",\n channel: \"analysis\",\n required: true,\n runtimeTargets: [\"claude-code\", \"codex\", \"hybrid\"],\n },\n {\n promptId: \"pr-command\",\n description: \"PR gating and merge-close workflow command\",\n source: \"file\",\n ref: \".claude/commands/pr.md\",\n channel: \"review\",\n required: true,\n runtimeTargets: [\"claude-code\", \"codex\", \"hybrid\"],\n },\n {\n promptId: \"lucern-generate-questions\",\n description: \"Langfuse prompt for pack-shaped question generation\",\n source: \"langfuse\",\n ref: \"lucern/generate-questions\",\n channel: \"analysis\",\n required: true,\n runtimeTargets: [\"claude-code\", \"codex\", \"hybrid\", \"portable\"],\n },\n {\n promptId: \"lucern-contradiction-analysis\",\n description:\n \"Langfuse prompt for contradiction-heavy debugging and incidents\",\n source: \"langfuse\",\n ref: \"lucern/contradiction-analysis\",\n channel: \"review\",\n required: true,\n runtimeTargets: [\"claude-code\", \"codex\", \"hybrid\", \"portable\"],\n },\n ],\n tools: [\n {\n toolId: \"start-investigation\",\n description: \"Canonical graph bootstrap before coding or review\",\n kind: \"mcp\",\n entrypoint: \"compile_context\",\n required: true,\n runtimeTargets: [\"claude-code\", \"codex\", \"hybrid\", \"portable\"],\n },\n {\n toolId: \"record-scope-learning\",\n description: \"Commit-level ledger writeback with touched paths\",\n kind: \"mcp\",\n entrypoint: \"record_scope_learning\",\n required: true,\n runtimeTargets: [\"claude-code\", \"codex\", \"hybrid\", \"portable\"],\n },\n {\n toolId: \"record-attempt\",\n description: \"Anti-repetition failure logging during implementation\",\n kind: \"mcp\",\n entrypoint: \"record_attempt\",\n required: true,\n runtimeTargets: [\"claude-code\", \"codex\", \"hybrid\", \"portable\"],\n },\n {\n toolId: \"pipeline-snapshot\",\n description: \"Campaign and lane-aware pipeline summary\",\n kind: \"mcp\",\n entrypoint: \"pipeline_snapshot\",\n required: true,\n runtimeTargets: [\"claude-code\", \"codex\", \"hybrid\", \"portable\"],\n },\n {\n toolId: \"session-init\",\n description: \"SessionStart hook bootstrap for Lucern context\",\n kind: \"hook\",\n entrypoint: \"npx tsx apps/mcp-server/src/cli.ts session-init\",\n required: true,\n runtimeTargets: [\"claude-code\", \"hybrid\"],\n },\n {\n toolId: \"tool-log\",\n description: \"Post-tool ledger logger and edit-counter reset hook\",\n kind: \"hook\",\n entrypoint: \"npx tsx apps/mcp-server/src/cli.ts tool-log\",\n required: true,\n runtimeTargets: [\"claude-code\", \"hybrid\"],\n },\n {\n toolId: \"build-bash-gate\",\n description:\n \"Commit and PR gate enforcing ledger plus knowledge writes\",\n kind: \"hook\",\n entrypoint: \"npx tsx apps/mcp-server/src/cli.ts build-bash-gate\",\n required: true,\n runtimeTargets: [\"claude-code\", \"hybrid\"],\n },\n {\n toolId: \"lucern-cli-init\",\n description: \"One-step MCP setup for new repositories\",\n kind: \"cli\",\n entrypoint: \"npx tsx apps/mcp-server/src/cli.ts init\",\n required: true,\n runtimeTargets: [\"claude-code\", \"codex\", \"hybrid\"],\n },\n {\n toolId: \"kit-install\",\n description:\n \"Manifest-driven installer for the turnkey Lucern engineering solution pack\",\n kind: \"cli\",\n entrypoint:\n \"npx tsx apps/mcp-server/src/cli.ts kit install developer-engineering\",\n required: true,\n runtimeTargets: [\"claude-code\", \"codex\", \"hybrid\"],\n },\n ],\n setupAssets: [\n {\n assetId: \"claude-instructions\",\n kind: \"instruction\",\n description: \"Primary Claude Code quick-reference and Lucern protocol\",\n path: \"CLAUDE.md\",\n required: true,\n runtimeTargets: [\"claude-code\", \"hybrid\"],\n },\n {\n assetId: \"codex-bridge\",\n kind: \"instruction\",\n description: \"Codex bridge instructions for Lucern-native development\",\n path: \"AGENTS.md\",\n required: true,\n runtimeTargets: [\"codex\", \"hybrid\"],\n },\n {\n assetId: \"mcp-config\",\n kind: \"manifest\",\n description: \"MCP server registry including lucern-graph\",\n path: \".mcp.json\",\n required: true,\n runtimeTargets: [\"claude-code\", \"codex\", \"hybrid\"],\n },\n {\n assetId: \"kit-manifest\",\n kind: \"manifest\",\n description:\n \"Serialized engineering kit blueprint capturing prompts, tools, ontology, and topic scaffolding\",\n path: \".lucern/kits/developer-engineering.json\",\n required: true,\n runtimeTargets: [\"claude-code\", \"codex\", \"hybrid\"],\n },\n {\n assetId: \"lucern-launcher\",\n kind: \"script\",\n description: \"Launch script used by MCP clients to start lucern-graph\",\n path: \"scripts/lucern_start\",\n required: true,\n runtimeTargets: [\"claude-code\", \"codex\", \"hybrid\"],\n },\n {\n assetId: \"lucern-shell-wrapper\",\n kind: \"script\",\n description:\n \"Shell wrapper for invoking Lucern CLI commands with credential resolution\",\n path: \"scripts/lucern\",\n required: true,\n runtimeTargets: [\"claude-code\", \"codex\", \"hybrid\"],\n },\n {\n assetId: \"lucern-cli-script\",\n kind: \"script\",\n description:\n \"CLI entrypoint for hook commands, init, sync, and kit installation\",\n path: \"apps/mcp-server/src/cli.ts\",\n required: true,\n runtimeTargets: [\"claude-code\", \"codex\", \"hybrid\"],\n },\n {\n assetId: \"claude-settings\",\n kind: \"settings\",\n description: \"Claude hook wiring and enforcement defaults\",\n path: \".claude/settings.json\",\n required: true,\n runtimeTargets: [\"claude-code\", \"hybrid\"],\n },\n {\n assetId: \"permission-gate-hook\",\n kind: \"hook\",\n description: \"Rule-based permission gate for risky tool usage\",\n path: \".claude/hooks/permission-gate.sh\",\n required: true,\n runtimeTargets: [\"claude-code\", \"hybrid\"],\n },\n {\n assetId: \"inbox-check-hook\",\n kind: \"hook\",\n description: \"Session-start inbox and PR queue surfacing\",\n path: \".claude/hooks/inbox-check.sh\",\n required: true,\n runtimeTargets: [\"claude-code\", \"hybrid\"],\n },\n {\n assetId: \"prompt-router-hook\",\n kind: \"hook\",\n description: \"Prompt router for /build validation and inbox context\",\n path: \".claude/hooks/prompt-router.sh\",\n required: true,\n runtimeTargets: [\"claude-code\", \"hybrid\"],\n },\n {\n assetId: \"writeback-gate-hook\",\n kind: \"hook\",\n description: \"Session-close writeback quality gate\",\n path: \".claude/hooks/writeback-gate.sh\",\n required: true,\n runtimeTargets: [\"claude-code\", \"hybrid\"],\n },\n {\n assetId: \"build-command-doc\",\n kind: \"template\",\n description: \"Inline /build command contract\",\n path: \".claude/commands/build.md\",\n required: true,\n runtimeTargets: [\"claude-code\", \"codex\", \"hybrid\"],\n },\n {\n assetId: \"architect-command-doc\",\n kind: \"template\",\n description: \"Inline /architect command contract\",\n path: \".claude/commands/architect.md\",\n required: true,\n runtimeTargets: [\"claude-code\", \"codex\", \"hybrid\"],\n },\n {\n assetId: \"pipeline-command-doc\",\n kind: \"template\",\n description: \"Inline /pipeline command contract\",\n path: \".claude/commands/pipeline.md\",\n required: true,\n runtimeTargets: [\"claude-code\", \"codex\", \"hybrid\"],\n },\n {\n assetId: \"pr-command-doc\",\n kind: \"template\",\n description: \"Inline /pr command contract\",\n path: \".claude/commands/pr.md\",\n required: true,\n runtimeTargets: [\"claude-code\", \"codex\", \"hybrid\"],\n },\n {\n assetId: \"claude-agent-catalog\",\n kind: \"agent\",\n description:\n \"Curated agent catalog for architecture, pipeline, QA, and PR review\",\n path: \".claude/agents\",\n required: true,\n runtimeTargets: [\"claude-code\", \"hybrid\"],\n },\n {\n assetId: \"claude-skill-catalog\",\n kind: \"skill\",\n description:\n \"Skill catalog containing build, pipeline, product-architect, and Lucern workflows\",\n path: \".claude/skills\",\n required: true,\n runtimeTargets: [\"claude-code\", \"hybrid\"],\n },\n {\n assetId: \"skills-sync-script\",\n kind: \"script\",\n description: \"Bridge script for syncing Claude and Codex skill mirrors\",\n path: \"scripts/sync_codex_claude_skills.sh\",\n required: true,\n runtimeTargets: [\"codex\", \"hybrid\"],\n },\n {\n assetId: \"hooks-doc\",\n kind: \"template\",\n description: \"Hook architecture and writeback enforcement reference\",\n path: \"docs/operations/hooks.md\",\n required: true,\n runtimeTargets: [\"claude-code\", \"codex\", \"hybrid\"],\n },\n {\n assetId: \"setup-ui\",\n kind: \"ui\",\n description:\n \"Portal setup surface showing quickstart and bootstrap steps\",\n path: \"_template/dev/page.tsx\",\n required: false,\n runtimeTargets: [\"portable\", \"claude-code\", \"codex\", \"hybrid\"],\n },\n ],\n topicTemplates: [\n {\n slug: \"migration-precedent\",\n name: \"Migration Precedent\",\n description:\n \"Analogous schema and rollout changes worth recalling before execution\",\n parentSlug: \"migrations\",\n ontologyId: \"software-entities\",\n },\n {\n slug: \"rollback-playbooks\",\n name: \"Rollback Playbooks\",\n description:\n \"Named rollback strategies and canary escape hatches for risky changes\",\n parentSlug: \"migrations\",\n ontologyId: \"software-entities\",\n },\n {\n slug: \"review-briefs\",\n name: \"Review Briefs\",\n description:\n \"Diff-scoped risk briefs grounded in prior regressions and rationale\",\n parentSlug: \"reviews\",\n ontologyId: \"software-entities\",\n },\n {\n slug: \"regression-history\",\n name: \"Regression History\",\n description:\n \"Past regressions and approval misses that should influence current reviews\",\n parentSlug: \"reviews\",\n ontologyId: \"software-entities\",\n },\n {\n slug: \"active-incidents\",\n name: \"Active Incidents\",\n description:\n \"Current incidents with competing hypotheses, mitigations, and contradictions\",\n parentSlug: \"incidents\",\n ontologyId: \"software-entities\",\n },\n {\n slug: \"incident-postmortems\",\n name: \"Incident Postmortems\",\n description:\n \"Resolved incidents with preserved rationale and follow-up learnings\",\n parentSlug: \"incidents\",\n ontologyId: \"software-entities\",\n },\n {\n slug: \"adrs\",\n name: \"Architecture Decision Records\",\n description:\n \"Citable architecture records with precedent, objections, and supersessions\",\n parentSlug: \"architecture\",\n ontologyId: \"software-entities\",\n },\n {\n slug: \"interface-contracts\",\n name: \"Interface Contracts\",\n description:\n \"APIs, boundaries, and contract deltas that architecture work depends on\",\n parentSlug: \"architecture\",\n ontologyId: \"software-entities\",\n },\n {\n slug: \"failed-attempts\",\n name: \"Failed Attempts\",\n description:\n \"Anti-repetition log for engineering decisions and implementation dead ends\",\n parentSlug: \"decision-memory\",\n ontologyId: \"software-entities\",\n },\n {\n slug: \"rationale-recall\",\n name: \"Rationale Recall\",\n description:\n \"Recalled rationale snippets and analogs worth citing before new work\",\n parentSlug: \"decision-memory\",\n ontologyId: \"software-entities\",\n },\n ],\n installProfiles: [\n {\n profileId: \"claude-code\",\n name: \"Claude Code Engineering Kit\",\n description:\n \"Installs Claude-native hooks, commands, agent catalog, and first-hour engineering prompts on top of Lucern.\",\n runtimeTarget: \"claude-code\",\n promptIds: [\n \"claude-quick-reference\",\n \"build-command\",\n \"architect-command\",\n \"pipeline-command\",\n \"pr-command\",\n \"lucern-generate-questions\",\n \"lucern-contradiction-analysis\",\n ],\n toolIds: [\n \"start-investigation\",\n \"record-scope-learning\",\n \"record-attempt\",\n \"pipeline-snapshot\",\n \"session-init\",\n \"tool-log\",\n \"build-bash-gate\",\n \"lucern-cli-init\",\n \"kit-install\",\n ],\n assetIds: [\n \"claude-instructions\",\n \"mcp-config\",\n \"kit-manifest\",\n \"lucern-launcher\",\n \"lucern-shell-wrapper\",\n \"lucern-cli-script\",\n \"claude-settings\",\n \"permission-gate-hook\",\n \"inbox-check-hook\",\n \"prompt-router-hook\",\n \"writeback-gate-hook\",\n \"build-command-doc\",\n \"architect-command-doc\",\n \"pipeline-command-doc\",\n \"pr-command-doc\",\n \"claude-agent-catalog\",\n \"claude-skill-catalog\",\n \"hooks-doc\",\n \"setup-ui\",\n ],\n defaultTopicSlugs: [\n \"migrations\",\n \"reviews\",\n \"incidents\",\n \"architecture\",\n \"decision-memory\",\n ],\n },\n {\n profileId: \"codex\",\n name: \"Codex Engineering Kit\",\n description:\n \"Installs the Codex bridge, Lucern MCP wiring, and the same pack-level workflows without Claude-specific hooks.\",\n runtimeTarget: \"codex\",\n promptIds: [\n \"build-command\",\n \"architect-command\",\n \"pipeline-command\",\n \"pr-command\",\n \"lucern-generate-questions\",\n \"lucern-contradiction-analysis\",\n ],\n toolIds: [\n \"start-investigation\",\n \"record-scope-learning\",\n \"record-attempt\",\n \"pipeline-snapshot\",\n \"lucern-cli-init\",\n \"kit-install\",\n ],\n assetIds: [\n \"codex-bridge\",\n \"mcp-config\",\n \"kit-manifest\",\n \"lucern-launcher\",\n \"lucern-shell-wrapper\",\n \"lucern-cli-script\",\n \"build-command-doc\",\n \"architect-command-doc\",\n \"pipeline-command-doc\",\n \"pr-command-doc\",\n \"claude-skill-catalog\",\n \"skills-sync-script\",\n \"hooks-doc\",\n \"setup-ui\",\n ],\n defaultTopicSlugs: [\n \"migrations\",\n \"reviews\",\n \"incidents\",\n \"architecture\",\n \"decision-memory\",\n ],\n },\n {\n profileId: \"hybrid\",\n name: \"Hybrid Engineering Kit\",\n description:\n \"Installs both Claude and Codex entry surfaces against one Lucern-native engineering operating system.\",\n runtimeTarget: \"hybrid\",\n promptIds: [\n \"claude-quick-reference\",\n \"build-command\",\n \"architect-command\",\n \"pipeline-command\",\n \"pr-command\",\n \"lucern-generate-questions\",\n \"lucern-contradiction-analysis\",\n ],\n toolIds: [\n \"start-investigation\",\n \"record-scope-learning\",\n \"record-attempt\",\n \"pipeline-snapshot\",\n \"session-init\",\n \"tool-log\",\n \"build-bash-gate\",\n \"lucern-cli-init\",\n \"kit-install\",\n ],\n assetIds: [\n \"claude-instructions\",\n \"codex-bridge\",\n \"mcp-config\",\n \"kit-manifest\",\n \"lucern-launcher\",\n \"lucern-shell-wrapper\",\n \"lucern-cli-script\",\n \"claude-settings\",\n \"permission-gate-hook\",\n \"inbox-check-hook\",\n \"prompt-router-hook\",\n \"writeback-gate-hook\",\n \"build-command-doc\",\n \"architect-command-doc\",\n \"pipeline-command-doc\",\n \"pr-command-doc\",\n \"claude-agent-catalog\",\n \"claude-skill-catalog\",\n \"skills-sync-script\",\n \"hooks-doc\",\n \"setup-ui\",\n ],\n defaultTopicSlugs: [\n \"migrations\",\n \"reviews\",\n \"incidents\",\n \"architecture\",\n \"decision-memory\",\n ],\n },\n ],\n },\n\n appPackKeys: [\n \"chat-v1\",\n \"documents-v1\",\n \"epistemic-algorithms-v1\",\n \"graph-visualization-v1\",\n \"task-management-v1\",\n ],\n methodologyPackId: \"developer\",\n} satisfies Pick<\n DomainPackInput,\n \"inquiryShaping\" | \"operatingSystem\" | \"appPackKeys\" | \"methodologyPackId\"\n>;\n","/**\n * Domain Pack: Engineering Accelerator\n *\n * First concrete engineering domain pack for proving that pack-host can\n * turn first-hour workflows into reusable reasoning scaffolding.\n */\n\nimport { defineDomainPack } from \"../contracts\";\nimport { ENGINEERING_ACCELERATOR_TAIL } from \"./engineering-accelerator-tail\";\n\nexport const ENGINEERING_ACCELERATOR_PACK = defineDomainPack({\n packId: \"engineering-accelerator\",\n name: \"Engineering Accelerator\",\n version: \"1.0.0\",\n\n ontologyBindings: [\n {\n ontologyId: \"software-entities\",\n versionConstraint: \"^1.0.0\",\n required: true,\n provisionMode: \"seed\",\n seedRef:\n \"packages/pack-host/src/domain-pack/ontology/software-entities-v1.ts\",\n requiredEntityTypes: [\n \"repository\",\n \"service\",\n \"module\",\n \"workflow\",\n \"incident\",\n \"migration\",\n \"decision_record\",\n \"agent\",\n ],\n requiredEdgeTypes: [\n \"depends_on\",\n \"owns\",\n \"calls\",\n \"blocks\",\n \"reviews\",\n \"mitigates\",\n \"supersedes\",\n ],\n },\n ],\n\n topicRoots: [\n {\n slug: \"migrations\",\n name: \"Migrations\",\n description:\n \"Schema, API, and runtime migrations with blast-radius, rollback, and parity memory\",\n ontologyId: \"software-entities\",\n },\n {\n slug: \"reviews\",\n name: \"Reviews\",\n description:\n \"Pull-request and change-review workflows grounded in prior rationale and regressions\",\n ontologyId: \"software-entities\",\n },\n {\n slug: \"incidents\",\n name: \"Incidents\",\n description:\n \"Incident response driven by competing hypotheses, contradictions, and mitigations\",\n ontologyId: \"software-entities\",\n },\n {\n slug: \"architecture\",\n name: \"Architecture\",\n description:\n \"Architecture decisions, interface trade-offs, and precedent-aware rationale recall\",\n ontologyId: \"software-entities\",\n },\n {\n slug: \"decision-memory\",\n name: \"Decision Memory\",\n description:\n \"Cross-cutting rationale recall, failed attempts, and analog reuse across engineering work\",\n ontologyId: \"software-entities\",\n },\n ],\n\n workflows: [\n {\n workflowId: \"migration-readiness\",\n name: \"Migration Readiness\",\n description:\n \"Recall similar migrations, map blast radius, and define rollback before rollout\",\n steps: [\n {\n stepId: \"recall-history\",\n name: \"Recall History\",\n description:\n \"Compile analogous migrations, prior rationale, failed attempts, and compatibility constraints\",\n requiredRoles: [\"context-compiler\", \"migration-owner\"],\n produces: [\"memory-brief\"],\n gateId: \"memory-grounded\",\n },\n {\n stepId: \"plan-rollout\",\n name: \"Plan Rollout\",\n description:\n \"Define blast radius, sequencing, rollback, and verification checkpoints\",\n requiredRoles: [\"migration-owner\", \"critic\"],\n produces: [\"migration-plan\"],\n gateId: \"rollback-ready\",\n },\n {\n stepId: \"verify-rollout\",\n name: \"Verify Rollout\",\n description:\n \"Confirm canary, rollback, and parity checks are explicit before execution\",\n requiredRoles: [\"reviewer\"],\n produces: [\"verification-checklist\"],\n gateId: \"verification-covered\",\n },\n ],\n requiredArtifacts: [\n \"memory-brief\",\n \"migration-plan\",\n \"verification-checklist\",\n ],\n gateCheckpoints: [\n \"memory-grounded\",\n \"rollback-ready\",\n \"verification-covered\",\n ],\n },\n {\n workflowId: \"pull-request-review\",\n name: \"Pull Request Review\",\n description:\n \"Use prior rationale, regressions, and verification history to review risky changes faster\",\n steps: [\n {\n stepId: \"recall-review-context\",\n name: \"Recall Review Context\",\n description:\n \"Load earlier decisions, similar diffs, failed attempts, and relevant incidents\",\n requiredRoles: [\"context-compiler\", \"reviewer\"],\n produces: [\"review-context\"],\n gateId: \"memory-grounded\",\n },\n {\n stepId: \"inspect-diff\",\n name: \"Inspect Diff\",\n description:\n \"Surface risk areas, stale assumptions, and regressions that should block approval\",\n requiredRoles: [\"reviewer\", \"critic\"],\n produces: [\"review-findings\"],\n gateId: \"review-risks-surfaced\",\n },\n {\n stepId: \"verify-changes\",\n name: \"Verify Changes\",\n description:\n \"Tie approval to explicit typecheck, test, and integration evidence\",\n requiredRoles: [\"reviewer\"],\n produces: [\"verification-checklist\"],\n gateId: \"verification-covered\",\n },\n ],\n requiredArtifacts: [\n \"review-context\",\n \"review-findings\",\n \"verification-checklist\",\n ],\n gateCheckpoints: [\n \"memory-grounded\",\n \"review-risks-surfaced\",\n \"verification-covered\",\n ],\n },\n {\n workflowId: \"incident-response\",\n name: \"Incident Response\",\n description:\n \"Treat incidents as contradiction-heavy reasoning tasks before committing to a root cause\",\n steps: [\n {\n stepId: \"collect-signal\",\n name: \"Collect Signal\",\n description:\n \"Assemble symptoms, recent changes, precedent incidents, and active hypotheses\",\n requiredRoles: [\"context-compiler\", \"incident-commander\"],\n produces: [\"incident-brief\"],\n gateId: \"memory-grounded\",\n },\n {\n stepId: \"surface-contradictions\",\n name: \"Surface Contradictions\",\n description:\n \"Make competing explanations explicit before mitigation narrows the search space\",\n requiredRoles: [\"incident-commander\", \"critic\"],\n produces: [\"contradiction-report\"],\n gateId: \"contradictions-surfaced\",\n },\n {\n stepId: \"plan-mitigation\",\n name: \"Plan Mitigation\",\n description:\n \"Choose mitigations with owners, reversibility, and verification paths\",\n requiredRoles: [\"incident-commander\", \"reviewer\"],\n produces: [\"mitigation-plan\"],\n gateId: \"verification-covered\",\n },\n ],\n requiredArtifacts: [\n \"incident-brief\",\n \"contradiction-report\",\n \"mitigation-plan\",\n ],\n gateCheckpoints: [\n \"memory-grounded\",\n \"contradictions-surfaced\",\n \"verification-covered\",\n ],\n },\n {\n workflowId: \"architecture-decision\",\n name: \"Architecture Decision\",\n description:\n \"Ground architecture choices in cited precedent, explicit alternatives, and follow-up risk\",\n steps: [\n {\n stepId: \"recall-precedent\",\n name: \"Recall Precedent\",\n description:\n \"Gather analogous decisions, trade-offs, reversals, and evidence already in the graph\",\n requiredRoles: [\"context-compiler\", \"architect\"],\n produces: [\"decision-brief\"],\n gateId: \"memory-grounded\",\n },\n {\n stepId: \"compare-options\",\n name: \"Compare Options\",\n description:\n \"Contrast viable paths, show what changes, and surface objections early\",\n requiredRoles: [\"architect\", \"critic\"],\n produces: [\"decision-brief\"],\n gateId: \"decision-rationale-citable\",\n },\n {\n stepId: \"record-decision\",\n name: \"Record Decision\",\n description:\n \"Capture the chosen path, cited rationale, and follow-up risks for later recall\",\n requiredRoles: [\"architect\"],\n produces: [\"decision-record\"],\n },\n ],\n requiredArtifacts: [\"decision-brief\", \"decision-record\"],\n gateCheckpoints: [\"memory-grounded\", \"decision-rationale-citable\"],\n },\n ],\n\n gates: [\n {\n gateId: \"memory-grounded\",\n name: \"Memory Grounded\",\n description:\n \"The workflow is anchored in prior rationale, analogs, and failure memory before action\",\n criteria: [\n {\n criterionId: \"precedent-cited\",\n description:\n \"At least one prior change, incident, or decision is cited\",\n metric: \"precedent_citations\",\n threshold: 1,\n operator: \"gte\",\n },\n {\n criterionId: \"failure-log-checked\",\n description:\n \"Relevant failed attempts or incident history were checked\",\n metric: \"failure_log_checked\",\n threshold: 1,\n operator: \"eq\",\n },\n ],\n severity: \"blocking\",\n },\n {\n gateId: \"rollback-ready\",\n name: \"Rollback Ready\",\n description:\n \"Risky migrations cannot proceed without explicit rollback and blast-radius coverage\",\n criteria: [\n {\n criterionId: \"blast-radius-scoped\",\n description: \"Blast radius is enumerated for the proposed change\",\n metric: \"blast_radius_scoped\",\n threshold: 1,\n operator: \"eq\",\n },\n {\n criterionId: \"rollback-path-defined\",\n description: \"Rollback path is explicit and reversible\",\n metric: \"rollback_path_defined\",\n threshold: 1,\n operator: \"eq\",\n },\n ],\n severity: \"blocking\",\n },\n {\n gateId: \"review-risks-surfaced\",\n name: \"Review Risks Surfaced\",\n description:\n \"Review must explain what could regress and why approval is still justified\",\n criteria: [\n {\n criterionId: \"risk-areas-documented\",\n description:\n \"Risk areas and likely regressions are called out explicitly\",\n metric: \"risk_areas_documented\",\n threshold: 1,\n operator: \"gte\",\n },\n {\n criterionId: \"prior-regressions-checked\",\n description: \"Reviewer checked analogous regressions or incidents\",\n metric: \"prior_regressions_checked\",\n threshold: 1,\n operator: \"eq\",\n },\n ],\n severity: \"blocking\",\n },\n {\n gateId: \"contradictions-surfaced\",\n name: \"Contradictions Surfaced\",\n description:\n \"Incidents should preserve competing hypotheses long enough to avoid false certainty\",\n criteria: [\n {\n criterionId: \"multiple-hypotheses\",\n description: \"At least two plausible hypotheses remain visible\",\n metric: \"competing_hypotheses_count\",\n threshold: 2,\n operator: \"gte\",\n },\n {\n criterionId: \"contradictions-reviewed\",\n description: \"Relevant contradictions or tensions were reviewed\",\n metric: \"contradictions_reviewed\",\n threshold: 1,\n operator: \"gte\",\n },\n ],\n severity: \"blocking\",\n },\n {\n gateId: \"decision-rationale-citable\",\n name: \"Decision Rationale Citable\",\n description:\n \"Architecture choices should cite prior rationale and compare viable alternatives\",\n criteria: [\n {\n criterionId: \"options-compared\",\n description: \"At least two options are compared before choosing one\",\n metric: \"options_compared\",\n threshold: 2,\n operator: \"gte\",\n },\n {\n criterionId: \"prior-decisions-cited\",\n description: \"Decision cites prior beliefs, ADRs, or incidents\",\n metric: \"prior_decisions_cited\",\n threshold: 1,\n operator: \"gte\",\n },\n ],\n severity: \"blocking\",\n },\n {\n gateId: \"verification-covered\",\n name: \"Verification Covered\",\n description:\n \"Approval, rollout, and mitigation all require named verification paths\",\n criteria: [\n {\n criterionId: \"checks-defined\",\n description: \"At least one explicit verification path is named\",\n metric: \"verification_paths_defined\",\n threshold: 1,\n operator: \"gte\",\n },\n {\n criterionId: \"owners-named\",\n description: \"Owners or on-call responsibility are explicit\",\n metric: \"owner_count\",\n threshold: 1,\n operator: \"gte\",\n },\n ],\n severity: \"blocking\",\n },\n ],\n\n artifacts: [\n {\n artifactId: \"memory-brief\",\n name: \"Memory Brief\",\n description:\n \"A reusable brief of analogous changes, prior rationale, failed attempts, and contradictions\",\n stage: \"recall-history\",\n contentSchema: {\n type: \"object\",\n properties: {\n analogousChanges: { type: \"array\", items: { type: \"string\" } },\n priorDecisions: { type: \"array\", items: { type: \"string\" } },\n failedAttempts: { type: \"array\", items: { type: \"string\" } },\n contradictions: { type: \"array\", items: { type: \"string\" } },\n },\n required: [\"analogousChanges\", \"priorDecisions\"],\n },\n requiredFields: [\"analogousChanges\", \"priorDecisions\"],\n },\n {\n artifactId: \"migration-plan\",\n name: \"Migration Plan\",\n description:\n \"Blast radius, rollback path, rollout checkpoints, and verification plan\",\n stage: \"plan-rollout\",\n contentSchema: {\n type: \"object\",\n properties: {\n blastRadius: { type: \"array\", items: { type: \"string\" } },\n rollbackPlan: { type: \"string\" },\n verificationPath: { type: \"array\", items: { type: \"string\" } },\n canarySteps: { type: \"array\", items: { type: \"string\" } },\n },\n required: [\"blastRadius\", \"rollbackPlan\", \"verificationPath\"],\n },\n requiredFields: [\"blastRadius\", \"rollbackPlan\", \"verificationPath\"],\n },\n {\n artifactId: \"verification-checklist\",\n name: \"Verification Checklist\",\n description:\n \"Named checks, owners, and pass/fail criteria for rollout or approval\",\n stage: \"verify-rollout\",\n contentSchema: {\n type: \"object\",\n properties: {\n checks: { type: \"array\", items: { type: \"string\" } },\n owners: { type: \"array\", items: { type: \"string\" } },\n passCriteria: { type: \"array\", items: { type: \"string\" } },\n },\n required: [\"checks\", \"owners\"],\n },\n requiredFields: [\"checks\", \"owners\"],\n },\n {\n artifactId: \"review-context\",\n name: \"Review Context\",\n description:\n \"Prior rationale, related diffs, incidents, and failure history relevant to a review\",\n stage: \"recall-review-context\",\n contentSchema: {\n type: \"object\",\n properties: {\n rationaleLinks: { type: \"array\", items: { type: \"string\" } },\n analogousDiffs: { type: \"array\", items: { type: \"string\" } },\n relatedIncidents: { type: \"array\", items: { type: \"string\" } },\n },\n required: [\"rationaleLinks\"],\n },\n requiredFields: [\"rationaleLinks\"],\n },\n {\n artifactId: \"review-findings\",\n name: \"Review Findings\",\n description:\n \"What could regress, what evidence was checked, and whether the change should be blocked\",\n stage: \"inspect-diff\",\n contentSchema: {\n type: \"object\",\n properties: {\n findings: { type: \"array\", items: { type: \"string\" } },\n regressionsChecked: { type: \"array\", items: { type: \"string\" } },\n blockReason: { type: \"string\" },\n },\n required: [\"findings\", \"regressionsChecked\"],\n },\n requiredFields: [\"findings\", \"regressionsChecked\"],\n },\n {\n artifactId: \"incident-brief\",\n name: \"Incident Brief\",\n description:\n \"Signals, recent changes, competing hypotheses, and precedent incidents\",\n stage: \"collect-signal\",\n contentSchema: {\n type: \"object\",\n properties: {\n symptoms: { type: \"array\", items: { type: \"string\" } },\n recentChanges: { type: \"array\", items: { type: \"string\" } },\n competingHypotheses: { type: \"array\", items: { type: \"string\" } },\n precedentIncidents: { type: \"array\", items: { type: \"string\" } },\n },\n required: [\"symptoms\", \"competingHypotheses\"],\n },\n requiredFields: [\"symptoms\", \"competingHypotheses\"],\n },\n {\n artifactId: \"contradiction-report\",\n name: \"Contradiction Report\",\n description:\n \"Active contradictions, why they matter, and what evidence could collapse them\",\n stage: \"surface-contradictions\",\n contentSchema: {\n type: \"object\",\n properties: {\n contradictions: { type: \"array\", items: { type: \"string\" } },\n likelyRootCauses: { type: \"array\", items: { type: \"string\" } },\n missingEvidence: { type: \"array\", items: { type: \"string\" } },\n },\n required: [\"contradictions\", \"likelyRootCauses\"],\n },\n requiredFields: [\"contradictions\", \"likelyRootCauses\"],\n },\n {\n artifactId: \"mitigation-plan\",\n name: \"Mitigation Plan\",\n description:\n \"Chosen mitigation, rollback path, and verification ownership for an incident\",\n stage: \"plan-mitigation\",\n contentSchema: {\n type: \"object\",\n properties: {\n mitigationSteps: { type: \"array\", items: { type: \"string\" } },\n rollbackPlan: { type: \"string\" },\n owners: { type: \"array\", items: { type: \"string\" } },\n },\n required: [\"mitigationSteps\", \"owners\"],\n },\n requiredFields: [\"mitigationSteps\", \"owners\"],\n },\n {\n artifactId: \"decision-brief\",\n name: \"Decision Brief\",\n description:\n \"Options, cited precedent, trade-offs, and objections for an architecture decision\",\n stage: \"compare-options\",\n contentSchema: {\n type: \"object\",\n properties: {\n options: { type: \"array\", items: { type: \"string\" } },\n citedPrecedent: { type: \"array\", items: { type: \"string\" } },\n objections: { type: \"array\", items: { type: \"string\" } },\n },\n required: [\"options\", \"citedPrecedent\"],\n },\n requiredFields: [\"options\", \"citedPrecedent\"],\n },\n {\n artifactId: \"decision-record\",\n name: \"Decision Record\",\n description:\n \"Chosen path, why it won, what it supersedes, and what follow-up remains open\",\n stage: \"record-decision\",\n contentSchema: {\n type: \"object\",\n properties: {\n decision: { type: \"string\" },\n rationale: { type: \"array\", items: { type: \"string\" } },\n supersedes: { type: \"array\", items: { type: \"string\" } },\n followUps: { type: \"array\", items: { type: \"string\" } },\n },\n required: [\"decision\", \"rationale\"],\n },\n requiredFields: [\"decision\", \"rationale\"],\n },\n ],\n\n roles: [\n {\n roleId: \"context-compiler\",\n name: \"Context Compiler\",\n description:\n \"Compiles prior rationale, analogs, and failure memory into reusable first-hour context\",\n perspective: \"History-first, evidence-weighted context assembly\",\n optimizesFor: \"recall quality and anti-repetition coverage\",\n mayBlock: false,\n },\n {\n roleId: \"migration-owner\",\n name: \"Migration Owner\",\n description:\n \"Scopes rollout blast radius, rollback, sequencing, and compatibility risk\",\n perspective: \"Operational caution with explicit rollback discipline\",\n optimizesFor: \"safe rollout planning\",\n mayBlock: false,\n },\n {\n roleId: \"reviewer\",\n name: \"Reviewer\",\n description:\n \"Evaluates risky changes against prior regressions, evidence, and missing checks\",\n perspective: \"Evidence-backed change approval with regression awareness\",\n optimizesFor: \"defect prevention and clear approval rationale\",\n mayBlock: true,\n },\n {\n roleId: \"incident-commander\",\n name: \"Incident Commander\",\n description:\n \"Maintains multiple plausible explanations while driving mitigation decisions\",\n perspective:\n \"Fast, reversible action without collapsing uncertainty too early\",\n optimizesFor: \"time-to-mitigation with preserved reasoning integrity\",\n mayBlock: false,\n },\n {\n roleId: \"architect\",\n name: \"Architect\",\n description:\n \"Turns competing options into explicit decisions with cited precedent and follow-up risk\",\n perspective: \"Trade-off clarity and long-term maintainability\",\n optimizesFor: \"decision quality and rationale reuse\",\n mayBlock: false,\n },\n {\n roleId: \"critic\",\n name: \"Critic\",\n description:\n \"Finds weak assumptions, missing rollback paths, and untested contradictions\",\n perspective: \"Skeptical, adversarial, and detail-oriented\",\n optimizesFor: \"early detection of brittle plans\",\n mayBlock: true,\n },\n ],\n\n ...ENGINEERING_ACCELERATOR_TAIL,\n});\n"]}
1
+ {"version":3,"sources":["../../../src/domain-pack/contracts.ts","../../../src/domain-pack/packs/engineering-accelerator-tail.ts","../../../src/domain-pack/packs/engineering-accelerator.ts"],"names":[],"mappings":";AAmSA,SAAS,cAAc,MAAA,EAA4B;AACjD,EAAA,OAAO,KAAA,CAAM,IAAA;AAAA,IACX,IAAI,GAA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AAA;AAAA,MACN,WAAA,EACE,iFAAA;AAAA,MACF,WAAA,EAAa,2DAAA;AAAA,MACb,YAAA,EAAc,gDAAA;AAAA,MACd,QAAA,EAAU;AAAA,KACZ;AAAA,IACA;AAAA,MACE,MAAA,EAAQ,oBAAA;AAAA,MACR,IAAA,EAAM,oBAAA;AAAA,MACN,WAAA,EACE,8EAAA;AAAA,MACF,WAAA,EACE,kEAAA;AAAA,MACF,YAAA,EAAc,uDAAA;AAAA,MACd,QAAA,EAAU;AAAA,KACZ;AAAA,IACA;AAAA,MACE,MAAA,EAAQ,WAAA;AAAA,MACR,IAAA,EAAM,WAAA;AAAA,MACN,WAAA,EACE,yFAAA;AAAA,MACF,WAAA,EAAa,iDAAA;AAAA,MACb,YAAA,EAAc,sCAAA;AAAA,MACd,QAAA,EAAU;AAAA,KACZ;AAAA,IACA;AAAA,MACE,MAAA,EAAQ,QAAA;AAAA,MACR,IAAA,EAAM,QAAA;AAAA,MACN,WAAA,EACE,6EAAA;AAAA,MACF,WAAA,EAAa,6CAAA;AAAA,MACb,YAAA,EAAc,kCAAA;AAAA,MACd,QAAA,EAAU;AAAA;AACZ,GACF;AAAA,EAEA,GAAG;AACL,CAAC","file":"engineering-accelerator.js","sourcesContent":["/**\n * Domain Pack Contracts\n *\n * A DomainPack is a self-contained reasoning context bundle that defines\n * how reasoning works in a specific domain. It binds ontology versions,\n * defines topic structure, declares workflow templates, gate schemas,\n * artifact schemas, and reasoning roles.\n *\n * This is the THIRD pack type in Lucern's architecture:\n * - AppPackManifest: UI routes, surfaces, policy profiles (app-level)\n * - MethodologyPack: Agent workflow phases, gates, enforcement (process-level)\n * - DomainPack: Reasoning domain context (domain-level)\n *\n * All fields are internal until RS-5+ external authoring certification.\n */\n\n// ---------------------------------------------------------------------------\n// Ontology Binding — ties a pack to specific ontology versions\n// ---------------------------------------------------------------------------\n\nexport type OntologyProvisionMode = \"bind\" | \"seed\" | \"extend\";\n\nexport interface OntologyBinding {\n ontologyId: string;\n provisionMode?: OntologyProvisionMode;\n required: boolean;\n requiredEdgeTypes?: string[];\n requiredEntityTypes?: string[];\n seedRef?: string;\n versionConstraint: string; // semver range, e.g., \"^1.0.0\"\n}\n\n// ---------------------------------------------------------------------------\n// Topic Root — defines the domain's top-level topic tree structure\n// ---------------------------------------------------------------------------\n\nexport interface TopicRoot {\n description: string;\n name: string;\n ontologyId?: string; // which ontology governs this root\n slug: string;\n}\n\n// ---------------------------------------------------------------------------\n// Workflow Template — shape of a workflow (not execution logic)\n// ---------------------------------------------------------------------------\n\nexport interface WorkflowStep {\n description: string;\n gateId?: string; // gate checked after this step\n name: string;\n produces?: string[]; // artifactId references\n requiredRoles: string[]; // roleId references\n stepId: string;\n}\n\nexport interface WorkflowTemplate {\n description: string;\n gateCheckpoints: string[]; // gateId references\n name: string;\n requiredArtifacts: string[]; // artifactId references\n steps: WorkflowStep[];\n workflowId: string;\n}\n\n// ---------------------------------------------------------------------------\n// Gate Schema — declarative description of what must be true\n// ---------------------------------------------------------------------------\n\nexport type GateCriterionOperator = \"gte\" | \"lte\" | \"eq\" | \"gt\" | \"lt\";\n\nexport interface GateCriterion {\n criterionId: string;\n description: string;\n metric: string;\n operator?: GateCriterionOperator;\n threshold?: number;\n}\n\nexport type GateSeverity = \"blocking\" | \"warning\" | \"informational\";\n\nexport interface GateSchema {\n criteria: GateCriterion[];\n description: string;\n gateId: string;\n name: string;\n severity: GateSeverity;\n}\n\n// ---------------------------------------------------------------------------\n// Artifact Schema — what artifacts workflows produce\n// ---------------------------------------------------------------------------\n\nexport interface ArtifactSchema {\n artifactId: string;\n contentSchema: Record<string, unknown>; // JSON Schema for content\n description: string;\n name: string;\n requiredFields: string[];\n stage: string; // workflow step that produces this\n}\n\n// ---------------------------------------------------------------------------\n// Reasoning Role — epistemic actors in the domain\n// ---------------------------------------------------------------------------\n\nexport interface ReasoningRole {\n description: string;\n mayBlock: boolean; // Epistemic Invariant #13: agents may block progress\n name: string;\n optimizesFor: string;\n perspective: string;\n roleId: string;\n}\n\n// ---------------------------------------------------------------------------\n// Inquiry Shaping — pack-level hooks for RS-3 auto-shaping\n// ---------------------------------------------------------------------------\n\nexport interface InquiryShapingQuestionTemplate {\n priority?: \"critical\" | \"high\" | \"medium\" | \"low\";\n questionType:\n | \"validation\"\n | \"falsification\"\n | \"assumption_probe\"\n | \"counterfactual\"\n | \"scope\"\n | \"comparison\"\n | \"mechanism\"\n | \"general\";\n template: string; // Supports {{objective}} and {{hypothesis}}\n templateId: string;\n whenObjectiveIncludes?: string[];\n}\n\nexport interface InquiryShapingTaskTemplate {\n description?: string; // Supports {{objective}} and {{hypothesis}}\n priority?: \"urgent\" | \"high\" | \"medium\" | \"low\";\n taskType?:\n | \"general\"\n | \"find_evidence\"\n | \"verify_claim\"\n | \"research\"\n | \"review\"\n | \"interview\"\n | \"analysis\"\n | \"track_metrics\";\n templateId: string;\n title: string; // Supports {{objective}} and {{hypothesis}}\n whenObjectiveIncludes?: string[];\n whenQuestionTypes?: string[];\n}\n\nexport interface InquiryShapingFrameworkHint {\n boost?: number;\n frameworkName: string;\n reason?: string;\n whenObjectiveIncludes?: string[];\n whenQuestionTypes?: string[];\n}\n\nexport interface InquiryShapingConfig {\n frameworkHints?: InquiryShapingFrameworkHint[];\n questionTemplates?: InquiryShapingQuestionTemplate[];\n taskTemplates?: InquiryShapingTaskTemplate[];\n}\n\n// ---------------------------------------------------------------------------\n// Operating System Layer — prompts, tools, topic bootstrap, install surfaces\n// ---------------------------------------------------------------------------\n\nexport type RuntimeTarget = \"claude-code\" | \"codex\" | \"hybrid\" | \"portable\";\n\nexport type PromptSource = \"langfuse\" | \"file\";\nexport type PromptChannel =\n | \"bootstrap\"\n | \"workflow\"\n | \"analysis\"\n | \"review\"\n | \"tool\";\n\nexport interface PromptBinding {\n channel: PromptChannel;\n description: string;\n fallbackRef?: string;\n promptId: string;\n ref: string;\n required: boolean;\n runtimeTargets?: RuntimeTarget[];\n source: PromptSource;\n}\n\nexport type ToolKind = \"mcp\" | \"cli\" | \"script\" | \"hook\" | \"ai-tool\";\n\nexport interface ToolBinding {\n description: string;\n entrypoint: string;\n kind: ToolKind;\n required: boolean;\n runtimeTargets?: RuntimeTarget[];\n toolId: string;\n}\n\nexport type SetupAssetKind =\n | \"instruction\"\n | \"settings\"\n | \"hook\"\n | \"skill\"\n | \"agent\"\n | \"manifest\"\n | \"template\"\n | \"inbox\"\n | \"script\"\n | \"ui\";\n\nexport interface SetupAsset {\n assetId: string;\n description: string;\n kind: SetupAssetKind;\n path: string;\n required: boolean;\n runtimeTargets?: RuntimeTarget[];\n}\n\nexport interface TopicTemplate {\n description: string;\n name: string;\n ontologyId?: string;\n parentSlug?: string;\n slug: string;\n}\n\nexport interface InstallProfile {\n assetIds: string[];\n defaultTopicSlugs: string[];\n description: string;\n name: string;\n profileId: string;\n promptIds: string[];\n runtimeTarget: RuntimeTarget;\n toolIds: string[];\n}\n\nexport interface OperatingSystemLayer {\n installProfiles?: InstallProfile[];\n prompts?: PromptBinding[];\n setupAssets?: SetupAsset[];\n tools?: ToolBinding[];\n topicTemplates?: TopicTemplate[];\n}\n\n// ---------------------------------------------------------------------------\n// Domain Pack — the top-level contract\n// ---------------------------------------------------------------------------\n\nexport interface DomainPack {\n // Composition — optional references to other pack types\n appPackKeys?: string[]; // AppPackManifest keys this domain uses\n\n // Artifact Schemas\n artifacts: ArtifactSchema[];\n\n // Gate Schemas\n gates: GateSchema[];\n\n // Inquiry shaping hooks\n inquiryShaping?: InquiryShapingConfig;\n methodologyPackId?: string; // MethodologyPack for agent behavior\n name: string;\n\n // Scope\n ontologyBindings: OntologyBinding[];\n\n // Runtime/install packaging layer\n operatingSystem?: OperatingSystemLayer;\n // Identity\n packId: string;\n\n // Reasoning Roles\n roles: ReasoningRole[];\n topicRoots: TopicRoot[];\n version: string; // semver\n\n // Workflow Templates\n workflows: WorkflowTemplate[];\n}\n\n// ---------------------------------------------------------------------------\n// Builder helper — normalizes arrays and validates basic structure\n// ---------------------------------------------------------------------------\n\nfunction dedupeStrings(values: string[]): string[] {\n return Array.from(\n new Set(values.map((v) => v.trim()).filter((v) => v.length > 0))\n );\n}\n\nexport type DomainPackInput = Omit<DomainPack, \"appPackKeys\"> & {\n appPackKeys?: string[];\n};\n\nfunction normalizeRuntimeTargets(\n values: RuntimeTarget[] | undefined\n): RuntimeTarget[] | undefined {\n return values ? (dedupeStrings(values) as RuntimeTarget[]) : undefined;\n}\n\nfunction normalizeOntologyBinding(binding: OntologyBinding): OntologyBinding {\n return {\n ...binding,\n requiredEntityTypes: binding.requiredEntityTypes\n ? dedupeStrings(binding.requiredEntityTypes)\n : undefined,\n requiredEdgeTypes: binding.requiredEdgeTypes\n ? dedupeStrings(binding.requiredEdgeTypes)\n : undefined,\n };\n}\n\nfunction normalizeOperatingSystem(\n layer: OperatingSystemLayer | undefined\n): OperatingSystemLayer | undefined {\n if (!layer) {\n return;\n }\n\n return {\n prompts: layer.prompts?.map((prompt) => ({\n ...prompt,\n runtimeTargets: normalizeRuntimeTargets(prompt.runtimeTargets),\n })),\n tools: layer.tools?.map((tool) => ({\n ...tool,\n runtimeTargets: normalizeRuntimeTargets(tool.runtimeTargets),\n })),\n setupAssets: layer.setupAssets?.map((asset) => ({\n ...asset,\n runtimeTargets: normalizeRuntimeTargets(asset.runtimeTargets),\n })),\n topicTemplates: layer.topicTemplates,\n installProfiles: layer.installProfiles?.map((profile) => ({\n ...profile,\n promptIds: dedupeStrings(profile.promptIds),\n toolIds: dedupeStrings(profile.toolIds),\n assetIds: dedupeStrings(profile.assetIds),\n defaultTopicSlugs: dedupeStrings(profile.defaultTopicSlugs),\n })),\n };\n}\n\nexport function defineDomainPack(input: DomainPackInput): DomainPack {\n return {\n ...input,\n ontologyBindings: input.ontologyBindings.map(normalizeOntologyBinding),\n appPackKeys: input.appPackKeys\n ? dedupeStrings(input.appPackKeys)\n : undefined,\n operatingSystem: normalizeOperatingSystem(input.operatingSystem),\n workflows: input.workflows.map((w) => ({\n ...w,\n requiredArtifacts: dedupeStrings(w.requiredArtifacts),\n gateCheckpoints: dedupeStrings(w.gateCheckpoints),\n steps: w.steps.map((s) => ({\n ...s,\n requiredRoles: dedupeStrings(s.requiredRoles),\n produces: s.produces ? dedupeStrings(s.produces) : undefined,\n })),\n })),\n };\n}\n","/**\n * Private tail for the engineering accelerator domain pack.\n */\n\nimport type { DomainPackInput } from \"../contracts\";\n\nexport const ENGINEERING_ACCELERATOR_TAIL = {\n inquiryShaping: {\n questionTemplates: [\n {\n templateId: \"engineering-rationale-recall\",\n questionType: \"comparison\",\n priority: \"high\",\n template:\n \"Which prior migration, incident, review, or architecture decision most resembles {{objective}}, and what rationale or failure should we reuse before changing anything?\",\n whenObjectiveIncludes: [\n \"migration\",\n \"review\",\n \"pull request\",\n \"incident\",\n \"architecture\",\n \"decision\",\n \"rollback\",\n \"refactor\",\n ],\n },\n {\n templateId: \"engineering-rollback-falsifier\",\n questionType: \"falsification\",\n priority: \"critical\",\n template:\n \"What rollback, compatibility, or blast-radius assumption would fail first if {{hypothesis}} is wrong?\",\n whenObjectiveIncludes: [\"migration\", \"deploy\", \"rollout\", \"backfill\"],\n },\n {\n templateId: \"engineering-review-regression\",\n questionType: \"counterfactual\",\n priority: \"high\",\n template:\n \"Which prior regression, incident, or failed attempt should a reviewer inspect before approving {{objective}}?\",\n whenObjectiveIncludes: [\"review\", \"pull request\", \"diff\", \"merge\"],\n },\n {\n templateId: \"engineering-incident-contradiction\",\n questionType: \"mechanism\",\n priority: \"high\",\n template:\n \"Which competing hypothesis or contradiction must be surfaced before treating {{objective}} as the root cause?\",\n whenObjectiveIncludes: [\n \"incident\",\n \"outage\",\n \"error\",\n \"latency\",\n \"regression\",\n ],\n },\n {\n templateId: \"engineering-architecture-precedent\",\n questionType: \"validation\",\n priority: \"high\",\n template:\n \"Which earlier architecture decision would {{objective}} narrow, supersede, or reaffirm, and what evidence justified it then?\",\n whenObjectiveIncludes: [\n \"architecture\",\n \"decision\",\n \"interface\",\n \"contract\",\n \"api\",\n \"design\",\n ],\n },\n ],\n taskTemplates: [\n {\n templateId: \"engineering-memory-brief\",\n title:\n \"Compile prior rationale, analogous changes, and failed attempts for {{objective}}\",\n description:\n \"Create a first-hour memory brief so the workflow starts with precedent instead of rediscovery.\",\n taskType: \"analysis\",\n priority: \"urgent\",\n whenObjectiveIncludes: [\n \"migration\",\n \"review\",\n \"incident\",\n \"architecture\",\n \"decision\",\n \"rollback\",\n ],\n },\n {\n templateId: \"engineering-rollback-check\",\n title:\n \"Define blast radius, rollback path, and verification checkpoints for {{objective}}\",\n description:\n \"Turn risky engineering work into a reversible plan before implementation or approval.\",\n taskType: \"analysis\",\n priority: \"high\",\n whenObjectiveIncludes: [\"migration\", \"deploy\", \"rollout\", \"backfill\"],\n },\n {\n templateId: \"engineering-review-brief\",\n title:\n \"Draft a review brief linking prior rationale, regressions, and missing checks for {{objective}}\",\n description:\n \"Use prior incidents and earlier review context to focus approval on what can actually break.\",\n taskType: \"review\",\n priority: \"high\",\n whenObjectiveIncludes: [\"review\", \"pull request\", \"diff\", \"merge\"],\n },\n {\n templateId: \"engineering-contradiction-sweep\",\n title:\n \"Surface competing hypotheses and active contradictions for {{objective}}\",\n description:\n \"Keep incident triage or regression analysis from collapsing into a single untested explanation.\",\n taskType: \"analysis\",\n priority: \"high\",\n whenObjectiveIncludes: [\n \"incident\",\n \"outage\",\n \"error\",\n \"latency\",\n \"regression\",\n ],\n },\n {\n templateId: \"engineering-decision-record\",\n title:\n \"Capture cited precedent, rejected options, and follow-up risks for {{objective}}\",\n description:\n \"Turn architecture decisions into explicit rationale that future work can recall instead of re-litigating.\",\n taskType: \"analysis\",\n priority: \"medium\",\n whenObjectiveIncludes: [\n \"architecture\",\n \"decision\",\n \"interface\",\n \"contract\",\n \"design\",\n \"refactor\",\n ],\n },\n ],\n frameworkHints: [\n {\n frameworkName: \"Timeline Replay\",\n whenObjectiveIncludes: [\n \"migration\",\n \"deploy\",\n \"rollout\",\n \"incident\",\n \"rollback\",\n ],\n boost: 0.28,\n reason:\n \"Migration and incident work benefits from replaying prior changes, causes, and rollback timing.\",\n },\n {\n frameworkName: \"Contradiction Sweep\",\n whenObjectiveIncludes: [\"incident\", \"outage\", \"error\", \"regression\"],\n boost: 0.3,\n reason:\n \"Incidents need competing hypotheses surfaced explicitly before confidence collapses too early.\",\n },\n {\n frameworkName: \"ADR Delta Review\",\n whenObjectiveIncludes: [\n \"architecture\",\n \"decision\",\n \"interface\",\n \"contract\",\n \"design\",\n ],\n boost: 0.26,\n reason:\n \"Architecture work should compare against earlier decisions and explain the delta, not just the new plan.\",\n },\n {\n frameworkName: \"Pre-Merge Regression Audit\",\n whenObjectiveIncludes: [\"review\", \"pull request\", \"diff\", \"merge\"],\n boost: 0.24,\n reason:\n \"Risky reviews are faster and better when they start from prior regressions, rationale, and missing checks.\",\n },\n ],\n },\n\n operatingSystem: {\n prompts: [\n {\n promptId: \"claude-quick-reference\",\n description: \"Claude Code quick-reference and Lucern operating loop\",\n source: \"file\",\n ref: \"CLAUDE.md\",\n channel: \"bootstrap\",\n required: true,\n runtimeTargets: [\"claude-code\", \"hybrid\"],\n },\n {\n promptId: \"build-command\",\n description: \"Main-session worktree execution protocol\",\n source: \"file\",\n ref: \".claude/commands/build.md\",\n channel: \"workflow\",\n required: true,\n runtimeTargets: [\"claude-code\", \"codex\", \"hybrid\"],\n },\n {\n promptId: \"architect-command\",\n description: \"Product-architecture framing command\",\n source: \"file\",\n ref: \".claude/commands/architect.md\",\n channel: \"analysis\",\n required: true,\n runtimeTargets: [\"claude-code\", \"codex\", \"hybrid\"],\n },\n {\n promptId: \"pipeline-command\",\n description: \"Pipeline sequencing and queue-management command\",\n source: \"file\",\n ref: \".claude/commands/pipeline.md\",\n channel: \"analysis\",\n required: true,\n runtimeTargets: [\"claude-code\", \"codex\", \"hybrid\"],\n },\n {\n promptId: \"pr-command\",\n description: \"PR gating and merge-close workflow command\",\n source: \"file\",\n ref: \".claude/commands/pr.md\",\n channel: \"review\",\n required: true,\n runtimeTargets: [\"claude-code\", \"codex\", \"hybrid\"],\n },\n {\n promptId: \"lucern-generate-questions\",\n description: \"Langfuse prompt for pack-shaped question generation\",\n source: \"langfuse\",\n ref: \"lucern/generate-questions\",\n channel: \"analysis\",\n required: true,\n runtimeTargets: [\"claude-code\", \"codex\", \"hybrid\", \"portable\"],\n },\n {\n promptId: \"lucern-contradiction-analysis\",\n description:\n \"Langfuse prompt for contradiction-heavy debugging and incidents\",\n source: \"langfuse\",\n ref: \"lucern/contradiction-analysis\",\n channel: \"review\",\n required: true,\n runtimeTargets: [\"claude-code\", \"codex\", \"hybrid\", \"portable\"],\n },\n ],\n tools: [\n {\n toolId: \"start-investigation\",\n description: \"Canonical graph bootstrap before coding or review\",\n kind: \"mcp\",\n entrypoint: \"compile_context\",\n required: true,\n runtimeTargets: [\"claude-code\", \"codex\", \"hybrid\", \"portable\"],\n },\n {\n toolId: \"record-scope-learning\",\n description: \"Commit-level ledger writeback with touched paths\",\n kind: \"mcp\",\n entrypoint: \"record_scope_learning\",\n required: true,\n runtimeTargets: [\"claude-code\", \"codex\", \"hybrid\", \"portable\"],\n },\n {\n toolId: \"record-attempt\",\n description: \"Anti-repetition failure logging during implementation\",\n kind: \"mcp\",\n entrypoint: \"record_attempt\",\n required: true,\n runtimeTargets: [\"claude-code\", \"codex\", \"hybrid\", \"portable\"],\n },\n {\n toolId: \"pipeline-snapshot\",\n description: \"Campaign and lane-aware pipeline summary\",\n kind: \"mcp\",\n entrypoint: \"pipeline_snapshot\",\n required: true,\n runtimeTargets: [\"claude-code\", \"codex\", \"hybrid\", \"portable\"],\n },\n {\n toolId: \"session-init\",\n description: \"SessionStart hook bootstrap for Lucern context\",\n kind: \"hook\",\n entrypoint: \"npx tsx apps/mcp-server/src/cli.ts session-init\",\n required: true,\n runtimeTargets: [\"claude-code\", \"hybrid\"],\n },\n {\n toolId: \"tool-log\",\n description: \"Post-tool ledger logger and edit-counter reset hook\",\n kind: \"hook\",\n entrypoint: \"npx tsx apps/mcp-server/src/cli.ts tool-log\",\n required: true,\n runtimeTargets: [\"claude-code\", \"hybrid\"],\n },\n {\n toolId: \"build-bash-gate\",\n description:\n \"Commit and PR gate enforcing ledger plus knowledge writes\",\n kind: \"hook\",\n entrypoint: \"npx tsx apps/mcp-server/src/cli.ts build-bash-gate\",\n required: true,\n runtimeTargets: [\"claude-code\", \"hybrid\"],\n },\n {\n toolId: \"lucern-cli-init\",\n description: \"One-step MCP setup for new repositories\",\n kind: \"cli\",\n entrypoint: \"npx tsx apps/mcp-server/src/cli.ts init\",\n required: true,\n runtimeTargets: [\"claude-code\", \"codex\", \"hybrid\"],\n },\n {\n toolId: \"kit-install\",\n description:\n \"Manifest-driven installer for the turnkey Lucern engineering solution pack\",\n kind: \"cli\",\n entrypoint:\n \"npx tsx apps/mcp-server/src/cli.ts kit install developer-engineering\",\n required: true,\n runtimeTargets: [\"claude-code\", \"codex\", \"hybrid\"],\n },\n ],\n setupAssets: [\n {\n assetId: \"claude-instructions\",\n kind: \"instruction\",\n description: \"Primary Claude Code quick-reference and Lucern protocol\",\n path: \"CLAUDE.md\",\n required: true,\n runtimeTargets: [\"claude-code\", \"hybrid\"],\n },\n {\n assetId: \"codex-bridge\",\n kind: \"instruction\",\n description: \"Codex bridge instructions for Lucern-native development\",\n path: \"AGENTS.md\",\n required: true,\n runtimeTargets: [\"codex\", \"hybrid\"],\n },\n {\n assetId: \"mcp-config\",\n kind: \"manifest\",\n description: \"MCP server registry including lucern-graph\",\n path: \".mcp.json\",\n required: true,\n runtimeTargets: [\"claude-code\", \"codex\", \"hybrid\"],\n },\n {\n assetId: \"kit-manifest\",\n kind: \"manifest\",\n description:\n \"Serialized engineering kit blueprint capturing prompts, tools, ontology, and topic scaffolding\",\n path: \".lucern/kits/developer-engineering.json\",\n required: true,\n runtimeTargets: [\"claude-code\", \"codex\", \"hybrid\"],\n },\n {\n assetId: \"lucern-launcher\",\n kind: \"script\",\n description: \"Launch script used by MCP clients to start lucern-graph\",\n path: \"scripts/lucern_start\",\n required: true,\n runtimeTargets: [\"claude-code\", \"codex\", \"hybrid\"],\n },\n {\n assetId: \"lucern-shell-wrapper\",\n kind: \"script\",\n description:\n \"Shell wrapper for invoking Lucern CLI commands with credential resolution\",\n path: \"scripts/lucern\",\n required: true,\n runtimeTargets: [\"claude-code\", \"codex\", \"hybrid\"],\n },\n {\n assetId: \"lucern-cli-script\",\n kind: \"script\",\n description:\n \"CLI entrypoint for hook commands, init, sync, and kit installation\",\n path: \"apps/mcp-server/src/cli.ts\",\n required: true,\n runtimeTargets: [\"claude-code\", \"codex\", \"hybrid\"],\n },\n {\n assetId: \"claude-settings\",\n kind: \"settings\",\n description: \"Claude hook wiring and enforcement defaults\",\n path: \".claude/settings.json\",\n required: true,\n runtimeTargets: [\"claude-code\", \"hybrid\"],\n },\n {\n assetId: \"permission-gate-hook\",\n kind: \"hook\",\n description: \"Rule-based permission gate for risky tool usage\",\n path: \".claude/hooks/permission-gate.sh\",\n required: true,\n runtimeTargets: [\"claude-code\", \"hybrid\"],\n },\n {\n assetId: \"inbox-check-hook\",\n kind: \"hook\",\n description: \"Session-start inbox and PR queue surfacing\",\n path: \".claude/hooks/inbox-check.sh\",\n required: true,\n runtimeTargets: [\"claude-code\", \"hybrid\"],\n },\n {\n assetId: \"prompt-router-hook\",\n kind: \"hook\",\n description: \"Prompt router for /build validation and inbox context\",\n path: \".claude/hooks/prompt-router.sh\",\n required: true,\n runtimeTargets: [\"claude-code\", \"hybrid\"],\n },\n {\n assetId: \"writeback-gate-hook\",\n kind: \"hook\",\n description: \"Session-close writeback quality gate\",\n path: \".claude/hooks/writeback-gate.sh\",\n required: true,\n runtimeTargets: [\"claude-code\", \"hybrid\"],\n },\n {\n assetId: \"build-command-doc\",\n kind: \"template\",\n description: \"Inline /build command contract\",\n path: \".claude/commands/build.md\",\n required: true,\n runtimeTargets: [\"claude-code\", \"codex\", \"hybrid\"],\n },\n {\n assetId: \"architect-command-doc\",\n kind: \"template\",\n description: \"Inline /architect command contract\",\n path: \".claude/commands/architect.md\",\n required: true,\n runtimeTargets: [\"claude-code\", \"codex\", \"hybrid\"],\n },\n {\n assetId: \"pipeline-command-doc\",\n kind: \"template\",\n description: \"Inline /pipeline command contract\",\n path: \".claude/commands/pipeline.md\",\n required: true,\n runtimeTargets: [\"claude-code\", \"codex\", \"hybrid\"],\n },\n {\n assetId: \"pr-command-doc\",\n kind: \"template\",\n description: \"Inline /pr command contract\",\n path: \".claude/commands/pr.md\",\n required: true,\n runtimeTargets: [\"claude-code\", \"codex\", \"hybrid\"],\n },\n {\n assetId: \"claude-agent-catalog\",\n kind: \"agent\",\n description:\n \"Curated agent catalog for architecture, pipeline, QA, and PR review\",\n path: \".claude/agents\",\n required: true,\n runtimeTargets: [\"claude-code\", \"hybrid\"],\n },\n {\n assetId: \"claude-skill-catalog\",\n kind: \"skill\",\n description:\n \"Skill catalog containing build, pipeline, product-architect, and Lucern workflows\",\n path: \".claude/skills\",\n required: true,\n runtimeTargets: [\"claude-code\", \"hybrid\"],\n },\n {\n assetId: \"skills-sync-script\",\n kind: \"script\",\n description: \"Bridge script for syncing Claude and Codex skill mirrors\",\n path: \"scripts/sync_codex_claude_skills.sh\",\n required: true,\n runtimeTargets: [\"codex\", \"hybrid\"],\n },\n {\n assetId: \"hooks-doc\",\n kind: \"template\",\n description: \"Hook architecture and writeback enforcement reference\",\n path: \"docs/operations/hooks.md\",\n required: true,\n runtimeTargets: [\"claude-code\", \"codex\", \"hybrid\"],\n },\n {\n assetId: \"setup-ui\",\n kind: \"ui\",\n description:\n \"Portal setup surface showing quickstart and bootstrap steps\",\n path: \"_template/dev/page.tsx\",\n required: false,\n runtimeTargets: [\"portable\", \"claude-code\", \"codex\", \"hybrid\"],\n },\n ],\n topicTemplates: [\n {\n slug: \"migration-precedent\",\n name: \"Migration Precedent\",\n description:\n \"Analogous schema and rollout changes worth recalling before execution\",\n parentSlug: \"migrations\",\n ontologyId: \"software-entities\",\n },\n {\n slug: \"rollback-playbooks\",\n name: \"Rollback Playbooks\",\n description:\n \"Named rollback strategies and canary escape hatches for risky changes\",\n parentSlug: \"migrations\",\n ontologyId: \"software-entities\",\n },\n {\n slug: \"review-briefs\",\n name: \"Review Briefs\",\n description:\n \"Diff-scoped risk briefs grounded in prior regressions and rationale\",\n parentSlug: \"reviews\",\n ontologyId: \"software-entities\",\n },\n {\n slug: \"regression-history\",\n name: \"Regression History\",\n description:\n \"Past regressions and approval misses that should influence current reviews\",\n parentSlug: \"reviews\",\n ontologyId: \"software-entities\",\n },\n {\n slug: \"active-incidents\",\n name: \"Active Incidents\",\n description:\n \"Current incidents with competing hypotheses, mitigations, and contradictions\",\n parentSlug: \"incidents\",\n ontologyId: \"software-entities\",\n },\n {\n slug: \"incident-postmortems\",\n name: \"Incident Postmortems\",\n description:\n \"Resolved incidents with preserved rationale and follow-up learnings\",\n parentSlug: \"incidents\",\n ontologyId: \"software-entities\",\n },\n {\n slug: \"adrs\",\n name: \"Architecture Decision Records\",\n description:\n \"Citable architecture records with precedent, objections, and supersessions\",\n parentSlug: \"architecture\",\n ontologyId: \"software-entities\",\n },\n {\n slug: \"interface-contracts\",\n name: \"Interface Contracts\",\n description:\n \"APIs, boundaries, and contract deltas that architecture work depends on\",\n parentSlug: \"architecture\",\n ontologyId: \"software-entities\",\n },\n {\n slug: \"failed-attempts\",\n name: \"Failed Attempts\",\n description:\n \"Anti-repetition log for engineering decisions and implementation dead ends\",\n parentSlug: \"decision-memory\",\n ontologyId: \"software-entities\",\n },\n {\n slug: \"rationale-recall\",\n name: \"Rationale Recall\",\n description:\n \"Recalled rationale snippets and analogs worth citing before new work\",\n parentSlug: \"decision-memory\",\n ontologyId: \"software-entities\",\n },\n ],\n installProfiles: [\n {\n profileId: \"claude-code\",\n name: \"Claude Code Engineering Kit\",\n description:\n \"Installs Claude-native hooks, commands, agent catalog, and first-hour engineering prompts on top of Lucern.\",\n runtimeTarget: \"claude-code\",\n promptIds: [\n \"claude-quick-reference\",\n \"build-command\",\n \"architect-command\",\n \"pipeline-command\",\n \"pr-command\",\n \"lucern-generate-questions\",\n \"lucern-contradiction-analysis\",\n ],\n toolIds: [\n \"start-investigation\",\n \"record-scope-learning\",\n \"record-attempt\",\n \"pipeline-snapshot\",\n \"session-init\",\n \"tool-log\",\n \"build-bash-gate\",\n \"lucern-cli-init\",\n \"kit-install\",\n ],\n assetIds: [\n \"claude-instructions\",\n \"mcp-config\",\n \"kit-manifest\",\n \"lucern-launcher\",\n \"lucern-shell-wrapper\",\n \"lucern-cli-script\",\n \"claude-settings\",\n \"permission-gate-hook\",\n \"inbox-check-hook\",\n \"prompt-router-hook\",\n \"writeback-gate-hook\",\n \"build-command-doc\",\n \"architect-command-doc\",\n \"pipeline-command-doc\",\n \"pr-command-doc\",\n \"claude-agent-catalog\",\n \"claude-skill-catalog\",\n \"hooks-doc\",\n \"setup-ui\",\n ],\n defaultTopicSlugs: [\n \"migrations\",\n \"reviews\",\n \"incidents\",\n \"architecture\",\n \"decision-memory\",\n ],\n },\n {\n profileId: \"codex\",\n name: \"Codex Engineering Kit\",\n description:\n \"Installs the Codex bridge, Lucern MCP wiring, and the same pack-level workflows without Claude-specific hooks.\",\n runtimeTarget: \"codex\",\n promptIds: [\n \"build-command\",\n \"architect-command\",\n \"pipeline-command\",\n \"pr-command\",\n \"lucern-generate-questions\",\n \"lucern-contradiction-analysis\",\n ],\n toolIds: [\n \"start-investigation\",\n \"record-scope-learning\",\n \"record-attempt\",\n \"pipeline-snapshot\",\n \"lucern-cli-init\",\n \"kit-install\",\n ],\n assetIds: [\n \"codex-bridge\",\n \"mcp-config\",\n \"kit-manifest\",\n \"lucern-launcher\",\n \"lucern-shell-wrapper\",\n \"lucern-cli-script\",\n \"build-command-doc\",\n \"architect-command-doc\",\n \"pipeline-command-doc\",\n \"pr-command-doc\",\n \"claude-skill-catalog\",\n \"skills-sync-script\",\n \"hooks-doc\",\n \"setup-ui\",\n ],\n defaultTopicSlugs: [\n \"migrations\",\n \"reviews\",\n \"incidents\",\n \"architecture\",\n \"decision-memory\",\n ],\n },\n {\n profileId: \"hybrid\",\n name: \"Hybrid Engineering Kit\",\n description:\n \"Installs both Claude and Codex entry surfaces against one Lucern-native engineering operating system.\",\n runtimeTarget: \"hybrid\",\n promptIds: [\n \"claude-quick-reference\",\n \"build-command\",\n \"architect-command\",\n \"pipeline-command\",\n \"pr-command\",\n \"lucern-generate-questions\",\n \"lucern-contradiction-analysis\",\n ],\n toolIds: [\n \"start-investigation\",\n \"record-scope-learning\",\n \"record-attempt\",\n \"pipeline-snapshot\",\n \"session-init\",\n \"tool-log\",\n \"build-bash-gate\",\n \"lucern-cli-init\",\n \"kit-install\",\n ],\n assetIds: [\n \"claude-instructions\",\n \"codex-bridge\",\n \"mcp-config\",\n \"kit-manifest\",\n \"lucern-launcher\",\n \"lucern-shell-wrapper\",\n \"lucern-cli-script\",\n \"claude-settings\",\n \"permission-gate-hook\",\n \"inbox-check-hook\",\n \"prompt-router-hook\",\n \"writeback-gate-hook\",\n \"build-command-doc\",\n \"architect-command-doc\",\n \"pipeline-command-doc\",\n \"pr-command-doc\",\n \"claude-agent-catalog\",\n \"claude-skill-catalog\",\n \"skills-sync-script\",\n \"hooks-doc\",\n \"setup-ui\",\n ],\n defaultTopicSlugs: [\n \"migrations\",\n \"reviews\",\n \"incidents\",\n \"architecture\",\n \"decision-memory\",\n ],\n },\n ],\n },\n\n appPackKeys: [\n \"chat-v1\",\n \"documents-v1\",\n \"epistemic-algorithms-v1\",\n \"graph-visualization-v1\",\n \"task-management-v1\",\n ],\n methodologyPackId: \"developer\",\n} satisfies Pick<\n DomainPackInput,\n \"inquiryShaping\" | \"operatingSystem\" | \"appPackKeys\" | \"methodologyPackId\"\n>;\n","/**\n * Domain Pack: Engineering Accelerator\n *\n * First concrete engineering domain pack for proving that pack-host can\n * turn first-hour workflows into reusable reasoning scaffolding.\n */\n\nimport { defineDomainPack } from \"../contracts\";\nimport { ENGINEERING_ACCELERATOR_TAIL } from \"./engineering-accelerator-tail\";\n\nexport const ENGINEERING_ACCELERATOR_PACK = defineDomainPack({\n packId: \"engineering-accelerator\",\n name: \"Engineering Accelerator\",\n version: \"1.0.0\",\n\n ontologyBindings: [\n {\n ontologyId: \"software-entities\",\n versionConstraint: \"^1.0.0\",\n required: true,\n provisionMode: \"seed\",\n seedRef:\n \"packages/pack-host/src/domain-pack/ontology/software-entities-v1.ts\",\n requiredEntityTypes: [\n \"repository\",\n \"service\",\n \"module\",\n \"workflow\",\n \"incident\",\n \"migration\",\n \"decision_record\",\n \"agent\",\n ],\n requiredEdgeTypes: [\n \"depends_on\",\n \"owns\",\n \"calls\",\n \"blocks\",\n \"reviews\",\n \"mitigates\",\n \"supersedes\",\n ],\n },\n ],\n\n topicRoots: [\n {\n slug: \"migrations\",\n name: \"Migrations\",\n description:\n \"Schema, API, and runtime migrations with blast-radius, rollback, and parity memory\",\n ontologyId: \"software-entities\",\n },\n {\n slug: \"reviews\",\n name: \"Reviews\",\n description:\n \"Pull-request and change-review workflows grounded in prior rationale and regressions\",\n ontologyId: \"software-entities\",\n },\n {\n slug: \"incidents\",\n name: \"Incidents\",\n description:\n \"Incident response driven by competing hypotheses, contradictions, and mitigations\",\n ontologyId: \"software-entities\",\n },\n {\n slug: \"architecture\",\n name: \"Architecture\",\n description:\n \"Architecture decisions, interface trade-offs, and precedent-aware rationale recall\",\n ontologyId: \"software-entities\",\n },\n {\n slug: \"decision-memory\",\n name: \"Decision Memory\",\n description:\n \"Cross-cutting rationale recall, failed attempts, and analog reuse across engineering work\",\n ontologyId: \"software-entities\",\n },\n ],\n\n workflows: [\n {\n workflowId: \"migration-readiness\",\n name: \"Migration Readiness\",\n description:\n \"Recall similar migrations, map blast radius, and define rollback before rollout\",\n steps: [\n {\n stepId: \"recall-history\",\n name: \"Recall History\",\n description:\n \"Compile analogous migrations, prior rationale, failed attempts, and compatibility constraints\",\n requiredRoles: [\"context-compiler\", \"migration-owner\"],\n produces: [\"memory-brief\"],\n gateId: \"memory-grounded\",\n },\n {\n stepId: \"plan-rollout\",\n name: \"Plan Rollout\",\n description:\n \"Define blast radius, sequencing, rollback, and verification checkpoints\",\n requiredRoles: [\"migration-owner\", \"critic\"],\n produces: [\"migration-plan\"],\n gateId: \"rollback-ready\",\n },\n {\n stepId: \"verify-rollout\",\n name: \"Verify Rollout\",\n description:\n \"Confirm canary, rollback, and parity checks are explicit before execution\",\n requiredRoles: [\"reviewer\"],\n produces: [\"verification-checklist\"],\n gateId: \"verification-covered\",\n },\n ],\n requiredArtifacts: [\n \"memory-brief\",\n \"migration-plan\",\n \"verification-checklist\",\n ],\n gateCheckpoints: [\n \"memory-grounded\",\n \"rollback-ready\",\n \"verification-covered\",\n ],\n },\n {\n workflowId: \"pull-request-review\",\n name: \"Pull Request Review\",\n description:\n \"Use prior rationale, regressions, and verification history to review risky changes faster\",\n steps: [\n {\n stepId: \"recall-review-context\",\n name: \"Recall Review Context\",\n description:\n \"Load earlier decisions, similar diffs, failed attempts, and relevant incidents\",\n requiredRoles: [\"context-compiler\", \"reviewer\"],\n produces: [\"review-context\"],\n gateId: \"memory-grounded\",\n },\n {\n stepId: \"inspect-diff\",\n name: \"Inspect Diff\",\n description:\n \"Surface risk areas, stale assumptions, and regressions that should block approval\",\n requiredRoles: [\"reviewer\", \"critic\"],\n produces: [\"review-findings\"],\n gateId: \"review-risks-surfaced\",\n },\n {\n stepId: \"verify-changes\",\n name: \"Verify Changes\",\n description:\n \"Tie approval to explicit typecheck, test, and integration evidence\",\n requiredRoles: [\"reviewer\"],\n produces: [\"verification-checklist\"],\n gateId: \"verification-covered\",\n },\n ],\n requiredArtifacts: [\n \"review-context\",\n \"review-findings\",\n \"verification-checklist\",\n ],\n gateCheckpoints: [\n \"memory-grounded\",\n \"review-risks-surfaced\",\n \"verification-covered\",\n ],\n },\n {\n workflowId: \"incident-response\",\n name: \"Incident Response\",\n description:\n \"Treat incidents as contradiction-heavy reasoning tasks before committing to a root cause\",\n steps: [\n {\n stepId: \"collect-signal\",\n name: \"Collect Signal\",\n description:\n \"Assemble symptoms, recent changes, precedent incidents, and active hypotheses\",\n requiredRoles: [\"context-compiler\", \"incident-commander\"],\n produces: [\"incident-brief\"],\n gateId: \"memory-grounded\",\n },\n {\n stepId: \"surface-contradictions\",\n name: \"Surface Contradictions\",\n description:\n \"Make competing explanations explicit before mitigation narrows the search space\",\n requiredRoles: [\"incident-commander\", \"critic\"],\n produces: [\"contradiction-report\"],\n gateId: \"contradictions-surfaced\",\n },\n {\n stepId: \"plan-mitigation\",\n name: \"Plan Mitigation\",\n description:\n \"Choose mitigations with owners, reversibility, and verification paths\",\n requiredRoles: [\"incident-commander\", \"reviewer\"],\n produces: [\"mitigation-plan\"],\n gateId: \"verification-covered\",\n },\n ],\n requiredArtifacts: [\n \"incident-brief\",\n \"contradiction-report\",\n \"mitigation-plan\",\n ],\n gateCheckpoints: [\n \"memory-grounded\",\n \"contradictions-surfaced\",\n \"verification-covered\",\n ],\n },\n {\n workflowId: \"architecture-decision\",\n name: \"Architecture Decision\",\n description:\n \"Ground architecture choices in cited precedent, explicit alternatives, and follow-up risk\",\n steps: [\n {\n stepId: \"recall-precedent\",\n name: \"Recall Precedent\",\n description:\n \"Gather analogous decisions, trade-offs, reversals, and evidence already in the graph\",\n requiredRoles: [\"context-compiler\", \"architect\"],\n produces: [\"decision-brief\"],\n gateId: \"memory-grounded\",\n },\n {\n stepId: \"compare-options\",\n name: \"Compare Options\",\n description:\n \"Contrast viable paths, show what changes, and surface objections early\",\n requiredRoles: [\"architect\", \"critic\"],\n produces: [\"decision-brief\"],\n gateId: \"decision-rationale-citable\",\n },\n {\n stepId: \"record-decision\",\n name: \"Record Decision\",\n description:\n \"Capture the chosen path, cited rationale, and follow-up risks for later recall\",\n requiredRoles: [\"architect\"],\n produces: [\"decision-record\"],\n },\n ],\n requiredArtifacts: [\"decision-brief\", \"decision-record\"],\n gateCheckpoints: [\"memory-grounded\", \"decision-rationale-citable\"],\n },\n ],\n\n gates: [\n {\n gateId: \"memory-grounded\",\n name: \"Memory Grounded\",\n description:\n \"The workflow is anchored in prior rationale, analogs, and failure memory before action\",\n criteria: [\n {\n criterionId: \"precedent-cited\",\n description:\n \"At least one prior change, incident, or decision is cited\",\n metric: \"precedent_citations\",\n threshold: 1,\n operator: \"gte\",\n },\n {\n criterionId: \"failure-log-checked\",\n description:\n \"Relevant failed attempts or incident history were checked\",\n metric: \"failure_log_checked\",\n threshold: 1,\n operator: \"eq\",\n },\n ],\n severity: \"blocking\",\n },\n {\n gateId: \"rollback-ready\",\n name: \"Rollback Ready\",\n description:\n \"Risky migrations cannot proceed without explicit rollback and blast-radius coverage\",\n criteria: [\n {\n criterionId: \"blast-radius-scoped\",\n description: \"Blast radius is enumerated for the proposed change\",\n metric: \"blast_radius_scoped\",\n threshold: 1,\n operator: \"eq\",\n },\n {\n criterionId: \"rollback-path-defined\",\n description: \"Rollback path is explicit and reversible\",\n metric: \"rollback_path_defined\",\n threshold: 1,\n operator: \"eq\",\n },\n ],\n severity: \"blocking\",\n },\n {\n gateId: \"review-risks-surfaced\",\n name: \"Review Risks Surfaced\",\n description:\n \"Review must explain what could regress and why approval is still justified\",\n criteria: [\n {\n criterionId: \"risk-areas-documented\",\n description:\n \"Risk areas and likely regressions are called out explicitly\",\n metric: \"risk_areas_documented\",\n threshold: 1,\n operator: \"gte\",\n },\n {\n criterionId: \"prior-regressions-checked\",\n description: \"Reviewer checked analogous regressions or incidents\",\n metric: \"prior_regressions_checked\",\n threshold: 1,\n operator: \"eq\",\n },\n ],\n severity: \"blocking\",\n },\n {\n gateId: \"contradictions-surfaced\",\n name: \"Contradictions Surfaced\",\n description:\n \"Incidents should preserve competing hypotheses long enough to avoid false certainty\",\n criteria: [\n {\n criterionId: \"multiple-hypotheses\",\n description: \"At least two plausible hypotheses remain visible\",\n metric: \"competing_hypotheses_count\",\n threshold: 2,\n operator: \"gte\",\n },\n {\n criterionId: \"contradictions-reviewed\",\n description: \"Relevant contradictions or tensions were reviewed\",\n metric: \"contradictions_reviewed\",\n threshold: 1,\n operator: \"gte\",\n },\n ],\n severity: \"blocking\",\n },\n {\n gateId: \"decision-rationale-citable\",\n name: \"Decision Rationale Citable\",\n description:\n \"Architecture choices should cite prior rationale and compare viable alternatives\",\n criteria: [\n {\n criterionId: \"options-compared\",\n description: \"At least two options are compared before choosing one\",\n metric: \"options_compared\",\n threshold: 2,\n operator: \"gte\",\n },\n {\n criterionId: \"prior-decisions-cited\",\n description: \"Decision cites prior beliefs, ADRs, or incidents\",\n metric: \"prior_decisions_cited\",\n threshold: 1,\n operator: \"gte\",\n },\n ],\n severity: \"blocking\",\n },\n {\n gateId: \"verification-covered\",\n name: \"Verification Covered\",\n description:\n \"Approval, rollout, and mitigation all require named verification paths\",\n criteria: [\n {\n criterionId: \"checks-defined\",\n description: \"At least one explicit verification path is named\",\n metric: \"verification_paths_defined\",\n threshold: 1,\n operator: \"gte\",\n },\n {\n criterionId: \"owners-named\",\n description: \"Owners or on-call responsibility are explicit\",\n metric: \"owner_count\",\n threshold: 1,\n operator: \"gte\",\n },\n ],\n severity: \"blocking\",\n },\n ],\n\n artifacts: [\n {\n artifactId: \"memory-brief\",\n name: \"Memory Brief\",\n description:\n \"A reusable brief of analogous changes, prior rationale, failed attempts, and contradictions\",\n stage: \"recall-history\",\n contentSchema: {\n type: \"object\",\n properties: {\n analogousChanges: { type: \"array\", items: { type: \"string\" } },\n priorDecisions: { type: \"array\", items: { type: \"string\" } },\n failedAttempts: { type: \"array\", items: { type: \"string\" } },\n contradictions: { type: \"array\", items: { type: \"string\" } },\n },\n required: [\"analogousChanges\", \"priorDecisions\"],\n },\n requiredFields: [\"analogousChanges\", \"priorDecisions\"],\n },\n {\n artifactId: \"migration-plan\",\n name: \"Migration Plan\",\n description:\n \"Blast radius, rollback path, rollout checkpoints, and verification plan\",\n stage: \"plan-rollout\",\n contentSchema: {\n type: \"object\",\n properties: {\n blastRadius: { type: \"array\", items: { type: \"string\" } },\n rollbackPlan: { type: \"string\" },\n verificationPath: { type: \"array\", items: { type: \"string\" } },\n canarySteps: { type: \"array\", items: { type: \"string\" } },\n },\n required: [\"blastRadius\", \"rollbackPlan\", \"verificationPath\"],\n },\n requiredFields: [\"blastRadius\", \"rollbackPlan\", \"verificationPath\"],\n },\n {\n artifactId: \"verification-checklist\",\n name: \"Verification Checklist\",\n description:\n \"Named checks, owners, and pass/fail criteria for rollout or approval\",\n stage: \"verify-rollout\",\n contentSchema: {\n type: \"object\",\n properties: {\n checks: { type: \"array\", items: { type: \"string\" } },\n owners: { type: \"array\", items: { type: \"string\" } },\n passCriteria: { type: \"array\", items: { type: \"string\" } },\n },\n required: [\"checks\", \"owners\"],\n },\n requiredFields: [\"checks\", \"owners\"],\n },\n {\n artifactId: \"review-context\",\n name: \"Review Context\",\n description:\n \"Prior rationale, related diffs, incidents, and failure history relevant to a review\",\n stage: \"recall-review-context\",\n contentSchema: {\n type: \"object\",\n properties: {\n rationaleLinks: { type: \"array\", items: { type: \"string\" } },\n analogousDiffs: { type: \"array\", items: { type: \"string\" } },\n relatedIncidents: { type: \"array\", items: { type: \"string\" } },\n },\n required: [\"rationaleLinks\"],\n },\n requiredFields: [\"rationaleLinks\"],\n },\n {\n artifactId: \"review-findings\",\n name: \"Review Findings\",\n description:\n \"What could regress, what evidence was checked, and whether the change should be blocked\",\n stage: \"inspect-diff\",\n contentSchema: {\n type: \"object\",\n properties: {\n findings: { type: \"array\", items: { type: \"string\" } },\n regressionsChecked: { type: \"array\", items: { type: \"string\" } },\n blockReason: { type: \"string\" },\n },\n required: [\"findings\", \"regressionsChecked\"],\n },\n requiredFields: [\"findings\", \"regressionsChecked\"],\n },\n {\n artifactId: \"incident-brief\",\n name: \"Incident Brief\",\n description:\n \"Signals, recent changes, competing hypotheses, and precedent incidents\",\n stage: \"collect-signal\",\n contentSchema: {\n type: \"object\",\n properties: {\n symptoms: { type: \"array\", items: { type: \"string\" } },\n recentChanges: { type: \"array\", items: { type: \"string\" } },\n competingHypotheses: { type: \"array\", items: { type: \"string\" } },\n precedentIncidents: { type: \"array\", items: { type: \"string\" } },\n },\n required: [\"symptoms\", \"competingHypotheses\"],\n },\n requiredFields: [\"symptoms\", \"competingHypotheses\"],\n },\n {\n artifactId: \"contradiction-report\",\n name: \"Contradiction Report\",\n description:\n \"Active contradictions, why they matter, and what evidence could collapse them\",\n stage: \"surface-contradictions\",\n contentSchema: {\n type: \"object\",\n properties: {\n contradictions: { type: \"array\", items: { type: \"string\" } },\n likelyRootCauses: { type: \"array\", items: { type: \"string\" } },\n missingEvidence: { type: \"array\", items: { type: \"string\" } },\n },\n required: [\"contradictions\", \"likelyRootCauses\"],\n },\n requiredFields: [\"contradictions\", \"likelyRootCauses\"],\n },\n {\n artifactId: \"mitigation-plan\",\n name: \"Mitigation Plan\",\n description:\n \"Chosen mitigation, rollback path, and verification ownership for an incident\",\n stage: \"plan-mitigation\",\n contentSchema: {\n type: \"object\",\n properties: {\n mitigationSteps: { type: \"array\", items: { type: \"string\" } },\n rollbackPlan: { type: \"string\" },\n owners: { type: \"array\", items: { type: \"string\" } },\n },\n required: [\"mitigationSteps\", \"owners\"],\n },\n requiredFields: [\"mitigationSteps\", \"owners\"],\n },\n {\n artifactId: \"decision-brief\",\n name: \"Decision Brief\",\n description:\n \"Options, cited precedent, trade-offs, and objections for an architecture decision\",\n stage: \"compare-options\",\n contentSchema: {\n type: \"object\",\n properties: {\n options: { type: \"array\", items: { type: \"string\" } },\n citedPrecedent: { type: \"array\", items: { type: \"string\" } },\n objections: { type: \"array\", items: { type: \"string\" } },\n },\n required: [\"options\", \"citedPrecedent\"],\n },\n requiredFields: [\"options\", \"citedPrecedent\"],\n },\n {\n artifactId: \"decision-record\",\n name: \"Decision Record\",\n description:\n \"Chosen path, why it won, what it supersedes, and what follow-up remains open\",\n stage: \"record-decision\",\n contentSchema: {\n type: \"object\",\n properties: {\n decision: { type: \"string\" },\n rationale: { type: \"array\", items: { type: \"string\" } },\n supersedes: { type: \"array\", items: { type: \"string\" } },\n followUps: { type: \"array\", items: { type: \"string\" } },\n },\n required: [\"decision\", \"rationale\"],\n },\n requiredFields: [\"decision\", \"rationale\"],\n },\n ],\n\n roles: [\n {\n roleId: \"context-compiler\",\n name: \"Context Compiler\",\n description:\n \"Compiles prior rationale, analogs, and failure memory into reusable first-hour context\",\n perspective: \"History-first, evidence-weighted context assembly\",\n optimizesFor: \"recall quality and anti-repetition coverage\",\n mayBlock: false,\n },\n {\n roleId: \"migration-owner\",\n name: \"Migration Owner\",\n description:\n \"Scopes rollout blast radius, rollback, sequencing, and compatibility risk\",\n perspective: \"Operational caution with explicit rollback discipline\",\n optimizesFor: \"safe rollout planning\",\n mayBlock: false,\n },\n {\n roleId: \"reviewer\",\n name: \"Reviewer\",\n description:\n \"Evaluates risky changes against prior regressions, evidence, and missing checks\",\n perspective: \"Evidence-backed change approval with regression awareness\",\n optimizesFor: \"defect prevention and clear approval rationale\",\n mayBlock: true,\n },\n {\n roleId: \"incident-commander\",\n name: \"Incident Commander\",\n description:\n \"Maintains multiple plausible explanations while driving mitigation decisions\",\n perspective:\n \"Fast, reversible action without collapsing uncertainty too early\",\n optimizesFor: \"time-to-mitigation with preserved reasoning integrity\",\n mayBlock: false,\n },\n {\n roleId: \"architect\",\n name: \"Architect\",\n description:\n \"Turns competing options into explicit decisions with cited precedent and follow-up risk\",\n perspective: \"Trade-off clarity and long-term maintainability\",\n optimizesFor: \"decision quality and rationale reuse\",\n mayBlock: false,\n },\n {\n roleId: \"critic\",\n name: \"Critic\",\n description:\n \"Finds weak assumptions, missing rollback paths, and untested contradictions\",\n perspective: \"Skeptical, adversarial, and detail-oriented\",\n optimizesFor: \"early detection of brittle plans\",\n mayBlock: true,\n },\n ],\n\n ...ENGINEERING_ACCELERATOR_TAIL,\n});\n"]}