mirror of
https://github.com/MadsLorentzen/ai-job-search.git
synced 2026-11-02 13:12:50 +00:00
fix(reset): keep the framework_version frontmatter on the two files /reset profile rewrites (#532)
The full-file skeletons for 01-candidate-profile.md and
02-behavioral-profile.md started at the "#" title, while the shipped
files open with a "---" block carrying framework_version. Applied as
written, one /reset profile left both files failing
tools/check_framework_version.py ("missing 'framework_version' in
frontmatter") and invisible to tools/check_upstream_updates.py, which
records a configuration error for a file with no local version - the
fork update path every fork is sent through.
Say to keep the frontmatter block and replace only what follows, with a
note under "Profile reset" that the marker is framework data, never
candidate data. The version is not hardcoded into the skeleton, where it
would go stale on the next bump. A derived test applies each skeleton
the way the step says and asserts the shipped file's version still
parses out unchanged; it fails on master for both files.
This commit is contained in:
1 parent
a011214d60
commit
eaa73e55ab
3 files changed
+64
-7
No files matched your search
@@ -15,6 +15,20 @@ per-file diff commands.
|
||||
|
||||
### Fixed
|
||||
|
||||
- **`/reset profile` keeps the `framework_version` frontmatter on the two files it rewrites**
|
||||
(`.claude/commands/reset.md` Step 3, `tests/test_reset_command.py`) - the full-file skeletons
|
||||
for `01-candidate-profile.md` and `02-behavioral-profile.md` started at the `#` title, while
|
||||
the shipped files open with a `---` block carrying `framework_version`. Applied as written,
|
||||
one `/reset profile` left both files failing `tools/check_framework_version.py` ("missing
|
||||
'framework_version' in frontmatter") and invisible to `tools/check_upstream_updates.py`,
|
||||
which records a configuration error for a file with no local version to compare - the fork
|
||||
update path the README sends every fork through. The step now says to keep the frontmatter
|
||||
block and replace only what follows, with a note under "Profile reset" that the marker is
|
||||
framework data, never candidate data; the version is not hardcoded into the skeleton, where
|
||||
it would go stale on the next bump. A derived test applies each skeleton the way the step
|
||||
says and asserts the shipped file's version still parses out unchanged; it fails on master.
|
||||
Found while re-checking #519's class of drift.
|
||||
|
||||
- **`/reset profile` now targets the headings the shipped skill files actually have**
|
||||
(`.claude/commands/reset.md` Step 3, `tests/test_reset_command.py`) - two of its Step 3
|
||||
targets had drifted. The `05-cv-templates.md` step anchored on a section beginning
|
||||
|
||||
Reference in new issue
Block a user