Skip to content

fix: address non-blocking suggestions from PR#47 review - #10

Merged
JeanBaptisteRenard merged 4 commits into
mainfrom
fix/pr47-cleanup
May 23, 2026
Merged

JeanBaptisteRenard merged 4 commits into
mainfrom
fix/pr47-cleanup

Conversation

@JeanBaptisteRenard

Copy link
Copy Markdown
Collaborator

Four cleanup fixes from the PR#47 non-blocking review:

  1. DRY path buildread-subagent-jsonl and start-subagent-watch now call resolveJsonlPath(PROJECTS_DIR, row) instead of manually assembling the path string.
  2. Colon guard in subagentSessionId — throws TypeError if parentSessionId or agentId contains :, preventing silent round-trip corruption. Unit test added.
  3. Map key collision fixagentMatchCounters key uses JSON.stringify([contextSessionId, desc, type]) instead of pipe-delimited string, preventing collisions when desc contains |.
  4. O(1) lookup confirmedd58be56 already carries the inverted-index fix for refreshFolder; no other hot loops with the old O(n²) shape remain.

Tests: 39/39 passing. Lint: 0 errors.

🤖 Generated with Claude Code

@JeanBaptisteRenard
JeanBaptisteRenard merged commit b658877 into main May 23, 2026
7 checks passed
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