# CR-001: Separate Bilingual Instructions into Two Files

## Change Request Details

| Field | Value |
|-------|-------|
| CR ID | CR-001 |
| Feature | FEATURE-028-B |
| Requestor | Human |
| Date | 2026-02-11 |
| Priority | Medium |
| Classification | Modification |

## Description

Replace the single bilingual `copilot-instructions.md` template (with `---LANG:en---` / `---LANG:zh---` markers) with two separate files:
- `copilot-instructions-en.md`
- `copilot-instructions-zh.md`

When user chooses a language via `--lang`, copy the corresponding file directly instead of extracting sections from a single file.

## Justification

- Simpler to maintain: each file is self-contained, no markers needed
- Easier to review/edit: contributors work with standard markdown
- Simpler scaffold logic: direct file copy instead of extraction

## Impact Analysis

| Component | Impact |
|-----------|--------|
| `src/x_ipe/resources/copilot-instructions.md` | Deleted → split into `-en.md` and `-zh.md` |
| `scaffold.py copy_copilot_instructions()` | Simplified: load language-specific file, no extraction |
| `extract_language_section()` | No longer used by scaffold (retained for other uses) |
| `tests/test_cli_language.py` | Updated to reflect two-file approach |
| `specification.md` | Version history updated |

## Acceptance Criteria

- AC-CR-1: Two separate resource files exist (`copilot-instructions-en.md`, `copilot-instructions-zh.md`)
- AC-CR-2: `copy_copilot_instructions(language='en')` copies EN file content
- AC-CR-3: `copy_copilot_instructions(language='zh')` copies ZH file content
- AC-CR-4: No `---LANG:` markers in output files
- AC-CR-5: All existing tests pass with updated approach
