@codedrifters/configulator 0.0.273 → 0.0.274

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.d.mts CHANGED
@@ -3,6 +3,7 @@ import { Project, Component as Component$1, Task } from 'projen/lib';
3
3
  import { NodeProject } from 'projen/lib/javascript';
4
4
  import { AwsCdkTypeScriptApp } from 'projen/lib/awscdk';
5
5
  import { AwsStageType, DeploymentTargetRoleType, AwsEnvironmentType, AWS_STAGE_TYPE } from '@codedrifters/utils';
6
+ import * as ts from 'typescript';
6
7
  import * as spec from '@jsii/spec';
7
8
  import { TypeScriptProject as TypeScriptProject$1, TypeScriptAppProject, TypeScriptProjectOptions as TypeScriptProjectOptions$1 } from 'projen/lib/typescript';
8
9
  import { ValueOf } from 'type-fest';
@@ -3469,6 +3470,37 @@ declare function renderCheckLinksProcedure(): string;
3469
3470
  * findings.
3470
3471
  */
3471
3472
  declare const checkLinksProcedure: AgentProcedure;
3473
+ /**
3474
+ * Render the shell body of the
3475
+ * `.claude/procedures/check-doc-samples.sh` helper. Exported so the
3476
+ * docs-sync bundle can register it as an `AgentProcedure` and the
3477
+ * bundles test suite can assert on the script's contents.
3478
+ *
3479
+ * The helper wraps the `compileFencedSamples` API exported from
3480
+ * `@codedrifters/configulator` (under `src/docs-sync/sample-compilation/`)
3481
+ * and emits a single JSON-array stream of failure records on stdout.
3482
+ * Detection is **data**, not failure: the helper exits `0` when the
3483
+ * compilation phase ran successfully, regardless of how many samples
3484
+ * failed to compile. Non-zero exits are reserved for tool-level
3485
+ * failures (missing binary, IO error, internal exception).
3486
+ *
3487
+ * Exit codes: `0` success, `1` usage error or unreadable docs root,
3488
+ * `2` a required binary is missing (`node` / `pnpm`), `3` the
3489
+ * compilation phase threw an unhandled exception.
3490
+ */
3491
+ declare function renderCheckDocSamplesProcedure(): string;
3492
+ /**
3493
+ * `AgentProcedure` definition for
3494
+ * `.claude/procedures/check-doc-samples.sh`. Registered on the
3495
+ * docs-sync bundle so it ships when the bundle is force-included —
3496
+ * matches the packaging of `extractApiProcedure` and
3497
+ * `checkLinksProcedure` above. Provides the fenced-sample
3498
+ * compilation input the docs-sync scan phase (#520) consumes
3499
+ * alongside link integrity, API-extractor, TSDoc-coverage, and
3500
+ * doc-reference findings. Per the parent epic, fenced TS samples
3501
+ * that fail to compile are one of the two hard-block cases.
3502
+ */
3503
+ declare const checkDocSamplesProcedure: AgentProcedure;
3472
3504
  /**
3473
3505
  * Docs-sync bundle — scaffolding release.
3474
3506
  *
@@ -6456,6 +6488,219 @@ interface ExtractDocReferencesOptions {
6456
6488
  */
6457
6489
  declare function extractDocReferences(options?: ExtractDocReferencesOptions): Array<DocReferenceRecord>;
6458
6490
 
6491
+ /**
6492
+ * One row in the fenced-sample extraction report — describes a single
6493
+ * fenced TypeScript code block found in a markdown page.
6494
+ */
6495
+ interface FencedSampleRecord {
6496
+ /**
6497
+ * Path to the markdown file the sample was extracted from. Resolved
6498
+ * relative to the configured `docsRoot` so reports are stable
6499
+ * across machines (no absolute prefixes leak through).
6500
+ */
6501
+ readonly docPath: string;
6502
+ /**
6503
+ * 1-indexed line number of the opening fence (the line that begins
6504
+ * with the three backticks), as reported by the markdown parser.
6505
+ */
6506
+ readonly line: number;
6507
+ /**
6508
+ * 0-indexed position of this fenced block among all fenced TS-shaped
6509
+ * blocks in the same markdown file. Useful when a single page has
6510
+ * multiple samples and the consumer needs to disambiguate findings.
6511
+ */
6512
+ readonly fenceIndex: number;
6513
+ /**
6514
+ * Language tag as written on the opening fence (e.g. `ts`,
6515
+ * `typescript`, `tsx`, `typescriptreact`). Always lower-cased.
6516
+ */
6517
+ readonly lang: SampleLang;
6518
+ /**
6519
+ * Raw source of the code block, exactly as written between the
6520
+ * fences. Trailing newlines are preserved so the compiler sees the
6521
+ * same input the human author intended.
6522
+ */
6523
+ readonly code: string;
6524
+ /**
6525
+ * `true` when the sample was tagged as opt-out (via fence meta or
6526
+ * an in-source pragma) and the compilation phase should skip it.
6527
+ * Skipped samples are still surfaced in the extraction report so
6528
+ * downstream consumers can audit them; the {@link compileFencedSamples}
6529
+ * helper filters them out before invoking `tsc`.
6530
+ */
6531
+ readonly skipped: boolean;
6532
+ /**
6533
+ * Short description of why a sample was skipped. Empty string when
6534
+ * `skipped` is `false`.
6535
+ */
6536
+ readonly skipReason: string;
6537
+ }
6538
+ /**
6539
+ * Recognized fenced-block language tags that the extractor treats as
6540
+ * compilable TypeScript samples.
6541
+ */
6542
+ declare const SampleLang: {
6543
+ readonly Ts: "ts";
6544
+ readonly Typescript: "typescript";
6545
+ readonly Tsx: "tsx";
6546
+ readonly Typescriptreact: "typescriptreact";
6547
+ };
6548
+ /**
6549
+ * String-literal type matching the values of {@link SampleLang}.
6550
+ */
6551
+ type SampleLang = (typeof SampleLang)[keyof typeof SampleLang];
6552
+ /**
6553
+ * Options accepted by {@link extractFencedSamples}.
6554
+ */
6555
+ interface ExtractFencedSamplesOptions {
6556
+ /**
6557
+ * Absolute or repo-relative path to the docs root that should be
6558
+ * walked for `*.md` files. Defaults to `docs/src/content/docs/`
6559
+ * relative to the current working directory when omitted.
6560
+ *
6561
+ * @default "docs/src/content/docs"
6562
+ */
6563
+ readonly docsRoot?: string;
6564
+ /**
6565
+ * When `true`, fenced blocks tagged `tsx` or `typescriptreact` are
6566
+ * included in the report. Defaults to `true` because the docs-sync
6567
+ * scan phase is JSX-aware; flip to `false` to scope a run to plain
6568
+ * TypeScript only.
6569
+ *
6570
+ * @default true
6571
+ */
6572
+ readonly includeTsx?: boolean;
6573
+ }
6574
+ /**
6575
+ * Walks every `*.md` file under the configured docs root and returns
6576
+ * one record per fenced TypeScript code block.
6577
+ *
6578
+ * The walker is AST-based — markdown is parsed with
6579
+ * `mdast-util-from-markdown` and only `code` (fenced + indented)
6580
+ * nodes are inspected. The `lang` attribute on the AST node is
6581
+ * matched against {@link SampleLang}; fences tagged `ts`,
6582
+ * `typescript`, `tsx`, or `typescriptreact` produce records.
6583
+ * Anything else (`bash`, `json`, untagged, etc.) is skipped.
6584
+ *
6585
+ * Skip detection. A sample is recorded with `skipped: true` when
6586
+ * either of these conditions holds:
6587
+ *
6588
+ * - The fence's `meta` string contains the word `skip` or `no-check`
6589
+ * (case-insensitive) — i.e. either token follows the language tag
6590
+ * on the opening fence line.
6591
+ * - The sample's first non-blank line is the comment `// @no-check`
6592
+ * (case-insensitive on the directive name; the leading `//` is
6593
+ * required).
6594
+ *
6595
+ * @param options - Extraction options. All fields are optional; pass
6596
+ * an empty object to use defaults.
6597
+ */
6598
+ declare function extractFencedSamples(options?: ExtractFencedSamplesOptions): Array<FencedSampleRecord>;
6599
+
6600
+ /**
6601
+ * One row in the sample-compilation report — describes a single
6602
+ * compilation failure. Compiles that succeeded are intentionally
6603
+ * absent: the docs-sync scan phase consumes failures only and treats
6604
+ * an empty array as "every sample compiled cleanly".
6605
+ */
6606
+ interface SampleCompilationFailure {
6607
+ /**
6608
+ * Path to the markdown file the sample was extracted from. Resolved
6609
+ * relative to the configured `docsRoot` so reports are stable
6610
+ * across machines.
6611
+ */
6612
+ readonly docPath: string;
6613
+ /**
6614
+ * 1-indexed line number of the opening fence in the source markdown
6615
+ * file (the line that begins with the three backticks).
6616
+ */
6617
+ readonly line: number;
6618
+ /**
6619
+ * 0-indexed position of this fenced block among all fenced TS-shaped
6620
+ * blocks in the same markdown file.
6621
+ */
6622
+ readonly fenceIndex: number;
6623
+ /**
6624
+ * Language tag the sample carried — one of `ts`, `typescript`,
6625
+ * `tsx`, or `typescriptreact`.
6626
+ */
6627
+ readonly lang: SampleLang;
6628
+ /**
6629
+ * Flat array of compiler diagnostics, one entry per `tsc` finding.
6630
+ * Each entry is the message text plus any code prefix the compiler
6631
+ * surfaced — formatted to be self-contained so the consuming scan
6632
+ * report can render the failure without re-running the compiler.
6633
+ */
6634
+ readonly diagnostics: Array<string>;
6635
+ }
6636
+ /**
6637
+ * Options accepted by {@link compileFencedSamples}.
6638
+ */
6639
+ interface CompileFencedSamplesOptions extends ExtractFencedSamplesOptions {
6640
+ /**
6641
+ * Override the {@link ts.CompilerOptions} the helper uses when
6642
+ * compiling each sample. Merged on top of the helper's defaults
6643
+ * (see {@link DEFAULT_SAMPLE_COMPILER_OPTIONS}). Override sparingly:
6644
+ * the defaults are tuned to be permissive on prose samples (no
6645
+ * unused-locals/unused-parameters errors, JSX preserved for tsx,
6646
+ * lib targets DOM/ES2022). Setting an option to `undefined` here
6647
+ * removes the helper's default for that key.
6648
+ */
6649
+ readonly compilerOptions?: ts.CompilerOptions;
6650
+ /**
6651
+ * When `true`, diagnostics carrying TS error code `2307`
6652
+ * ("Cannot find module …") are demoted from failures to silent
6653
+ * skips for repo-relative module specifiers (paths starting with
6654
+ * `./`, `../`, or `/`). Bare specifiers like `react` or
6655
+ * `@scope/pkg` are still treated as failures because they
6656
+ * indicate genuinely missing imports rather than docs-relative
6657
+ * sample drift.
6658
+ *
6659
+ * @default true
6660
+ */
6661
+ readonly tolerateRepoRelativeMissingModule?: boolean;
6662
+ }
6663
+ /**
6664
+ * Default compiler options applied to every fenced sample. Tuned to
6665
+ * be permissive on prose samples while still surfacing real
6666
+ * compilation errors:
6667
+ *
6668
+ * - `target` / `module` mirror modern Node + ES module conventions.
6669
+ * - `lib` carries `DOM` so samples that mention `console`,
6670
+ * `document`, or `window` compile cleanly.
6671
+ * - `strict` stays on so the helper still catches type errors.
6672
+ * - `noUnusedLocals` / `noUnusedParameters` stay **off** because
6673
+ * prose samples often declare a name purely to demonstrate a
6674
+ * shape; flagging that as a failure would block useful docs.
6675
+ * - `skipLibCheck` is on so a missing `.d.ts` in a transitive
6676
+ * dependency does not poison the suite.
6677
+ * - `jsx` preserves the JSX so `tsx` fenced blocks compile.
6678
+ * - `noEmit` is the whole point — we only need diagnostics.
6679
+ */
6680
+ declare const DEFAULT_SAMPLE_COMPILER_OPTIONS: ts.CompilerOptions;
6681
+ /**
6682
+ * Walks every `*.md` file under the configured docs root, extracts
6683
+ * fenced TypeScript samples, and runs the TypeScript compiler against
6684
+ * each non-skipped sample. Returns one record per failing sample —
6685
+ * passing samples are intentionally absent from the result.
6686
+ *
6687
+ * Each sample is compiled in its own in-memory program so unrelated
6688
+ * blocks never share scope. Skipped samples (fence meta `skip` /
6689
+ * `no-check`, or first line `// @no-check`) are passed through
6690
+ * unchecked.
6691
+ *
6692
+ * The helper does not invoke `tsc` as a subprocess — it uses the TS
6693
+ * compiler API directly with the host's `typescript` peer dependency.
6694
+ * That means a single test or scan run produces a single TypeScript
6695
+ * Program per sample, which is fast enough for the scan-phase budget
6696
+ * but does mean callers must not pass it the full repo's `docs/`
6697
+ * tree at unit-test time. Tests stay on small inline tmpdir fixtures.
6698
+ *
6699
+ * @param options - Compilation options. All fields are optional;
6700
+ * pass an empty object to use defaults.
6701
+ */
6702
+ declare function compileFencedSamples(options?: CompileFencedSamplesOptions): Array<SampleCompilationFailure>;
6703
+
6459
6704
  /**
6460
6705
  * One row in the TSDoc-coverage report — describes a single public
6461
6706
  * symbol exported (transitively) from the package's entry point and
@@ -8474,4 +8719,4 @@ declare const COMPLETE_JOB_ID = "complete";
8474
8719
  */
