/** * ProjectInitService — Initializes a GitHub Project V2 for ido4 governance. * * Bootstraps standalone (no ServiceContainer) — creates its own GraphQL client. * Two modes: 'create' (new project) or 'connect' (existing project). * * Responsibilities: * 1. Auto-detect repository from git remote * 2. Create or connect to GitHub Project V2 * 3. Create 8 custom fields (4 text + 4 single-select) * 4. Read back all field IDs including native Status options * 5. Write .ido4/project-info.json and .ido4/git-workflow.json */ import type { IGraphQLClient, IProjectInitService, ProjectInitOptions, ProjectInitResult } from '../../container/interfaces.js'; import type { ILogger } from '../../shared/logger.js'; import type { MethodologyProfile } from '../../profiles/types.js'; export declare class ProjectInitService implements IProjectInitService { private readonly graphqlClient; private readonly logger; private readonly profile; constructor(graphqlClient: IGraphQLClient, logger: ILogger, profile: MethodologyProfile); /** * Detect GitHub repository from git remote origin. * Parses both SSH and HTTPS URLs. */ detectRepository(projectRoot: string): Promise; /** * Initialize a GitHub Project V2 for ido4 governance. */ initializeProject(options: ProjectInitOptions): Promise; private validateOptions; private validateRepositoryFormat; private getGitRemoteUrl; private getRepositoryInfo; private createProject; private getExistingProject; private setupFields; private configureStatusField; private createTextField; private createSingleSelectField; private readProjectFields; private buildProjectConfig; private writeConfigFiles; /** * Inject ido4 governance section into the project's CLAUDE.md. * - If CLAUDE.md doesn't exist, creates it with the ido4 section * - If it exists but has no ido4 section, appends it * - If it exists with an ido4 section, updates it in place * Also writes canonical .ido4/assistant-onboarding.md for multi-environment support. */ private injectAssistantOnboarding; private buildIdo4Section; } //# sourceMappingURL=project-init-service.d.ts.map