Skip to content

fix(migrate-approve): interpolate the project slug, not the literal placeholder - #1935

Draft
jbmml wants to merge 1 commit into
danielmiessler:mainfrom
jbmml:fix/migrateapprove-harness-user-dir
Draft

fix(migrate-approve): interpolate the project slug, not the literal placeholder#1935
jbmml wants to merge 1 commit into
danielmiessler:mainfrom
jbmml:fix/migrateapprove-harness-user-dir

Conversation

@jbmml

@jbmml jbmml commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Refs #1932. Opened as draft — the fix direction is right but the intended slug source needs a maintainer call (see below).

The memory/feedback branch returned join(HOME, '.claude', 'projects', '${HARNESS_USER_DIR}', 'memory') — the ${...} sits in a plain double-quoted string and is never interpolated, so the path names a directory literally called ${HARNESS_USER_DIR} and can never match a real session dir.

This patch derives the slug the way SessionHarvester.ts does (CLAUDE_DIR path slugified). Open question: SessionHarvester slugifies ~/.claude itself; if the feedback path should key off a different cwd, the slug source should change accordingly. Happy to adjust once you confirm the intended value — the issue (#1932) has the full context.

…laceholder

The memory/feedback branch returned join(HOME, '.claude', 'projects',
'${HARNESS_USER_DIR}', 'memory') — the ${...} sits in a plain double-quoted
string and is never interpolated, so the path names a directory literally called
${HARNESS_USER_DIR} and can never match a real session dir. Derive the slug the
way SessionHarvester.ts does. NOTE: which cwd's slug is intended isn't certain
from outside the codebase — flagging for confirmation. Refs danielmiessler#1932.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant