Archived completed OpenSpec change after successful deployment. The template path fix has been applied to specs and is now in production. Change archived as: 2026-01-12-fix-coverletter-template-path Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
28 lines
1.4 KiB
Markdown
28 lines
1.4 KiB
Markdown
# Implementation Tasks
|
|
|
|
## 1. Fix Command Implementation
|
|
- [ ] 1.1 Update `src/.claude/commands/convert-cover-letter.md` line 250 from `--template=[path-to-swiss-letter.tex]` to `--template=src/.claude/templates/swiss-letter.tex`
|
|
- [ ] 1.2 Add clarification after line 255 explaining path resolution (relative to framework root)
|
|
- [ ] 1.3 Verify command documentation consistency with workflow version
|
|
|
|
## 2. Update Specification
|
|
- [ ] 2.1 Modify "Requirement: Template Management" in `openspec/specs/cover-letter-pdf-conversion/spec.md`
|
|
- [ ] 2.2 Add new scenario "Template path resolution" specifying explicit path requirement
|
|
- [ ] 2.3 Update existing "Template availability" scenario to mention path resolution
|
|
|
|
## 3. Validation
|
|
- [ ] 3.1 Run `openspec validate fix-coverletter-template-path --strict`
|
|
- [ ] 3.2 Resolve any validation errors
|
|
|
|
## 4. Testing
|
|
- [ ] 4.1 Create test application with `/new-application`
|
|
- [ ] 4.2 Create minimal valid cover-letter.md with required frontmatter
|
|
- [ ] 4.3 Run `/convert-cover-letter` from application folder
|
|
- [ ] 4.4 Verify PDF generated with Swiss Norm formatting
|
|
- [ ] 4.5 Test from different working directories (framework root, application folder)
|
|
- [ ] 4.6 Verify address window positioning is correct
|
|
|
|
## 5. Documentation
|
|
- [ ] 5.1 Update commit message with reference to this change
|
|
- [ ] 5.2 Verify all documentation is consistent
|