8475
8720
  declare function addBuildCompleteJob(buildWorkflow: BuildWorkflow): void;
8476
8721
 
8477
- export { AGENT_MODEL, AGENT_PLATFORM, AGENT_RULE_SCOPE, AGENT_TIER_ROLES, AGENT_TIER_VALUES, AgentConfig, type AgentConfigOptions, type AgentExpansionRules, type AgentFeaturesConfig, type AgentModel, type AgentPathsConfig, type AgentPlatform, type AgentPlatformOverrides, type AgentProcedure, type AgentRule, type AgentRuleBundle, type AgentRuleScope, type AgentSkill, type AgentSubAgent, type AgentSubAgentPlatformOverrides, type AgentTier, type AgentTierConfig, type AgentTierEntry, type AnalyzeTsDocCoverageOptions, ApiExtractor, type ApiExtractorOptions, type ApiExtractorReportOptions, type ApproveMergeUpgradeOptions, AstroConfig, type AstroConfigOptions, type AstroIntegrationSpec, AstroOutput, AstroProject, type AstroProjectOptions, type AwsAccount, AwsCdkProject, type AwsCdkProjectOptions, AwsDeployWorkflow, AwsDeploymentConfig, AwsDeploymentTarget, type AwsDeploymentTargetOptions, type AwsLocalDeploymentConfig, type AwsOrganization, type AwsRegion, AwsTeardownWorkflow, type AwsTeardownWorkflowOptions, BUILT_IN_BUNDLES, CLAUDE_RULE_TARGET, COMPLETE_JOB_ID, type CiDeploymentConfig, type ClassTypeOptions, type ClaudeAutoModeConfig, type ClaudeHookAction, type ClaudeHookEntry, type ClaudeHooksConfig, type ClaudePermissionsConfig, type ClaudeRuleTarget, type ClaudeSandboxConfig, type ClaudeSettingsConfig, type CopilotHandoff, type CursorHookAction, type CursorHooksConfig, type CursorSettingsConfig, type CustomDocSection, DEFAULT_AC_THRESHOLDS, DEFAULT_AGENT_PATHS, DEFAULT_AGENT_TIERS, DEFAULT_API_EXTRACTOR_CONFIG_FILE, DEFAULT_API_EXTRACTOR_ENTRY_POINT, DEFAULT_API_EXTRACTOR_REPORT_FILENAME, DEFAULT_API_EXTRACTOR_REPORT_FOLDER, DEFAULT_DECOMPOSITION_TEMPLATE, DEFAULT_DELEGATE_TO_PR_REVIEWER, DEFAULT_DISPATCH_MODEL, DEFAULT_DISPATCH_TO_HOUSEKEEPING_RATIO, DEFAULT_HOUSEKEEPING_MODEL, DEFAULT_ISSUE_TEMPLATES_BUNDLE_PATH_PATTERNS, DEFAULT_ISSUE_TEMPLATES_EMIT_CHECKER, DEFAULT_ISSUE_TEMPLATES_EMIT_STARTER, DEFAULT_ISSUE_TEMPLATES_ENABLED, DEFAULT_ISSUE_TEMPLATES_PATH, DEFAULT_ISSUE_TEMPLATES_REQUIRE_REFERENCE, DEFAULT_MERGE_METHOD, DEFAULT_OFF_PEAK_CRON_EXAMPLE, DEFAULT_PARTIAL_UNBLOCK_COMMENT_TEMPLATE, DEFAULT_PRIORITY_LABELS, DEFAULT_PRODUCT_CONTEXT_PATH, DEFAULT_PROGRESS_FILES_ENABLED, DEFAULT_PROGRESS_FILES_FILENAME_PATTERN, DEFAULT_PROGRESS_FILES_FORMAT, DEFAULT_PROGRESS_FILES_STALE_AFTER_HOURS, DEFAULT_PROGRESS_FILES_STATE_DIR, DEFAULT_REQUIRE_LINKED_ISSUE, DEFAULT_REQUIRE_PRODUCT_CONTEXT, DEFAULT_SCHEDULED_TASKS_ROOT, DEFAULT_SCHEDULED_TASK_ENTRIES, DEFAULT_SHARED_EDITING_CONFLICT_STRATEGY, DEFAULT_SHARED_EDITING_EMIT_HELPER, DEFAULT_SHARED_EDITING_ENABLED, DEFAULT_SHARED_EDITING_VERIFY_COMMIT, DEFAULT_SHARED_INDEX_PATHS, DEFAULT_SKILL_EVALS_EMIT_RUNNER, DEFAULT_SKILL_EVALS_ENABLED, DEFAULT_SKILL_EVALS_SKILLS_ROOT, DEFAULT_SOURCES_THRESHOLDS, DEFAULT_STATE_FILE_PATH, DEFAULT_STATUS_LABELS, DEFAULT_TEARDOWN_BRANCH_PATTERNS, DEFAULT_TYPE_LABELS, DEFAULT_UNBLOCK_COMMENT_TEMPLATE, DEFAULT_UNBLOCK_DEPENDENTS_ENABLED, DEFAULT_WORKFLOW_DIAGRAMS_BUNDLE_PATH_PATTERNS, DEFAULT_WORKFLOW_DIAGRAMS_EMIT_CHECKER, DEFAULT_WORKFLOW_DIAGRAMS_EMIT_STARTER, DEFAULT_WORKFLOW_DIAGRAMS_ENABLED, DEFAULT_WORKFLOW_DIAGRAMS_PATH, DEFAULT_WORKFLOW_DIAGRAMS_REQUIRE_UPDATE, type DeployWorkflowOptions, type DeploymentMetadata, type DocReferenceRecord, type ExtractDocReferencesOptions, type FocusArea, type FocusAreaMatch, type FocusConfig, type GitBranch, type GitHubBoardMetadata, type GitHubProjectMetadata, type GitHubSprintMetadata, type IDependencyResolver, type IssueTemplatesConfig, JsiiFaker, LAYOUT_ENFORCEMENT, LAYOUT_ROOT_BY_PROJECT_TYPE, type LabelDefinition, type LayoutEnforcement, type LayoutViolation, MCP_TRANSPORT, MERGE_METHODS, MIMIMUM_RELEASE_AGE, MINIMUM_RELEASE_AGE, MONOREPO_LAYOUT, type McpServerConfig, type McpTransport, type MeetingArea, type MeetingScope, type MeetingType, type MeetingTypeKind, type MeetingsConfig, type MergeMethod, type MonorepoLayoutRoot, MonorepoProject, type MonorepoProjectOptions, type OrganizationMetadata, PREFLIGHT_MERGE_METHOD_VALUES, PROD_DEPLOY_NAME, PROGRESS_FILES_FORMAT_VALUES, PnpmWorkspace, type PnpmWorkspaceOptions, type PreflightMergeMethod, type PreflightPrConfig, type PriorityRule, type ProgressFilesConfig, ProjectMetadata, type ProjectMetadataOptions, REQUIREMENTS_WRITER_PATHS, ROOT_CI_TASK_NAME, ROOT_TURBO_TASK_NAME, type RemoteCacheOptions, type RepositoryMetadata, ResetTask, type ResetTaskOptions, type ResolvedAgentPaths, type ResolvedAgentTier, type ResolvedIssueTemplates, type ResolvedPreflightPr, type ResolvedProgressFiles, type ResolvedProjectMetadata, type ResolvedRunRatio, type ResolvedScheduledTask, type ResolvedScheduledTasks, type ResolvedScopeGate, type ResolvedSharedEditing, type ResolvedSkillEvals, type ResolvedUnblockDependents, type ResolvedWorkflowDiagrams, type RunRatioConfig, SCHEDULED_TASK_MODEL_VALUES, SCOPE_CLASS_VALUES, SHARED_EDITING_CONFLICT_STRATEGY_VALUES, STARLIGHT_ROLE, type ScheduledTaskEntry, type ScheduledTaskModel, type ScheduledTaskOverride, type ScheduledTasksConfig, type ScopeClass, type ScopeGateConfig, type ScopeGateThresholds, type SharedEditingConfig, type SkillEvalsConfig, type SlackMetadata, type SourceTierExamples, type StarlightEditLink, type StarlightLogo, StarlightProject, type StarlightProjectOptions, type StarlightRole, type StarlightSidebarItem, type StarlightSingletonViolation, type StarlightSocialLink, type SyncLabelsOptions, type TemplateResolveResult, TestRunner, TsDocCoverageKind, type TsDocCoverageRecord, TurboRepo, type TurboRepoOptions, TurboRepoTask, type TurboRepoTaskOptions, TypeScriptConfig, TypeScriptProject, type TypeScriptProjectOptions, UNKNOWN_TYPE_FALLBACK_TIER, type UnblockDependentsConfig, VERSION, VERSION_KEYS_SKIP, VERSION_NPM_PACKAGES, VSCodeConfig, type VersionKey, Vitest, type VitestConfigOptions, type VitestOptions, type WorkflowDiagramsConfig, addApproveMergeUpgradeWorkflow, addBuildCompleteJob, addSyncLabelsWorkflow, agendaBundle, analyzeTsDocCoverage, awsCdkBundle, baseBundle, bcmWriterBundle, buildBaseBundle, buildBcmWriterBundle, buildBuiltInBundles, buildBusinessModelsBundle, buildCheckBlockedProcedure, buildCompanyProfileBundle, buildCustomerProfileBundle, buildDocsSyncBundle, buildIndustryDiscoveryBundle, buildMaintenanceAuditBundle, buildOrchestratorConventionsContent, buildPeopleProfileBundle, buildRegulatoryResearchBundle, buildRequirementsAnalystBundle, buildRequirementsReviewerBundle, buildRequirementsWriterBundle, buildResearchPipelineBundle, buildSoftwareProfileBundle, buildStandardsResearchBundle, buildUnblockDependentsProcedure, businessModelsBundle, checkLinksProcedure, classifyIssueScope, classifyRun, companyProfileBundle, customerProfileBundle, docsSyncBundle, extractApiProcedure, extractDocReferences, formatLayoutViolation, formatStarlightSingletonViolation, getLatestEligibleVersion, githubWorkflowBundle, industryDiscoveryBundle, jestBundle, maintenanceAuditBundle, meetingAnalysisBundle, orchestratorBundle, peopleProfileBundle, pnpmBundle, prReviewBundle, projenBundle, regulatoryResearchBundle, renderAgentTierCaseStatement, renderAgentTierSection, renderCheckLinksProcedure, renderCustomDocSectionBlock, renderCustomDocSections, renderExtractApiProcedure, renderFocusSection, renderIssueTemplatesBundleHook, renderIssueTemplatesCheckerScript, renderIssueTemplatesRuleContent, renderIssueTemplatesStarterPage, renderMeetingTypesSection, renderPreflightPrSection, renderPreflightPrShellHelpers, renderPriorityRulesSection, renderProgressFileName, renderProgressFilePath, renderProgressFilesBundleHook, renderProgressFilesRuleContent, renderRunRatioSection, renderRunRatioShellHelpers, renderScheduledTaskSkillFile, renderScheduledTasksSection, renderScopeGateSection, renderScopeGateShellHelpers, renderSharedEditingBundleHook, renderSharedEditingHelperScript, renderSharedEditingRuleContent, renderSkillEvalsBundleHook, renderSkillEvalsRuleContent, renderSkillEvalsRunnerScript, renderSourceTierExamples, renderUnblockDependentsScript, renderUnblockDependentsSection, renderWorkflowDiagramsBundleHook, renderWorkflowDiagramsCheckerScript, renderWorkflowDiagramsRuleContent, renderWorkflowDiagramsStarterPage, requirementsAnalystBundle, requirementsReviewerBundle, requirementsWriterBundle, researchPipelineBundle, resolveAgentPaths, resolveAgentTiers, resolveAstroProjectOutdir, resolveAwsCdkProjectOutdir, resolveIssueTemplates, resolveModelAlias, resolveOrchestratorAssets, resolveOutdirFromPackageName, resolvePreflightPr, resolveProgressFiles, resolveRunRatio, resolveScheduledTasks, resolveScopeGate, resolveSharedEditing, resolveSkillEvals, resolveTemplateVariables, resolveTypeScriptProjectOutdir, resolveUnblockDependents, resolveWorkflowDiagrams, slackBundle, softwareProfileBundle, standardsResearchBundle, turborepoBundle, typescriptBundle, validateAgentTierConfig, validateIssueTemplatesConfig, validateMonorepoLayout, validatePreflightPrConfig, validateProgressFilesConfig, validateRunRatioConfig, validateScheduledTasksConfig, validateScopeGateConfig, validateSharedEditingConfig, validateSkillEvalsConfig, validateStarlightSingleton, validateUnblockDependentsConfig, validateWorkflowDiagramsConfig, vitestBundle };
8722
+ export { AGENT_MODEL, AGENT_PLATFORM, AGENT_RULE_SCOPE, AGENT_TIER_ROLES, AGENT_TIER_VALUES, AgentConfig, type AgentConfigOptions, type AgentExpansionRules, type AgentFeaturesConfig, type AgentModel, type AgentPathsConfig, type AgentPlatform, type AgentPlatformOverrides, type AgentProcedure, type AgentRule, type AgentRuleBundle, type AgentRuleScope, type AgentSkill, type AgentSubAgent, type AgentSubAgentPlatformOverrides, type AgentTier, type AgentTierConfig, type AgentTierEntry, type AnalyzeTsDocCoverageOptions, ApiExtractor, type ApiExtractorOptions, type ApiExtractorReportOptions, type ApproveMergeUpgradeOptions, AstroConfig, type AstroConfigOptions, type AstroIntegrationSpec, AstroOutput, AstroProject, type AstroProjectOptions, type AwsAccount, AwsCdkProject, type AwsCdkProjectOptions, AwsDeployWorkflow, AwsDeploymentConfig, AwsDeploymentTarget, type AwsDeploymentTargetOptions, type AwsLocalDeploymentConfig, type AwsOrganization, type AwsRegion, AwsTeardownWorkflow, type AwsTeardownWorkflowOptions, BUILT_IN_BUNDLES, CLAUDE_RULE_TARGET, COMPLETE_JOB_ID, type CiDeploymentConfig, type ClassTypeOptions, type ClaudeAutoModeConfig, type ClaudeHookAction, type ClaudeHookEntry, type ClaudeHooksConfig, type ClaudePermissionsConfig, type ClaudeRuleTarget, type ClaudeSandboxConfig, type ClaudeSettingsConfig, type CompileFencedSamplesOptions, type CopilotHandoff, type CursorHookAction, type CursorHooksConfig, type CursorSettingsConfig, type CustomDocSection, DEFAULT_AC_THRESHOLDS, DEFAULT_AGENT_PATHS, DEFAULT_AGENT_TIERS, DEFAULT_API_EXTRACTOR_CONFIG_FILE, DEFAULT_API_EXTRACTOR_ENTRY_POINT, DEFAULT_API_EXTRACTOR_REPORT_FILENAME, DEFAULT_API_EXTRACTOR_REPORT_FOLDER, DEFAULT_DECOMPOSITION_TEMPLATE, DEFAULT_DELEGATE_TO_PR_REVIEWER, DEFAULT_DISPATCH_MODEL, DEFAULT_DISPATCH_TO_HOUSEKEEPING_RATIO, DEFAULT_HOUSEKEEPING_MODEL, DEFAULT_ISSUE_TEMPLATES_BUNDLE_PATH_PATTERNS, DEFAULT_ISSUE_TEMPLATES_EMIT_CHECKER, DEFAULT_ISSUE_TEMPLATES_EMIT_STARTER, DEFAULT_ISSUE_TEMPLATES_ENABLED, DEFAULT_ISSUE_TEMPLATES_PATH, DEFAULT_ISSUE_TEMPLATES_REQUIRE_REFERENCE, DEFAULT_MERGE_METHOD, DEFAULT_OFF_PEAK_CRON_EXAMPLE, DEFAULT_PARTIAL_UNBLOCK_COMMENT_TEMPLATE, DEFAULT_PRIORITY_LABELS, DEFAULT_PRODUCT_CONTEXT_PATH, DEFAULT_PROGRESS_FILES_ENABLED, DEFAULT_PROGRESS_FILES_FILENAME_PATTERN, DEFAULT_PROGRESS_FILES_FORMAT, DEFAULT_PROGRESS_FILES_STALE_AFTER_HOURS, DEFAULT_PROGRESS_FILES_STATE_DIR, DEFAULT_REQUIRE_LINKED_ISSUE, DEFAULT_REQUIRE_PRODUCT_CONTEXT, DEFAULT_SAMPLE_COMPILER_OPTIONS, DEFAULT_SCHEDULED_TASKS_ROOT, DEFAULT_SCHEDULED_TASK_ENTRIES, DEFAULT_SHARED_EDITING_CONFLICT_STRATEGY, DEFAULT_SHARED_EDITING_EMIT_HELPER, DEFAULT_SHARED_EDITING_ENABLED, DEFAULT_SHARED_EDITING_VERIFY_COMMIT, DEFAULT_SHARED_INDEX_PATHS, DEFAULT_SKILL_EVALS_EMIT_RUNNER, DEFAULT_SKILL_EVALS_ENABLED, DEFAULT_SKILL_EVALS_SKILLS_ROOT, DEFAULT_SOURCES_THRESHOLDS, DEFAULT_STATE_FILE_PATH, DEFAULT_STATUS_LABELS, DEFAULT_TEARDOWN_BRANCH_PATTERNS, DEFAULT_TYPE_LABELS, DEFAULT_UNBLOCK_COMMENT_TEMPLATE, DEFAULT_UNBLOCK_DEPENDENTS_ENABLED, DEFAULT_WORKFLOW_DIAGRAMS_BUNDLE_PATH_PATTERNS, DEFAULT_WORKFLOW_DIAGRAMS_EMIT_CHECKER, DEFAULT_WORKFLOW_DIAGRAMS_EMIT_STARTER, DEFAULT_WORKFLOW_DIAGRAMS_ENABLED, DEFAULT_WORKFLOW_DIAGRAMS_PATH, DEFAULT_WORKFLOW_DIAGRAMS_REQUIRE_UPDATE, type DeployWorkflowOptions, type DeploymentMetadata, type DocReferenceRecord, type ExtractDocReferencesOptions, type ExtractFencedSamplesOptions, type FencedSampleRecord, type FocusArea, type FocusAreaMatch, type FocusConfig, type GitBranch, type GitHubBoardMetadata, type GitHubProjectMetadata, type GitHubSprintMetadata, type IDependencyResolver, type IssueTemplatesConfig, JsiiFaker, LAYOUT_ENFORCEMENT, LAYOUT_ROOT_BY_PROJECT_TYPE, type LabelDefinition, type LayoutEnforcement, type LayoutViolation, MCP_TRANSPORT, MERGE_METHODS, MIMIMUM_RELEASE_AGE, MINIMUM_RELEASE_AGE, MONOREPO_LAYOUT, type McpServerConfig, type McpTransport, type MeetingArea, type MeetingScope, type MeetingType, type MeetingTypeKind, type MeetingsConfig, type MergeMethod, type MonorepoLayoutRoot, MonorepoProject, type MonorepoProjectOptions, type OrganizationMetadata, PREFLIGHT_MERGE_METHOD_VALUES, PROD_DEPLOY_NAME, PROGRESS_FILES_FORMAT_VALUES, PnpmWorkspace, type PnpmWorkspaceOptions, type PreflightMergeMethod, type PreflightPrConfig, type PriorityRule, type ProgressFilesConfig, ProjectMetadata, type ProjectMetadataOptions, REQUIREMENTS_WRITER_PATHS, ROOT_CI_TASK_NAME, ROOT_TURBO_TASK_NAME, type RemoteCacheOptions, type RepositoryMetadata, ResetTask, type ResetTaskOptions, type ResolvedAgentPaths, type ResolvedAgentTier, type ResolvedIssueTemplates, type ResolvedPreflightPr, type ResolvedProgressFiles, type ResolvedProjectMetadata, type ResolvedRunRatio, type ResolvedScheduledTask, type ResolvedScheduledTasks, type ResolvedScopeGate, type ResolvedSharedEditing, type ResolvedSkillEvals, type ResolvedUnblockDependents, type ResolvedWorkflowDiagrams, type RunRatioConfig, SCHEDULED_TASK_MODEL_VALUES, SCOPE_CLASS_VALUES, SHARED_EDITING_CONFLICT_STRATEGY_VALUES, STARLIGHT_ROLE, type SampleCompilationFailure, SampleLang, type ScheduledTaskEntry, type ScheduledTaskModel, type ScheduledTaskOverride, type ScheduledTasksConfig, type ScopeClass, type ScopeGateConfig, type ScopeGateThresholds, type SharedEditingConfig, type SkillEvalsConfig, type SlackMetadata, type SourceTierExamples, type StarlightEditLink, type StarlightLogo, StarlightProject, type StarlightProjectOptions, type StarlightRole, type StarlightSidebarItem, type StarlightSingletonViolation, type StarlightSocialLink, type SyncLabelsOptions, type TemplateResolveResult, TestRunner, TsDocCoverageKind, type TsDocCoverageRecord, TurboRepo, type TurboRepoOptions, TurboRepoTask, type TurboRepoTaskOptions, TypeScriptConfig, TypeScriptProject, type TypeScriptProjectOptions, UNKNOWN_TYPE_FALLBACK_TIER, type UnblockDependentsConfig, VERSION, VERSION_KEYS_SKIP, VERSION_NPM_PACKAGES, VSCodeConfig, type VersionKey, Vitest, type VitestConfigOptions, type VitestOptions, type WorkflowDiagramsConfig, addApproveMergeUpgradeWorkflow, addBuildCompleteJob, addSyncLabelsWorkflow, agendaBundle, analyzeTsDocCoverage, awsCdkBundle, baseBundle, bcmWriterBundle, buildBaseBundle, buildBcmWriterBundle, buildBuiltInBundles, buildBusinessModelsBundle, buildCheckBlockedProcedure, buildCompanyProfileBundle, buildCustomerProfileBundle, buildDocsSyncBundle, buildIndustryDiscoveryBundle, buildMaintenanceAuditBundle, buildOrchestratorConventionsContent, buildPeopleProfileBundle, buildRegulatoryResearchBundle, buildRequirementsAnalystBundle, buildRequirementsReviewerBundle, buildRequirementsWriterBundle, buildResearchPipelineBundle, buildSoftwareProfileBundle, buildStandardsResearchBundle, buildUnblockDependentsProcedure, businessModelsBundle, checkDocSamplesProcedure, checkLinksProcedure, classifyIssueScope, classifyRun, companyProfileBundle, compileFencedSamples, customerProfileBundle, docsSyncBundle, extractApiProcedure, extractDocReferences, extractFencedSamples, formatLayoutViolation, formatStarlightSingletonViolation, getLatestEligibleVersion, githubWorkflowBundle, industryDiscoveryBundle, jestBundle, maintenanceAuditBundle, meetingAnalysisBundle, orchestratorBundle, peopleProfileBundle, pnpmBundle, prReviewBundle, projenBundle, regulatoryResearchBundle, renderAgentTierCaseStatement, renderAgentTierSection, renderCheckDocSamplesProcedure, renderCheckLinksProcedure, renderCustomDocSectionBlock, renderCustomDocSections, renderExtractApiProcedure, renderFocusSection, renderIssueTemplatesBundleHook, renderIssueTemplatesCheckerScript, renderIssueTemplatesRuleContent, renderIssueTemplatesStarterPage, renderMeetingTypesSection, renderPreflightPrSection, renderPreflightPrShellHelpers, renderPriorityRulesSection, renderProgressFileName, renderProgressFilePath, renderProgressFilesBundleHook, renderProgressFilesRuleContent, renderRunRatioSection, renderRunRatioShellHelpers, renderScheduledTaskSkillFile, renderScheduledTasksSection, renderScopeGateSection, renderScopeGateShellHelpers, renderSharedEditingBundleHook, renderSharedEditingHelperScript, renderSharedEditingRuleContent, renderSkillEvalsBundleHook, renderSkillEvalsRuleContent, renderSkillEvalsRunnerScript, renderSourceTierExamples, renderUnblockDependentsScript, renderUnblockDependentsSection, renderWorkflowDiagramsBundleHook, renderWorkflowDiagramsCheckerScript, renderWorkflowDiagramsRuleContent, renderWorkflowDiagramsStarterPage, requirementsAnalystBundle, requirementsReviewerBundle, requirementsWriterBundle, researchPipelineBundle, resolveAgentPaths, resolveAgentTiers, resolveAstroProjectOutdir, resolveAwsCdkProjectOutdir, resolveIssueTemplates, resolveModelAlias, resolveOrchestratorAssets, resolveOutdirFromPackageName, resolvePreflightPr, resolveProgressFiles, resolveRunRatio, resolveScheduledTasks, resolveScopeGate, resolveSharedEditing, resolveSkillEvals, resolveTemplateVariables, resolveTypeScriptProjectOutdir, resolveUnblockDependents, resolveWorkflowDiagrams, slackBundle, softwareProfileBundle, standardsResearchBundle, turborepoBundle, typescriptBundle, validateAgentTierConfig, validateIssueTemplatesConfig, validateMonorepoLayout, validatePreflightPrConfig, validateProgressFilesConfig, validateRunRatioConfig, validateScheduledTasksConfig, validateScopeGateConfig, validateSharedEditingConfig, validateSkillEvalsConfig, validateStarlightSingleton, validateUnblockDependentsConfig, validateWorkflowDiagramsConfig, vitestBundle };
package/lib/index.d.ts CHANGED
@@ -2,6 +2,7 @@ import { Component, Project, typescript, awscdk } from 'projen';
2
2
  import { Project as Project$1, Task, Component as Component$1 } from 'projen/lib';
