Skip to content

Commit 7c29e2a

Browse files
acn-ericlawclaude
andcommitted
memory: session 2026-11-03 [Claude Code] - the LLM helper graduates to extensions/ in lockstep with mercury-python #46, on a branch; the stale hold corrected
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 019f599 commit 7c29e2a

3 files changed

Lines changed: 54 additions & 8 deletions

File tree

‎memory/continuity.md‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
merge `13426732`, GitHub release 01:39Z — the lock-step round with both engines, adopting the Java number; the 4.12.15 line adds
2121
the OpenTelemetry forwarder (opt-in, no SDK), the `llm.chat`/`llm.stream` AI nodes and the SERVER-iff-`http.request` span-kind
2222
rule)**; Event-over-HTTP function host + thin client; engines own orchestration.
23-
**HOLD (Eric, 2026-10-14):** the 4.12.25 catch-up waits until the higher AI models are available on Bedrock -
24-
the additional tests and the fine tuning come first ([[pack-catch-up-4-12-25]]).
23+
The next catch-up release ([[pack-catch-up-4-12-25]]) is no longer held: the 2026-10-14 hold was lifted on 2026-10-29
24+
(Eric) and the pack releases when its work is ready.
2525
- **last_enabled:** 2026-08-22
2626
- **last_review:** 2026-09-23 | through 2026-09-23-004556.md (cadence — 11 sessions since; archived 1 faded fact
2727
`stack-mercury-serve-node` + swept 5 completed threads past `archive_window` → 2026-Q3; tier changes via `refresh-metadata`;
@@ -138,6 +138,9 @@
138138
client's silent `us-east-1` fallback refused as the 503); model access is a one-time use case plus a per-model agreement, and a
139139
model generation can be gated at the account on top; the chain's `CredentialsProviderError` is the empty-credential signal;
140140
Bedrock sends no `request-id`. Closed [[llm-helper-bedrock-iam]].
141+
**2026-11-03 (Eric):** the helper graduates to `extensions/llm-helper/`, in lockstep with mercury-python #46; on branch
142+
`refactor/llm-helper-extension` (`d2f904b`) until merged. The Python twin also serves the agent loop's turns since
143+
mercury-python #47 (RFC-0011's loop contract, a transcript store, `llm-loop-vectors.json`); this pack's twin of it is next.
141144
<!-- id: llm-helper-app | created: 2026-10-01 | last_used: 2026-10-01 | uses: 1 | tier: working | origin: 2026-10-02-001255 -->
142145

143146
## Conventions
@@ -152,7 +155,8 @@
152155
`node dist/src/cli.js examples/<app>/<file>.mjs` (the sample config is read from the `resources` folder next to the app file).
153156
The Python pack mirrors the layout (and keeps a `hello.sync.chain` that JavaScript has no need of). The demo and the helper
154157
share the default port 8087, so give one of them another with `-Drest.server.port` to run both. The demo stays provider-free and
155-
credential-free: no LLM code goes into it.
158+
credential-free: no LLM code goes into it. **2026-11-03 (Eric):** the LLM helper graduates from an example to an extension,
159+
`extensions/llm-helper/` (the same folder shape), so `examples/` holds the demo app - lockstep with mercury-python #46.
156160
<!-- id: examples-one-folder-per-app | created: 2026-10-01 | last_used: 2026-10-01 | uses: 1 | tier: working | origin: 2026-10-02-001255 -->
157161

158162
- **The `resources` folder is resolved next to the application file - the file `mercury-serve` is given, or the script Node ran
Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
- [ ] **Next pack release: catch up to the Java number (4.12.25 at this writing) with the Bedrock backend, its two surfaces and the
2-
resources-folder rule - HELD (Eric, 2026-10-14) until the higher AI models are available on Bedrock.** The
3-
additional tests and the fine tuning on those models come first; the release follows them and adopts whatever Java number is
4-
current then (every port adopts the Java number on catch-up). Content on main since 4.12.21: PRs #111, #112 and #113 (the Python
5-
twins: mercury-python #43, #44, #45). The previous catch-up's close record is [[pack-catch-up-release]].
1+
- [ ] **Next pack release: catch up to the Java number (4.12.27 at this writing) with the Bedrock backend, its two surfaces and the
2+
resources-folder rule.** HELD on 2026-10-14 until the higher AI models were available on Bedrock; **the hold was LIFTED on
3+
2026-10-29 (Eric, recorded in mercury-composable): the Claude API backend serves every current model, so the pack releases
4+
when its work is ready** and adopts whatever Java number is current then (every port adopts the Java number on catch-up).
5+
Content on main since 4.12.21: PRs #111, #112 and #113 (the Python twins: mercury-python #43, #44, #45). Pending
6+
(2026-11-03): the helper's move to `extensions/` (branch `refactor/llm-helper-extension`, the twin of mercury-python #46),
7+
then the twin of the loop contract (mercury-python #47). The previous catch-up's close record is [[pack-catch-up-release]].
68
→ serves: vision-mercury-nodejs
79
<!-- id: pack-catch-up-4-12-25 | created: 2026-10-14 | last_used: 2026-10-14 | uses: 1 | tier: working | origin: 2026-10-14-015422 -->
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
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

Comments
 (0)