/** * GitHub AC Checkbox Sync * * Extracted from SyncCoordinator (0348) — efficient regex-based AC checkbox * updates on existing GitHub issues without full body regeneration. * * Uses the same approach as the original SyncCoordinator.syncACCheckboxesToGitHub() * but lives in the GitHub plugin where GitHub-specific code belongs. */ import { Logger } from '../../vendor/utils/logger.js'; import type { SpecWeaveConfig } from '../../../../../src/core/config/types.js'; export interface ACCheckboxSyncResult { success: boolean; updated: number; issues: number[]; } export declare class GitHubACCheckboxSync { private projectRoot; private incrementId; private logger; private providerRouter; constructor(options: { projectRoot: string; incrementId: string; logger?: Logger; }); /** * Sync AC checkbox state from spec.md to GitHub issue bodies. * * Uses efficient regex replacement to flip checkboxes without rebuilding * the entire issue body. */ syncACCheckboxesToGitHub(config: SpecWeaveConfig, options?: { addComment?: boolean; }): Promise; /** * Parse AC checkbox status from spec.md content * * Handles both formats: * - `- [x] **AC-US5-01**: Description` (SpecWeave standard) * - `- [x] AC-US5-01: Description` (legacy) */ static parseACStatusFromSpec(specContent: string): Map; /** * Build the AC ID prefix for a given US ID. * US-001 → "AC-US1-", US-SPE-001 → "AC-SPE-US1-" */ static buildACPrefix(usId: string): string; /** * Load user stories from living docs for the increment */ private loadUserStoriesForIncrement; } //# sourceMappingURL=github-ac-checkbox-sync.d.ts.map