3
3
  import { NodeProject } from 'projen/lib/javascript';
4
4
  import { AwsCdkTypeScriptApp } from 'projen/lib/awscdk';
5
+ import * as ts from 'typescript';
5
6
  import * as spec from '@jsii/spec';
6
7
  import { TypeScriptAppProject, TypeScriptProjectOptions as TypeScriptProjectOptions$1, TypeScriptProject as TypeScriptProject$1 } from 'projen/lib/typescript';
7
8
  import { ValueOf } from 'type-fest';
@@ -3518,6 +3519,37 @@ declare function renderCheckLinksProcedure(): string;
3518
3519
  * findings.
3519
3520
  */
3520
3521
  declare const checkLinksProcedure: AgentProcedure;
3522
+ /**
3523
+ * Render the shell body of the
3524
+ * `.claude/procedures/check-doc-samples.sh` helper. Exported so the
3525
+ * docs-sync bundle can register it as an `AgentProcedure` and the
3526
+ * bundles test suite can assert on the script's contents.
3527
+ *
3528
+ * The helper wraps the `compileFencedSamples` API exported from
3529
+ * `@codedrifters/configulator` (under `src/docs-sync/sample-compilation/`)
3530
+ * and emits a single JSON-array stream of failure records on stdout.
3531
+ * Detection is **data**, not failure: the helper exits `0` when the
3532
+ * compilation phase ran successfully, regardless of how many samples
3533
+ * failed to compile. Non-zero exits are reserved for tool-level
3534
+ * failures (missing binary, IO error, internal exception).
3535
+ *
3536
+ * Exit codes: `0` success, `1` usage error or unreadable docs root,
3537
+ * `2` a required binary is missing (`node` / `pnpm`), `3` the
3538
+ * compilation phase threw an unhandled exception.
3539
+ */
3540
+ declare function renderCheckDocSamplesProcedure(): string;
3541
+ /**
3542
+ * `AgentProcedure` definition for
3543
+ * `.claude/procedures/check-doc-samples.sh`. Registered on the
3544
+ * docs-sync bundle so it ships when the bundle is force-included —
3545
+ * matches the packaging of `extractApiProcedure` and
3546
+ * `checkLinksProcedure` above. Provides the fenced-sample
3547
+ * compilation input the docs-sync scan phase (#520) consumes
3548
+ * alongside link integrity, API-extractor, TSDoc-coverage, and
3549
+ * doc-reference findings. Per the parent epic, fenced TS samples
3550
+ * that fail to compile are one of the two hard-block cases.
3551
+ */
3552
+ declare const checkDocSamplesProcedure: AgentProcedure;
3521
3553
  /**
3522
3554
  * Docs-sync bundle — scaffolding release.
3523
3555
  *
@@ -6505,6 +6537,219 @@ interface ExtractDocReferencesOptions {
6505
6537
  */
