Skip to content

Commit 3d1f701

Browse files
acn-ericlawclaude
andcommitted
memory: 4.12.31 released and verified on PyPI - the pack's half of the agent work and REST automation, in lockstep with the Node.js pack and the engines; driven live from both engines after the publication, with three readings for the maintainer's ruling
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
1 parent 300cd65 commit 3d1f701

7 files changed

Lines changed: 165 additions & 14 deletions

‎memory/continuity.md‎

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,15 @@
1313
## Project State
1414

1515
- **project:** mercury-python (PyPI: `mercury-composable`)
16-
- **status:** **v4.12.30 PUBLISHED to PyPI 2026-11-16 and VERIFIED** (PR #58 merge `239e741`, the tag `v4.12.30` on the merge
17-
commit, the GitHub release 09:11:00Z as Latest, CI green on the tag commit; the wheel uploaded 09:22:39Z and the sdist
18-
09:22:40Z, `mercury-composable` 4.12.30 the latest; the sdist's and the wheel's 22 `src/mercury_composable` files identical
19-
to the tag's 22 (SHA-256), the wheel's `__version__` 4.12.30, three runtime dependencies and the extras `llm`, `bedrock`,
20-
`redis` and `mcp`). The 4.12.30 line carries the pack's half of the engines' agent loop (ADR-0033): the loop contract with
21-
the transcript stores, the Bedrock backend and the MCP binding (the catch-up [[pack-catch-up-4-12-25]], closed) — the
16+
- **status:** **v4.12.31 PUBLISHED to PyPI 2026-12-01 and VERIFIED** (PR #95 merge `300cd65`, the tag `v4.12.31` on the merge
17+
commit, the GitHub release 03:15:04Z, CI green on the tag commit; the wheel uploaded 03:47:50Z and the sdist 03:47:53Z,
18+
`mercury-composable` 4.12.31 the latest; both files' SHA-256 equal the built files'; the wheel's 26
19+
`src/mercury_composable` files identical to the tag's 26 and the sdist's 127 files to the tag's, `PKG-INFO` generated;
20+
`Requires-Python >=3.11`, the license shipped as `LICENSE`). The 4.12.31 line carries the pack's half of the agent work
21+
the engines released as 4.12.31 - the transcript audit store (ADR-0035), the built-in agent tools (ADR-0036),
22+
ask-a-person with the agent-question app (RFC-0014), a single call's attachments and audit, and `rest.yaml` as the
23+
router of a pack application - driven live from both engines the same day, after the publication (mercury's
24+
`docs/test-reports/release-4-12-31-live-drive.md`; the readings are [[live-drive-readings-20261201]]) — the
2225
Python member of the Mercury Composable polyglot initiative: a lightweight Event-over-HTTP function host + thin client,
2326
repurposed August 2026 (legacy language pack in tagged releases v1.11.39–v2.5.0).
2427
- **last_enabled:** 2026-08-22
@@ -82,7 +85,7 @@
8285
`License-File` line, and CI does not build the package. `tests/test_packaging.py` holds the manifest to files that
8386
exist. **How to apply:** a file the manifest names is renamed together with the manifest; `uv build --offline`
8487
builds from the local cache when nothing may be downloaded, and the distributions are read for what they carry.
85-
<!-- id: stack-deps-aiohttp-msgpack | created: 2026-08-22 | last_used: 2026-12-01 | uses: 11 | tier: active | origin: 2026-08-22-171555 -->
88+
<!-- id: stack-deps-aiohttp-msgpack | created: 2026-08-22 | last_used: 2026-12-01 | uses: 12 | tier: active | origin: 2026-08-22-171555 -->
8689

8790
## Architectural Invariants
8891

@@ -224,7 +227,7 @@
224227
`docs/test-reports/transcript-audit-live-drive.md`): every turn recorded off the turn's path, a stopped database repaired by
225228
the sweep; #62 added a server-side `statement_timeout` from `.timeout.ms`, because a paused database stalls a pooled
226229
statement where a stopped one fails it.
227-
<!-- id: transcript-audit-store-python | created: 2026-11-17 | last_used: 2026-11-24 | uses: 10 | tier: archive-candidate | origin: 2026-11-17-080036 -->
230+
<!-- id: transcript-audit-store-python | created: 2026-11-17 | last_used: 2026-12-01 | uses: 11 | tier: active | origin: 2026-11-17-080036 -->
228231

