"use strict";
// ============================================================
// teach-sections.ts — Section definitions for cell teach
//
// 8 sections that define what developer profile contains.
// ============================================================
Object.defineProperty(exports, "__esModule", { value: true });
exports.TEACH_SECTIONS = void 0;
exports.getSection = getSection;
exports.getNextPending = getNextPending;
exports.TEACH_SECTIONS = [
    {
        key: 'coding_style',
        title: 'My Coding Style',
        prompt: 'How do you code? What matters to you? (e.g., minimal changes, strong typing, readability first)',
        example: '1. Minimal changes\n2. No large rewrites\n3. Strong typing\n4. Readability over cleverness',
    },
    {
        key: 'ai_expectations',
        title: 'My AI Expectations',
        prompt: 'What do you expect from AI tools? (e.g., explain first, ask before major changes)',
        example: '1. Explain before coding\n2. Ask before major changes\n3. Show risks\n4. Be direct',
    },
    {
        key: 'hates',
        title: 'Things I Hate',
        prompt: 'What drives you crazy in AI-generated code? (e.g., random refactors, new dependencies)',
        example: '1. Random refactors\n2. New dependencies\n3. Huge responses\n4. Assumptions',
    },
    {
        key: 'project_rules',
        title: 'My Project Rules',
        prompt: 'What rules should always be followed? (e.g., always run tests, security first)',
        example: '1. Always run tests\n2. Never edit production configs\n3. Security first',
    },
    {
        key: 'workflow',
        title: 'My Workflow',
        prompt: 'How do you work? What order? (e.g., plan first, then code, then test)',
        example: '1. Plan first\n2. Code second\n3. Test third\n4. Deploy last',
    },
    {
        key: 'communication',
        title: 'My Communication Style',
        prompt: 'How should AI talk to you? (e.g., direct, no fluff, bullet points)',
        example: '1. Direct\n2. No fluff\n3. Bullet points\n4. Technical language',
    },
    {
        key: 'problems',
        title: 'My Repeated Problems',
        prompt: 'What mistakes do you make often? (e.g., scope creep, over-engineering)',
        example: '1. Scope creep\n2. Over-engineering\n3. Missing tests\n4. Large PRs',
    },
    {
        key: 'notes',
        title: 'Anything Else',
        prompt: 'Anything else you want Cell to know about you?',
        example: '1. OSS focused\n2. CLI tools preferred\n3. Simplicity over cleverness',
    },
];
function getSection(key) {
    return exports.TEACH_SECTIONS.find(s => s.key === key);
}
function getNextPending(doneSections) {
    return exports.TEACH_SECTIONS.find(s => !doneSections.includes(s.key)) || null;
}
//# sourceMappingURL=teach-sections.js.map