6506
6538
  declare function extractDocReferences(options?: ExtractDocReferencesOptions): Array<DocReferenceRecord>;
6507
6539
 
6540
+ /**
6541
+ * One row in the fenced-sample extraction report — describes a single
6542
+ * fenced TypeScript code block found in a markdown page.
6543
+ */
6544
+ interface FencedSampleRecord {
6545
+ /**
6546
+ * Path to the markdown file the sample was extracted from. Resolved
6547
+ * relative to the configured `docsRoot` so reports are stable
6548
+ * across machines (no absolute prefixes leak through).
6549
+ */
6550
+ readonly docPath: string;
6551
+ /**
6552
+ * 1-indexed line number of the opening fence (the line that begins
6553
+ * with the three backticks), as reported by the markdown parser.
6554
+ */
6555
+ readonly line: number;
6556
+ /**
6557
+ * 0-indexed position of this fenced block among all fenced TS-shaped
6558
+ * blocks in the same markdown file. Useful when a single page has
6559
+ * multiple samples and the consumer needs to disambiguate findings.
6560
+ */
6561
+ readonly fenceIndex: number;
6562
+ /**
6563
+ * Language tag as written on the opening fence (e.g. `ts`,
6564
+ * `typescript`, `tsx`, `typescriptreact`). Always lower-cased.
6565
+ */
6566
+ readonly lang: SampleLang;
6567
+ /**
6568
+ * Raw source of the code block, exactly as written between the
6569
+ * fences. Trailing newlines are preserved so the compiler sees the
6570
+ * same input the human author intended.
6571
+ */
6572
+ readonly code: string;
6573
+ /**
6574
+ * `true` when the sample was tagged as opt-out (via fence meta or
6575
+ * an in-source pragma) and the compilation phase should skip it.
6576
+ * Skipped samples are still surfaced in the extraction report so
6577
+ * downstream consumers can audit them; the {@link compileFencedSamples}
6578
+ * helper filters them out before invoking `tsc`.
6579
+ */
6580
+ readonly skipped: boolean;
6581
+ /**
6582
+ * Short description of why a sample was skipped. Empty string when
6583
+ * `skipped` is `false`.
6584
+ */
6585
+ readonly skipReason: string;
6586
+ }
6587
+ /**
6588
+ * Recognized fenced-block language tags that the extractor treats as
6589
+ * compilable TypeScript samples.
6590
+ */
6591
+ declare const SampleLang: {
6592
+ readonly Ts: "ts";
6593
+ readonly Typescript: "typescript";
6594
+ readonly Tsx: "tsx";
6595
+ readonly Typescriptreact: "typescriptreact";
6596
+ };
6597
+ /**
6598
+ * String-literal type matching the values of {@link SampleLang}.
6599
+ */
6600
+ type SampleLang = (typeof SampleLang)[keyof typeof SampleLang];
6601
+ /**
6602
+ * Options accepted by {@link extractFencedSamples}.
6603
+ */
6604
+ interface ExtractFencedSamplesOptions {
6605
+ /**
6606
+ * Absolute or repo-relative path to the docs root that should be
6607
+ * walked for `*.md` files. Defaults to `docs/src/content/docs/`
6608
+ * relative to the current working directory when omitted.
6609
+ *
6610
+ * @default "docs/src/content/docs"
6611
+ */
6612
+ readonly docsRoot?: string;
6613
+ /**
6614
+ * When `true`, fenced blocks tagged `tsx` or `typescriptreact` are
6615
+ * included in the report. Defaults to `true` because the docs-sync
6616
+ * scan phase is JSX-aware; flip to `false` to scope a run to plain
6617
+ * TypeScript only.
6618
+ *
6619
+ * @default true
6620
+ */
6621
+ readonly includeTsx?: boolean;
6622
+ }
6623
+ /**
6624
+ * Walks every `*.md` file under the configured docs root and returns
6625
+ * one record per fenced TypeScript code block.
6626
+ *
6627
+ * The walker is AST-based — markdown is parsed with
6628
+ * `mdast-util-from-markdown` and only `code` (fenced + indented)
6629
+ * nodes are inspected. The `lang` attribute on the AST node is
6630
+ * matched against {@link SampleLang}; fences tagged `ts`,
6631
+ * `typescript`, `tsx`, or `typescriptreact` produce records.
6632
+ * Anything else (`bash`, `json`, untagged, etc.) is skipped.
6633
+ *
6634
+ * Skip detection. A sample is recorded with `skipped: true` when
6635
+ * either of these conditions holds:
6636
+ *
6637
+ * - The fence's `meta` string contains the word `skip` or `no-check`
6638
+ * (case-insensitive) — i.e. either token follows the language tag
6639
+ * on the opening fence line.
6640
+ * - The sample's first non-blank line is the comment `// @no-check`
6641
+ * (case-insensitive on the directive name; the leading `//` is
6642
+ * required).
6643
+ *
6644
+ * @param options - Extraction options. All fields are optional; pass
6645
+ * an empty object to use defaults.
6646
+ */
6647
+ declare function extractFencedSamples(options?: ExtractFencedSamplesOptions): Array<FencedSampleRecord>;
6648
+
6649
+ /**
6650
+ * One row in the sample-compilation report — describes a single
6651
+ * compilation failure. Compiles that succeeded are intentionally
6652
+ * absent: the docs-sync scan phase consumes failures only and treats
6653
+ * an empty array as "every sample compiled cleanly".
6654
+ */
6655
+ interface SampleCompilationFailure {
6656
+ /**
6657
+ * Path to the markdown file the sample was extracted from. Resolved
6658
+ * relative to the configured `docsRoot` so reports are stable
6659
+ * across machines.
6660
+ */
6661
+ readonly docPath: string;
6662
+ /**
6663
+ * 1-indexed line number of the opening fence in the source markdown
6664
+ * file (the line that begins with the three backticks).
6665
+ */
6666
+ readonly line: number;
6667
+ /**
6668
+ * 0-indexed position of this fenced block among all fenced TS-shaped
6669
+ * blocks in the same markdown file.
6670
+ */
6671
+ readonly fenceIndex: number;
6672
+ /**
6673
+ * Language tag the sample carried — one of `ts`, `typescript`,
6674
+ * `tsx`, or `typescriptreact`.
6675
+ */
6676
+ readonly lang: SampleLang;
6677
+ /**
6678
+ * Flat array of compiler diagnostics, one entry per `tsc` finding.
6679
+ * Each entry is the message text plus any code prefix the compiler
6680
+ * surfaced — formatted to be self-contained so the consuming scan
6681
+ * report can render the failure without re-running the compiler.
6682
+ */
6683
+ readonly diagnostics: Array<string>;
6684
+ }
6685
+ /**
6686
+ * Options accepted by {@link compileFencedSamples}.
6687
+ */
6688
+ interface CompileFencedSamplesOptions extends ExtractFencedSamplesOptions {
6689
+ /**
6690
+ * Override the {@link ts.CompilerOptions} the helper uses when
6691
+ * compiling each sample. Merged on top of the helper's defaults
6692
+ * (see {@link DEFAULT_SAMPLE_COMPILER_OPTIONS}). Override sparingly:
6693
+ * the defaults are tuned to be permissive on prose samples (no
6694
+ * unused-locals/unused-parameters errors, JSX preserved for tsx,
6695
+ * lib targets DOM/ES2022). Setting an option to `undefined` here
6696
+ * removes the helper's default for that key.
6697
+ */
6698
+ readonly compilerOptions?: ts.CompilerOptions;
6699
+ /**
6700
+ * When `true`, diagnostics carrying TS error code `2307`
6701
+ * ("Cannot find module …") are demoted from failures to silent
6702
+ * skips for repo-relative module specifiers (paths starting with
6703
+ * `./`, `../`, or `/`). Bare specifiers like `react` or
6704
+ * `@scope/pkg` are still treated as failures because they
6705
+ * indicate genuinely missing imports rather than docs-relative
6706
+ * sample drift.
6707
+ *
6708
+ * @default true
6709
+ */
6710
+ readonly tolerateRepoRelativeMissingModule?: boolean;
6711
+ }
6712
+ /**
6713
+ * Default compiler options applied to every fenced sample. Tuned to
6714
+ * be permissive on prose samples while still surfacing real
6715
+ * compilation errors:
6716
+ *
6717
+ * - `target` / `module` mirror modern Node + ES module conventions.
6718
+ * - `lib` carries `DOM` so samples that mention `console`,
6719
+ * `document`, or `window` compile cleanly.
6720
+ * - `strict` stays on so the helper still catches type errors.
6721
+ * - `noUnusedLocals` / `noUnusedParameters` stay **off** because
6722
+ * prose samples often declare a name purely to demonstrate a
6723
+ * shape; flagging that as a failure would block useful docs.
6724
+ * - `skipLibCheck` is on so a missing `.d.ts` in a transitive
6725
+ * dependency does not poison the suite.
6726
+ * - `jsx` preserves the JSX so `tsx` fenced blocks compile.
6727
+ * - `noEmit` is the whole point — we only need diagnostics.
6728
+ */
6729
+ declare const DEFAULT_SAMPLE_COMPILER_OPTIONS: ts.CompilerOptions;
6730
+ /**
6731
+ * Walks every `*.md` file under the configured docs root, extracts
6732
+ * fenced TypeScript samples, and runs the TypeScript compiler against
6733
+ * each non-skipped sample. Returns one record per failing sample —
6734
+ * passing samples are intentionally absent from the result.
6735
+ *
6736
+ * Each sample is compiled in its own in-memory program so unrelated
6737
+ * blocks never share scope. Skipped samples (fence meta `skip` /
6738
+ * `no-check`, or first line `// @no-check`) are passed through
6739
+ * unchecked.
6740
+ *
6741
+ * The helper does not invoke `tsc` as a subprocess — it uses the TS
6742
+ * compiler API directly with the host's `typescript` peer dependency.
6743
+ * That means a single test or scan run produces a single TypeScript
6744
+ * Program per sample, which is fast enough for the scan-phase budget
6745
+ * but does mean callers must not pass it the full repo's `docs/`
6746
+ * tree at unit-test time. Tests stay on small inline tmpdir fixtures.
6747
+ *
6748
+ * @param options - Compilation options. All fields are optional;
6749
+ * pass an empty object to use defaults.
6750
+ */
6751
+ declare function compileFencedSamples(options?: CompileFencedSamplesOptions): Array<SampleCompilationFailure>;
6752
+
6508
6753
  /**
6509
6754
  * One row in the TSDoc-coverage report — describes a single public
6510
6755
  * symbol exported (transitively) from the package's entry point and
@@ -8523,5 +8768,5 @@ declare const COMPLETE_JOB_ID = "complete";
8523
8768
  */