229232
- **Ask a person, the main flow: the pack carries an agent loop's wait to a person and brings the decision back, knowing
230233
no channel and keeping no store (RFC-0014 in mercury-composable, build plan step 1; Eric's concept and rulings R1-R8 of
@@ -412,11 +415,11 @@
412415
upstream). Run: `uvx ruff check .` / `uvx basedpyright` / `.venv/bin/pytest -q`.
413416
Unused contract params take the underscore prefix; deliberate suppressions carry
414417
rationale comments (PyBroadException / noqa only where the rule actually fires).
415-
<!-- id: conv-python-quality-gates | created: 2026-08-23 | last_used: 2026-12-01 | uses: 24 | tier: active | origin: 2026-08-23-005709 -->
418+
<!-- id: conv-python-quality-gates | created: 2026-08-23 | last_used: 2026-12-01 | uses: 25 | tier: active | origin: 2026-08-23-005709 -->
416419
- Engine-mirrored configuration/logging/trace conventions (see the invariant above and
417420
`instructions.md`); GitHub flow with tests + a CHANGELOG entry per change
418421
(CONTRIBUTING.md).
419-
<!-- id: conv-github-flow-changelog | created: 2026-08-22 | last_used: 2026-12-01 | uses: 14 | tier: active | origin: 2026-08-22-171555 -->
422+
<!-- id: conv-github-flow-changelog | created: 2026-08-22 | last_used: 2026-12-01 | uses: 15 | tier: active | origin: 2026-08-22-171555 -->
420423
- **Each example app lives in a folder of its own, with a README and its own `resources/` (Eric, 2026-10-01; PR #38).**
421424
`examples/demo-app/` (the minimal polyglot app: `hello.python`, `hello.declarative`, `hello.chain`, `hello.sync.chain`,
422425
`hello.tokens`, the private `demo.suffix.helper` and `demo.health`) and `examples/llm-helper/`; run one as
@@ -447,7 +450,7 @@
447450
the MCP binding driven live from the Java engine). **How to apply:** a release thread names the live drive and the report
448451
it left before the publication, and a release with no drive is not cut; the cadence and the supply-chain posture stay
449452
Eric's (design P5/D6).
450-
<!-- id: conv-release-interop-gate | created: 2026-11-25 | last_used: 2026-11-25 | uses: 1 | tier: archive-candidate | origin: 2026-11-25-002254 -->
453+
<!-- id: conv-release-interop-gate | created: 2026-11-25 | last_used: 2026-12-01 | uses: 2 | tier: active | origin: 2026-11-25-002254 -->
451454

