|
| 1 | +# Session (2026-11-03T00:14:23.000Z) |
| 2 | + |
| 3 | +**Agent:** Claude Code |
| 4 | +**Title:** The LLM helper graduates to `extensions/`, in lockstep with mercury-python #46 - on a branch |
| 5 | + |
| 6 | +## Context |
| 7 | + |
| 8 | +Eric, working in mercury-composable on RFC-0011's build plan: the LLM helper "should graduate as an extension" (done in |
| 9 | +mercury-python as #46, merged 2026-11-03), then "for lockstep to mercury-nodejs, also graduate the llm-helper to |
| 10 | +extensions". This clone was fresh: `bash .githooks/init.sh` ran first (7 skills, 42 adapters, `core.hooksPath`), then |
| 11 | +`npm ci`; the baseline was 201 tests green on Node v26.13.0. |
| 12 | + |
| 13 | +## What was done (branch `refactor/llm-helper-extension`, commit `d2f904b`, off `main` at `019f599`) |
| 14 | + |
| 15 | +- `examples/llm-helper/` moved to `extensions/llm-helper/`: three renames, no content change to the app. `examples/` |
| 16 | + keeps the demo app. |
| 17 | +- The test imports the helper from the new folder; the README's run commands, the sample config's comment, the root |
| 18 | + README's line, the demo app's two links, the consumer folder table (`system/AGENTS.md`, a new `extensions/` row), the |
| 19 | + test report (its link to `main` and its reproduce command) and `memory/instructions.md` (Repository Structure) follow. |
| 20 | + The Python twin's path now reads `extensions/llm-helper` in the docstring and the README, since mercury-python moved. |
| 21 | + CHANGELOG Unreleased, Changed 2, with the upgrade note; released sections unchanged. |
| 22 | +- Verified: `npm test` 201 passed; `npm pack --dry-run` lists the same 44 files, neither folder among them (the |
| 23 | + package ships `dist/src`); started from `/tmp` with absolute paths, the helper answers `/info` as `llm-helper` and logs |
| 24 | + `Configuration: .../extensions/llm-helper/resources/application.yml`. |
| 25 | +- The status line's 2026-10-14 HOLD and [[pack-catch-up-4-12-25]]'s were stale: the hold was lifted on 2026-10-29 |
| 26 | + (Eric, recorded in mercury-composable). Both corrected. |
| 27 | + |
| 28 | +## Context for Next Session |
| 29 | + |
| 30 | +- The PR for the branch (Eric's call to open), then the twin of mercury-python #47: the loop contract, running |
| 31 | + mercury-python's `tests/vectors/llm-loop-vectors.json` byte-identical (its digest is pinned in both packs). |
| 32 | +- mercury-python's README and docstring still name this pack's helper at `examples/llm-helper`; they change once this |
| 33 | + move merges. |
| 34 | + |
| 35 | +## Memory References |
| 36 | + |
| 37 | +- Edited: llm-helper-app (the move, and the Python twin's loop contract), examples-one-folder-per-app (the helper |
| 38 | + graduates), pack-catch-up-4-12-25 (the hold lifted; the pending content) |
| 39 | +- Relied on: conv-github-flow-changelog (a CHANGELOG entry per change), engine-consistent-conventions (the folder shape |
| 40 | + mirrored across the packs) |
0 commit comments