8524
8769
  declare function addBuildCompleteJob(buildWorkflow: BuildWorkflow): void;
8525
8770
 
8526
- export { AGENT_MODEL, AGENT_PLATFORM, AGENT_RULE_SCOPE, AGENT_TIER_ROLES, AGENT_TIER_VALUES, AgentConfig, ApiExtractor, AstroConfig, AstroOutput, AstroProject, AwsCdkProject, AwsDeployWorkflow, AwsDeploymentConfig, AwsDeploymentTarget, AwsTeardownWorkflow, BUILT_IN_BUNDLES, CLAUDE_RULE_TARGET, COMPLETE_JOB_ID, DEFAULT_AC_THRESHOLDS, DEFAULT_AGENT_PATHS, DEFAULT_AGENT_TIERS, DEFAULT_API_EXTRACTOR_CONFIG_FILE, DEFAULT_API_EXTRACTOR_ENTRY_POINT, DEFAULT_API_EXTRACTOR_REPORT_FILENAME, DEFAULT_API_EXTRACTOR_REPORT_FOLDER, DEFAULT_DECOMPOSITION_TEMPLATE, DEFAULT_DELEGATE_TO_PR_REVIEWER, DEFAULT_DISPATCH_MODEL, DEFAULT_DISPATCH_TO_HOUSEKEEPING_RATIO, DEFAULT_HOUSEKEEPING_MODEL, DEFAULT_ISSUE_TEMPLATES_BUNDLE_PATH_PATTERNS, DEFAULT_ISSUE_TEMPLATES_EMIT_CHECKER, DEFAULT_ISSUE_TEMPLATES_EMIT_STARTER, DEFAULT_ISSUE_TEMPLATES_ENABLED, DEFAULT_ISSUE_TEMPLATES_PATH, DEFAULT_ISSUE_TEMPLATES_REQUIRE_REFERENCE, DEFAULT_MERGE_METHOD, DEFAULT_OFF_PEAK_CRON_EXAMPLE, DEFAULT_PARTIAL_UNBLOCK_COMMENT_TEMPLATE, DEFAULT_PRIORITY_LABELS, DEFAULT_PRODUCT_CONTEXT_PATH, DEFAULT_PROGRESS_FILES_ENABLED, DEFAULT_PROGRESS_FILES_FILENAME_PATTERN, DEFAULT_PROGRESS_FILES_FORMAT, DEFAULT_PROGRESS_FILES_STALE_AFTER_HOURS, DEFAULT_PROGRESS_FILES_STATE_DIR, DEFAULT_REQUIRE_LINKED_ISSUE, DEFAULT_REQUIRE_PRODUCT_CONTEXT, DEFAULT_SCHEDULED_TASKS_ROOT, DEFAULT_SCHEDULED_TASK_ENTRIES, DEFAULT_SHARED_EDITING_CONFLICT_STRATEGY, DEFAULT_SHARED_EDITING_EMIT_HELPER, DEFAULT_SHARED_EDITING_ENABLED, DEFAULT_SHARED_EDITING_VERIFY_COMMIT, DEFAULT_SHARED_INDEX_PATHS, DEFAULT_SKILL_EVALS_EMIT_RUNNER, DEFAULT_SKILL_EVALS_ENABLED, DEFAULT_SKILL_EVALS_SKILLS_ROOT, DEFAULT_SOURCES_THRESHOLDS, DEFAULT_STATE_FILE_PATH, DEFAULT_STATUS_LABELS, DEFAULT_TEARDOWN_BRANCH_PATTERNS, DEFAULT_TYPE_LABELS, DEFAULT_UNBLOCK_COMMENT_TEMPLATE, DEFAULT_UNBLOCK_DEPENDENTS_ENABLED, DEFAULT_WORKFLOW_DIAGRAMS_BUNDLE_PATH_PATTERNS, DEFAULT_WORKFLOW_DIAGRAMS_EMIT_CHECKER, DEFAULT_WORKFLOW_DIAGRAMS_EMIT_STARTER, DEFAULT_WORKFLOW_DIAGRAMS_ENABLED, DEFAULT_WORKFLOW_DIAGRAMS_PATH, DEFAULT_WORKFLOW_DIAGRAMS_REQUIRE_UPDATE, JsiiFaker, LAYOUT_ENFORCEMENT, LAYOUT_ROOT_BY_PROJECT_TYPE, MCP_TRANSPORT, MERGE_METHODS, MIMIMUM_RELEASE_AGE, MINIMUM_RELEASE_AGE, MONOREPO_LAYOUT, MonorepoProject, PREFLIGHT_MERGE_METHOD_VALUES, PROD_DEPLOY_NAME, PROGRESS_FILES_FORMAT_VALUES, PnpmWorkspace, ProjectMetadata, REQUIREMENTS_WRITER_PATHS, ROOT_CI_TASK_NAME, ROOT_TURBO_TASK_NAME, ResetTask, SCHEDULED_TASK_MODEL_VALUES, SCOPE_CLASS_VALUES, SHARED_EDITING_CONFLICT_STRATEGY_VALUES, STARLIGHT_ROLE, StarlightProject, TestRunner, TsDocCoverageKind, TurboRepo, TurboRepoTask, TypeScriptConfig, TypeScriptProject, UNKNOWN_TYPE_FALLBACK_TIER, VERSION, VERSION_KEYS_SKIP, VERSION_NPM_PACKAGES, VSCodeConfig, Vitest, addApproveMergeUpgradeWorkflow, addBuildCompleteJob, addSyncLabelsWorkflow, agendaBundle, analyzeTsDocCoverage, awsCdkBundle, baseBundle, bcmWriterBundle, buildBaseBundle, buildBcmWriterBundle, buildBuiltInBundles, buildBusinessModelsBundle, buildCheckBlockedProcedure, buildCompanyProfileBundle, buildCustomerProfileBundle, buildDocsSyncBundle, buildIndustryDiscoveryBundle, buildMaintenanceAuditBundle, buildOrchestratorConventionsContent, buildPeopleProfileBundle, buildRegulatoryResearchBundle, buildRequirementsAnalystBundle, buildRequirementsReviewerBundle, buildRequirementsWriterBundle, buildResearchPipelineBundle, buildSoftwareProfileBundle, buildStandardsResearchBundle, buildUnblockDependentsProcedure, businessModelsBundle, checkLinksProcedure, classifyIssueScope, classifyRun, companyProfileBundle, customerProfileBundle, docsSyncBundle, extractApiProcedure, extractDocReferences, formatLayoutViolation, formatStarlightSingletonViolation, getLatestEligibleVersion, githubWorkflowBundle, industryDiscoveryBundle, jestBundle, maintenanceAuditBundle, meetingAnalysisBundle, orchestratorBundle, peopleProfileBundle, pnpmBundle, prReviewBundle, projenBundle, regulatoryResearchBundle, renderAgentTierCaseStatement, renderAgentTierSection, renderCheckLinksProcedure, renderCustomDocSectionBlock, renderCustomDocSections, renderExtractApiProcedure, renderFocusSection, renderIssueTemplatesBundleHook, renderIssueTemplatesCheckerScript, renderIssueTemplatesRuleContent, renderIssueTemplatesStarterPage, renderMeetingTypesSection, renderPreflightPrSection, renderPreflightPrShellHelpers, renderPriorityRulesSection, renderProgressFileName, renderProgressFilePath, renderProgressFilesBundleHook, renderProgressFilesRuleContent, renderRunRatioSection, renderRunRatioShellHelpers, renderScheduledTaskSkillFile, renderScheduledTasksSection, renderScopeGateSection, renderScopeGateShellHelpers, renderSharedEditingBundleHook, renderSharedEditingHelperScript, renderSharedEditingRuleContent, renderSkillEvalsBundleHook, renderSkillEvalsRuleContent, renderSkillEvalsRunnerScript, renderSourceTierExamples, renderUnblockDependentsScript, renderUnblockDependentsSection, renderWorkflowDiagramsBundleHook, renderWorkflowDiagramsCheckerScript, renderWorkflowDiagramsRuleContent, renderWorkflowDiagramsStarterPage, requirementsAnalystBundle, requirementsReviewerBundle, requirementsWriterBundle, researchPipelineBundle, resolveAgentPaths, resolveAgentTiers, resolveAstroProjectOutdir, resolveAwsCdkProjectOutdir, resolveIssueTemplates, resolveModelAlias, resolveOrchestratorAssets, resolveOutdirFromPackageName, resolvePreflightPr, resolveProgressFiles, resolveRunRatio, resolveScheduledTasks, resolveScopeGate, resolveSharedEditing, resolveSkillEvals, resolveTemplateVariables, resolveTypeScriptProjectOutdir, resolveUnblockDependents, resolveWorkflowDiagrams, slackBundle, softwareProfileBundle, standardsResearchBundle, turborepoBundle, typescriptBundle, validateAgentTierConfig, validateIssueTemplatesConfig, validateMonorepoLayout, validatePreflightPrConfig, validateProgressFilesConfig, validateRunRatioConfig, validateScheduledTasksConfig, validateScopeGateConfig, validateSharedEditingConfig, validateSkillEvalsConfig, validateStarlightSingleton, validateUnblockDependentsConfig, validateWorkflowDiagramsConfig, vitestBundle };
8527
- export type { AgentConfigOptions, AgentExpansionRules, AgentFeaturesConfig, AgentModel, AgentPathsConfig, AgentPlatform, AgentPlatformOverrides, AgentProcedure, AgentRule, AgentRuleBundle, AgentRuleScope, AgentSkill, AgentSubAgent, AgentSubAgentPlatformOverrides, AgentTier, AgentTierConfig, AgentTierEntry, AnalyzeTsDocCoverageOptions, ApiExtractorOptions, ApiExtractorReportOptions, ApproveMergeUpgradeOptions, AstroConfigOptions, AstroIntegrationSpec, AstroProjectOptions, AwsAccount, AwsCdkProjectOptions, AwsDeploymentTargetOptions, AwsLocalDeploymentConfig, AwsOrganization, AwsRegion, AwsTeardownWorkflowOptions, CiDeploymentConfig, ClassTypeOptions, ClaudeAutoModeConfig, ClaudeHookAction, ClaudeHookEntry, ClaudeHooksConfig, ClaudePermissionsConfig, ClaudeRuleTarget, ClaudeSandboxConfig, ClaudeSettingsConfig, CopilotHandoff, CursorHookAction, CursorHooksConfig, CursorSettingsConfig, CustomDocSection, DeployWorkflowOptions, DeploymentMetadata, DocReferenceRecord, ExtractDocReferencesOptions, FocusArea, FocusAreaMatch, FocusConfig, GitBranch, GitHubBoardMetadata, GitHubProjectMetadata, GitHubSprintMetadata, IDependencyResolver, IssueTemplatesConfig, LabelDefinition, LayoutEnforcement, LayoutViolation, McpServerConfig, McpTransport, MeetingArea, MeetingScope, MeetingType, MeetingTypeKind, MeetingsConfig, MergeMethod, MonorepoLayoutRoot, MonorepoProjectOptions, OrganizationMetadata, PnpmWorkspaceOptions, PreflightMergeMethod, PreflightPrConfig, PriorityRule, ProgressFilesConfig, ProjectMetadataOptions, RemoteCacheOptions, RepositoryMetadata, ResetTaskOptions, ResolvedAgentPaths, ResolvedAgentTier, ResolvedIssueTemplates, ResolvedPreflightPr, ResolvedProgressFiles, ResolvedProjectMetadata, ResolvedRunRatio, ResolvedScheduledTask, ResolvedScheduledTasks, ResolvedScopeGate, ResolvedSharedEditing, ResolvedSkillEvals, ResolvedUnblockDependents, ResolvedWorkflowDiagrams, RunRatioConfig, ScheduledTaskEntry, ScheduledTaskModel, ScheduledTaskOverride, ScheduledTasksConfig, ScopeClass, ScopeGateConfig, ScopeGateThresholds, SharedEditingConfig, SkillEvalsConfig, SlackMetadata, SourceTierExamples, StarlightEditLink, StarlightLogo, StarlightProjectOptions, StarlightRole, StarlightSidebarItem, StarlightSingletonViolation, StarlightSocialLink, SyncLabelsOptions, TemplateResolveResult, TsDocCoverageRecord, TurboRepoOptions, TurboRepoTaskOptions, TypeScriptProjectOptions, UnblockDependentsConfig, VersionKey, VitestConfigOptions, VitestOptions, WorkflowDiagramsConfig };
8771
+ export { AGENT_MODEL, AGENT_PLATFORM, AGENT_RULE_SCOPE, AGENT_TIER_ROLES, AGENT_TIER_VALUES, AgentConfig, ApiExtractor, AstroConfig, AstroOutput, AstroProject, AwsCdkProject, AwsDeployWorkflow, AwsDeploymentConfig, AwsDeploymentTarget, AwsTeardownWorkflow, BUILT_IN_BUNDLES, CLAUDE_RULE_TARGET, COMPLETE_JOB_ID, DEFAULT_AC_THRESHOLDS, DEFAULT_AGENT_PATHS, DEFAULT_AGENT_TIERS, DEFAULT_API_EXTRACTOR_CONFIG_FILE, DEFAULT_API_EXTRACTOR_ENTRY_POINT, DEFAULT_API_EXTRACTOR_REPORT_FILENAME, DEFAULT_API_EXTRACTOR_REPORT_FOLDER, DEFAULT_DECOMPOSITION_TEMPLATE, DEFAULT_DELEGATE_TO_PR_REVIEWER, DEFAULT_DISPATCH_MODEL, DEFAULT_DISPATCH_TO_HOUSEKEEPING_RATIO, DEFAULT_HOUSEKEEPING_MODEL, DEFAULT_ISSUE_TEMPLATES_BUNDLE_PATH_PATTERNS, DEFAULT_ISSUE_TEMPLATES_EMIT_CHECKER, DEFAULT_ISSUE_TEMPLATES_EMIT_STARTER, DEFAULT_ISSUE_TEMPLATES_ENABLED, DEFAULT_ISSUE_TEMPLATES_PATH, DEFAULT_ISSUE_TEMPLATES_REQUIRE_REFERENCE, DEFAULT_MERGE_METHOD, DEFAULT_OFF_PEAK_CRON_EXAMPLE, DEFAULT_PARTIAL_UNBLOCK_COMMENT_TEMPLATE, DEFAULT_PRIORITY_LABELS, DEFAULT_PRODUCT_CONTEXT_PATH, DEFAULT_PROGRESS_FILES_ENABLED, DEFAULT_PROGRESS_FILES_FILENAME_PATTERN, DEFAULT_PROGRESS_FILES_FORMAT, DEFAULT_PROGRESS_FILES_STALE_AFTER_HOURS, DEFAULT_PROGRESS_FILES_STATE_DIR, DEFAULT_REQUIRE_LINKED_ISSUE, DEFAULT_REQUIRE_PRODUCT_CONTEXT, DEFAULT_SAMPLE_COMPILER_OPTIONS, DEFAULT_SCHEDULED_TASKS_ROOT, DEFAULT_SCHEDULED_TASK_ENTRIES, DEFAULT_SHARED_EDITING_CONFLICT_STRATEGY, DEFAULT_SHARED_EDITING_EMIT_HELPER, DEFAULT_SHARED_EDITING_ENABLED, DEFAULT_SHARED_EDITING_VERIFY_COMMIT, DEFAULT_SHARED_INDEX_PATHS, DEFAULT_SKILL_EVALS_EMIT_RUNNER, DEFAULT_SKILL_EVALS_ENABLED, DEFAULT_SKILL_EVALS_SKILLS_ROOT, DEFAULT_SOURCES_THRESHOLDS, DEFAULT_STATE_FILE_PATH, DEFAULT_STATUS_LABELS, DEFAULT_TEARDOWN_BRANCH_PATTERNS, DEFAULT_TYPE_LABELS, DEFAULT_UNBLOCK_COMMENT_TEMPLATE, DEFAULT_UNBLOCK_DEPENDENTS_ENABLED, DEFAULT_WORKFLOW_DIAGRAMS_BUNDLE_PATH_PATTERNS, DEFAULT_WORKFLOW_DIAGRAMS_EMIT_CHECKER, DEFAULT_WORKFLOW_DIAGRAMS_EMIT_STARTER, DEFAULT_WORKFLOW_DIAGRAMS_ENABLED, DEFAULT_WORKFLOW_DIAGRAMS_PATH, DEFAULT_WORKFLOW_DIAGRAMS_REQUIRE_UPDATE, JsiiFaker, LAYOUT_ENFORCEMENT, LAYOUT_ROOT_BY_PROJECT_TYPE, MCP_TRANSPORT, MERGE_METHODS, MIMIMUM_RELEASE_AGE, MINIMUM_RELEASE_AGE, MONOREPO_LAYOUT, MonorepoProject, PREFLIGHT_MERGE_METHOD_VALUES, PROD_DEPLOY_NAME, PROGRESS_FILES_FORMAT_VALUES, PnpmWorkspace, ProjectMetadata, REQUIREMENTS_WRITER_PATHS, ROOT_CI_TASK_NAME, ROOT_TURBO_TASK_NAME, ResetTask, SCHEDULED_TASK_MODEL_VALUES, SCOPE_CLASS_VALUES, SHARED_EDITING_CONFLICT_STRATEGY_VALUES, STARLIGHT_ROLE, SampleLang, StarlightProject, TestRunner, TsDocCoverageKind, TurboRepo, TurboRepoTask, TypeScriptConfig, TypeScriptProject, UNKNOWN_TYPE_FALLBACK_TIER, VERSION, VERSION_KEYS_SKIP, VERSION_NPM_PACKAGES, VSCodeConfig, Vitest, addApproveMergeUpgradeWorkflow, addBuildCompleteJob, addSyncLabelsWorkflow, agendaBundle, analyzeTsDocCoverage, awsCdkBundle, baseBundle, bcmWriterBundle, buildBaseBundle, buildBcmWriterBundle, buildBuiltInBundles, buildBusinessModelsBundle, buildCheckBlockedProcedure, buildCompanyProfileBundle, buildCustomerProfileBundle, buildDocsSyncBundle, buildIndustryDiscoveryBundle, buildMaintenanceAuditBundle, buildOrchestratorConventionsContent, buildPeopleProfileBundle, buildRegulatoryResearchBundle, buildRequirementsAnalystBundle, buildRequirementsReviewerBundle, buildRequirementsWriterBundle, buildResearchPipelineBundle, buildSoftwareProfileBundle, buildStandardsResearchBundle, buildUnblockDependentsProcedure, businessModelsBundle, checkDocSamplesProcedure, checkLinksProcedure, classifyIssueScope, classifyRun, companyProfileBundle, compileFencedSamples, customerProfileBundle, docsSyncBundle, extractApiProcedure, extractDocReferences, extractFencedSamples, formatLayoutViolation, formatStarlightSingletonViolation, getLatestEligibleVersion, githubWorkflowBundle, industryDiscoveryBundle, jestBundle, maintenanceAuditBundle, meetingAnalysisBundle, orchestratorBundle, peopleProfileBundle, pnpmBundle, prReviewBundle, projenBundle, regulatoryResearchBundle, renderAgentTierCaseStatement, renderAgentTierSection, renderCheckDocSamplesProcedure, renderCheckLinksProcedure, renderCustomDocSectionBlock, renderCustomDocSections, renderExtractApiProcedure, renderFocusSection, renderIssueTemplatesBundleHook, renderIssueTemplatesCheckerScript, renderIssueTemplatesRuleContent, renderIssueTemplatesStarterPage, renderMeetingTypesSection, renderPreflightPrSection, renderPreflightPrShellHelpers, renderPriorityRulesSection, renderProgressFileName, renderProgressFilePath, renderProgressFilesBundleHook, renderProgressFilesRuleContent, renderRunRatioSection, renderRunRatioShellHelpers, renderScheduledTaskSkillFile, renderScheduledTasksSection, renderScopeGateSection, renderScopeGateShellHelpers, renderSharedEditingBundleHook, renderSharedEditingHelperScript, renderSharedEditingRuleContent, renderSkillEvalsBundleHook, renderSkillEvalsRuleContent, renderSkillEvalsRunnerScript, renderSourceTierExamples, renderUnblockDependentsScript, renderUnblockDependentsSection, renderWorkflowDiagramsBundleHook, renderWorkflowDiagramsCheckerScript, renderWorkflowDiagramsRuleContent, renderWorkflowDiagramsStarterPage, requirementsAnalystBundle, requirementsReviewerBundle, requirementsWriterBundle, researchPipelineBundle, resolveAgentPaths, resolveAgentTiers, resolveAstroProjectOutdir, resolveAwsCdkProjectOutdir, resolveIssueTemplates, resolveModelAlias, resolveOrchestratorAssets, resolveOutdirFromPackageName, resolvePreflightPr, resolveProgressFiles, resolveRunRatio, resolveScheduledTasks, resolveScopeGate, resolveSharedEditing, resolveSkillEvals, resolveTemplateVariables, resolveTypeScriptProjectOutdir, resolveUnblockDependents, resolveWorkflowDiagrams, slackBundle, softwareProfileBundle, standardsResearchBundle, turborepoBundle, typescriptBundle, validateAgentTierConfig, validateIssueTemplatesConfig, validateMonorepoLayout, validatePreflightPrConfig, validateProgressFilesConfig, validateRunRatioConfig, validateScheduledTasksConfig, validateScopeGateConfig, validateSharedEditingConfig, validateSkillEvalsConfig, validateStarlightSingleton, validateUnblockDependentsConfig, validateWorkflowDiagramsConfig, vitestBundle };
8772
+ export type { AgentConfigOptions, AgentExpansionRules, AgentFeaturesConfig, AgentModel, AgentPathsConfig, AgentPlatform, AgentPlatformOverrides, AgentProcedure, AgentRule, AgentRuleBundle, AgentRuleScope, AgentSkill, AgentSubAgent, AgentSubAgentPlatformOverrides, AgentTier, AgentTierConfig, AgentTierEntry, AnalyzeTsDocCoverageOptions, ApiExtractorOptions, ApiExtractorReportOptions, ApproveMergeUpgradeOptions, AstroConfigOptions, AstroIntegrationSpec, AstroProjectOptions, AwsAccount, AwsCdkProjectOptions, AwsDeploymentTargetOptions, AwsLocalDeploymentConfig, AwsOrganization, AwsRegion, AwsTeardownWorkflowOptions, CiDeploymentConfig, ClassTypeOptions, ClaudeAutoModeConfig, ClaudeHookAction, ClaudeHookEntry, ClaudeHooksConfig, ClaudePermissionsConfig, ClaudeRuleTarget, ClaudeSandboxConfig, ClaudeSettingsConfig, CompileFencedSamplesOptions, CopilotHandoff, CursorHookAction, CursorHooksConfig, CursorSettingsConfig, CustomDocSection, DeployWorkflowOptions, DeploymentMetadata, DocReferenceRecord, ExtractDocReferencesOptions, ExtractFencedSamplesOptions, FencedSampleRecord, FocusArea, FocusAreaMatch, FocusConfig, GitBranch, GitHubBoardMetadata, GitHubProjectMetadata, GitHubSprintMetadata, IDependencyResolver, IssueTemplatesConfig, LabelDefinition, LayoutEnforcement, LayoutViolation, McpServerConfig, McpTransport, MeetingArea, MeetingScope, MeetingType, MeetingTypeKind, MeetingsConfig, MergeMethod, MonorepoLayoutRoot, MonorepoProjectOptions, OrganizationMetadata, PnpmWorkspaceOptions, PreflightMergeMethod, PreflightPrConfig, PriorityRule, ProgressFilesConfig, ProjectMetadataOptions, RemoteCacheOptions, RepositoryMetadata, ResetTaskOptions, ResolvedAgentPaths, ResolvedAgentTier, ResolvedIssueTemplates, ResolvedPreflightPr, ResolvedProgressFiles, ResolvedProjectMetadata, ResolvedRunRatio, ResolvedScheduledTask, ResolvedScheduledTasks, ResolvedScopeGate, ResolvedSharedEditing, ResolvedSkillEvals, ResolvedUnblockDependents, ResolvedWorkflowDiagrams, RunRatioConfig, SampleCompilationFailure, ScheduledTaskEntry, ScheduledTaskModel, ScheduledTaskOverride, ScheduledTasksConfig, ScopeClass, ScopeGateConfig, ScopeGateThresholds, SharedEditingConfig, SkillEvalsConfig, SlackMetadata, SourceTierExamples, StarlightEditLink, StarlightLogo, StarlightProjectOptions, StarlightRole, StarlightSidebarItem, StarlightSingletonViolation, StarlightSocialLink, SyncLabelsOptions, TemplateResolveResult, TsDocCoverageRecord, TurboRepoOptions, TurboRepoTaskOptions, TypeScriptProjectOptions, UnblockDependentsConfig, VersionKey, VitestConfigOptions, VitestOptions, WorkflowDiagramsConfig };