Skip to content

Commit 14d341f

Browse files
committed
session 2026-09-05 [Cursor]
1 parent f07615a commit 14d341f

14 files changed

Lines changed: 116 additions & 106 deletions

‎memory/continuity.md‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
of the Mercury Composable polyglot initiative: a lightweight Event-over-HTTP function
2020
host + thin client, repurposed August 2026 (legacy language pack in git history only)
2121
- **last_enabled:** 2026-08-22
22-
- **last_review:** (none yet)
22+
- **last_review:** 2026-09-05 | through 2026-09-05-211409
2323
- **last_invariant_check:** (none yet)
2424
- **repo:** ~/sandbox/mercury-python (origin: github.com/Accenture/mercury-python)
2525

@@ -28,10 +28,10 @@
2828
> Canonical live home for the current stack — language version, dependencies, tool
2929
> versions. `instructions.md` keeps only a high-level descriptor and points here.
3030
31-
- Python ≥ 3.10; build backend **hatchling**; package `mercury-composable` v4.12.0
32-
(merged 2026-08-30, engine lock-step version line; PyPI publish pending), wheel from
31+
- Python ≥ 3.10; build backend **hatchling**; package `mercury-composable` v4.12.1
32+
(PyPI 2026-09-01; engine lock-step line from the v4.12.0 milestone), wheel from
3333
`src/mercury_composable`
34-
<!-- id: stack-python-hatchling | created: 2026-08-22 | last_used: 2026-09-01 | uses: 3 | tier: active | origin: 2026-08-22-171555 -->
34+
<!-- id: stack-python-hatchling | created: 2026-08-22 | last_used: 2026-09-05 | uses: 5 | tier: active | origin: 2026-08-22-171555 -->
3535
- Runtime deps: `aiohttp` >=3.10,<4 (Event API host), `msgpack` >=1,<2 (envelope codec),
3636
`PyYAML` >=6,<7 (config); dev: `pytest` >=8 + `pytest-asyncio` >=0.23 (`asyncio_mode=auto`);
3737
optional extras: `llm` = `anthropic` >=1,<2 + `google-genai` >=2,<3 (the AI-node provider
@@ -77,7 +77,7 @@
7777
`memory/PROTOCOL.md` and consumers (developers writing polyglot functions — the "AI
7878
grammar" path) to `README.md`, which carries the quick start, function contract, and
7979
wire-format guide.
80-
<!-- id: decision-consumer-fork-readme | created: 2026-08-22 | last_used: 2026-08-22 | uses: 1 | tier: archive-candidate | origin: 2026-08-22-171555 -->
80+
<!-- id: decision-consumer-fork-readme | created: 2026-08-22 | last_used: 2026-09-05 | uses: 2 | tier: active | origin: 2026-08-22-171555 -->
8181

8282
## Conventions
8383

@@ -89,11 +89,11 @@
8989
upstream). Run: `uvx ruff check .` / `uvx basedpyright` / `.venv/bin/pytest -q`.
9090
Unused contract params take the underscore prefix; deliberate suppressions carry
9191
rationale comments (PyBroadException / noqa only where the rule actually fires).
92-
<!-- id: conv-python-quality-gates | created: 2026-08-23 | last_used: 2026-08-24 | uses: 3 | tier: active | origin: 2026-08-23-005709 -->
92+
<!-- id: conv-python-quality-gates | created: 2026-08-23 | last_used: 2026-08-24 | uses: 3 | tier: archive-candidate | origin: 2026-08-23-005709 -->
9393
- Engine-mirrored configuration/logging/trace conventions (see the invariant above and
9494
`instructions.md`); GitHub flow with tests + a CHANGELOG entry per change
9595
(CONTRIBUTING.md).
96-
<!-- id: conv-github-flow-changelog | created: 2026-08-22 | last_used: 2026-08-24 | uses: 2 | tier: active | origin: 2026-08-22-171555 -->
96+
<!-- id: conv-github-flow-changelog | created: 2026-08-22 | last_used: 2026-08-24 | uses: 2 | tier: archive-candidate | origin: 2026-08-22-171555 -->
9797

9898
## Open Threads
9999

‎memory/instructions.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,9 @@ they are the cross-engine compatibility contract, not ordinary fixtures.
8080

8181
## CI / CD
8282

83-
No package build/test workflow yet (pre-release). The agent-memory advisory CI floor
84-
(`.github/workflows/agent-memory.yml`) is installed; it checks the memory layer only.
83+
No package build/test GitHub workflow yet (PyPI v4.12.1 is published). The agent-memory
84+
advisory CI floor (`.github/workflows/agent-memory.yml`) is installed; it checks the
85+
memory layer only.
8586

8687
## Editing These Instructions
8788

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
- [ ] **(blueprint) Publish behind the interop gate.** The wrapper is complete and green
2-
and now versioned **v4.12.0 on main** (the milestone merge, 2026-08-30 — the version
3-
aligns with the engine lock-step line, superseding the 0.1.0 plan), with the interop
4-
gate green (the progressive-rendering interop report). The Vision's "releasable on its
5-
own cadence" is unmet until it ships to PyPI; publishing is SEQUENCED (Eric,
6-
2026-08-30): after the first iteration of the AI SDLC feature completes; it stays
7-
Eric-gated (ownership, cadence, supply-chain posture; design P5/D6).
1+
- [ ] **(blueprint) Recurring interop gate on every release.** First PyPI publication is
2+
done (v4.12.1, 2026-09-01 — `pip install mercury-composable`; constrained sdist). The
3+
v4.12.0 progressive-rendering interop report was green once. Remaining Vision success
4+
criterion: live interop against both engines **on every release**, plus a package
5+
build/test GitHub workflow (today only the agent-memory advisory floor runs in CI).
6+
Cadence and supply-chain posture stay Eric-gated (design P5/D6).
87
→ serves: vision-mercury-python
9-
<!-- id: bp-publish-interop-gate | created: 2026-08-22 | last_used: 2026-08-30 | uses: 6 | tier: working | origin: 2026-08-22-173136 -->
8+
<!-- id: bp-publish-interop-gate | created: 2026-08-22 | last_used: 2026-09-05 | uses: 7 | tier: working | origin: 2026-08-22-173136 -->
Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
1-
- [x] (feature — **MERGED 2026-09-01 as
2-
[PR #22](https://github.com/Accenture/mercury-python/pull/22) true merge `44caf9a6`
3-
carrying `1fa5f70`; tree verified; branches deleted both ends) **AI nodes llm.chat +
4-
llm.stream — provider-neutral LLM adapters (agent-orchestration E0).** One contract, two
5-
editions (Anthropic + Gemini as optional extras `mercury-composable[llm]`);
6-
schema-constrained verdicts for graph decision routing; token streams over the
7-
multi-shot reply contract; Gemini AFC opted out (no tool surface — the graph decides,
8-
the model advises). Live-proven from the engine's support-triage graph (its PR #304).
9-
Lesson: PyCharm validates monkeypatch attr-name literals regardless of target typing —
10-
route the name through a helper parameter. origin: 2026-09-01-022620.
11-
<!-- id: ot-llm-ai-nodes | created: 2026-09-01 | last_used: 2026-09-01 | uses: 1 | tier: working | origin: 2026-09-01-022620 -->
1+
- [x] AI nodes `llm.chat` + `llm.stream` (optional extra `mercury-composable[llm]`).
2+
Outcome: [PR #22](https://github.com/Accenture/mercury-python/pull/22) merge `44caf9a6`
3+
(2026-09-01); ships in PyPI 4.12.1. origin: 2026-09-01-022620
4+
<!-- id: ot-llm-ai-nodes | created: 2026-09-01 | last_used: 2026-09-01 | uses: 2 | tier: active | origin: 2026-09-01-022620 -->
Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
- [x] (feature — **MERGED 2026-08-30 as
2-
[PR #21](https://github.com/Accenture/mercury-python/pull/21) true merge `bfca7e4`
3-
carrying `d50986a`; tree verified; v4.12.0 milestone, all four repos lock-step)
4-
**The progressive-rendering round: event streaming (engines' envelope-mode SSE
5-
contract, reply_to bus mechanism, stream/stream_to consumers), business
6-
correlation-id continuity, full span lineage with the engines' distributed-trace
7-
dataset on stdout, app-log-context with the packaged default template, sender
8-
attribution.** Lessons: detach long-lived workers from the creating task's
9-
contextvars; install the log-context config before its own warning logs; RPC legs
10-
emit no dataset (engine parity). origin: 2026-08-30-045556.
1+
- [x] Progressive-rendering round: streaming, correlation ids, span lineage, log-context.
2+
Outcome: [PR #21](https://github.com/Accenture/mercury-python/pull/21) merge `bfca7e4`
3+
(v4.12.0, 2026-08-30). Lesson: detach long-lived workers from the creating task's
4+
contextvars. origin: 2026-08-30-045556
115
<!-- id: ot-streaming-telemetry-round-20260830 | created: 2026-08-30 | last_used: 2026-09-01 | uses: 3 | tier: active | origin: 2026-08-30-045556 -->
Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
- [x] **(vision-bootstrap)** Vision ratified by Eric, 2026-08-22 — drafted from the
2-
ratified polyglot design (D0–D8 + same-day refinements): tiny Event-over-HTTP wrapper,
3-
engines own orchestration, protocol-compat releases, the scope fence as non-goals.
4-
First Blueprint gap derived (publish behind the interop gate). Detail:
5-
2026-08-22-173136.
1+
- [x] Vision ratified by Eric, 2026-08-22 (D0–D8 + same-day refinements). First Blueprint
2+
gap derived. Detail: origin 2026-08-22-173136.
63
<!-- id: ot-vision-bootstrap | created: 2026-08-22 | last_used: 2026-08-30 | uses: 3 | tier: active | origin: 2026-08-22-171555 -->
Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
- [x] (feature — Eric's directive, IMPLEMENTED + **MERGED 2026-08-23 in the same
2-
[PR #17](https://github.com/Accenture/mercury-python/pull/17) as the bus**)
3-
**Actuator endpoints — the engines' operational surface for Kubernetes PODs.**
4-
/info, /info/routes, /env, /health, /livenessprobe; health check functions speak the
5-
engines' `type=info`/`type=health` contract through the bus; UP 200 / DOWN 400;
6-
liveness follows the last health outcome. Durable lesson: engine `log.format` json =
7-
PRETTY-printed, compact = single-line JSONL (the JsonAppender/CompactAppender pair).
8-
Detail: origin log. Relates [[thread-primitive-event-bus]].
9-
<!-- id: thread-actuator-endpoints | created: 2026-08-23 | last_used: 2026-08-24 | uses: 2 | tier: active | origin: 2026-08-23-031558 -->
1+
- [x] Actuator endpoints (`/info`, `/health`, `/livenessprobe`, …) via the bus.
2+
Outcome: [PR #17](https://github.com/Accenture/mercury-python/pull/17) (2026-08-23).
3+
Lesson: `log.format` json is pretty-printed; compact is JSONL. origin: 2026-08-23-031558
4+
<!-- id: thread-actuator-endpoints | created: 2026-08-23 | last_used: 2026-08-24 | uses: 2 | tier: archive-candidate | origin: 2026-08-23-031558 -->
Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
1-
- [x] (feature — Eric's three loose ends 2026-08-24; **MERGED same day as
2-
[PR #19](https://github.com/Accenture/mercury-python/pull/19), true merge `035b636`
3-
carrying `da60593` (tree verified, branches deleted both ends); node twin merged in
4-
its quality PR #88**) **Actuator polish: engine-parity index page, pretty
5-
JSON, host error shape.** `GET /` = the engines' minimal Welcome page (embedded — no
6-
static file service by design); actuator JSON pretty-printed (SimpleMapper default);
7-
unknown paths/non-GET → `{"status", "message", "type": "error"}` with
8-
`Resource not found` (SimpleHttpUtility signature, Java insertion order). Live-proven
9-
byte-symmetric with node. Relates [[thread-actuator-endpoints]].
10-
<!-- id: thread-actuator-polish | created: 2026-08-24 | last_used: 2026-08-24 | uses: 1 | tier: active | origin: 2026-08-24-015208 -->
1+
- [x] Actuator polish: engine-parity index page, pretty JSON, host error shape.
2+
Outcome: [PR #19](https://github.com/Accenture/mercury-python/pull/19) merge `035b636`
3+
(2026-08-24). origin: 2026-08-24-015208
4+
<!-- id: thread-actuator-polish | created: 2026-08-24 | last_used: 2026-08-24 | uses: 1 | tier: archive-candidate | origin: 2026-08-24-015208 -->
Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
1-
- [x] (P4 docs — **SHIPPED and LIVE 2026-08-24**, same day as plan ratification)
2-
**Documentation site "Composable for Python"** — engine Material theme, 13 files
3-
incl. the one-page AI agent guide + llms.txt; live at accenture.github.io/mercury-python.
4-
[PR #20](https://github.com/Accenture/mercury-python/pull/20) merge `0bc97f7` carrying
5-
`a8ebde2` (tree verified, branches deleted); ci.yml maiden run green — the wrapper-CI
6-
gap is closed. Lesson: mermaid on a new site verifies structurally against the
7-
engine's live pages when the sandbox can't render CDN JS. Remaining P4 = engine
8-
repos (polyglot chapter, ADR-0016, interop extension). Relates
9-
[[bp-publish-interop-gate]]. origin: 2026-08-24-152125
10-
<!-- id: thread-docs-site | created: 2026-08-24 | last_used: 2026-08-24 | uses: 1 | tier: active | origin: 2026-08-24-152125 -->
1+
- [x] Docs site "Composable for Python" live at accenture.github.io/mercury-python.
2+
Outcome: [PR #20](https://github.com/Accenture/mercury-python/pull/20) merge `0bc97f7`
3+
(2026-08-24). Lesson: mermaid on a new site must match the engine pages structurally.
4+
origin: 2026-08-24-152125
5+
<!-- id: thread-docs-site | created: 2026-08-24 | last_used: 2026-08-24 | uses: 1 | tier: archive-candidate | origin: 2026-08-24-152125 -->
Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
- [x] (feature — RATIFIED + IMPLEMENTED + **MERGED 2026-08-23 as
2-
[PR #17](https://github.com/Accenture/mercury-python/pull/17), true merge `f38ac17`
3-
carrying branch head `1931f01`; tree verified identical, branches deleted both ends;
4-
one PR with [[thread-actuator-endpoints]]**) **Primitive in-process event bus — the
5-
single dispatch pipeline.** `instances`/`private` faithful; deliver + publish only; the
6-
HTTP host and local PostOffice = thin ingress adapters. Durable ruling: NO spill tier /
7-
NO queue cap — back-pressure belongs to the engines' flows/graphs (scope fence:
8-
instructions.md). Full design, pins and wire proofs: origin log.
9-
<!-- id: thread-primitive-event-bus | created: 2026-08-23 | last_used: 2026-08-24 | uses: 4 | tier: active | origin: 2026-08-23-005709 -->
1+
- [x] Primitive in-process event bus — single dispatch pipeline (FIFO + `instances`
2+
workers; deliver/publish only; no spill/cap). Outcome: [PR #17](https://github.com/Accenture/mercury-python/pull/17)
3+
merge `f38ac17` (2026-08-23), with actuators. origin: 2026-08-23-005709
4+
<!-- id: thread-primitive-event-bus | created: 2026-08-23 | last_used: 2026-09-05 | uses: 5 | tier: active | origin: 2026-08-23-005709 -->

0 commit comments

Comments
 (0)