452455
- **A finding kept on purpose says why on its line, and a code-quality round is re-scanned with the IDE's own analyzer
453456
(the maintainer's ruling in the round of 2026-11-29: "keep the NOSONAR comments with reasons").** A by-design finding

‎memory/open-threads/thread-bp-llm-attachments-python.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@
3333
object-store download stays the later iteration (PR #84, MERGED 2026-11-25).
3434
→ proposal: RFC-0016 (mercury-composable)
3535
→ serves: vision-mercury-python
36-
<!-- id: bp-llm-attachments-python | created: 2026-11-24 | last_used: 2026-11-25 | uses: 3 | tier: working | origin: 2026-11-24-055310 -->
36+
<!-- id: bp-llm-attachments-python | created: 2026-11-24 | last_used: 2026-12-01 | uses: 4 | tier: working | origin: 2026-11-24-055310 -->

‎memory/open-threads/thread-bp-llm-single-call-audit-python.md‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@
1616
- **Next:** the schema page in
1717
mercury-composable; the reader's filter on the kind of row (`tools IS NULL`) in the agent-question backend and
1818
its UI; a live drive with the database stopped and stalled.
19+
- **Driven live 2026-12-01, from both engines (the 4.12.31 drive, after the publication):** with
20+
`llm.transcript.audit.single=true` the triage graph's `llm.chat` call and the streaming relay's `llm.stream` call
21+
are rows of the audit store with `tools` null, the triage row carrying its graph id and node; every one closed
22+
`done`. A single call's row names the model as the provider reports it, a loop's row the configured name
23+
([[live-drive-readings-20261201]]). Still next: a drive with the database stopped and stalled.
1924
→ proposal: RFC-0015 (mercury-composable)
2025
→ serves: vision-mercury-python
21-
<!-- id: bp-llm-single-call-audit-python | created: 2026-11-24 | last_used: 2026-11-24 | uses: 1 | tier: working | origin: 2026-11-24-055310 -->
26+
<!-- id: bp-llm-single-call-audit-python | created: 2026-11-24 | last_used: 2026-12-01 | uses: 2 | tier: working | origin: 2026-11-24-055310 -->

‎memory/open-threads/thread-bp-rest-automation-python.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,4 +82,4 @@
8282
overwritten; `attachable` by the first bytes; the helper turns REST automation on in its own application.yml.
8383
→ proposal: RFC-0018 (mercury-composable)
8484
→ serves: vision-mercury-python
85-
<!-- id: bp-rest-automation-python | created: 2026-11-24 | last_used: 2026-11-25 | uses: 9 | tier: working | origin: 2026-11-24-233943 -->
85+
<!-- id: bp-rest-automation-python | created: 2026-11-24 | last_used: 2026-12-01 | uses: 10 | tier: working | origin: 2026-11-24-233943 -->
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
- [ ] **Readings of the 4.12.31 live drive that are this pack's wait for the maintainer's ruling
2+
(2026-12-01).** The drive ran both engines through both packs; nothing failed, and the Node.js pack showed
3+
the same three.
4+
- **A `stream: true` entry sends its response head with its first chunk.** `GET /questions/events` from a cursor
5+
that is current - what the UI sends after its replay - answered nothing for 30 seconds, then the head and the
6+
first keep-alive (`: ping`), measured with `curl` on both packs. Until then the UI's header reads *connecting*,
7+
though the replay has shown every row and no event is lost; a proxy that waits less than 30 seconds for a
8+
response head would close such a stream. A fix would be the host's: the head written when the stream opens.
9+
- **A conversation's `model` in the audit store is the configured name for a loop (`claude-haiku-4-5`) and the
10+
provider's name for a single call (`claude-haiku-4-5-20251001`).** One of the two is the intended one.
11+
- **The README of `extensions/agent-question` names `extensions/llm-helper/dev/schema-apply.sh`,** a script
12+
neither pack ships: the audit schema applies when `postgres-up.sh` first starts the database.
13+
- **The development stores are reachable from the network, and one script puts a password on a command line.**
14+
`postgres-up.sh`, `graph-up.sh` and the pages' `docker run` for Redis publish their ports on every interface
15+
(`-p 5432:5432`, `-p 8081:8081`, `-p 7474:7474 -p 7687:7687`, `-p 6379:6379`); under Colima they listened on
16+
`*` on the host while the drive ran - Redis without a password, and pgweb, which serves the database without
17+
a login. `postgres-up.sh` gives pgweb the database password inside its `--url` argument, so it is readable
18+
in the container's arguments. A change would bind the ports to `127.0.0.1` and hand pgweb its URL through its
19+
environment. Seen when the maintainer asked whether the drive's own credential echo - a throwaway password in
20+
a command's arguments, printed by a timeout's error text - was in shipped code: it was the drive's script.
21+
- Not a defect, recorded for the page: a wait decided at the engine itself stays `open` in the question record
22+
until it expires or a click meets `nothing-waiting`, since the pack learns of a decision only when the
23+
decision passes through it.
24+
- origin: 2026-12-01-023851
25+
→ serves: vision-mercury-python
26+
<!-- id: live-drive-readings-20261201 | created: 2026-12-01 | last_used: 2026-12-01 | uses: 1 | tier: working | origin: 2026-12-01-023851 -->
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
- [x] **Release v4.12.31 - SHIPPED 2026-12-01 (UTC), in lockstep with the Node.js pack and with the engines' 4.12.31.**
2+
PR #95, merge `300cd65` = tag `v4.12.31`; the GitHub release 03:15:04Z; on PyPI at 03:47:50Z (wheel) and 03:47:53Z
3+
(sdist), the published files' SHA-256 equal the built files' and their contents the tag's. Driven live from both
4+
engines the same day, after the publication (mercury's `docs/test-reports/release-4-12-31-live-drive.md`): every
5+
scenario passed, and the readings wait in [[live-drive-readings-20261201]]. **Lesson:** the convention asks for the
6+
drive before the publication, and this release had it after: a drive that is wanted before a release is asked for
7+
before the tag, and the registry is read before a record says "not published yet".
8+
- origin: 2026-12-01-023851
9+
→ serves: vision-mercury-python
10+
<!-- id: release-4-12-31 | created: 2026-12-01 | last_used: 2026-12-01 | uses: 1 | tier: working | origin: 2026-12-01-023851 -->
Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
# Session (2026-12-01T15:27:07.000Z)
2+
3+
**Agent:** Claude Code
4+
**Title:** Release v4.12.31 prepared, shipped and verified - the pack's half of the agent work and REST automation,
5+
in lockstep with the Node.js pack and the engines; then driven live from both engines, after the publication
6+
**User:** the maintainer, in a session of the Java engine's repository: "this is a good milestone. Please prepare
7+
release v4.12.31 for mercury-composable, mercury, mercury-python and mercury-nodejs."
8+
9+
## What was done
10+
11+
- **Branch `release/4.12.31`, one commit `e8289a3`, not pushed** (the release rhythm: opening the pull request, the
12+
merge, the tag and the publication are the maintainer's gates). The version moves from 4.12.30 to 4.12.31 in
13+
`pyproject.toml`, `src/mercury_composable/version.py` and the README's status line; `uv.lock` is not tracked.
14+
- **The CHANGELOG.** The Unreleased section becomes `## Version 4.12.31, 11/30/2026` with a summary by theme - the
15+
audit, the tools, ask-a-person, documents, the application server, one rule for a value - and the upgrade notes
16+
an installation on 4.12.30 must read; a fresh empty Unreleased sits above it. Six sentences spoke of a later
17+
time and are brought up to date: three "the Node twin follows", "the agent tools are in no release yet", "the
18+
next release" and "the Node pack follows". The released sections are identical to the tag.
19+
- **The tag range `v4.12.30..main`:** 34 merges, #59 to #94. Every change has its entry; the commits without one
20+
are a README caveat, a test fix, a rebuild of the UI bundle, the agent-memory upgrade and the fixes of the two
21+
rounds, whose entries came in their own commits.
22+
- **The release notes** are the release section, drafted beside the engines' in the Java session's scratchpad.
23+
- **The live drive, by the release convention.** Five reports in the engine repository cover the audit store, the
24+
agent tools, ask-a-person with its UI and this pack as the provider of a hot-deployed graph. Three features of
25+
this release were never driven from an engine - REST automation, the audit of a single call and attachments
26+
with a model call - and every drive predates the extensions' move to `rest.yaml` entries and the two rounds of
27+
2026-11-29 and 2026-11-30. Put to the maintainer; recorded in the thread.
28+
29+
- **Raised as PR #95** with `gh`, on the maintainer's word ("Yes, open all four"); every check passed.
30+
- **Merged and tagged by the maintainer:** #95 as merge `300cd65` (2026-12-01 03:12:09Z), `v4.12.31` on that commit,
31+
the GitHub release published 03:15:04Z. Verified: the tag is `origin/main`, its tree equals the release commit's,
32+
the version at the tag is 4.12.31. The maintainer first said the publication would follow the engines' release;
33+
PyPI shows the wheel at 03:47:50Z and the sdist at 03:47:53Z, read at 06:03Z.
34+
35+
## The live drive from both engines, after the tag and after the publication
36+
37+
- **The maintainer:** "please conduct a live drive of AI SDLC from engines to language packs", and "Colima and
38+
docker are available for the live drive".
39+
- **What ran.** This pack at `v4.12.31`, five applications at their default ports, behind the Java engine and then
40+
the Rust engine, on Claude Haiku 4.5, with fresh stores on Colima - Redis, PostgreSQL from `postgres-up.sh` and
41+
`schema-apply.sh`, Neo4j from `graph-up.sh`. Twelve scenarios per engine after two controls; the Node.js
42+
pack ran the same, one pack at a time, since the Python pack's agent tools and the Node.js pack's MCP binding
43+
both default to 8089.
44+
- **Result.** Every scenario passed on both engines through this pack. In the audit store every conversation is
45+
`done`, every turn carries its trace id, every loop its graph id and node; the single calls are recorded behind
46+
`llm.transcript.audit.single`; the question record holds each wait with who answered it and the two advices
47+
that follow a decision; fifteen ingests by two engines through two packs left the graph at 22 nodes and 21
48+
relationships.
49+
- **Readings.** Three are this pack's and wait for the maintainer ([[live-drive-readings-20261201]]): the response
50+
head of a `stream: true` entry, the `model` column of the audit store, and a script the agent-question README
51+
names and no pack ships. The record of the whole drive is mercury's
52+
`docs/test-reports/release-4-12-31-live-drive.md`.
53+
- **Not driven:** attachments with a model call; a `rest.yaml` entry through an engine's `async.http.request`.
54+
55+
## Shipped and verified (2026-12-01 06:04Z)
56+
57+
- **PyPI:** `mercury-composable` 4.12.31 is the latest: the wheel uploaded 03:47:50Z, the sdist 03:47:53Z, neither
58+
yanked. Both files have the SHA-256 of the files in the checkout's `dist/`. The wheel's 26 package files are
59+
identical to the tag's `src/mercury_composable`; of the sdist's 128 files, 127 are identical to the tag's and
60+
`PKG-INFO` is generated. `Requires-Python >=3.11`; the license travels as `LICENSE`.
61+
- **The tag and the release:** `v4.12.31` on `300cd65`, CI green on it; the GitHub release 03:15:04Z.
62+
- **The order.** The drive of 04:34Z to 04:59Z ran after the publication, not before it as
63+
`conv-release-interop-gate` asks: the registry had the release when the drive was asked for, and the records of
64+
that hour said "before the publication" until the registry was read.
65+
- **The family, read the same minute:** Java `v4.12.31` released 04:10:11Z; Rust `v4.12.31` 05:59:51Z with thirteen
66+
crates at 06:01Z.
67+
- Thread [[release-4-12-31]] closed with its record.
68+
69+
## Decisions
70+
71+
- **The maintainer's:** the pack releases 4.12.31 with the engines.
72+
- **Mine, open to the maintainer's review:** the heading's date is 11/30/2026, the local date of the preparation;
73+
the memory records are held out of the release commit and uncommitted until after the tag; the summary names the
74+
drives that were run and makes no claim for the three features that were not.
75+
76+
## Verification
77+
78+
- `ruff check .`: clean. `basedpyright` (1.40.2, from the local cache): 0 errors, 0 warnings. `pytest -q`: 3,016
79+
passed, 76 skipped.
80+
- `uv build --offline`: `mercury_composable-4.12.31` as a source distribution and a wheel; the version in the
81+
metadata and in `version.py`; `License-File: LICENSE`, the file at the source distribution's root and under the
82+
wheel's `dist-info/licenses`; three runtime dependencies.
83+
- No tracked file outside the CHANGELOG and `memory/` names 4.12.30.
84+
85+
## Memory References
86+
87+
- Referenced:
88+
- `conv-release-interop-gate`: the thread names the drives and their reports, and what was not driven; the
89+
drive this release got came after its publication, which the gate asks for before.
90+
- `conv-python-quality-gates`: ruff, basedpyright and pytest as the gates.
91+
- `conv-github-flow-changelog`: every change of the tag range has its entry.
92+
- `stack-deps-aiohttp-msgpack`: the build backend's behaviour with the license file, checked on the built
93+
distributions.
94+
- `bp-rest-automation-python`, `bp-llm-single-call-audit-python`, `bp-llm-attachments-python`: read for what
95+
each still lists as next - a live drive.
96+
- `transcript-audit-store-python`: the live drive ran the helper with the audit store on, for the loop and for the single
97+
call, and read its conversation rows and turn rows by correlation id to compare them with the replies.
98+
Declared when this log was committed.
99+
- Core Rule 6 of `memory/instructions.md`: no name of a person, a company or a customer in any file.
100+
- Created:
101+
- `live-drive-readings-20261201` (tier: working) - three readings of the release's live drive, for the
102+
maintainer's ruling.
103+
- `release-4-12-31` (tier: working) - the release in flight and its gates.
104+
- Closed:
105+
- `release-4-12-31`: shipped and verified; the close record is its thread.
106+
- Reactivated: (none).
107+
- Superseded: (none).

0 commit comments

Comments
 (0)