Skip to content

Release v0.18.0 - #541

Merged
fazpu merged 2 commits into
mainfrom
release/v0.18.0
Nov 6, 2026
Merged

fazpu merged 2 commits into
mainfrom
release/v0.18.0

Conversation

@fazpu

@fazpu fazpu commented Nov 6, 2026 •

Copy link
Copy Markdown
Member

Summary

Release PR for remember 0.18.0, following RELEASING.md "Cutting a release". It contains relaunch plan phase 2, which is already on main:

  • D145: claim leases and a reaper.
  • D146: worker --class convert|llm.
  • D147: library seams.
  • D148: egress bytes.
  • Per-database migration safety.
  • PostgreSQL 19 RC 1, with SQL/PGQ replaced by relational one-hop joins (D98 amended).
  • Setup % escaping.
  • Spend-gate bypass fixes.

The release also includes everything else merged since v0.17.2 (D134, D137–D140, D143, the TypeScript client).

Merging this PR starts the Release workflow (release.yml runs on main pushes that touch pyproject.toml). GHCR images are published after verify passes. PyPI waits for the pypi environment's owner approval.

Release coordinates

  • pyproject.toml project.version and the compose.yaml GHCR tags (remember-stack:0.18.0, remember-stack-postgres:19rc1-0.18.0) move to 0.18.0. The README and docs coordinates move with them, which is what prepare_next_release.py does, but as a minor bump.
  • Regenerated: uv.lock, openapi.json, llms-full.txt, and the TypeScript contract hash and version exports.

Release-facing docs

  • New 0.18.0 changelog entry. It marks these self-hoster breaking changes as Action needed / Behaviour change:
    • --stage becomes --class.
    • Compose has 2 workers: run docker compose down --remove-orphans.
    • Beta 3 to RC 1 needs the engine upgraded on Beta 3 first, then a dump and restore.
    • Readiness reasons graph_pgq_* become graph_one_hop_*.
    • ops graph-catalog ensure loses definitions.
    • 400 invalid_path for control characters.
    • PDF OCR on every page, and the conversion-routes overlay.
  • reference/errors: adds the 400 invalid_path row, which was undocumented.
  • self-hosting/requirements and the compose.yaml comment: the "RC 1 image is published by the next release / 0.17.2 needs Beta 3" transition text is replaced. 0.18.0 is the first RC 1 release.
  • cloud/compatibility: "Added after v0.17.2" becomes "Added in v0.18.0". remember.dev still runs v0.17.2.

PostgreSQL foundation pins (Dockerfile.postgres, unchanged)

Every pin was re-verified on 2026-11-06. None needed to change:

  • Base postgres:19rc1-trixie@sha256:f6bab621…. The tag has since moved to index sha256:4b3e4b2e…, but only its riscv64 child was rebuilt. The amd64 child (sha256:2683c853…) and arm64 child (sha256:40ec4717…) are byte-identical, so the reviewed digest stays. PG_VERSION=19~rc1-1.pgdg13+1.
  • PGDG (trixie-pgdg-archive):
    • postgresql-19-pgvector=0.8.6-1.pgdg13+2 and postgresql-19-partman=5.5.0-1.pgdg13+1 both resolve.
    • pgvector 0.8.7-1.pgdg13+1 is also published. It is not adopted: the release stays on the reviewed, tested pin, as docker/README.md records.
  • pg_textsearch:
    • Revision fa142d04… is tag v1.5.1 (annotated tag object b63fe589…).
    • The source archive, LICENSE and NOTICE SHA-256 values match the pinned ARGs.
  • Release-matrix evidence: see Verification.

Two small fixes

  • decisions.md D147: the renumbering note now says D144 is unused, and that D145, D146 and D148 are the claim-lease, stage-class worker and egress decisions.
  • adapters/selfhost/minio.py: the boto3 client gets max_pool_connections=50. botocore's default of 10 is below an llm worker's default 20 tasks in flight.

Verification

  • uv run python scripts/check_release_contract.py --tag v0.18.0: release contract valid for RememberStack 0.18.0
  • check_docs_truth.py, generate_docs_llms.py --check, TypeScript npm run check:generated
  • ruff check, ruff format --check, test_minio_store.py
  • Postgres image built for both architectures, with no build cache. arm64 was built natively. amd64 was built under Rosetta on Apple Silicon.
    • pg_textsearch regression: 82/82 on each architecture.
    • Local image IDs: amd64 sha256:0a99756f…, arm64 sha256:8affa2dd….
    • Per-architecture artifacts.sha256 manifests are recorded in docker/README.md.
    • These are local, unpushed IDs. The release workflow records the registry digests in postgres-image-digests.json.
  • amd64 extension and graph matrix (Rosetta), 277 passed: test_migrations, test_pipeline_readiness, test_p1_ranked_pg, test_postgres_p1, graph SQL, queries and HTTP, query_sandbox_graph_d98, query_sandbox_batch_b, ops_cli, s55_selfhost_restore, d98_removal_audit, minio_store.
  • Native amd64: main CI run 42303684449 at 0de5d1506 (this PR's base, same Dockerfile.postgres). The workers, surfaces and adapters integration suites passed. Its Unit job was cancelled because an Ubuntu mirror was slow installing LibreOffice.
  • arm64 complete suite: 4479 passed, 6 skipped, 2 xfailed, 1 failed.
    • The failure was test_d143_openapi_additive. Its pinned hash included info.version, so any release bump would fail it, including the Release workflow's verify.
    • Fixed in e940e4d: info.version is reset to the pinned document's 0.17.2 before hashing. The test now passes.
  • Codex round 1 on c476ccb: APPROVE, no findings.
  • Codex round 2 on e940e4d: APPROVE, no findings.
  • CI on e940e4d: all green (Unit passed on its third attempt; the first two hit the slow Ubuntu mirror)

Contributor agreement

Signing on behalf of a legal entity (leave blank if accepting individually):

🤖 Generated with Claude Code

https://claude.ai/code/session_01F9cMsQBqiW2qU2ow4zeNCm

fazpu and others added 2 commits November 6, 2026 23:27
Bump project.version and the GHCR tags to 0.18.0, regenerate openapi.json,
the llms files and the TypeScript contract/version exports, and add the
0.18.0 changelog with the self-hoster breaking changes. Document the
400 invalid_path refusal. Drop transitional "until the next release"
wording now that 0.18.0 is the first release on PostgreSQL 19 RC 1.

Also: correct D147's renumbering note (D144 unused; D145, D146, D148 are
the claim-lease, stage-class worker and egress decisions) and give the S3
adapter's boto3 client 50 pooled connections, above an llm worker's
default 20 tasks in flight.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F9cMsQBqiW2qU2ow4zeNCm
…n version-free

docker/README.md records the re-verified foundation pins, both
architectures' local image IDs, pg_textsearch artifact manifests and
regression results, and the test runs against each image.

test_d143_openapi_additive pinned the pre-D143 export's hash including
info.version, so any release bump failed it (found by the arm64 full
suite). Reset info.version to the pinned document's 0.17.2 before hashing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F9cMsQBqiW2qU2ow4zeNCm
@fazpu

fazpu commented Nov 6, 2026

Copy link
Copy Markdown
Member Author

Codex review round 1 (gpt-6.1-sol, max) on c476ccb

VERDICT: APPROVE

No blocker, major, or minor findings.

Release contract, lockfile, docs truth, generated artifacts, TypeScript checks, Ruff, Pyright, and all 6 MinIO tests passed. TypeScript’s Node checks used pinned dependencies from a neighboring checkout.

Disposition: no findings to address. Later commit e940e4d adds the release-matrix record and a test fix, which the arm64 full suite found; it goes to round 2.

@fazpu

fazpu commented Nov 6, 2026

Copy link
Copy Markdown
Member Author

Codex review round 2 (gpt-6.1-sol, max) on e940e4d

I’ll read the repository agreement, review the two changes in e940e4d, and run the targeted OpenAPI tests. I won’t edit files or start Docker.

exec
/bin/zsh -lc 'cat CLAUDE.md' in /Users/jpuc/code/moje/remember-stack-release-0180-review-20261106
succeeded in 0ms:

CLAUDE.md — working agreement for this repo

RememberStack is open memory infrastructure for AI agents. Its implementation and binding design
corpus live together in this repository. The planning hierarchy is described in README.md —
read it first:

  • plan/requirements/ — what the system must do (highest abstraction, mostly bullets)
  • plan/designs/ — how it works (binding architecture)
  • plan/analysis/ — why we believe things (research, drill-downs; may be messy/superseded)
  • plan/plans/ — in what order to build it (sequencing)
  • decisions.md (root) — the architecture decision log (D1, D2, …), the canonical record

When editing any of these, four rules are non-negotiable (Rule 4 also governs code,
tests and reviews).
Read the design-corpus skill before
creating or editing planning and decision documents. Its current-state rule
means plan/designs/ must be reconciled when a design changes, and superseded
decisions must be marked inside their original entries.

Rule 1 — Design docs must be understandable by both future agents AND humans

A design or decision document is read by people who were not in the conversation that
produced it — a future agent with no memory of this session, or a human implementer who is not
a specialist in the subject. Write for them.

  • Explain, don't just name. Naming a technique ("HAC distance-cut", "nDR n=1",
    "transitive closure") is not explaining it. State, in plain language, what it is, what
    problem it solves, and why we chose it
    — with a concrete example where it helps. If a reader
    must already know the field (entity resolution, graph DBs, IR) to follow the doc, the doc is
    not finished.
  • The reasoning must live in the doc, not in someone's head. Do not rely on the reader (or
    a future agent) re-deriving the rationale from domain knowledge. A terse decision-log entry
    may state the conclusion; the corresponding design section must make it self-contained.
  • Define jargon on first use; keep technical terms as anchors in parentheses so an
    implementer can still find the precise method, but lead with the plain-English meaning.
  • Match the surrounding style; prefer concrete examples over abstraction.

Rule 2 — We design the FULL scope, not an MVP or a phased subset

This project designs the complete intended system (it targets millions of documents — scale
is a requirement, not a someday-goal). Design and decision docs describe that complete system.

  • No "Phase 1 / v1 / for now / later / defer / MVP" framing in design or decision docs.
    Build-sequencing — what to implement first — is a separate concern that belongs in
    plan/plans/, never as a hedge inside a design.
  • Distinguish two different moves, and keep only the first in design docs:
    • Simplification — removing machinery a simpler mechanism makes unnecessary at any
      scale
      (e.g. the extraction LLM already yields the entity type, so no separate typing
      cascade). This is correct full-scope design. Keep it.
    • Deferral / phasing — keeping a piece but tagging it "build later". This is MVP thinking;
      it does not belong in a design doc.
  • A genuine scope boundary (something deliberately not in the system — e.g. rebuild-first
    graph sync, with incremental application a documented non-goal) is design content: state it as
    a non-goal / documented alternative, not as a future "phase".
  • Numbers (thresholds, sizes, costs) are starting points to be measured, not committed
    constants — label them as such rather than as "v1 values".

Rule 3 — The library boundary is binding (D60/D61)

This repo is the complete single-deployment memory system — and only that. It ships as open
source with a commercial cloud built around it; the boundary lives here so it cannot erode
silently. When writing any design or decision:

  • Never assume a web UI or a multi-tenant control plane exists. They belong to the separate
    cloud product. Agent surfaces (API / CLI / MCP / mounted filesystems) must remain the complete
    consumption story.
  • Never place a correctness-determining mechanism outside this repo or make it conditional on
    a commercial offering — extraction, resolution, supersession, grounding, evals, budgets, DLQ,
    and deletion are always fully here.
  • Cloud-facing needs are met only through the declared provider ports (D61), and no extension
    point may let a consumer bypass an invariant (ingestion always writes through E0; review always
    appends reversible verdicts; a control plane is never an authority for E/K/P truth).

Rule 4 — A new version costs only its edit (D56)

The requirement (owner, binding). When a new version of a document arrives, paid work —
embedding and extraction model calls — happens only where the document changed. Unchanged
sections must reuse their embeddings and extracted claims. Example: rewording one paragraph
of § 12 of a 200-section contract must not re-embed or re-extract § 1–11 or § 13–200.
Extraction is the dominant ingestion cost, and this promise has been broken before by
changes that looked unrelated, so check it on every change, in code, designs and reviews.

How the engine implements it today. E1 deterministically re-packs every new
representation into new chunk rows (fresh chunk_ids — that part is cheap); what carries
over are content identities and the paid products keyed on them
(e1_chunks_design §4 and §7):

  • Packing (D58). Chunks are whole-block runs packed per deepest-owner section, so an
    edit never moves chunk boundaries in another section. Inside the edited section, a
    length change can shift later boundaries until the next accepted content anchor (a block
    whose hash satisfies uint64(block_hash) mod anchor_modulus == 0, at least
    anchor_min_gap_tokens after the previous one) or the section's end.
  • Embeddings (D80). A vector carries forward from an earlier version or an earlier
    processing generation of the same version of one
    lineage when chunk_content_hash, embedding_text_hash (the rendered D80 input:
    location header + body, so it depends on all D80 location facts: title, source kind and
    shape, section title, path and role, chunk count, and message metadata), the policy
    generation and the embedding model all match. Neighbours are not part of this key.
  • Selection (D56, D140). extraction_input_hash = own block hashes + previous/next
    same-section neighbour hashes + header facts (header_title(), source_kind, the
    chunk's text-origin date, language, file_name; plus the eligibility policy for
    ineligible chunks) + canonical converter-origin hashes for the target and those
    same-section neighbors + extractor and structurer versions. Origin coordinates are
    relative to their consumed window, never absolute document offsets. D140's text origin keeps the date
    stable for unchanged chunks across dated versions; it is looked up through
    reuse_identity_hash, which is the same identity without the date plus
    REUSE_IDENTITY_VERSION and blockizer_version.
  • Claimify (D122). claimify_input_hash = the target's Selection hash + the Selection
    hashes of the previous eight chunks in document order + REFERENCE_POLICY_VERSION
    (document_reference_context_design).
  • Span remapping (D119). Reused cards and claims are re-anchored by relative offset and
    exact substring match; a failed remap re-extracts.

Known gaps against the requirement (not yet fixed; a design to close them is pending
the owner's decision — do not describe them as solved):

  1. The D122 Claimify window crosses section boundaries, so an edit near the end of § 12 can
    re-run Claimify for up to eight following chunks in § 13 and beyond.
  2. In long sections with few anchors, a length-changing edit can re-pack, and so
    re-extract and re-embed, the rest of that section.
  3. The E0 section-summary cache key includes block ordinals and node_path, so inserting a
    block re-runs summary calls for every later section (summaries stay out of the
    extraction and embedding keys).
  4. Model-based structure fallback and title-role classification are not deterministic; a
    different answer on a new version moves section ownership or roles, which changes
    packing, neighbours and embedding inputs.

Rules for every change:

  • No fabricated volatile data in keyed inputs: no generated dates, banners, counters,
    timestamps, IDs or renumbering in header facts, titles, file names or chunk text. Real
    source content may change: a genuine rename of the title or file name is an intended
    boundary (D134), and real dates in the text stay.
  • No model output in an identity (D56): summaries, prefixes, section paths and offsets
    never enter a reuse key; committed derived context is carried forward for unchanged
    regions.
  • Declare every reuse boundary. Changing any of these re-keys some stage and must be
    stated in the design and PR (what re-processes, once, and why) and accepted, never left
    as a side effect: BLOCKIZER_VERSION, CHUNKER_VERSION and ChunkerParams,
    E0_CONVERT_VERSION and converter routes, E0_STRUCTURE_VERSION,
    SKELETON_PARSER_VERSION, REUSE_IDENTITY_VERSION,
    EXTRACTION_ELIGIBILITY_POLICY_VERSION, E2_EXTRACTOR_VERSION (includes
    SECTION_ORIENTATION_VERSION and SOURCE_ORIGINS_VERSION), REFERENCE_POLICY_VERSION,
    EMBEDDING_INPUT_POLICY_VERSION, E1_EMBED_VERSION, the embedding model, and
    E3_NORMALIZER_VERSION (reused claims keep their IDs but are normalized again).
    The embed-delivery version includes the chunker base generation so a base
    chunker bump cannot replay a completed old embed job for fresh rows. Vector
    reuse remains keyed by actual embedding input, policy and model.
  • Keep lineage identity stable. Successive versions must arrive under the same
    connector-native (source_kind, source_ref) (D55); never append a revision or hash to
    source_ref. A one-shot upload is identified by its bytes, so an edited file becomes a new
    document and reuses nothing. Ingest a lineage's versions oldest first, one at a time, and
    keep their dates consistent: D140 only inherits a text-origin date that is no later than
    the new version's; an undated version inherits nothing, and nothing inherits from one.
  • Prove it with a test. A change that can affect ingestion keeps or extends
    src/tests/workers/test_reuse_lifecycle.py and test_d140_text_origin_pg.py, or adds a
    test that ingests two versions of one lineage, with distinct source dates and stable names,
    of a document with untouched sections before and after an edited multi-chunk section. It
    counts provider calls per stage (Selection, Claimify, embedding). Chunks next to the
    edit legitimately get new Selection and origin identities; every untouched chunk outside
    the edited chunk's same-section neighbours must keep its content, Selection and
    text-origin identities and reuse the same claim_ids through chunk_claims, and every
    chunk whose embedding identity is unchanged causes no embedding call. Cover a
    packing-boundary case and a D122 window case. Cases that hit a known gap above are marked
    expected-failure naming the gap, never silently weakened.
  • Converters and connectors must render unchanged content byte-identically across
    versions (deterministic output, exact whitespace), because the reuse keys and span
    remapping see their output.
  • Reviewers check this rule explicitly on every PR that touches ingestion, chunking,
    E0/E1/E2, header facts, converters, connectors or version handling.

Publish work in progress

This applies to the supervising agent and every delegated agent. Push a meaningful
checkpoint and open a draft PR early; do not keep substantial implementation only
in a local worktree while waiting for tests, reviews, or dependencies to finish.
Push subsequent coherent checkpoints and keep the PR description current about
what works, what remains incomplete, and which checks have actually run.

Draft publication is not merge approval. Complete the required integration,
validation, and reviews before marking the PR ready or merging. The supervising
agent remains responsible for the combined result.

The docs site ships with the code (D66)

website/ is the public documentation site (Next.js + MDX, statically exported to
GitHub Pages at docs.remember.dev). Two standing obligations when implementing:

  • Same-PR docs. Any PR that changes user-facing behavior — CLI commands, API/MCP
    surface, configuration, mounts, connectors, deployment, the consumption skill — updates
    the affected website/src/app/docs/**/page.mdx in the same PR (creating the page per
    the target IA in website/README.md if it doesn't exist yet), and keeps
    /docs/project/not-built-yet truthful.
  • Docs describe what ships, designs describe the full scope. A page.mdx documents
    behavior that exists on main — never aspirations (readers will run what it says). The
    full-scope intent lives in plan/; do not blur the two. Authoring conventions and the
    page template: website/README.md.

When in doubt on any rule, favor the version a stranger could read cold and fully understand,
describing the whole system.

exec
/bin/zsh -lc 'git status --short; git show --stat --oneline e940e4d; git show --format=fuller --no-ext-diff e940e4d' in /Users/jpuc/code/moje/remember-stack-release-0180-review-20261106
succeeded in 0ms:
e940e4d Record the 0.18.0 PostgreSQL release matrix; keep the D143 OpenAPI pin version-free
docker/README.md | 39 ++++++++++++++++++++++++
src/tests/surfaces/test_d143_openapi_additive.py | 10 +++++-
2 files changed, 48 insertions(+), 1 deletion(-)
commit e940e4d
Author: Jiri Puc puc.jiri@mail.com
AuthorDate: Sat Nov 7 00:04:53 2026 +0100
Commit: Jiri Puc puc.jiri@mail.com
CommitDate: Sat Nov 7 00:04:53 2026 +0100

Record the 0.18.0 PostgreSQL release matrix; keep the D143 OpenAPI pin version-free

docker/README.md records the re-verified foundation pins, both
architectures' local image IDs, pg_textsearch artifact manifests and
regression results, and the test runs against each image.

test_d143_openapi_additive pinned the pre-D143 export's hash including
info.version, so any release bump failed it (found by the arm64 full
suite). Reset info.version to the pinned document's 0.17.2 before hashing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F9cMsQBqiW2qU2ow4zeNCm

diff --git a/docker/README.md b/docker/README.md
index 73cd19764..df82a4ab3 100644
--- a/docker/README.md
+++ b/docker/README.md
@@ -68,6 +68,45 @@ The tag workflow mechanically publishes the two-platform manifest and attaches
digests, to the GitHub release. The release-contract checker fails if that job,
either required platform, or the digest evidence artifact disappears.

+### 0.18.0 (PostgreSQL 19 RC 1), 2026-11-06
+
+These pins were re-verified for this release, and none changed:
+- Base image. The pinned index sha256:f6bab621… lists the same children as the

  • 19rc1-trixie tag's current index, sha256:4b3e4b2e…. Both have amd64
  • sha256:2683c85306de152af6475f669cec1b172a3bfb77f7928cfe46b8c6dd338aa7a5 and
  • arm64 sha256:40ec4717d7f11d1456c7ced89d4bcdb7a7b8727ddadf652b09765b4440cbbc4b.
  • Only the riscv64 child was rebuilt. The server package is 19~rc1-1.pgdg13+1.
    +- PGDG packages. The pgvector and pg_partman versions pinned above resolve from the
  • archive.
    +- pg_textsearch. The source archive, LICENSE and NOTICE checksums match. The pinned
  • revision is tag v1.5.1.

+Each architecture was built locally from this Dockerfile with no build cache:
+- arm64 was built natively.
+- amd64 was built under Rosetta emulation on an Apple Silicon host.
+
+| | linux/amd64 | linux/arm64 |
+|---|---|---|
+| Local image ID (not pushed) | sha256:0a99756fdb833ec133ee75ae2458b3da9f95c15b23976931b227667fb96e2a3d | sha256:8affa2dd4a8ae6724f1aa085591aa5f73ec00c8c31d51c417b3c6edd9d5d5441 |
+| artifacts.sha256 (file SHA-256) | 67e0e0b3bb6cdb5239f1a9b6abaf7ae55980499100beaa05be4da476baf6e0d9 | 6c2e3491af7c05daaf602f5d57d11a9a39b27ff91981f9ca7241f0c8605e21a5 |
+| pg_textsearch.so | 302e2123c5cb464dccd744bd520cf0980e48e4aacc0179184e6bcf9540b7fd7a | b3c183a5741815d142d339240d426ff48ad7f7822f88e04f5628c62e70ab5e16 |
+| pg_textsearch regression suite | 82/82 | 82/82 |
+
+The control and SQL files are byte-identical on both architectures. The .so lines differ.
+The arm64 .so checksum also came out the same in an earlier cached build.
+
+The published registry digests are a separate record. The tag workflow writes them to
+postgres-image-digests.json on the GitHub release.
+
+Tests run against these images:
+- amd64 (Rosetta). The migration, pgvector/HNSW, pg_textsearch/BM25, pg_partman,

  • one-hop, traversal, readiness, ops, query-space and restore suites: 277 passed.
    +- amd64 (native). Main CI run 42303684449 at 0de5d1506 ran the workers, surfaces
  • and adapters integration suites against this Dockerfile on Linux amd64, and they passed.
    +- arm64. The complete suite: 4479 passed, 6 skipped, 2 xfailed. One test failed
  • only because it pinned the old info.version (test_d143_openapi_additive). The
  • release PR fixes it, and it now passes.

The local 2026-08-26 arm64 experiment passed 71/71 upstream pg_textsearch SQL
regression tests. It is evidence for this patch, not a substitute for the
two-architecture release matrix. A broken local Docker daemon is likewise an
diff --git a/src/tests/surfaces/test_d143_openapi_additive.py b/src/tests/surfaces/test_d143_openapi_additive.py
index eb4837e6f..77e061434 100644
--- a/src/tests/surfaces/test_d143_openapi_additive.py
+++ b/src/tests/surfaces/test_d143_openapi_additive.py
@@ -24,6 +24,9 @@ _PRE_D143_SHA256: Final = (
)
"""Canonical hash of openapi.json at fbcd489 (main just before D143's code)."""

+_PRE_D143_VERSION: Final = "0.17.2"
+"""info.version in that document; a release bump is not a D143 change."""
+
_ADDED_ROUTES: Final = frozenset({"/processing-layers"})
_ADDED_SCHEMAS: Final = frozenset(
{"ProcessingLayer", "ProcessingLayerStates", "OutputProcessingLayerStates"}
@@ -31,8 +34,13 @@ _ADDED_SCHEMAS: Final = frozenset(

def without_d143_additions(document: dict[str, Any]) -> dict[str, Any]:

  • """The document with the D143 route, layers parameters and schemas removed."""
  • """The document with the D143 route, layers parameters and schemas removed.
  • info.version is reset to the pre-D143 release, so the pinned hash
  • survives version bumps.
  • """
    stripped = json.loads(json.dumps(document))
  • stripped["info"]["version"] = _PRE_D143_VERSION
    for path in _ADDED_ROUTES:
    stripped["paths"].pop(path, None)
    for operations in stripped["paths"].values():

I’m using the repository’s design-corpus skill to check the release record against the binding graph release requirements.

exec
/bin/zsh -lc 'nl -ba Dockerfile.postgres; nl -ba RELEASING.md; nl -ba docker/README.md' in /Users/jpuc/code/moje/remember-stack-release-0180-review-20261106
succeeded in 0ms:
1 FROM postgres:19rc1-trixie@sha256:f6bab6213c486e940e310a88490935cbc71b88f6c19fee3cd2ab14b3b02ff65b AS pg_textsearch_builder
2
3 ARG PG_TEXTSEARCH_REVISION=fa142d049d08eac45a263f5abc250c8877ae076e
4 ARG PG_TEXTSEARCH_SOURCE_SHA256=445a546810cbc17e15d05ff8a391f1b693eab382a2ef6efbf72e1c37fa0c48d0
5 ARG PG_TEXTSEARCH_LICENSE_SHA256=d33de21a123ce25b41722a5d10750984cb9c844c4d9b01add9e1b31f3ff452e5
6 ARG PG_TEXTSEARCH_NOTICE_SHA256=ff70cf4336c579957368a71c6b6b66ee8954011deef2b3d2c7a11f931080851d
7
8 # The prerelease base can carry an older CA bundle than the PGDG archive's
9 # current CloudFront chain. Debian remains usable when that source warns, so
10 # refresh trust first and then require a clean archive update.
11 RUN set -eux;
12 for pgdg_source_file in
13 /etc/apt/sources.list.d/pgdg.list
14 /etc/apt/sources.list.d/pgdg.sources; do
15 if [ -f "${pgdg_source_file}" ]; then
16 sed -i
17 -e 's|http://apt.postgresql.org/pub/repos/apt|https://apt-archive.postgresql.org/pub/repos/apt|g'
18 -e 's|https://apt.postgresql.org/pub/repos/apt|https://apt-archive.postgresql.org/pub/repos/apt|g'
19 -e 's|trixie-pgdg|trixie-pgdg-archive|g'
20 "${pgdg_source_file}";
21 fi;
22 done;
23 grep -R 'apt-archive.postgresql.org/pub/repos/apt'
24 /etc/apt/sources.list.d/pgdg.;
25 apt-get update;
26 apt-get install -y --reinstall --no-install-recommends ca-certificates;
27 update-ca-certificates;
28 apt-get update;
29 # The headers must be the base image's exact server build: the archive
30 # also serves newer prereleases, and an extension compiled against their
31 # headers fails at run time (an index access method struct changes).
32 apt-get install -y --no-install-recommends
33 build-essential curl patch
34 "postgresql-server-dev-19=${PG_VERSION}" "libpq-dev=${PG_VERSION}";
35 curl --fail --location --show-error
36 --output /tmp/pg_textsearch.tar.gz
37 "https://github.com/timescale/pg_textsearch/archive/${PG_TEXTSEARCH_REVISION}.tar.gz";
38 echo "${PG_TEXTSEARCH_SOURCE_SHA256} /tmp/pg_textsearch.tar.gz" | sha256sum --check --strict;
39 mkdir -p /src/pg_textsearch;
40 tar --extract --gzip --file /tmp/pg_textsearch.tar.gz
41 --directory /src/pg_textsearch --strip-components=1;
42 test -s /src/pg_textsearch/LICENSE;
43 test -s /src/pg_textsearch/NOTICE;
44 echo "${PG_TEXTSEARCH_LICENSE_SHA256} /src/pg_textsearch/LICENSE" | sha256sum --check --strict;
45 echo "${PG_TEXTSEARCH_NOTICE_SHA256} /src/pg_textsearch/NOTICE" | sha256sum --check --strict;
46 rm -rf /var/lib/apt/lists/

47
48 # PostgreSQL 19 RC 1 headers no longer pull in <limits.h>, and v1.5.1's
49 # src/planner/hooks.c uses INT_MAX without including it (upstream issue
50 # timescale/pg_textsearch#586). Force-include the standard header on top of
51 # the server's own preprocessor flags, which reach both the shared object and
52 # the JIT bitcode compiles; the pinned source stays unmodified.
53 RUN set -eux;
54 cd /src/pg_textsearch;
55 make -j"$(nproc)" CPPFLAGS="$(pg_config --cppflags) -include limits.h";
56 make install;
57 {
58 sha256sum /usr/lib/postgresql/19/lib/pg_textsearch.so;
59 find /usr/share/postgresql/19/extension -maxdepth 1
60 -type f -name 'pg_textsearch*' -print0 | sort -z | xargs -0 sha256sum;
61 } > /tmp/pg_textsearch-artifacts.sha256
62
63 # Local PostgreSQL 19 gate (D142, design §6): upstream supports PG19 on a
64 # best-effort basis, so every image build runs the extension's own regression
65 # suite against a throwaway cluster of this exact server build.
66 RUN set -eux;
67 chown -R postgres /src/pg_textsearch;
68 su postgres -c "/usr/lib/postgresql/19/bin/initdb -D /tmp/pg_regress_data >/dev/null";
69 echo "shared_preload_libraries = 'pg_textsearch'" >> /tmp/pg_regress_data/postgresql.conf;
70 su postgres -c "/usr/lib/postgresql/19/bin/pg_ctl -D /tmp/pg_regress_data -l /tmp/pg_regress.log -w start";
71 if ! su postgres -c "cd /src/pg_textsearch && make installcheck"; then
72 cat /src/pg_textsearch/regression.diffs 2>/dev/null || true;
73 exit 1;
74 fi;
75 su postgres -c "/usr/lib/postgresql/19/bin/pg_ctl -D /tmp/pg_regress_data -w stop";
76 rm -rf /tmp/pg_regress_data /tmp/pg_regress.log
77
78 FROM postgres:19rc1-trixie@sha256:f6bab6213c486e940e310a88490935cbc71b88f6c19fee3cd2ab14b3b02ff65b
79
80 # pg_textsearch uses the PostgreSQL License at the source revision pinned above
81 # (v1.5.1, which supports PostgreSQL 19 upstream; no local patch, D142).
82 COPY --from=pg_textsearch_builder /usr/lib/postgresql/19/lib/pg_textsearch.so /usr/lib/postgresql/19/lib/pg_textsearch.so
83 COPY --from=pg_textsearch_builder /usr/share/postgresql/19/extension/pg_textsearch* /usr/share/postgresql/19/extension/
84 COPY --from=pg_textsearch_builder /src/pg_textsearch/LICENSE /usr/share/doc/pg_textsearch/LICENSE
85 COPY --from=pg_textsearch_builder /src/pg_textsearch/NOTICE /usr/share/doc/pg_textsearch/NOTICE
86 COPY --from=pg_textsearch_builder /tmp/pg_textsearch-artifacts.sha256 /usr/share/doc/pg_textsearch/artifacts.sha256
87
88 # Refresh the prerelease base's trust bundle before the archive update; package
89 # signatures still provide apt's normal authenticity boundary.
90 RUN set -eux;
91 for pgdg_source_file in
92 /etc/apt/sources.list.d/pgdg.list
93 /etc/apt/sources.list.d/pgdg.sources; do
94 if [ -f "${pgdg_source_file}" ]; then
95 sed -i
96 -e 's|http://apt.postgresql.org/pub/repos/apt|https://apt-archive.postgresql.org/pub/repos/apt|g'
97 -e 's|https://apt.postgresql.org/pub/repos/apt|https://apt-archive.postgresql.org/pub/repos/apt|g'
98 -e 's|trixie-pgdg|trixie-pgdg-archive|g'
99 "${pgdg_source_file}";
100 fi;
101 done;
102 grep -R 'apt-archive.postgresql.org/pub/repos/apt'
103 /etc/apt/sources.list.d/pgdg.;
104 apt-get update;
105 apt-get install -y --reinstall --no-install-recommends ca-certificates;
106 update-ca-certificates;
107 apt-get update;
108 apt-get install -y --no-install-recommends
109 postgresql-19-partman=5.5.0-1.pgdg13+1
110 postgresql-19-pgvector=0.8.6-1.pgdg13+2;
111 rm -rf /var/lib/apt/lists/

1 # Releasing RememberStack
2
3 The Release workflow publishes one version to PyPI and GHCR, then creates a GitHub release
4 containing the Python distributions, the same version-pinned compose.yaml, the generated
5 openapi.json, and the example environment as default.env.example (GitHub's public asset
6 name for the source .env.example). It accepts only tags exactly matching
7 vMAJOR.MINOR.PATCH.
8
9 ## One-time owner setup
10
11 The one-time owner setup is complete:
12
13 1. D77 records explicit acceptance of the preliminary naming risk. CLA.md, the trademark policy,
14 pull-request template, and metadata-only CLA workflow are present. The emitted CLA status is
15 a required main check with administrator enforcement.
16 2. The GitHub repository is writeitai/remember-stack. Update each existing clone if needed:
17
18 bash 19 git remote set-url origin git@github.com:writeitai/remember-stack.git 20
21
22 Under D108, the canonical PyPI distribution is remember (providing the remember CLI launcher
23 and the remember Python client package),
24 published from this repository starting with v0.17.0. The container image package is ghcr.io/writeitai/remember-stack.
25 3. The GitHub environment pypi requires an owner review, so a tag cannot publish to PyPI without
26 explicit approval.
27 4. The PyPI account uses two-factor authentication and has an active
28 Trusted Publisher
29 with these exact values:
30
31 | Field | Value |
32 |---|---|
33 | PyPI project name | remember |
34 | GitHub owner | writeitai |
35 | Repository | remember-stack |
36 | Workflow | release.yml |
37 | Environment | pypi |
38
39 This publisher replaced the retired writeitai/ultimate-memory-cloud / release-remember.yml
40 / pypi-remember publisher after the 0.17.0 upload succeeded. Do not restore a second
41 publisher for the same package.
42 5. The active Protect release tags ruleset restricts creation, update, and deletion of tags
43 matching v* to repository administrators. The workflow token cannot create these tags.
44
45 No PyPI password or long-lived API token belongs in GitHub secrets. The workflow requests a
46 short-lived OpenID Connect credential and grants id-token: write only to the PyPI job.
47
48 ## Cutting a release
49
50 Prepare a normal pull request that updates both project.version in pyproject.toml and the
51 GHCR tag in compose.yaml. Update release-facing documentation in the same pull request. The
52 contract check rejects drift:
53
54 bash 55 uv run python scripts/check_release_contract.py --tag v0.17.0 56
57
58 That release pull request also refreshes the PostgreSQL foundation pins in
59 Dockerfile.postgres: use the reviewed PostgreSQL 19 prerelease/GA base digest,
60 pin the intended PGDG pgvector and pg_partman package versions, and pin the
61 pg_textsearch source revision plus source, compatibility-patch, license, and
62 notice checksums. Build the Dockerfile for both architectures, record each
63 embedded artifact manifest and immutable image digest, and run the extension
64 and graph release matrix before tagging. The tag workflow then rebuilds and
65 publishes ghcr.io/writeitai/remember-stack-postgres:19rc1-VERSION for both
66 architectures and attaches postgres-image-digests.json to the GitHub release;
67 UMC consumes the recorded manifest digest, never that human-readable tag.
68 Updating the foundation pins remains a manual, reviewable patch cadence;
69 publishing and digest capture are mechanical and mutable database-image tags
70 are not used.
71
72 After that pull request is merged and main is green, tag its exact merge commit:
73
74 bash 75 git switch main 76 git pull --ff-only 77 git tag -a v0.17.0 -m "Remember 0.17.0" 78 git push origin v0.17.0 79
80
81 An administrator must push the tag at the exact verified source commit before
82 the GitHub-release job runs. A main push may start the workflow before the
83 tag exists; if the job then fails with the tag-creation rule, create the
84 annotated tag at that immutable source SHA and rerun only the failed jobs.
85 Never move an existing release tag.
86
87 The workflow validates the tag, runs the release test suite, builds the wheel and source
88 distribution, and publishes remember==0.17.0 plus
89 ghcr.io/writeitai/remember-stack:0.17.0 and the PostgreSQL foundation, both
90 for linux/amd64 and linux/arm64. It creates the GitHub release only after both
91 registries accept their artifacts and both image manifests prove amd64 plus
92 arm64 digests.
93
94 PyPI and GHCR do not support an atomic cross-registry transaction. Never reuse a published
95 version after a partial failure: fix the cause, complete the missing publish when safe, or cut the
96 next patch version.
97
98 ## 0.17.0 cutover record (2026-09-23)
99
100 - Source commit: 78fee141484729be3763fe886c4d7cff595c09e7 (PR #446).
101 The owner-created annotated v0.17.0 tag resolves to that commit.
102 - Release run 35788878236
103 completed on attempt 3. Attempt 1 exposed the missing remember PyPI
104 trusted publisher; attempt 2 published both Python distributions but the
105 workflow token could not create the administrator-protected tag. The owner
106 added the publisher and tag, then resumed the same release.
107 - PyPI has remember==0.17.0
108 wheel and source archive. The one-time
109 rememberstack==0.17.0
110 forwarder was also published, then the rememberstack project was archived
111 rather than deleted. Its 24 releases and existing pins remain available;
112 new uploads are blocked and PyPI search no longer promotes the name.
113 - The GitHub release
114 is titled remember 0.17.0 and attaches only canonical remember Python
115 files alongside deployment inputs and image receipts. Application image:
116 sha256:df9ca49f6249b8a848f429a1688324467615ce7818de37dfc19e8c589678b587.
117 PostgreSQL multi-architecture manifest:
118 sha256:59ed1414da1f5f366b7e1c5f0f6028a9bc99a15183debbd6d52d3b4a94062684
119 (amd64 and arm64 receipts attached).
120 - The PyPI remember project now lists only this repository's release.yml
121 / pypi trusted publisher. No long-lived publishing token was created.
122
123 ## GHCR visibility
124
125 The remember-stack container package was made public after the v0.1.0 image push, so later
126 versions in the same package support anonymous Compose pulls without another visibility step. A
127 new package namespace would default to private and require the same one-time review. GitHub warns
128 that a public package cannot be made private again.
129
130 The image carries standard OCI source labels generated from the repository metadata, which links
131 the package back to this repository. Docker Hub is intentionally not a second publication target.
132
133 ## Verify the public artifacts
134
135 Run these checks from a clean machine or temporary directory:
136
137 bash 138 uvx --from remember==0.17.0 remember --version 139 docker pull ghcr.io/writeitai/remember-stack:0.17.0 140 gh release download v0.17.0 --repo writeitai/remember-stack \ 141 --pattern compose.yaml --pattern default.env.example --pattern openapi.json 142 found=$(jq -r '.info.version' openapi.json) || { 143 echo "cannot read openapi.json" >&2 144 exit 1 145 } 146 [ "$found" = "0.17.0" ] || { 147 echo "openapi.json is version $found, expected 0.17.0" >&2 148 exit 1 149 } 150 cp default.env.example .env 151 docker compose --env-file .env up --no-build --pull always --detach --wait 152 curl --fail http://localhost:8000/healthz 153 docker compose --env-file .env down --volumes 154
155
156 The final command deletes the disposable verification deployment and its volumes.
1 # PostgreSQL image release evidence
2
3 Dockerfile.postgres is the only supported database image definition. It pins
4 the PostgreSQL 19 prerelease base (release candidate 1, 19rc1-trixie) by
5 digest, pins PGDG extension package versions, and builds pg_textsearch from a
6 checksum-verified source archive (no local patch: v1.5.1 supports PostgreSQL 19
7 upstream, D142).
8
9 The RC 1 headers no longer include <limits.h> indirectly, and pg_textsearch
10 v1.5.1 uses INT_MAX without including it (upstream issue
11 timescale/pg_textsearch#586,
12 open on 2026-11-06). The build adds -include limits.h to the server's own
13 preprocessor flags instead of changing the source; drop the flag once a pinned
14 release includes the header itself.
15
16 pgvector is pinned to the PGDG build 0.8.6-1.pgdg13+2, which PGDG rebuilt
17 against the Beta 4 headers; that is the tested pin (PGDG also publishes
18 0.8.7-1.pgdg13+1). Between Beta 4 and RC 1 the
19 index access-method interface (access/amapi.h) is unchanged, and the one
20 changed index-vacuum struct (IndexVacuumInfo, a new is_autovacuum flag)
21 moves only fields pgvector 0.8.6 does not read (checked against the
22 postgresql-server-dev-19 19beta4 and 19rc1 packages and the v0.8.6 source,
23 2026-11-06). pg_partman's background worker uses only interfaces whose headers
24 are unchanged between Beta 3 and RC 1.
25
26 Exact pgvector and pg_partman Debian versions resolve from PGDG's all-versions
27 trixie-pgdg-archive repository, not the rotating current-version index. PGDG
28 documents that archive as the daily-updated repository containing every
29 released package version; retrieved 2026-08-27 from
30 https://apt-archive.postgresql.org/.
31
32 ## pg_textsearch provenance
33
34 - source revision: fa142d049d08eac45a263f5abc250c8877ae076e (tag v1.5.1)
35 - source archive SHA-256:
36 445a546810cbc17e15d05ff8a391f1b693eab382a2ef6efbf72e1c37fa0c48d0
37 - PostgreSQL 19: supported upstream since v1.5.0 as best effort with
38 non-blocking CI (README at the pinned revision),
39 so this image's own integration suite is the PostgreSQL 19 gate; the former
40 local compatibility patch is retired (retrieved 2026-10-21)
41 - license determination: the pinned revision's LICENSE identifies The
42 PostgreSQL License
(PostgreSQL identifier), and its NOTICE says the
43 extension is licensed under that license; unchanged at v1.5.1 (same
44 checksums), retrieved 2026-10-21
45 - license SHA-256:
46 d33de21a123ce25b41722a5d10750984cb9c844c4d9b01add9e1b31f3ff452e5
47 - notice SHA-256:
48 ff70cf4336c579957368a71c6b6b66ee8954011deef2b3d2c7a11f931080851d
49 - license evidence: both files are checksum-verified during the build and
50 copied to /usr/share/doc/pg_textsearch/ in the runtime image
51
52 The build writes SHA-256 values for the installed shared object, control file,
53 and SQL migration files to
54 /usr/share/doc/pg_textsearch/artifacts.sha256. Because that file is produced
55 inside each build platform, it is also the per-architecture binary record.
56
57 ## Release matrix
58
59 For each PostgreSQL beta, RC, and GA candidate, build both linux/amd64 and
60 linux/arm64. Record the immutable image digest and the embedded artifact
61 manifest for each architecture, then run migrations, extension smoke tests,
62 the pg_textsearch regression suite, graph correctness tests, and the complete
63 RememberStack test suite. Managed deployment remains blocked unless amd64
64 passes; self-host release remains blocked unless both architectures pass.
65
66 The tag workflow mechanically publishes the two-platform manifest and attaches
67 postgres-image-digests.json, containing its immutable digest plus both child
68 digests, to the GitHub release. The release-contract checker fails if that job,
69 either required platform, or the digest evidence artifact disappears.
70
71 ### 0.18.0 (PostgreSQL 19 RC 1), 2026-11-06
72
73 These pins were re-verified for this release, and none changed:
74 - Base image. The pinned index sha256:f6bab621… lists the same children as the
75 19rc1-trixie tag's current index, sha256:4b3e4b2e…. Both have amd64
76 sha256:2683c85306de152af6475f669cec1b172a3bfb77f7928cfe46b8c6dd338aa7a5 and
77 arm64 sha256:40ec4717d7f11d1456c7ced89d4bcdb7a7b8727ddadf652b09765b4440cbbc4b.
78 Only the riscv64 child was rebuilt. The server package is 19~rc1-1.pgdg13+1.
79 - PGDG packages. The pgvector and pg_partman versions pinned above resolve from the
80 archive.
81 - pg_textsearch. The source archive, LICENSE and NOTICE checksums match. The pinned
82 revision is tag v1.5.1.
83
84 Each architecture was built locally from this Dockerfile with no build cache:
85 - arm64 was built natively.
86 - amd64 was built under Rosetta emulation on an Apple Silicon host.
87
88 | | linux/amd64 | linux/arm64 |
89 |---|---|---|
90 | Local image ID (not pushed) | sha256:0a99756fdb833ec133ee75ae2458b3da9f95c15b23976931b227667fb96e2a3d | sha256:8affa2dd4a8ae6724f1aa085591aa5f73ec00c8c31d51c417b3c6edd9d5d5441 |
91 | artifacts.sha256 (file SHA-256) | 67e0e0b3bb6cdb5239f1a9b6abaf7ae55980499100beaa05be4da476baf6e0d9 | 6c2e3491af7c05daaf602f5d57d11a9a39b27ff91981f9ca7241f0c8605e21a5 |
92 | pg_textsearch.so | 302e2123c5cb464dccd744bd520cf0980e48e4aacc0179184e6bcf9540b7fd7a | b3c183a5741815d142d339240d426ff48ad7f7822f88e04f5628c62e70ab5e16 |
93 | pg_textsearch regression suite | 82/82 | 82/82 |
94
95 The control and SQL files are byte-identical on both architectures. The .so lines differ.
96 The arm64 .so checksum also came out the same in an earlier cached build.
97
98 The published registry digests are a separate record. The tag workflow writes them to
99 postgres-image-digests.json on the GitHub release.
100
101 Tests run against these images:
102 - amd64 (Rosetta). The migration, pgvector/HNSW, pg_textsearch/BM25, pg_partman,
103 one-hop, traversal, readiness, ops, query-space and restore suites: 277 passed.
104 - amd64 (native). Main CI run 42303684449 at 0de5d1506 ran the workers, surfaces
105 and adapters integration suites against this Dockerfile on Linux amd64, and they passed.
106 - arm64. The complete suite: 4479 passed, 6 skipped, 2 xfailed. One test failed
107 only because it pinned the old info.version (test_d143_openapi_additive). The
108 release PR fixes it, and it now passes.
109
110 The local 2026-08-26 arm64 experiment passed 71/71 upstream pg_textsearch SQL
111 regression tests. It is evidence for this patch, not a substitute for the
112 two-architecture release matrix. A broken local Docker daemon is likewise an
113 open execution gate, never a reason to waive the image build.

exec
/bin/zsh -lc "cat .agents/skills/design-corpus/SKILL.md; sed -n '1,180p' README.md; rg --files -g AGENTS.md -g CLAUDE.md -g 'openapi' -g 'release' -g 'postgres' .github docker src/tests/surfaces plan/designs" in /Users/jpuc/code/moje/remember-stack-release-0180-review-20261106
succeeded in 0ms:

name: design-corpus
description: The RememberStack planning-corpus discipline. Use whenever creating, editing, reviewing, or accepting plan/ requirements, analysis, binding designs, proposals, decisions, or research for an architectural choice. Covers analysis before design, the root decision log, current-state plan/designs/, and writing for a cold reader.

Design corpus

The planning corpus must let a reader with no conversation history find the
current contract and understand why it was chosen. Read CLAUDE.md and
plan/README.md for this repository's full-scope and source-precedence rules.

Source roles

  • plan/requirements/ states what the complete engine must do.
  • plan/analysis/ contains the bulk of research, comparisons, objections, and
    working notes. It is non-binding; dead ends and superseded reasoning may stay
    visible if clearly labeled.
  • plan/designs/ states the accepted, binding current state. It is not an
    additive archive of every design ever accepted. A reader must be able to
    understand current scope, flows, contracts, failure/recovery behavior, and
    rationale without reconciling contradictory old and new rules. When a new
    design changes existing logic, update or remove every affected binding
    rule, example, implementation contract, and link. Remove a wholly obsolete
    design from the binding set, or reduce its old path to a short successor
    pointer where inbound links need continuity. Preserve history in analysis,
    the decision log, and git. A supersession banner alone does not make a
    contradictory body acceptable.
  • plan/proposals/ holds unchosen alternatives to the planning architecture;
    design/proposals/ holds unchosen operational, efficiency, and architecture
    tracks. Use the directory closest to the affected binding topic. Each live
    proposal states its adoption trigger; do not present it as binding. Mark
    adopted proposals as historical and link their accepted design.
  • plan/plans/ owns implementation sequence, not architectural truth.
  • Root decisions.md is the numbered log of consequential architectural and
    product choices. Put detailed operating contracts in the binding design;
    link the analysis that justifies the choice. If a later decision supersedes
    an earlier one, mark that inside the earlier entry, near its heading or
    status, and link the successor. For partial supersession, identify the
    replaced clauses and what remains binding. Retain the original decision as
    history; a note only in the new entry or index does not warn a reader who
    lands on the old one.

Keep plan/README.md navigable so the binding answer is easy to find.
Accepted design does not establish shipped behavior; inspect implementation
and tests before making as-built or public documentation claims.

Analysis before design

Before writing or materially changing a binding design:

  1. Frame the problem and constraints in analysis. Inspect the affected current
    design, decisions, implementation, and relevant tests.
  2. Compare real alternatives, costs, operational and security consequences,
    and failure behavior. Cite dated authoritative sources for volatile
    external facts. Resolve substantive disagreements in writing.
  3. Update the current binding design, not just a new standalone document.
    Record high-level decisions in the log and keep viable unchosen paths in
    plan/proposals/ or design/proposals/ according to the affected topic.
    Put delivery order in plan/plans/.

The test is whether a skeptical reader can reconstruct the choice from the
corpus alone. Follow CLAUDE.md: designs describe the full intended engine,
not a phased MVP; the separate public docs site describes only what ships.

Cold-reader checks

  • Explain a method in plain language, with a concrete example where useful;
    do not rely on jargon or conversation history.
  • Make the current binding contract explicit; remove conflicting old rules
    from affected plan/designs/ files.
  • Mark a superseded decision in its own entry, including surviving scope for
    a partial supersession.
  • Do not cite analysis or proposals as settled architecture, or design
    acceptance as proof that code ships.

RememberStack

CI
Docs
PyPI
License

Give your agents a past.

RememberStack is open-source memory for AI agents. You give it the documents
your work already produces: email, chat, specs, meeting notes, tickets,
agent transcripts. It reads them, keeps what matters, and answers your
agent's questions with facts it can trace back to the source. It knows what
is true now, what was true a month ago, and who said so.

Read the docs ·
Quickstart ·
What is a memory system?


Why you should care

Every AI session starts from zero. The agent does not know which decision
still holds, which file said it, or what changed overnight. You paste the
same notes in again, or the model fills the gap with something plausible.

Most "memory" for agents is a vector search over text: it finds passages that
sound like the question. It cannot tell you which of them is still current,
which one a later document corrected, whether two of them contradict each
other, or when anything was true. And it always returns something, even when
nothing relevant exists.

RememberStack keeps four things a context window loses:

  • What each source said. Every statement worth keeping is stored as a
    claim, with the exact passage it came from and the date it was said.
    Claims are never edited.
  • What is true now. From those claims it maintains facts about the
    people, systems and decisions in your work. When a newer source changes a
    fact, the fact changes and the old one stays on record. When two sources
    disagree, you see both, marked as a contradiction.
  • When it was true. Facts carry the period in which they held. Ask what
    is true today, what held last March, or how something changed.
  • Where it came from. Every fact links to its claims, every claim to the
    characters in the source. Your agent can quote and cite; you can check.

Claims (what sources said) feed facts (what is true now)

What your agent gets back

Not the passages most similar to the question, but the facts that answer
it, each with its time window, the evidence behind it and any
contradiction, in one typed result that is ready to put into a prompt.

  • Honest negatives. If memory has nothing on the subject, the result says
    so. If a name could mean two different people, it says that too. An agent
    that is told "unknown" stops inventing.
  • No model writes the answer. The only model on the read path embeds your
    question for search. The same question against the same memory returns the
    same result, and you can see why each item is there.
  • Search nominates, the database confirms. Vector, keyword, graph and time
    signals propose candidates; every one is checked against what is currently
    held before it is returned.
Where typical agent memory goes wrong What RememberStack does instead
Source text is treated as the truth What a source said (a claim) is kept apart from what is held true now (a fact)
A correction overwrites what came before The old fact's time window is closed, not erased
Contradictions are averaged away Both sides come back, marked as a contradiction
Re-sending a file makes it look more certain Support counts distinct documents, not repetitions
"No results" could mean anything The result says whether the entity is unknown or known with nothing matching

Search returns similar passages; memory returns what is known

Built for agents

  • MCP. remember mcp gives Claude Code, Cursor, Codex, Claude Desktop and
    other MCP clients the memory tools; remember setup configures them in one
    command. Connect your agent →
  • Python SDK and CLI. pip install remember.
    SDK → ·
    CLI →
  • HTTP API. The same operations over plain HTTP.
    API →
  • Your files. Markdown, text, HTML, Word, PowerPoint and Excel convert out
    of the box; PDFs and images with an OCR converter.
    File types →

Quickstart

You need Docker (Engine 28 or later for the tokenless local setup) and an
OpenRouter API key.

git clone https://github.com/writeitai/remember-stack && cd remember-stack
cp .env.example .env
printf 'REMEMBERSTACK_POSTGRES_PASSWORD=%s\nREMEMBERSTACK_MINIO_ACCESS_KEY=%s\nREMEMBERSTACK_MINIO_SECRET_KEY=%s\nREMEMBERSTACK_SELFHOST_DEPLOYMENT_ID=%s\n' \
  "$(openssl rand -hex 32)" "$(openssl rand -hex 12)" "$(openssl rand -hex 32)" \
  "$(openssl rand -hex 16 | sed -E 's/^(.{8})(.{4}).(.{3}).(.{3})(.{12})$/\1-\2-4\3-8\4-\5/')" >> .env
# edit .env: set REMEMBERSTACK_OPENROUTER_API_KEY
docker compose up -d --build

uvx remember setup --self-hosted   # connect your coding agent

Then send a document and ask your first question:
Quickstart → ·
Self-hosting →

Open source, all of it

Apache-2.0. Everything that decides what your memory holds (extraction,
entity resolution, supersession, provenance, forgetting) is in this
repository. Nothing that affects correctness is held back.

Contributing

See CONTRIBUTING.md and CLA.md. Pull requests need
the contributor-agreement checkbox in the PR template.
.github/workflows/release.yml
.github/workflows/release-prepare.yml
.github/ci/postgres-evidence.jq
.github/ci/start-postgres.sh
plan/designs/postgres_schema_design.md
plan/designs/postgres_p1_search_projection_design.md
src/tests/surfaces/test_openapi_export.py
src/tests/surfaces/test_d143_openapi_additive.py
src/tests/surfaces/test_postgres_graph_sql.py

exec
/bin/zsh -lc "nl -ba src/tests/surfaces/test_d143_openapi_additive.py; nl -ba src/tests/surfaces/test_openapi_export.py; rg -n '"'^##|release|matrix|amd64|arm64'"' plan/designs/p2_graph_design.md; git log -3 --oneline; git rev-parse HEAD" in /Users/jpuc/code/moje/remember-stack-release-0180-review-20261106
succeeded in 0ms:
1 """D143 §8: the published OpenAPI document changes only by additions.
2
3 The layer toggles add one route (GET /processing-layers), an optional
4 layers query parameter on the operation and SQL routes, and the schemas
5 those reference. Removing exactly those from today's export must give back the
6 pre-D143 document, byte for byte after canonical serialisation; its hash is
7 pinned here because the old document itself is a build product of history.
8 """
9
10 from future import annotations
11
12 import hashlib
13 import json
14 from pathlib import Path
15 import sys
16 from typing import Any
17 from typing import Final
18
19 _ROOT = Path(file).parents[3]
20 sys.path.insert(0, str(_ROOT / "scripts"))
21
22 _PRE_D143_SHA256: Final = (
23 "c2bce70429554311e8564e59b2429e371798da1712e3be6aa3bb1c44eff5578f"
24 )
25 """Canonical hash of openapi.json at fbcd489 (main just before D143's code)."""
26
27 _PRE_D143_VERSION: Final = "0.17.2"
28 """info.version in that document; a release bump is not a D143 change."""
29
30 _ADDED_ROUTES: Final = frozenset({"/processing-layers"})
31 _ADDED_SCHEMAS: Final = frozenset(
32 {"ProcessingLayer", "ProcessingLayerStates", "OutputProcessingLayerStates"}
33 )
34
35
36 def without_d143_additions(document: dict[str, Any]) -> dict[str, Any]:
37 """The document with the D143 route, layers parameters and schemas removed.
38
39 info.version is reset to the pre-D143 release, so the pinned hash
40 survives version bumps.
41 """
42 stripped = json.loads(json.dumps(document))
43 stripped["info"]["version"] = _PRE_D143_VERSION
44 for path in _ADDED_ROUTES:
45 stripped["paths"].pop(path, None)
46 for operations in stripped["paths"].values():
47 for operation in operations.values():
48 if not isinstance(operation, dict) or "parameters" not in operation:
49 continue
50 kept = [p for p in operation["parameters"] if p.get("name") != "layers"]
51 if kept:
52 operation["parameters"] = kept
53 else:
54 del operation["parameters"]
55 schemas = stripped.get("components", {}).get("schemas", {})
56 for name in _ADDED_SCHEMAS:
57 schemas.pop(name, None)
58 return stripped
59
60
61 def canonical_sha256(document: dict[str, Any]) -> str:
62 """Hash of the document with sorted keys and no insignificant whitespace."""
63 encoded = json.dumps(document, sort_keys=True, separators=(",", ":"))
64 return hashlib.sha256(encoded.encode("utf-8")).hexdigest()
65
66
67 def test_the_export_is_the_pre_d143_document_plus_its_additions() -> None:
68 """Strip the additions and nothing else may differ (descriptions included)."""
69 from export_openapi import build_document
70
71 assert canonical_sha256(without_d143_additions(build_document())) == (
72 _PRE_D143_SHA256
73 )
1 """The published schema must describe the API this repo actually serves.
2
3 The deployment's OpenAPI document is what clients are generated from, so a
4 document that drifts from the code is worse than no document: consumers compile
5 against it and the mismatch only surfaces at runtime, on someone else's
6 machine.
7
8 Two ways it can drift, and one test each. It can go stale, because the checked
9 in file is a build product that nobody regenerates. And it can go quietly
10 incomplete
, because routes mount conditionally on ports — an export that
11 forgot a port publishes a schema missing those endpoints and looks entirely
12 valid, so a generated client simply would not have them.
13 """
14
15 from future import annotations
16
17 import inspect
18 import json
19 from pathlib import Path
20 import sys
21 from typing import Any
22
23 _ROOT = Path(file).parents[3]
24 _SCHEMA = _ROOT / "openapi.json"
25
26 sys.path.insert(0, str(_ROOT / "scripts"))
27
28
29 def _routes(document: dict[str, Any]) -> set[tuple[str, str]]:
30 """(METHOD, path) pairs the document declares."""
31 return {
32 (method.upper(), path)
33 for path, operations in document.get("paths", {}).items()
34 for method in operations
35 if method.lower() in {"get", "post", "put", "patch", "delete"}
36 }
37
38
39 def exported() -> dict[str, Any]:
40 """A freshly built document, straight from the app."""
41 from export_openapi import build_document
42
43 return build_document()
44
45
46 def test_this_file_still_defines_every_test_it_should() -> None:
47 """Guard against a test silently disappearing from this file.
48
49 Twice while writing these checks, an edit that rewrote a block of this file
50 deleted a test along with it. Nothing failed — a deleted test cannot fail —
51 and the claim it had supported stayed in the commit message, describing a
52 guarantee that no longer existed. That is the quietest way for a suite to
53 rot: not a test that breaks, but one that stops being there.
54
55 Counting is crude, and deliberately so: it costs one line to update when a
56 test is added on purpose, and it is the only thing that notices when one
57 vanishes by accident.
58 """
59 source = Path(file).read_text(encoding="utf-8")
60 defined = {
61 line.removeprefix("def ").split("(")[0]
62 for line in source.splitlines()
63 if line.startswith("def test
")
64 }
65 assert len(defined) == 8, (
66 f"this file defines {len(defined)} tests: {sorted(defined)}. If you "
67 f"added or removed one deliberately, update this count; if you did not, "
68 f"an edit has silently dropped a test."
69 )
70
71
72 def test_the_checked_in_schema_matches_the_app() -> None:
73 """Regenerate and compare, so the committed document cannot go stale.
74
75 The file is a build product, and build products rot silently — a route
76 added to http_api.py without rerunning the export leaves consumers
77 generating clients against yesterday's surface. Comparing the parsed
78 documents rather than the bytes means reformatting the file is fine while
79 changing what it says is not.
80 """
81 assert _SCHEMA.exists(), (
82 "openapi.json is missing; regenerate it with "
83 "uv run python scripts/export_openapi.py -o openapi.json"
84 )
85 committed = json.loads(_SCHEMA.read_text(encoding="utf-8"))
86 assert committed == _exported(), (
87 "openapi.json no longer matches the app; regenerate it with "
88 "uv run python scripts/export_openapi.py -o openapi.json"
89 )
90
91
92 #: Every route the exported document must declare, and no others.
93 #:
94 #: Frozen as a set rather than spot-checked. An earlier version named four
95 #: routes it cared about, and passed happily while the exporter omitted the
96 #: operations surface, all seven open-query endpoints and /deployment —
97 #: because a missing route is invisible to a test that only asks about the
98 #: routes it remembered.
99 #:
100 #: This list is reviewed, not derived, and the distinction is load-bearing.
101 #: Whether a route is one a real deployment serves cannot be settled by reading
102 #: source: capabilities are resolved at run time from settings, so the profile
103 #: names some it may not compose, and an attempt to check the call sites
104 #: mechanically was defeated six different ways before it was abandoned. What
105 #: a test can do is refuse to let the published surface change without a
106 #: person editing this list and saying why — which is how the phantom
107 #: /connectors routes, absent from every shipped deployment, would have been
108 #: caught: not by the machine, but by the edit being visible.
109 _SURFACE: frozenset[tuple[str, str]] = frozenset(
110 (
111 ("DELETE", "/documents/{doc_id}"),
112 ("DELETE", "/documents/{doc_id}/effective-periods"),
113 ("PUT", "/documents/{doc_id}/versions/{version_id}/effective-periods"),
114 ("GET", "/chunks/{chunk_id}/adjacent"),
115 ("GET", "/deployment"),
116 ("GET", "/documents"),
117 ("POST", "/documents/search"),
118 ("GET", "/documents/{doc_id}/sections/{section_key}/history"),
119 ("PUT", "/documents/{doc_id}/versions/{version_id}/references"),
120 ("GET", "/documents/{doc_id}/versions/{version_id}/references"),
121 ("POST", "/documents/references"),
122 ("GET", "/hydrate/relation/{relation_id}"),
123 ("GET", "/lookup/observations"),
124 ("GET", "/lookup/relations"),
125 ("GET", "/operations"),
126 ("GET", "/processing-layers"),
127 ("GET", "/query/saved"),
128 ("GET", "/query/saved/{namespace}/{name}"),
129 ("GET", "/query/space"),
130 ("GET", "/query/space/search"),
131 ("GET", "/resolve"),
132 ("GET", "/search/chunks"),
133 ("GET", "/search/claims"),
134 ("GET", "/transcript/relation/{relation_id}"),
135 ("POST", "/chunks/adjacent"),
136 ("POST", "/graph/citation-path"),
137 ("POST", "/graph/neighborhood"),
138 ("POST", "/graph/path"),
139 ("POST", "/ingest"),
140 ("POST", "/operations/{name}"),
141 ("POST", "/query/saved/{namespace}/{name}/run"),
142 ("POST", "/query/sql"),
143 ("POST", "/query/sql/explain"),
144 ("POST", "/readiness"),
145 ("POST", "/search/chunks"),
146 ("POST", "/search/claims"),
147 )
148 )
149
150
151 #: build_api parameters that compose a capability.
152 #:
153 #: Most mount routes. auth and spend_lease do not — the first adds a
154 #: dependency and the bearer scheme, the second installs middleware — but they
155 #: are capabilities all the same, which is why this is not called a route list.
156 #:
157 #: Listed rather than inferred, because "optional parameter" and "capability"
158 #: are not the same thing: a body-size cap is optional and composes nothing.
159 #: The signature test below fails on an optional parameter that appears in
160 #: neither list, so a capability added later cannot pass unnoticed.
161 _CAPABILITY_PORTS = frozenset(
162 {
163 "surface",
164 "open_query",
165 "auth",
166 "spend_lease",
167 "ingest",
168 "connectors",
169 "pipeline_readiness",
170 "documents",
171 "document_search",
172 "section_history",
173 "references",
174 "document_references",
175 "deletion",
176 "effective_time",
177 "graph",
178 "build_info",
179 "processing_layers",
180 }
181 )
182
183 #: Optional build_api parameters that tune behaviour without composing one.
184 #:
185 #: A body-size cap changes how a request is handled, not what the deployment
186 #: can do. Keeping the two lists apart is what lets the signature check be
187 #: exhaustive: every optional parameter must be one or the other, deliberately.
188 #: A task queue only announces the work a request created (D147); it mounts
189 #: no route.
190 _POLICY_PARAMETERS = frozenset(
191 {"ingest_body_max_bytes", "direct_admission", "task_queue"}
192 )
193
194
195 def test_every_optional_capability_is_classified() -> None:
196 """The two lists above must still cover every optional build_api parameter.
197
198 They are hand-kept, so they rot the moment someone adds a capability and
199 does not touch them. This does not check that the exporter and the profile
200 compose the same things — nothing here does, because run-time settings
201 decide that — it checks the smaller thing that is actually knowable: a new
202 optional parameter has been consciously classified as a capability or a
203 policy knob, rather than slipping in unconsidered.
204
205 This test was itself deleted once by an edit that rewrote the surrounding
206 block, and nothing noticed until review: the claim that the mutation failed
207 stayed in the commit message while the check that made it true was gone.
208 Hence the count assertion in test_this_file_still_defines_every_test_it_should.
209 """
210 from rememberstack.surfaces import http_api
211
212 optional = {
213 name
214 for name, parameter in inspect.signature(http_api.build_api).parameters.items()
215 if parameter.default is None
216 }
217 assert _CAPABILITY_PORTS <= optional, (
218 f"named but not an optional build_api parameter: "
219 f"{sorted(_CAPABILITY_PORTS - optional)}"
220 )
221 unlisted = optional - _CAPABILITY_PORTS - _POLICY_PARAMETERS
222 assert not unlisted, (
223 f"build_api gained optional parameters not classified here: "
224 f"{sorted(unlisted)}. Add a capability to _CAPABILITY_PORTS, or a knob "
225 f"that composes nothing to _POLICY_PARAMETERS. If it mounts routes, "
226 f"regenerate openapi.json and _SURFACE too."
227 )
228
229
230 def test_the_exported_surface_is_exactly_the_surface_we_publish() -> None:
231 """The document must declare every route, and nothing extra.
232
233 Routes mount conditionally on ports, so an export that forgot a port
234 publishes a schema missing those endpoints and looks entirely valid: a
235 generated client would simply lack them, and nothing would fail until
236 someone called one. Comparing the whole set is what turns that into a test
237 failure instead of a support ticket.
238
239 The unexpected direction matters too. A route appearing here that nobody
240 meant to publish is a surface expansion, and the schema is exactly where
241 that should be noticed.
242 """
243 exported = _routes(_exported())
244 assert exported == set(_SURFACE), (
245 f"missing: {sorted(set(_SURFACE) - exported)}\n"
246 f"unexpected: {sorted(exported - set(_SURFACE))}"
247 )
248
249
250 def test_the_schema_declares_the_credential_a_guarded_deployment_requires() -> None:
251 """A contract without its auth is a contract clients cannot satisfy.
252
253 A deployment that composes an auth perimeter rejects every unauthenticated
254 call, so a client generated from a document that never mentions credentials
255 compiles cleanly and then fails on the first request. Declaring the bearer
256 scheme is what lets generation produce a client that can actually talk to a
257 guarded deployment.
258 """
259 schemes = _exported().get("components", {}).get("securitySchemes", {})
260 assert "HTTPBearer" in schemes, (
261 "no bearer security scheme; a generated client would not send a credential"
262 )
263
264
265 def test_the_schema_reports_the_package_version() -> None:
266 """A document labelled 0.1.0 tells a consumer nothing about what it describes.
267
268 FastAPI defaults the version, and a published asset carrying that default
269 would be indistinguishable across releases — exactly the wrong property for
270 an artifact whose whole job is to pin a contract to a version.
271 """
272 from rememberstack import version
273
274 assert _exported()["info"]["version"] == version
275
276
277 def test_the_schema_carries_the_shapes_those_routes_answer_with() -> None:
278 """A route without its response schema generates a client returning any.
279
280 Declaring the path is only half a contract. If the component schemas were
281 missing, generation would still succeed and produce untyped responses —
282 the drift this whole file exists to prevent, arriving through the back
283 door.
284 """
285 schemas = _exported().get("components", {}).get("schemas", {})
286 for name in (
287 "DocumentPage",
288 "DocumentSummary",
289 "DocumentVersionSummary",
290 "AdjacentChunksRequest",
291 ):
292 assert name in schemas, f"{name} is missing from the published schema"
293 assert "SearchRequest" in schemas, (
294 "SearchRequest is missing; the POST search bodies would generate untyped"
295 )
296
297
298 def test_documenting_the_credential_did_not_start_enforcing_it() -> None:
299 """The scheme must describe the contract without ever refusing a request.
300
301 HTTPBearer refuses a missing credential by default (401 on the pinned
302 FastAPI, 403 on some versions — the code varies, the refusal does not).
303
304 On a gated route that refusal is merely redundant, because _perimeter is
305 registered first and already answers 401, so a test checking only a gated
306 route would pass either way and prove nothing. The real damage is on the
307 one route the perimeter deliberately exempts: GET /healthz is the Compose
308 liveness probe and is reached without a credential by design. An
309 auto_error=True scheme sits outside that exemption and would refuse it,
310 failing the container's health check while every other route still worked —
311 the kind of breakage that reads as an infrastructure fault for a long time.
312
313 So the scheme is declared with auto_error=False: it never raises, and
314 _perimeter stays the sole enforcement point. This checks both routes,
315 because only the exempt one can tell the difference.
316 """
317 from uuid import UUID
318
319 from export_openapi import _Boundary
320 from export_openapi import _Unused
321 from fastapi.testclient import TestClient
322
323 from rememberstack.model import AuthenticatedContext
324 from rememberstack.model import PerimeterCredential
325 from rememberstack.surfaces.http_api import build_api
326
327 served = UUID("11111111-2222-3333-4444-555555555555")
328
329 class _Auth:
330 """Accepts exactly one credential for the deployment under test."""
331
332 def authenticate(
333 self, *, credential: PerimeterCredential
334 ) -> AuthenticatedContext:
335 """Authenticate good; refuse anything else."""
336 if credential.value.get_secret_value() == b"good":
337 return AuthenticatedContext(deployment_id=served, principal="agent")
338 raise ValueError("unknown credential")
339
340 boundary = _Boundary(deployment_id=served)
341 app = build_api(
342 engine=_Unused(), # type: ignore[arg-type]
343 deployment_id=served,
344 admission=boundary, # type: ignore[arg-type]
345 readiness=boundary, # type: ignore[arg-type]
346 auth=_Auth(), # type: ignore[arg-type]
347 documents=_Unused(), # type: ignore[arg-type]
348 )
349
350 # The self-host profile adds this route to the built app; the liveness
351 # probe's exemption lives in _perimeter, so reproduce the shape here.
352 @app.get("/healthz", include_in_schema=False)
353 def healthz() -> dict[str, str]:
354 """Stand in for the profile's probe, which needs no credential."""
355 return {"status": "ok"}
356
357 client = TestClient(app)
358
359 # Gated route: refused, and with the code clients already handle.
360 assert client.get("/documents").status_code == 401
361 # Exempt route: still reachable with no credential at all.
362 assert client.get("/healthz").status_code == 200
16:## 1. Problem and decision
49:read. PostgreSQL 19 Beta 4 reverted SQL/PGQ, so release candidate 1 and the
50:final release cannot parse it. PG19's SQL/PGQ was only a query rewrite: a
60:## 2. Product contract
78:## 3. Authority and graph model
80:### 3.1 Sources
117:### 3.2 The current and history graphs
153:### 3.3 No entity types
160:## 4. Query execution
162:### 4.1 Fixed one-hop read
269:### 4.2 Work-bounded frontier traversal
394:### 4.3 Temporal semantics
417:### 4.4 Transaction snapshot
448:## 5. Retrieval behavior
474:## 6. Global graph analytics
497:## 7. Security and admission boundary
521:### Surface and transport contract
537:## 8. Capacity and isolation
585:## 9. PostgreSQL 19 and extension posture
587:The reference image tracks the latest PostgreSQL 19 prerelease by exact image
588:digest: first the Beta 3 image proven in the analysis, release candidate 1
589:since 2026-11-06, and the final release when it ships. There are no user
592:- no prerelease database contains irreplaceable production data;
597:- the complete extension/one-hop/traversal matrix passes on both linux/amd64 and
598: linux/arm64, with per-architecture image/artifact digests recorded;
599:- prerelease-to-prerelease data-directory compatibility is not assumed;
604:pinned to an upstream release of 1.5.1 or later (D142), which supports
611:distribution when the required notices accompany copies. OSS release
615:## 10. Failure, recovery, forget, and upgrade
617:### Failure
625:### Recovery
635:### Hard forget
643:### Schema and version upgrades
648:During PostgreSQL 19 prereleases, rollback is rebuild-and-restore from a
658:## 11. Observability and readiness
679:invalid-short/valid-longer temporal path are CI, release, restore-drill, and
707:## 12. Acceptance gates
731: and query-space tests pass on both linux/amd64 and linux/arm64 images;
745:## 13. Costs and rejected alternatives
759: release lacks PostgreSQL 19 and the required per-edge temporal predicate;
e940e4d Record the 0.18.0 PostgreSQL release matrix; keep the D143 OpenAPI pin version-free
c476ccb chore(release): prepare v0.18.0
0de5d15 Merge pull request #540 from writeitai/fix/spend-gate-empty-segments
e940e4d

exec
/bin/zsh -lc "nl -ba RELEASING.md | sed -n '1,220p'; nl -ba docker/README.md | sed -n '1,190p'; sed -n '1,100p' plan/README.md" in /Users/jpuc/code/moje/remember-stack-release-0180-review-20261106
succeeded in 0ms:
1 # Releasing RememberStack
2
3 The Release workflow publishes one version to PyPI and GHCR, then creates a GitHub release
4 containing the Python distributions, the same version-pinned compose.yaml, the generated
5 openapi.json, and the example environment as default.env.example (GitHub's public asset
6 name for the source .env.example). It accepts only tags exactly matching
7 vMAJOR.MINOR.PATCH.
8
9 ## One-time owner setup
10
11 The one-time owner setup is complete:
12
13 1. D77 records explicit acceptance of the preliminary naming risk. CLA.md, the trademark policy,
14 pull-request template, and metadata-only CLA workflow are present. The emitted CLA status is
15 a required main check with administrator enforcement.
16 2. The GitHub repository is writeitai/remember-stack. Update each existing clone if needed:
17
18 bash 19 git remote set-url origin git@github.com:writeitai/remember-stack.git 20
21
22 Under D108, the canonical PyPI distribution is remember (providing the remember CLI launcher
23 and the remember Python client package),
24 published from this repository starting with v0.17.0. The container image package is ghcr.io/writeitai/remember-stack.
25 3. The GitHub environment pypi requires an owner review, so a tag cannot publish to PyPI without
26 explicit approval.
27 4. The PyPI account uses two-factor authentication and has an active
28 Trusted Publisher
29 with these exact values:
30
31 | Field | Value |
32 |---|---|
33 | PyPI project name | remember |
34 | GitHub owner | writeitai |
35 | Repository | remember-stack |
36 | Workflow | release.yml |
37 | Environment | pypi |
38
39 This publisher replaced the retired writeitai/ultimate-memory-cloud / release-remember.yml
40 / pypi-remember publisher after the 0.17.0 upload succeeded. Do not restore a second
41 publisher for the same package.
42 5. The active Protect release tags ruleset restricts creation, update, and deletion of tags
43 matching v* to repository administrators. The workflow token cannot create these tags.
44
45 No PyPI password or long-lived API token belongs in GitHub secrets. The workflow requests a
46 short-lived OpenID Connect credential and grants id-token: write only to the PyPI job.
47
48 ## Cutting a release
49
50 Prepare a normal pull request that updates both project.version in pyproject.toml and the
51 GHCR tag in compose.yaml. Update release-facing documentation in the same pull request. The
52 contract check rejects drift:
53
54 bash 55 uv run python scripts/check_release_contract.py --tag v0.17.0 56
57
58 That release pull request also refreshes the PostgreSQL foundation pins in
59 Dockerfile.postgres: use the reviewed PostgreSQL 19 prerelease/GA base digest,
60 pin the intended PGDG pgvector and pg_partman package versions, and pin the
61 pg_textsearch source revision plus source, compatibility-patch, license, and
62 notice checksums. Build the Dockerfile for both architectures, record each
63 embedded artifact manifest and immutable image digest, and run the extension
64 and graph release matrix before tagging. The tag workflow then rebuilds and
65 publishes ghcr.io/writeitai/remember-stack-postgres:19rc1-VERSION for both
66 architectures and attaches postgres-image-digests.json to the GitHub release;
67 UMC consumes the recorded manifest digest, never that human-readable tag.
68 Updating the foundation pins remains a manual, reviewable patch cadence;
69 publishing and digest capture are mechanical and mutable database-image tags
70 are not used.
71
72 After that pull request is merged and main is green, tag its exact merge commit:
73
74 bash 75 git switch main 76 git pull --ff-only 77 git tag -a v0.17.0 -m "Remember 0.17.0" 78 git push origin v0.17.0 79
80
81 An administrator must push the tag at the exact verified source commit before
82 the GitHub-release job runs. A main push may start the workflow before the
83 tag exists; if the job then fails with the tag-creation rule, create the
84 annotated tag at that immutable source SHA and rerun only the failed jobs.
85 Never move an existing release tag.
86
87 The workflow validates the tag, runs the release test suite, builds the wheel and source
88 distribution, and publishes remember==0.17.0 plus
89 ghcr.io/writeitai/remember-stack:0.17.0 and the PostgreSQL foundation, both
90 for linux/amd64 and linux/arm64. It creates the GitHub release only after both
91 registries accept their artifacts and both image manifests prove amd64 plus
92 arm64 digests.
93
94 PyPI and GHCR do not support an atomic cross-registry transaction. Never reuse a published
95 version after a partial failure: fix the cause, complete the missing publish when safe, or cut the
96 next patch version.
97
98 ## 0.17.0 cutover record (2026-09-23)
99
100 - Source commit: 78fee141484729be3763fe886c4d7cff595c09e7 (PR #446).
101 The owner-created annotated v0.17.0 tag resolves to that commit.
102 - Release run 35788878236
103 completed on attempt 3. Attempt 1 exposed the missing remember PyPI
104 trusted publisher; attempt 2 published both Python distributions but the
105 workflow token could not create the administrator-protected tag. The owner
106 added the publisher and tag, then resumed the same release.
107 - PyPI has remember==0.17.0
108 wheel and source archive. The one-time
109 rememberstack==0.17.0
110 forwarder was also published, then the rememberstack project was archived
111 rather than deleted. Its 24 releases and existing pins remain available;
112 new uploads are blocked and PyPI search no longer promotes the name.
113 - The GitHub release
114 is titled remember 0.17.0 and attaches only canonical remember Python
115 files alongside deployment inputs and image receipts. Application image:
116 sha256:df9ca49f6249b8a848f429a1688324467615ce7818de37dfc19e8c589678b587.
117 PostgreSQL multi-architecture manifest:
118 sha256:59ed1414da1f5f366b7e1c5f0f6028a9bc99a15183debbd6d52d3b4a94062684
119 (amd64 and arm64 receipts attached).
120 - The PyPI remember project now lists only this repository's release.yml
121 / pypi trusted publisher. No long-lived publishing token was created.
122
123 ## GHCR visibility
124
125 The remember-stack container package was made public after the v0.1.0 image push, so later
126 versions in the same package support anonymous Compose pulls without another visibility step. A
127 new package namespace would default to private and require the same one-time review. GitHub warns
128 that a public package cannot be made private again.
129
130 The image carries standard OCI source labels generated from the repository metadata, which links
131 the package back to this repository. Docker Hub is intentionally not a second publication target.
132
133 ## Verify the public artifacts
134
135 Run these checks from a clean machine or temporary directory:
136
137 bash 138 uvx --from remember==0.17.0 remember --version 139 docker pull ghcr.io/writeitai/remember-stack:0.17.0 140 gh release download v0.17.0 --repo writeitai/remember-stack \ 141 --pattern compose.yaml --pattern default.env.example --pattern openapi.json 142 found=$(jq -r '.info.version' openapi.json) || { 143 echo "cannot read openapi.json" >&2 144 exit 1 145 } 146 [ "$found" = "0.17.0" ] || { 147 echo "openapi.json is version $found, expected 0.17.0" >&2 148 exit 1 149 } 150 cp default.env.example .env 151 docker compose --env-file .env up --no-build --pull always --detach --wait 152 curl --fail http://localhost:8000/healthz 153 docker compose --env-file .env down --volumes 154
155
156 The final command deletes the disposable verification deployment and its volumes.
1 # PostgreSQL image release evidence
2
3 Dockerfile.postgres is the only supported database image definition. It pins
4 the PostgreSQL 19 prerelease base (release candidate 1, 19rc1-trixie) by
5 digest, pins PGDG extension package versions, and builds pg_textsearch from a
6 checksum-verified source archive (no local patch: v1.5.1 supports PostgreSQL 19
7 upstream, D142).
8
9 The RC 1 headers no longer include <limits.h> indirectly, and pg_textsearch
10 v1.5.1 uses INT_MAX without including it (upstream issue
11 timescale/pg_textsearch#586,
12 open on 2026-11-06). The build adds -include limits.h to the server's own
13 preprocessor flags instead of changing the source; drop the flag once a pinned
14 release includes the header itself.
15
16 pgvector is pinned to the PGDG build 0.8.6-1.pgdg13+2, which PGDG rebuilt
17 against the Beta 4 headers; that is the tested pin (PGDG also publishes
18 0.8.7-1.pgdg13+1). Between Beta 4 and RC 1 the
19 index access-method interface (access/amapi.h) is unchanged, and the one
20 changed index-vacuum struct (IndexVacuumInfo, a new is_autovacuum flag)
21 moves only fields pgvector 0.8.6 does not read (checked against the
22 postgresql-server-dev-19 19beta4 and 19rc1 packages and the v0.8.6 source,
23 2026-11-06). pg_partman's background worker uses only interfaces whose headers
24 are unchanged between Beta 3 and RC 1.
25
26 Exact pgvector and pg_partman Debian versions resolve from PGDG's all-versions
27 trixie-pgdg-archive repository, not the rotating current-version index. PGDG
28 documents that archive as the daily-updated repository containing every
29 released package version; retrieved 2026-08-27 from
30 https://apt-archive.postgresql.org/.
31
32 ## pg_textsearch provenance
33
34 - source revision: fa142d049d08eac45a263f5abc250c8877ae076e (tag v1.5.1)
35 - source archive SHA-256:
36 445a546810cbc17e15d05ff8a391f1b693eab382a2ef6efbf72e1c37fa0c48d0
37 - PostgreSQL 19: supported upstream since v1.5.0 as best effort with
38 non-blocking CI (README at the pinned revision),
39 so this image's own integration suite is the PostgreSQL 19 gate; the former
40 local compatibility patch is retired (retrieved 2026-10-21)
41 - license determination: the pinned revision's LICENSE identifies The
42 PostgreSQL License
(PostgreSQL identifier), and its NOTICE says the
43 extension is licensed under that license; unchanged at v1.5.1 (same
44 checksums), retrieved 2026-10-21
45 - license SHA-256:
46 d33de21a123ce25b41722a5d10750984cb9c844c4d9b01add9e1b31f3ff452e5
47 - notice SHA-256:
48 ff70cf4336c579957368a71c6b6b66ee8954011deef2b3d2c7a11f931080851d
49 - license evidence: both files are checksum-verified during the build and
50 copied to /usr/share/doc/pg_textsearch/ in the runtime image
51
52 The build writes SHA-256 values for the installed shared object, control file,
53 and SQL migration files to
54 /usr/share/doc/pg_textsearch/artifacts.sha256. Because that file is produced
55 inside each build platform, it is also the per-architecture binary record.
56
57 ## Release matrix
58
59 For each PostgreSQL beta, RC, and GA candidate, build both linux/amd64 and
60 linux/arm64. Record the immutable image digest and the embedded artifact
61 manifest for each architecture, then run migrations, extension smoke tests,
62 the pg_textsearch regression suite, graph correctness tests, and the complete
63 RememberStack test suite. Managed deployment remains blocked unless amd64
64 passes; self-host release remains blocked unless both architectures pass.
65
66 The tag workflow mechanically publishes the two-platform manifest and attaches
67 postgres-image-digests.json, containing its immutable digest plus both child
68 digests, to the GitHub release. The release-contract checker fails if that job,
69 either required platform, or the digest evidence artifact disappears.
70
71 ### 0.18.0 (PostgreSQL 19 RC 1), 2026-11-06
72
73 These pins were re-verified for this release, and none changed:
74 - Base image. The pinned index sha256:f6bab621… lists the same children as the
75 19rc1-trixie tag's current index, sha256:4b3e4b2e…. Both have amd64
76 sha256:2683c85306de152af6475f669cec1b172a3bfb77f7928cfe46b8c6dd338aa7a5 and
77 arm64 sha256:40ec4717d7f11d1456c7ced89d4bcdb7a7b8727ddadf652b09765b4440cbbc4b.
78 Only the riscv64 child was rebuilt. The server package is 19~rc1-1.pgdg13+1.
79 - PGDG packages. The pgvector and pg_partman versions pinned above resolve from the
80 archive.
81 - pg_textsearch. The source archive, LICENSE and NOTICE checksums match. The pinned
82 revision is tag v1.5.1.
83
84 Each architecture was built locally from this Dockerfile with no build cache:
85 - arm64 was built natively.
86 - amd64 was built under Rosetta emulation on an Apple Silicon host.
87
88 | | linux/amd64 | linux/arm64 |
89 |---|---|---|
90 | Local image ID (not pushed) | sha256:0a99756fdb833ec133ee75ae2458b3da9f95c15b23976931b227667fb96e2a3d | sha256:8affa2dd4a8ae6724f1aa085591aa5f73ec00c8c31d51c417b3c6edd9d5d5441 |
91 | artifacts.sha256 (file SHA-256) | 67e0e0b3bb6cdb5239f1a9b6abaf7ae55980499100beaa05be4da476baf6e0d9 | 6c2e3491af7c05daaf602f5d57d11a9a39b27ff91981f9ca7241f0c8605e21a5 |
92 | pg_textsearch.so | 302e2123c5cb464dccd744bd520cf0980e48e4aacc0179184e6bcf9540b7fd7a | b3c183a5741815d142d339240d426ff48ad7f7822f88e04f5628c62e70ab5e16 |
93 | pg_textsearch regression suite | 82/82 | 82/82 |
94
95 The control and SQL files are byte-identical on both architectures. The .so lines differ.
96 The arm64 .so checksum also came out the same in an earlier cached build.
97
98 The published registry digests are a separate record. The tag workflow writes them to
99 postgres-image-digests.json on the GitHub release.
100
101 Tests run against these images:
102 - amd64 (Rosetta). The migration, pgvector/HNSW, pg_textsearch/BM25, pg_partman,
103 one-hop, traversal, readiness, ops, query-space and restore suites: 277 passed.
104 - amd64 (native). Main CI run 42303684449 at 0de5d1506 ran the workers, surfaces
105 and adapters integration suites against this Dockerfile on Linux amd64, and they passed.
106 - arm64. The complete suite: 4479 passed, 6 skipped, 2 xfailed. One test failed
107 only because it pinned the old info.version (test_d143_openapi_additive). The
108 release PR fixes it, and it now passes.
109
110 The local 2026-08-26 arm64 experiment passed 71/71 upstream pg_textsearch SQL
111 regression tests. It is evidence for this patch, not a substitute for the
112 two-architecture release matrix. A broken local Docker daemon is likewise an
113 open execution gate, never a reason to waive the image build.

Planning corpus

Requirements describe what the engine must do in requirements/. Accepted
architecture lives in designs/; research in analysis/ is non-binding.
plans/ owns build order. The canonical numbered authority log is
decisions.md. Design acceptance does not establish shipped behavior.

For package and release identity, start with D108's unified distribution
design
. The
release-identity analysis
explains why GitHub preserves the remember-stack history while public Python
releases expose only remember, and why the retired PyPI name is archived
rather than deleted.

For credentials and client surfaces — the one signed key, the shared
remember.mcp_tools catalogue, the project routing argument, remember mcp
engine and bridge modes, remember setup, and the perimeter's signed-key
contract — start with D136's design
and its analysis. It amends the
credential and login parts of D92/D108.

For the temporal program, start with D118 mutable fact windows
and the implementation sequence. The
analysis explains the independent audits
and rejected alternatives. PR #384 withdraws the old incomplete implementation;
this design does not claim that the replacement runtime ships.

For the processing improvements, see D120 clear prompts,
D121 concise evidence,
D122 document references and
D123 contextual nomination.
The analysis explains the costs and
alternatives; the delivery plan coordinates
these with D119 multi-span extraction in PR #400. Grouped adjudication remains
an unchosen proposal.

D107's canonical arithmetic and extraction
remain applicable. Its other fact-time rules and the D110–D113 framework are
superseded by D118's explicit authority map. Their documents and SQL remain
marked as historical artifacts; the PostgreSQL design
no longer incorporates the withdrawn DDL.

For coherent claims and distributed source evidence, start with
D119 multi-span extraction.
The analysis explains the LoCoMo
findings and reuse constraints. Implementation is not implied by design acceptance.

For which file formats the engine accepts and what it produces from each — the format
registry, full/profile/card postures and extraction eligibility — see
D133 format conversion, with D139's
OCR on every accepted PDF page in
the workspace family design;
for finding files and
filtering by author or date, D134 document metadata and search.
The families actually shipped for workspaces, and how they serve coding agents, are
D138 workspace formats.
The analysis records the
current coverage and rejected alternatives; the
delivery order sequences the work.

For conversational anaphora and question-affirmation resolution across dialogue turns,
see D131 cross-turn conversational anaphora extraction
and the analysis.

For byte-authoritative ingest MIME and explicit classes on every object write,
see D132 in the E0 file design
and the analysis.

For deleting a document through the API, SDK, CLI or MCP, see D135 in the
evidence lifecycle design §8
and the analysis. Erasure remains
D74 hard-forget.

For documents whose versions are in force for declared periods (policies, price
lists, standards editions, contract amendments, statutes), stable section keys,
reading text as of a date, and section-level cross-references that are pinned or
floating, start with D140's design
and its analysis; the
delivery plan says which parts ship
together. It also makes D56's version reuse hold for dated versions (text origin time).

For why ranked search must use its indexes, how it keeps eligibility exact and
reports every early stop, and how semantic recall is measured, start with D142 in the P1 search design,
its analysis, the unchosen
distinct-text index proposal and the
delivery plan.

For the full TypeScript counterpart, see D141 TypeScript client,
analysis, the normative parity inventory
and delivery gates. CLI/MCP are separate package boundaries.

For configurable context result counts, automatic fourfold candidate overfetch,
and the separate full LoCoMo retrieval budget, start with
context operations
and the retrieval-depth analysis.

To switch the claims or facts layer off for a deployment, narrow a request to some layers, or
understand how a layer switched on later is backfilled without re-paying for unchanged text,
start with D143's processing layers design and its
analysis.

exec
/bin/zsh -lc "nl -ba src/tests/surfaces/test_d143_openapi_additive.py; nl -ba plan/designs/p2_graph_design.md | sed -n '580,615p;700,744p'; rg -n 'pytest|postgres|runs-on|workers|surfaces|adapters|Dockerfile' .github/workflows/ci.yml .github/workflows/release.yml pyproject.toml src/tests/conftest.py" in /Users/jpuc/code/moje/remember-stack-release-0180-review-20261106
succeeded in 0ms:
1 """D143 §8: the published OpenAPI document changes only by additions.
2
3 The layer toggles add one route (GET /processing-layers), an optional
4 layers query parameter on the operation and SQL routes, and the schemas
5 those reference. Removing exactly those from today's export must give back the
6 pre-D143 document, byte for byte after canonical serialisation; its hash is
7 pinned here because the old document itself is a build product of history.
8 """
9
10 from future import annotations
11
12 import hashlib
13 import json
14 from pathlib import Path
15 import sys
16 from typing import Any
17 from typing import Final
18
19 _ROOT = Path(file).parents[3]
20 sys.path.insert(0, str(_ROOT / "scripts"))
21
22 _PRE_D143_SHA256: Final = (
23 "c2bce70429554311e8564e59b2429e371798da1712e3be6aa3bb1c44eff5578f"
24 )
25 """Canonical hash of openapi.json at fbcd489 (main just before D143's code)."""
26
27 _PRE_D143_VERSION: Final = "0.17.2"
28 """info.version in that document; a release bump is not a D143 change."""
29
30 _ADDED_ROUTES: Final = frozenset({"/processing-layers"})
31 _ADDED_SCHEMAS: Final = frozenset(
32 {"ProcessingLayer", "ProcessingLayerStates", "OutputProcessingLayerStates"}
33 )
34
35
36 def without_d143_additions(document: dict[str, Any]) -> dict[str, Any]:
37 """The document with the D143 route, layers parameters and schemas removed.
38
39 info.version is reset to the pre-D143 release, so the pinned hash
40 survives version bumps.
41 """
42 stripped = json.loads(json.dumps(document))
43 stripped["info"]["version"] = _PRE_D143_VERSION
44 for path in _ADDED_ROUTES:
45 stripped["paths"].pop(path, None)
46 for operations in stripped["paths"].values():
47 for operation in operations.values():
48 if not isinstance(operation, dict) or "parameters" not in operation:
49 continue
50 kept = [p for p in operation["parameters"] if p.get("name") != "layers"]
51 if kept:
52 operation["parameters"] = kept
53 else:
54 del operation["parameters"]
55 schemas = stripped.get("components", {}).get("schemas", {})
56 for name in _ADDED_SCHEMAS:
57 schemas.pop(name, None)
58 return stripped
59
60
61 def canonical_sha256(document: dict[str, Any]) -> str:
62 """Hash of the document with sorted keys and no insignificant whitespace."""
63 encoded = json.dumps(document, sort_keys=True, separators=(",", ":"))
64 return hashlib.sha256(encoded.encode("utf-8")).hexdigest()
65
66
67 def test_the_export_is_the_pre_d143_document_plus_its_additions() -> None:
68 """Strip the additions and nothing else may differ (descriptions included)."""
69 from export_openapi import build_document
70
71 assert canonical_sha256(without_d143_additions(build_document())) == (
72 _PRE_D143_SHA256
73 )
580 after recreating the helpers. The citation-path helper keeps the default planner
581 because it is not one of the recursive entity-expansion helpers.
582 Measurements record hardware, cardinality, skew, and p50/p95/p99 rather than
583 weakening correctness to a small-fixture promise.
584
585 ## 9. PostgreSQL 19 and extension posture
586
587 The reference image tracks the latest PostgreSQL 19 prerelease by exact image
588 digest: first the Beta 3 image proven in the analysis, release candidate 1
589 since 2026-11-06, and the final release when it ships. There are no user
590 databases to preserve. Until GA:
591
592 - no prerelease database contains irreplaceable production data;
593 - migrations and representative fixtures must replay from empty storage;
594 - every beta/RC bump rebuilds the image and runs the full migration,
595 pgvector/HNSW, pg_textsearch/BM25, pg_partman, one-hop, traversal, backup,
596 and restore gates;
597 - the complete extension/one-hop/traversal matrix passes on both linux/amd64 and
598 linux/arm64, with per-architecture image/artifact digests recorded;
599 - prerelease-to-prerelease data-directory compatibility is not assumed;
600 - GA is another tested image replacement, after which ordinary supported
601 major/minor upgrade policy resumes.
602
603 The reference image pins pgvector and pg_partman packages. pg_textsearch is
604 pinned to an upstream release of 1.5.1 or later (D142), which supports
605 PostgreSQL 19 upstream, so the earlier 1.3.1 compatibility patch is retired and no
606 local patch is carried (the P1 search design §8.3 bounds the extension's
607 memtable-versus-segment scoring difference instead of patching it).
608 Upstream treats PostgreSQL 19 as best-effort with non-blocking CI, so the image
609 build runs the extension's upstream SQL tests on the pinned PostgreSQL 19 image
610 as a local gate. Its PostgreSQL License permits use, modification, and
611 distribution when the required notices accompany copies. OSS release
612 engineering records source, notice, compiler/toolchain, and per-architecture
613 binary checksums. No floating main branches enter the image.
614
615 ## 10. Failure, recovery, forget, and upgrade
700 edges/paths, truncation, duration, timeout/cancel/error, pool wait, temp bytes,
701 and PostgreSQL query identity. They contain ids/cardinalities, not fact text or
702 secret connection material.
703
704 There is no p2_generation, built_at, snapshot age, download state, local
705 graph path, or rebuild-ready signal.
706
707 ## 12. Acceptance gates
708
709 Implementation is accepted only when all of these pass:
710
711 1. fresh PostgreSQL 19 migration creates the graph views and each view's key
712 query proves unique;
713 2. one-hop tests prove tenant isolation, direction,
714 current/as-of visibility, anchor exclusion, deduplication, deterministic
715 truncation, and byte-identical parity with the canonical traversal at depth
716 one for under-budget inputs; separate
717 dense-hub tests prove the one-hop read's zero-data refusal and the helper's deterministic
718 partial-prefix over-budget contracts;
719 3. frontier tests prove required deployment_id, current/history source
720 selection, both half-open clocks, invalid-short/valid-longer shortest path,
721 directed citation behavior, cycle safety, early target termination,
722 deterministic ordering, whole-path limits, hard frontier/expansion/result
723 clamps, and clean scratch/pool reuse;
724 4. typed graph API parity covers neighborhood/path/citation results without
725 Ladybug or Cypher;
726 5. retrieval tests prove live newly committed edges are available without a
727 graph build and that graph provenance/truncation are preserved;
728 6. forget and restore tests find no graph artifact inventory and prove view
729 disappearance after commit;
730 7. HNSW, BM25, pg_partman, migration, PG18-parser/PG19-executor negative tests,
731 and query-space tests pass on both linux/amd64 and linux/arm64 images;
732 8. repository searches and dependency locks contain no active Ladybug runtime,
733 P2 generation worker, public Cypher route, or P2 readiness contract;
734 9. representative query plans prove frontier-anchored deployment-first index
735 access; an unrelated-tenant scale fixture proves survivor/provenance
736 materialization is deployment-scoped before its fence; and the configured
737 concurrency test does not starve authority writes/search;
738 10. least-privilege tests determine and enforce invoker ACL behavior on every
739 graph view (no owner-based privilege escalation);
740 11. cold-start, backup/restore, missing-catalog fail-closed, and operator
741 graph-catalog ensure drills pass;
742 12. K tests and repository searches prove no community scope/rule/event/page
743 or snapshot-keyed analytics consumer remains.
744
pyproject.toml:44:# connector extras are added with their adapters, rather than speculatively.
pyproject.toml:105: "pytest>=8.3",
pyproject.toml:106: "pytest-asyncio>=0.25",
pyproject.toml:107: "pytest-cov>=6.0",
pyproject.toml:132:# class — never ad hoc. Tests set env via pytest's monkeypatch.setenv, which is not banned.
pyproject.toml:168:[tool.pytest.ini_options]
src/tests/conftest.py:6:environment for the whole pytest run — before any test executes, because
src/tests/conftest.py:22:import pytest
src/tests/conftest.py:35:@pytest.fixture(autouse=True)
src/tests/conftest.py:36:def isolate_optional_provider_pins(monkeypatch: pytest.MonkeyPatch) -> None:
src/tests/conftest.py:59:@pytest.fixture(autouse=True)
src/tests/conftest.py:61: monkeypatch: pytest.MonkeyPatch, tmp_path_factory: pytest.TempPathFactory
.github/workflows/release.yml:23: runs-on: ubuntu-latest
.github/workflows/release.yml:72: runs-on: ubuntu-latest
.github/workflows/release.yml:75: # budgets 45 minutes for workers and 50 for surfaces. At 30 minutes this job
.github/workflows/release.yml:76: # was killed mid-run (reported as "cancelled", with pytest terminated as an
.github/workflows/release.yml:81: REMEMBERSTACK_DATABASE_URL: postgresql+psycopg://rememberstack:rememberstack_test@localhost:5432/rememberstack_test
.github/workflows/release.yml:98: run: .github/ci/start-postgres.sh
.github/workflows/release.yml:123: run: uv run pytest src/tests -q
.github/workflows/release.yml:174: runs-on: ubuntu-latest
.github/workflows/release.yml:234: runs-on: ubuntu-latest
.github/workflows/release.yml:283: # CI builds the arm64 image natively on every Dockerfile or lockfile change.
.github/workflows/release.yml:325: publish-postgres-ghcr:
.github/workflows/release.yml:328: runs-on: ubuntu-latest
.github/workflows/release.yml:354: images: ghcr.io/writeitai/remember-stack-postgres
.github/workflows/release.yml:361: IMAGE: ghcr.io/writeitai/remember-stack-postgres:19rc1-${{ needs.prepare.outputs.version }}
.github/workflows/release.yml:377: file: Dockerfile.postgres
.github/workflows/release.yml:401: -f .github/ci/postgres-evidence.jq
.github/workflows/release.yml:402: > release-evidence/postgres-image-digests.json
.github/workflows/release.yml:406: ' release-evidence/postgres-image-digests.json
.github/workflows/release.yml:408: jq --arg revision "${{ needs.prepare.outputs.source_sha }}" --arg tag "${{ needs.prepare.outputs.tag }}" '. + {source_revision:$revision,tag:$tag}' release-evidence/postgres-image-digests.json > "$tmp"
.github/workflows/release.yml:409: mv "$tmp" release-evidence/postgres-image-digests.json
.github/workflows/release.yml:414: name: postgres-image-evidence
.github/workflows/release.yml:415: path: release-evidence/postgres-image-digests.json
.github/workflows/release.yml:420: needs: [prepare, publish-pypi, publish-ghcr, publish-postgres-ghcr]
.github/workflows/release.yml:421: runs-on: ubuntu-latest
.github/workflows/release.yml:438: name: postgres-image-evidence
.github/workflows/release.yml:479: release-evidence/postgres-image-digests.json
.github/workflows/release.yml:496: runs-on: ubuntu-latest
.github/workflows/release.yml:516: --pattern postgres-image-digests.json
.github/workflows/release.yml:518: test "$(jq -r .tag release-evidence/postgres-image-digests.json)" = '${{ needs.prepare.outputs.tag }}'
.github/workflows/release.yml:520: test "$(jq -r .source_revision release-evidence/postgres-image-digests.json)" = '${{ needs.prepare.outputs.source_sha }}'
.github/workflows/release.yml:526: postgres_digest="$(jq -r .manifest_digest release-evidence/postgres-image-digests.json)"
.github/workflows/release.yml:532: -F "client_payload[postgres_digest]=${postgres_digest}"
.github/workflows/ci.yml:22: runs-on: ubuntu-latest
.github/workflows/ci.yml:27: workers: ${{ steps.filter.outputs.workers }}
.github/workflows/ci.yml:28: surfaces: ${{ steps.filter.outputs.surfaces }}
.github/workflows/ci.yml:29: adapters: ${{ steps.filter.outputs.adapters }}
.github/workflows/ci.yml:42: runs-on: ubuntu-latest
.github/workflows/ci.yml:69: runs-on: ubuntu-latest
.github/workflows/ci.yml:95: uv run pytest "${paths[@]}" -q --tb=short
.github/workflows/ci.yml:99: runs-on: ubuntu-latest
.github/workflows/ci.yml:104: REMEMBERSTACK_DATABASE_URL: postgresql+psycopg://rememberstack:rememberstack_test@localhost:5432/rememberstack_test
.github/workflows/ci.yml:108: run: .github/ci/start-postgres.sh
.github/workflows/ci.yml:120: uv run pytest "${paths[@]}" -v --tb=short
.github/workflows/ci.yml:122: integration-workers:
.github/workflows/ci.yml:123: name: Integration (workers)
.github/workflows/ci.yml:127: || needs.changes.outputs.workers == 'true'
.github/workflows/ci.yml:130: runs-on: ubuntu-latest
.github/workflows/ci.yml:135: REMEMBERSTACK_DATABASE_URL: postgresql+psycopg://rememberstack:rememberstack_test@localhost:5432/rememberstack_test
.github/workflows/ci.yml:139: run: .github/ci/start-postgres.sh
.github/workflows/ci.yml:149: run: uv run pytest src/tests/workers src/tests/spine -q --tb=short
.github/workflows/ci.yml:151: integration-surfaces:
.github/workflows/ci.yml:152: name: Integration (surfaces)
.github/workflows/ci.yml:156: || needs.changes.outputs.surfaces == 'true'
.github/workflows/ci.yml:159: runs-on: ubuntu-latest
.github/workflows/ci.yml:164: REMEMBERSTACK_DATABASE_URL: postgresql+psycopg://rememberstack:rememberstack_test@localhost:5432/rememberstack_test
.github/workflows/ci.yml:168: run: .github/ci/start-postgres.sh
.github/workflows/ci.yml:178: run: uv run pytest src/tests/surfaces src/tests/eval -q --tb=short
.github/workflows/ci.yml:180: integration-adapters:
.github/workflows/ci.yml:181: name: Integration (adapters)
.github/workflows/ci.yml:185: || needs.changes.outputs.adapters == 'true'
.github/workflows/ci.yml:188: runs-on: ubuntu-latest
.github/workflows/ci.yml:193: REMEMBERSTACK_DATABASE_URL: postgresql+psycopg://rememberstack:rememberstack_test@localhost:5432/rememberstack_test
.github/workflows/ci.yml:197: run: .github/ci/start-postgres.sh
.github/workflows/ci.yml:208: uv run pytest src/tests/adapters src/tests/profiles src/tests/spikes -q --tb=short
.github/workflows/ci.yml:217: runs-on: ubuntu-latest
.github/workflows/ci.yml:305: from rememberstack.adapters.selfhost import MinIOObjectStore, MinIOSettings
.github/workflows/ci.yml:363: observed="$(docker compose --env-file .env exec -T postgres
.github/workflows/ci.yml:372: test "$(docker compose --env-file .env exec -T postgres
.github/workflows/ci.yml:422: test "$(docker compose --env-file .env exec -T postgres
.github/workflows/ci.yml:425: test "$(docker compose --env-file .env exec -T postgres
.github/workflows/ci.yml:462: test "$(docker compose "${compose_args[@]}" exec -T postgres
.github/workflows/ci.yml:469: test "$(docker compose --env-file .env exec -T postgres
.github/workflows/ci.yml:472: test "$(docker compose --env-file .env exec -T postgres
.github/workflows/ci.yml:501: runs-on: ubuntu-24.04-arm
.github/workflows/ci.yml:521: runs-on: ubuntu-latest

exec
/bin/zsh -lc 'PYTHONDONTWRITEBYTECODE=1 uv run --frozen pytest -q -p no:cacheprovider src/tests/surfaces/test_d143_openapi_additive.py src/tests/surfaces/test_openapi_export.py' in /Users/jpuc/code/moje/remember-stack-release-0180-review-20261106
exec
/bin/zsh -lc "git show fbcd489:openapi.json | python3 -c 'import sys,json,hashlib; d=json.load(sys.stdin); print("pre-D143 info:", json.dumps(d["info"], sort_keys=True)); print("canonical SHA-256:", hashlib.sha256(json.dumps(d, sort_keys=True, separators=(",", ":")).encode()).hexdigest())'; sed -n '1,100p' src/tests/conftest.py; sed -n '150,185p' pyproject.toml; sed -n '1,140p' .github/ci/start-postgres.sh; sed -n '60,215p' .github/workflows/ci.yml; git diff 0de5d15..e940e4d -- Dockerfile.postgres .github/ci/start-postgres.sh" in /Users/jpuc/code/moje/remember-stack-release-0180-review-20261106
succeeded in 0ms:
pre-D143 info: {"title": "RememberStack query API", "version": "0.17.2"}
canonical SHA-256: c2bce70429554311e8564e59b2429e371798da1712e3be6aa3bb1c44eff5578f
"""Test-suite-wide isolation from the developer's local .env.

Importing markitdown pulls in magika, whose __init__ calls
dotenv.load_dotenv(dotenv.find_dotenv()) at import time. That walks up from the
working directory and loads this repository's .env into the process
environment for the whole pytest run — before any test executes, because
collection imports every test module.

Any BaseSettings constructed afterwards therefore inherits the developer's
local bindings. That made the suite pass in CI (no .env present) while failing
locally, which is the worst failure mode available: green where nobody is
looking and red where the work happens.

The optional pins below are the ones that change provider request payloads
rather than merely supplying a credential, so a leaked value silently alters what
a test asserts. Tests needing them set them explicitly with
monkeypatch.setenv, which runs after this fixture and therefore still wins.
"""

from future import annotations

import pytest

#: Optional pins that alter provider request payloads when present.
_LEAKY_OPTIONAL_PINS = (
"REMEMBERSTACK_OPENROUTER_EMBEDDING_PROVIDER",
"REMEMBERSTACK_OPENROUTER_EMBEDDING_PROVIDER_ORDER",
"REMEMBERSTACK_OPENROUTER_MAX_COMPLETION_TOKENS",
"REMEMBERSTACK_OPENROUTER_REASONING_EFFORT",
"REMEMBERSTACK_OPENROUTER_REASONING_EFFORT_MAP",
"REMEMBERSTACK_OPENROUTER_INVALID_COMPLETION_CAPTURE_DIR",
)

@pytest.fixture(autouse=True)
def isolate_optional_provider_pins(monkeypatch: pytest.MonkeyPatch) -> None:
"""Remove ambient optional provider pins for the duration of each test.

Credentials and connection settings are deliberately left alone: the
Postgres-gated tests rely on them being present.
"""
for name in _LEAKY_OPTIONAL_PINS:
    monkeypatch.delenv(name, raising=False)

#: The client connection variables (D136 §8.2). A developer's own key, engine
#: URL or project must never leak into a test, and no test may read or write the
#: developer's real credential file.
_CLIENT_CONNECTION_VARIABLES = (
"REMEMBER_API_KEY",
"REMEMBER_API_URL",
"REMEMBER_PROJECT",
"REMEMBER_ISSUER",
"REMEMBER_MCP_URL",
"XDG_CONFIG_HOME",
)

@pytest.fixture(autouse=True)
def isolate_client_connection(
monkeypatch: pytest.MonkeyPatch, tmp_path_factory: pytest.TempPathFactory
) -> None:
"""Give every test an empty client environment and its own config directory."""
from remember.connection import clear_host_cache
from remember.issuer import clear_metadata_cache

for name in _CLIENT_CONNECTION_VARIABLES:
    monkeypatch.delenv(name, raising=False)
monkeypatch.setenv(
    "REMEMBER_CONFIG_DIR", str(tmp_path_factory.mktemp("remember-config"))
)
clear_host_cache()
clear_metadata_cache()

the noisy reportUnknown* family is off) with no checks disabled.

Relax-with-receipts rule: any future report*=false here MUST carry a one-line reason

comment and come from observed friction on real code, never pre-emptively. Loosening

later is a one-line change; tightening later means fixing accumulated violations.

[tool.pyright]
pythonVersion = "3.12"
typeCheckingMode = "standard"
include = ["src", "benchmarks"]
extraPaths = ["src", ".", "scripts"]
exclude = ["/.venv", "/virtualenvs", "tmp/"]

Test code has different ergonomics (poking internals, monkeypatching) — relaxed

per-directory, so src/rememberstack stays at full standard.

[[tool.pyright.executionEnvironments]]
root = "src/tests"
reportPrivateUsage = false

[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
pythonpath = ["src", "."]
testpaths = ["src/tests"]

[tool.coverage.run]
source = ["src/rememberstack", "src/remember"]
branch = true
relative_files = true # required by the coverage-comment action

[tool.coverage.report]
show_missing = true
precision = 1
#!/usr/bin/env bash
set -euo pipefail

container_name="rememberstack-postgres-ci"

POSTGRES_IMAGE runs a published image instead of building Dockerfile.postgres

(a released engine needs the PostgreSQL it was released with).

if [ -n "${POSTGRES_IMAGE:-}" ]; then
image_name="${POSTGRES_IMAGE}"
docker pull "${image_name}"
else
image_name="rememberstack-postgres:ci"
docker build --file Dockerfile.postgres --tag "${image_name}" .
fi
docker rm --force "${container_name}" >/dev/null 2>&1 || true
docker run --detach --name "${container_name}"
--env POSTGRES_USER=rememberstack
--env POSTGRES_PASSWORD=rememberstack_test
--env POSTGRES_DB=rememberstack_test
--publish 5432:5432
"${image_name}"
postgres
-c shared_preload_libraries=pg_textsearch,pg_partman_bgw
-c pg_partman_bgw.dbname=rememberstack_test
-c pg_partman_bgw.role=rememberstack

for attempt in $(seq 1 60); do
if docker exec "${container_name}"
psql --username rememberstack --dbname rememberstack_test
--tuples-only --command 'SELECT 1' >/dev/null 2>&1; then
exit 0
fi
sleep 1
done

docker logs "${container_name}"
exit 1
- name: Ruff lint
run: uv run ruff check src/ benchmarks/
- name: Ruff format check
run: uv run ruff format --check src/ benchmarks/
- name: Pyright type check
run: uv run pyright src/ benchmarks/ --pythonversion 3.13

unit:
name: Unit
runs-on: ubuntu-latest
timeout-minutes: 15
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v5
with:
version: "0.12.6"
enable-cache: true
- name: Set up Python 3.13
run: uv python install 3.13
- name: Install dependencies (locked)
run: uv sync --locked --python 3.13
- name: Install LibreOffice (D138 legacy office conversions)
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends
libreoffice-writer-nogui libreoffice-impress-nogui libreoffice-calc-nogui
- name: Unit pack (no Postgres service)
run: |
mapfile -t paths < .github/ci/unit-paths.txt
if [ "${#paths[@]}" -eq 0 ]; then
echo "unit-paths.txt is empty" >&2
exit 1
fi
uv run pytest "${paths[@]}" -q --tb=short

contract-smoke:
name: Contract smoke
runs-on: ubuntu-latest
timeout-minutes: 20
permissions:
contents: read
env:
REMEMBERSTACK_DATABASE_URL: postgresql+psycopg://rememberstack:rememberstack_test@localhost:5432/rememberstack_test
steps:
- uses: actions/checkout@v4
- name: Start PostgreSQL 19 with required extensions
run: .github/ci/start-postgres.sh
- uses: astral-sh/setup-uv@v5
with:
version: "0.12.6"
enable-cache: true
- name: Set up Python 3.13
run: uv python install 3.13
- name: Install dependencies (locked)
run: uv sync --locked --python 3.13
- name: Contract smoke pack
run: |
mapfile -t paths < .github/ci/contract-smoke-paths.txt
uv run pytest "${paths[@]}" -v --tb=short

integration-workers:
name: Integration (workers)
needs: changes
if: >-
github.event_name == 'push'
|| needs.changes.outputs.workers == 'true'
|| needs.changes.outputs.shared_core == 'true'
|| needs.changes.outputs.ci_control == 'true'
runs-on: ubuntu-latest
timeout-minutes: 45
permissions:
contents: read
env:
REMEMBERSTACK_DATABASE_URL: postgresql+psycopg://rememberstack:rememberstack_test@localhost:5432/rememberstack_test
steps:
- uses: actions/checkout@v4
- name: Start PostgreSQL 19 with required extensions
run: .github/ci/start-postgres.sh
- uses: astral-sh/setup-uv@v5
with:
version: "0.12.6"
enable-cache: true
- name: Set up Python 3.13
run: uv python install 3.13
- name: Install dependencies (locked)
run: uv sync --locked --python 3.13
- name: Workers + spine integration
run: uv run pytest src/tests/workers src/tests/spine -q --tb=short

integration-surfaces:
name: Integration (surfaces)
needs: changes
if: >-
github.event_name == 'push'
|| needs.changes.outputs.surfaces == 'true'
|| needs.changes.outputs.shared_core == 'true'
|| needs.changes.outputs.ci_control == 'true'
runs-on: ubuntu-latest
timeout-minutes: 50
permissions:
contents: read
env:
REMEMBERSTACK_DATABASE_URL: postgresql+psycopg://rememberstack:rememberstack_test@localhost:5432/rememberstack_test
steps:
- uses: actions/checkout@v4
- name: Start PostgreSQL 19 with required extensions
run: .github/ci/start-postgres.sh
- uses: astral-sh/setup-uv@v5
with:
version: "0.12.6"
enable-cache: true
- name: Set up Python 3.13
run: uv python install 3.13
- name: Install dependencies (locked)
run: uv sync --locked --python 3.13
- name: Surfaces + eval integration
run: uv run pytest src/tests/surfaces src/tests/eval -q --tb=short

integration-adapters:
name: Integration (adapters)
needs: changes
if: >-
github.event_name == 'push'
|| needs.changes.outputs.adapters == 'true'
|| needs.changes.outputs.shared_core == 'true'
|| needs.changes.outputs.ci_control == 'true'
runs-on: ubuntu-latest
timeout-minutes: 30
permissions:
contents: read
env:
REMEMBERSTACK_DATABASE_URL: postgresql+psycopg://rememberstack:rememberstack_test@localhost:5432/rememberstack_test
steps:
- uses: actions/checkout@v4
- name: Start PostgreSQL 19 with required extensions
run: .github/ci/start-postgres.sh
- uses: astral-sh/setup-uv@v5
with:
version: "0.12.6"
enable-cache: true
- name: Set up Python 3.13
run: uv python install 3.13
- name: Install dependencies (locked)
run: uv sync --locked --python 3.13
- name: Adapters + profiles + spikes integration
run: |
uv run pytest src/tests/adapters src/tests/profiles src/tests/spikes -q --tb=short

compose-quickstart:
name: Compose quickstart
needs: changes
if: >-
github.event_name == 'push'
|| needs.changes.outputs.compose == 'true'

exec
/bin/zsh -lc 'gh run view 42303684449 --repo writeitai/remember-stack --json headSha,headBranch,event,status,conclusion,url,jobs' in /Users/jpuc/code/moje/remember-stack-release-0180-review-20261106
succeeded in 1136ms:
{"conclusion":"cancelled","event":"push","headBranch":"main","headSha":"0de5d1506917b7038d8a8efaeceedc68e35144f3","jobs":[{"completedAt":"2026-11-06T22:19:22Z","conclusion":"success","databaseId":128187568419,"name":"Quality","startedAt":"2026-11-06T22:18:31Z","status":"completed","steps":[{"completedAt":"2026-11-06T22:18:34Z","conclusion":"success","name":"Set up job","number":1,"startedAt":"2026-11-06T22:18:32Z","status":"completed"},{"completedAt":"2026-11-06T22:18:36Z","conclusion":"success","name":"Run actions/checkout@v4","number":2,"startedAt":"2026-11-06T22:18:34Z","status":"completed"},{"completedAt":"2026-11-06T22:18:38Z","conclusion":"success","name":"Run astral-sh/setup-uv@v5","number":3,"startedAt":"2026-11-06T22:18:36Z","status":"completed"},{"completedAt":"2026-11-06T22:18:39Z","conclusion":"success","name":"Set up Python 3.13","number":4,"startedAt":"2026-11-06T22:18:38Z","status":"completed"},{"completedAt":"2026-11-06T22:18:44Z","conclusion":"success","name":"Install dependencies (locked)","number":5,"startedAt":"2026-11-06T22:18:39Z","status":"completed"},{"completedAt":"2026-11-06T22:18:44Z","conclusion":"success","name":"Test inventory drift check","number":6,"startedAt":"2026-11-06T22:18:44Z","status":"completed"},{"completedAt":"2026-11-06T22:18:44Z","conclusion":"success","name":"Architecture dependency check","number":7,"startedAt":"2026-11-06T22:18:44Z","status":"completed"},{"completedAt":"2026-11-06T22:18:45Z","conclusion":"success","name":"Ruff lint","number":8,"startedAt":"2026-11-06T22:18:44Z","status":"completed"},{"completedAt":"2026-11-06T22:18:45Z","conclusion":"success","name":"Ruff format check","number":9,"startedAt":"2026-11-06T22:18:45Z","status":"completed"},{"completedAt":"2026-11-06T22:19:19Z","conclusion":"success","name":"Pyright type check","number":10,"startedAt":"2026-11-06T22:18:45Z","status":"completed"},{"completedAt":"2026-11-06T22:19:19Z","conclusion":"success","name":"Post Run astral-sh/setup-uv@v5","number":19,"startedAt":"2026-11-06T22:19:19Z","status":"completed"},{"completedAt":"2026-11-06T22:19:20Z","conclusion":"success","name":"Post Run actions/checkout@v4","number":20,"startedAt":"2026-11-06T22:19:19Z","status":"completed"},{"completedAt":"2026-11-06T22:19:20Z","conclusion":"success","name":"Complete job","number":21,"startedAt":"2026-11-06T22:19:20Z","status":"completed"}],"url":"https://github.com/writeitai/remember-stack/actions/runs/42303684449/job/128187568419"},{"completedAt":"2026-11-06T22:22:49Z","conclusion":"success","databaseId":128187568435,"name":"Contract smoke","startedAt":"2026-11-06T22:18:32Z","status":"completed","steps":[{"completedAt":"2026-11-06T22:18:34Z","conclusion":"success","name":"Set up job","number":1,"startedAt":"2026-11-06T22:18:33Z","status":"completed"},{"completedAt":"2026-11-06T22:18:36Z","conclusion":"success","name":"Run actions/checkout@v4","number":2,"startedAt":"2026-11-06T22:18:34Z","status":"completed"},{"completedAt":"2026-11-06T22:21:19Z","conclusion":"success","name":"Start PostgreSQL 19 with required extensions","number":3,"startedAt":"2026-11-06T22:18:36Z","status":"completed"},{"completedAt":"2026-11-06T22:21:22Z","conclusion":"success","name":"Run astral-sh/setup-uv@v5","number":4,"startedAt":"2026-11-06T22:21:19Z","status":"completed"},{"completedAt":"2026-11-06T22:21:22Z","conclusion":"success","name":"Set up Python 3.13","number":5,"startedAt":"2026-11-06T22:21:22Z","status":"completed"},{"completedAt":"2026-11-06T22:21:27Z","conclusion":"success","name":"Install dependencies (locked)","number":6,"startedAt":"2026-11-06T22:21:22Z","status":"completed"},{"completedAt":"2026-11-06T22:22:45Z","conclusion":"success","name":"Contract smoke pack","number":7,"startedAt":"2026-11-06T22:21:27Z","status":"completed"},{"completedAt":"2026-11-06T22:22:45Z","conclusion":"success","name":"Post Run astral-sh/setup-uv@v5","number":13,"startedAt":"2026-11-06T22:22:45Z","status":"completed"},{"completedAt":"2026-11-06T22:22:46Z","conclusion":"success","name":"Post Run actions/checkout@v4","number":14,"startedAt":"2026-11-06T22:22:45Z","status":"completed"},{"completedAt":"2026-11-06T22:22:46Z","conclusion":"success","name":"Complete job","number":15,"startedAt":"2026-11-06T22:22:46Z","status":"completed"}],"url":"https://github.com/writeitai/remember-stack/actions/runs/42303684449/job/128187568435"},{"completedAt":"2026-11-06T22:33:47Z","conclusion":"cancelled","databaseId":128187568474,"name":"Unit","startedAt":"2026-11-06T22:18:31Z","status":"completed","steps":[{"completedAt":"2026-11-06T22:18:33Z","conclusion":"success","name":"Set up job","number":1,"startedAt":"2026-11-06T22:18:32Z","status":"completed"},{"completedAt":"2026-11-06T22:18:35Z","conclusion":"success","name":"Run actions/checkout@v4","number":2,"startedAt":"2026-11-06T22:18:33Z","status":"completed"},{"completedAt":"2026-11-06T22:18:38Z","conclusion":"success","name":"Run astral-sh/setup-uv@v5","number":3,"startedAt":"2026-11-06T22:18:35Z","status":"completed"},{"completedAt":"2026-11-06T22:18:39Z","conclusion":"success","name":"Set up Python 3.13","number":4,"startedAt":"2026-11-06T22:18:38Z","status":"completed"},{"completedAt":"2026-11-06T22:18:43Z","conclusion":"success","name":"Install dependencies (locked)","number":5,"startedAt":"2026-11-06T22:18:39Z","status":"completed"},{"completedAt":"2026-11-06T22:33:44Z","conclusion":"cancelled","name":"Install LibreOffice (D138 legacy office conversions)","number":6,"startedAt":"2026-11-06T22:18:43Z","status":"completed"},{"completedAt":"2026-11-06T22:33:44Z","conclusion":"skipped","name":"Unit pack (no Postgres service)","number":7,"startedAt":"2026-11-06T22:33:44Z","status":"completed"},{"completedAt":"2026-11-06T22:33:44Z","conclusion":"skipped","name":"Post Run astral-sh/setup-uv@v5","number":13,"startedAt":"2026-11-06T22:33:44Z","status":"completed"},{"completedAt":"2026-11-06T22:33:44Z","conclusion":"success","name":"Post Run actions/checkout@v4","number":14,"startedAt":"2026-11-06T22:33:44Z","status":"completed"},{"completedAt":"2026-11-06T22:33:44Z","conclusion":"success","name":"Complete job","number":15,"startedAt":"2026-11-06T22:33:44Z","status":"completed"}],"url":"https://github.com/writeitai/remember-stack/actions/runs/42303684449/job/128187568474"},{"completedAt":"2026-11-06T22:18:38Z","conclusion":"success","databaseId":128187569112,"name":"Path filters","startedAt":"2026-11-06T22:18:31Z","status":"completed","steps":[{"completedAt":"2026-11-06T22:18:33Z","conclusion":"success","name":"Set up job","number":1,"startedAt":"2026-11-06T22:18:32Z","status":"completed"},{"completedAt":"2026-11-06T22:18:35Z","conclusion":"success","name":"Run actions/checkout@v4","number":2,"startedAt":"2026-11-06T22:18:33Z","status":"completed"},{"completedAt":"2026-11-06T22:18:35Z","conclusion":"success","name":"Run dorny/paths-filter@v3","number":3,"startedAt":"2026-11-06T22:18:35Z","status":"completed"},{"completedAt":"2026-11-06T22:18:36Z","conclusion":"success","name":"Post Run actions/checkout@v4","number":6,"startedAt":"2026-11-06T22:18:35Z","status":"completed"},{"completedAt":"2026-11-06T22:18:36Z","conclusion":"success","name":"Complete job","number":7,"startedAt":"2026-11-06T22:18:36Z","status":"completed"}],"url":"https://github.com/writeitai/remember-stack/actions/runs/42303684449/job/128187569112"},{"completedAt":"2026-11-06T22:23:14Z","conclusion":"success","databaseId":128187631149,"name":"Compose quickstart","startedAt":"2026-11-06T22:18:40Z","status":"completed","steps":[{"completedAt":"2026-11-06T22:18:41Z","conclusion":"success","name":"Set up job","number":1,"startedAt":"2026-11-06T22:18:41Z","status":"completed"},{"completedAt":"2026-11-06T22:18:43Z","conclusion":"success","name":"Run actions/checkout@v4","number":2,"startedAt":"2026-11-06T22:18:41Z","status":"completed"},{"completedAt":"2026-11-06T22:18:43Z","conclusion":"success","name":"Prepare .env as the quickstart documents","number":3,"startedAt":"2026-11-06T22:18:43Z","status":"completed"},{"completedAt":"2026-11-06T22:18:43Z","conclusion":"success","name":"Validate Compose model","number":4,"startedAt":"2026-11-06T22:18:43Z","status":"completed"},{"completedAt":"2026-11-06T22:18:43Z","conclusion":"success","name":"Prove every .env.example variable reaches the engine","number":5,"startedAt":"2026-11-06T22:18:43Z","status":"completed"},{"completedAt":"2026-11-06T22:21:59Z","conclusion":"success","name":"Start fresh self-host deployment","number":6,"startedAt":"2026-11-06T22:18:43Z","status":"completed"},{"completedAt":"2026-11-06T22:22:04Z","conclusion":"success","name":"Prove object-store round trip and conditional create","number":7,"startedAt":"2026-11-06T22:21:59Z","status":"completed"},{"completedAt":"2026-11-06T22:22:16Z","conclusion":"success","name":"Prove the zero-cost full pipeline","number":8,"startedAt":"2026-11-06T22:22:04Z","status":"completed"},{"completedAt":"2026-11-06T22:22:33Z","conclusion":"success","name":"Stage an upgrade from the prior schema","number":9,"startedAt":"2026-11-06T22:22:16Z","status":"completed"},{"completedAt":"2026-11-06T22:22:51Z","conclusion":"success","name":"Run migrations before application processes restart","number":10,"startedAt":"2026-11-06T22:22:33Z","status":"completed"},{"completedAt":"2026-11-06T22:22:51Z","conclusion":"skipped","name":"Show service logs after failure","number":11,"startedAt":"2026-11-06T22:22:51Z","status":"completed"},{"completedAt":"2026-11-06T22:23:12Z","conclusion":"success","name":"Remove quickstart deployment","number":12,"startedAt":"2026-11-06T22:22:51Z","status":"completed"},{"completedAt":"2026-11-06T22:23:12Z","conclusion":"success","name":"Post Run actions/checkout@v4","number":24,"startedAt":"2026-11-06T22:23:12Z","status":"completed"},{"completedAt":"2026-11-06T22:23:12Z","conclusion":"success","name":"Complete job","number":25,"startedAt":"2026-11-06T22:23:12Z","status":"completed"}],"url":"https://github.com/writeitai/remember-stack/actions/runs/42303684449/job/128187631149"},{"completedAt":"2026-11-06T22:22:12Z","conclusion":"success","databaseId":128187631161,"name":"Integration (adapters)","startedAt":"2026-11-06T22:18:40Z","status":"completed","steps":[{"completedAt":"2026-11-06T22:18:42Z","conclusion":"success","name":"Set up job","number":1,"startedAt":"2026-11-06T22:18:40Z","status":"completed"},{"completedAt":"2026-11-06T22:18:43Z","conclusion":"success","name":"Run actions/checkout@v4","number":2,"startedAt":"2026-11-06T22:18:42Z","status":"completed"},{"completedAt":"2026-11-06T22:20:59Z","conclusion":"success","name":"Start PostgreSQL 19 with required extensions","number":3,"startedAt":"2026-11-06T22:18:43Z","status":"completed"},{"completedAt":"2026-11-06T22:21:01Z","conclusion":"success","name":"Run astral-sh/setup-uv@v5","number":4,"startedAt":"2026-11-06T22:20:59Z","status":"completed"},{"completedAt":"2026-11-06T22:21:02Z","conclusion":"success","name":"Set up Python 3.13","number":5,"startedAt":"2026-11-06T22:21:01Z","status":"completed"},{"completedAt":"2026-11-06T22:21:05Z","conclusion":"success","name":"Install dependencies (locked)","number":6,"startedAt":"2026-11-06T22:21:02Z","status":"completed"},{"completedAt":"2026-11-06T22:22:09Z","conclusion":"success","name":"Adapters + profiles + spikes integration","number":7,"startedAt":"2026-11-06T22:21:05Z","status":"completed"},{"completedAt":"2026-11-06T22:22:09Z","conclusion":"success","name":"Post Run astral-sh/setup-uv@v5","number":13,"startedAt":"2026-11-06T22:22:09Z","status":"completed"},{"completedAt":"2026-11-06T22:22:09Z","conclusion":"success","name":"Post Run actions/checkout@v4","number":14,"startedAt":"2026-11-06T22:22:09Z","status":"completed"},{"completedAt":"2026-11-06T22:22:09Z","conclusion":"success","name":"Complete job","number":15,"startedAt":"2026-11-06T22:22:09Z","status":"completed"}],"url":"https://github.com/writeitai/remember-stack/actions/runs/42303684449/job/128187631161"},{"completedAt":"2026-11-06T22:24:29Z","conclusion":"success","databaseId":128187631214,"name":"Integration (surfaces)","startedAt":"2026-11-06T22:18:39Z","status":"completed","steps":[{"completedAt":"2026-11-06T22:18:41Z","conclusion":"success","name":"Set up job","number":1,"startedAt":"2026-11-06T22:18:40Z","status":"completed"},{"completedAt":"2026-11-06T22:18:42Z","conclusion":"success","name":"Run actions/checkout@v4","number":2,"startedAt":"2026-11-06T22:18:41Z","status":"completed"},{"completedAt":"2026-11-06T22:20:58Z","conclusion":"success","name":"Start PostgreSQL 19 with required extensions","number":3,"startedAt":"2026-11-06T22:18:42Z","status":"completed"},{"completedAt":"2026-11-06T22:20:59Z","conclusion":"success","name":"Run astral-sh/setup-uv@v5","number":4,"startedAt":"2026-11-06T22:20:58Z","status":"completed"},{"completedAt":"2026-11-06T22:21:00Z","conclusion":"success","name":"Set up Python 3.13","number":5,"startedAt":"2026-11-06T22:20:59Z","status":"completed"},{"completedAt":"2026-11-06T22:21:03Z","conclusion":"success","name":"Install dependencies (locked)","number":6,"startedAt":"2026-11-06T22:21:00Z","status":"completed"},{"completedAt":"2026-11-06T22:24:27Z","conclusion":"success","name":"Surfaces + eval integration","number":7,"startedAt":"2026-11-06T22:21:03Z","status":"completed"},{"completedAt":"2026-11-06T22:24:27Z","conclusion":"success","name":"Post Run astral-sh/setup-uv@v5","number":13,"startedAt":"2026-11-06T22:24:27Z","status":"completed"},{"completedAt":"2026-11-06T22:24:27Z","conclusion":"success","name":"Post Run actions/checkout@v4","number":14,"startedAt":"2026-11-06T22:24:27Z","status":"completed"},{"completedAt":"2026-11-06T22:24:27Z","conclusion":"success","name":"Complete job","number":15,"startedAt":"2026-11-06T22:24:27Z","status":"completed"}],"url":"https://github.com/writeitai/remember-stack/actions/runs/42303684449/job/128187631214"},{"completedAt":"2026-11-06T22:36:22Z","conclusion":"success","databaseId":128187631269,"name":"Integration (workers)","startedAt":"2026-11-06T22:18:40Z","status":"completed","steps":[{"completedAt":"2026-11-06T22:18:42Z","conclusion":"success","name":"Set up job","number":1,"startedAt":"2026-11-06T22:18:41Z","status":"completed"},{"completedAt":"2026-11-06T22:18:43Z","conclusion":"success","name":"Run actions/checkout@v4","number":2,"startedAt":"2026-11-06T22:18:42Z","status":"completed"},{"completedAt":"2026-11-06T22:21:25Z","conclusion":"success","name":"Start PostgreSQL 19 with required extensions","number":3,"startedAt":"2026-11-06T22:18:43Z","status":"completed"},{"completedAt":"2026-11-06T22:21:28Z","conclusion":"success","name":"Run astral-sh/setup-uv@v5","number":4,"startedAt":"2026-11-06T22:21:25Z","status":"completed"},{"completedAt":"2026-11-06T22:21:29Z","conclusion":"success","name":"Set up Python 3.13","number":5,"startedAt":"2026-11-06T22:21:28Z","status":"completed"},{"completedAt":"2026-11-06T22:21:33Z","conclusion":"success","name":"Install dependencies (locked)","number":6,"startedAt":"2026-11-06T22:21:29Z","status":"completed"},{"completedAt":"2026-11-06T22:36:19Z","conclusion":"success","name":"Workers + spine integration","number":7,"startedAt":"2026-11-06T22:21:33Z","status":"completed"},{"completedAt":"2026-11-06T22:36:19Z","conclusion":"success","name":"Post Run astral-sh/setup-uv@v5","number":13,"startedAt":"2026-11-06T22:36:19Z","status":"completed"},{"completedAt":"2026-11-06T22:36:19Z","conclusion":"success","name":"Post Run actions/checkout@v4","number":14,"startedAt":"2026-11-06T22:36:19Z","status":"completed"},{"completedAt":"2026-11-06T22:36:19Z","conclusion":"success","name":"Complete job","number":15,"startedAt":"2026-11-06T22:36:19Z","status":"completed"}],"url":"https://github.com/writeitai/remember-stack/actions/runs/42303684449/job/128187631269"},{"completedAt":"2026-11-06T22:19:25Z","conclusion":"success","databaseId":128187631331,"name":"Engine image (linux/arm64)","startedAt":"2026-11-06T22:18:42Z","status":"completed","steps":[{"completedAt":"2026-11-06T22:18:43Z","conclusion":"success","name":"Set up job","number":1,"startedAt":"2026-11-06T22:18:43Z","status":"completed"},{"completedAt":"2026-11-06T22:18:44Z","conclusion":"success","name":"Run actions/checkout@v4","number":2,"startedAt":"2026-11-06T22:18:43Z","status":"completed"},{"completedAt":"2026-11-06T22:19:18Z","conclusion":"success","name":"Build the engine image","number":3,"startedAt":"2026-11-06T22:18:44Z","status":"completed"},{"completedAt":"2026-11-06T22:19:23Z","conclusion":"success","name":"The image is arm64 and its native dependencies load","number":4,"startedAt":"2026-11-06T22:19:18Z","status":"completed"},{"completedAt":"2026-11-06T22:19:23Z","conclusion":"success","name":"Post Run actions/checkout@v4","number":8,"startedAt":"2026-11-06T22:19:23Z","status":"completed"},{"completedAt":"2026-11-06T22:19:23Z","conclusion":"success","name":"Complete job","number":9,"startedAt":"2026-11-06T22:19:23Z","status":"completed"}],"url":"https://github.com/writeitai/remember-stack/actions/runs/42303684449/job/128187631331"},{"completedAt":"2026-11-06T22:33:54Z","conclusion":"failure","databaseId":128194186590,"name":"PR gate","startedAt":"2026-11-06T22:33:50Z","status":"completed","steps":[{"completedAt":"2026-11-06T22:33:51Z","conclusion":"success","name":"Set up job","number":1,"startedAt":"2026-11-06T22:33:51Z","status":"completed"},{"completedAt":"2026-11-06T22:33:51Z","conclusion":"failure","name":"Require hard lanes (incl. path selector)","number":2,"startedAt":"2026-11-06T22:33:51Z","status":"completed"},{"completedAt":"2026-11-06T22:33:51Z","conclusion":"success","name":"Complete job","number":3,"startedAt":"2026-11-06T22:33:51Z","status":"completed"}],"url":"https://github.com/writeitai/remember-stack/actions/runs/42303684449/job/128194186590"}],"status":"completed","url":"https://github.com/writeitai/remember-stack/actions/runs/42303684449"}

succeeded in 3576ms:
......... [100%]
=============================== warnings summary ===============================
src/tests/surfaces/test_openapi_export.py::test_documenting_the_credential_did_not_start_enforcing_it
/Users/jpuc/code/moje/remember-stack-release-0180-review-20261106/.venv/lib/python3.12/site-packages/fastapi/testclient.py:1: StarletteDeprecationWarning: Using httpx with starlette.testclient is deprecated; install httpx2 instead.
from starlette.testclient import TestClient as TestClient # noqa

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
9 passed, 1 warning in 3.21s

exec
/bin/zsh -lc "rg --files -g AGENTS.md -g CLAUDE.md docker src .agents; sed -n '320,418p' .github/workflows/release.yml; git status --short" in /Users/jpuc/code/moje/remember-stack-release-0180-review-20261106
succeeded in 0ms:
name: application-image-evidence
path: release-evidence/application-image-digest.json
if-no-files-found: error

publish-postgres-ghcr:
name: Publish multi-architecture PostgreSQL foundation
needs: [prepare, verify]
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@11d5960 # v4.2.2
with:
ref: ${{ needs.prepare.outputs.source_sha }}

  - name: Set up QEMU
    uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3.2.0

  - name: Set up Docker Buildx
    uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3.10.0

  - name: Log in to GHCR
    uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
    with:
      registry: ghcr.io
      username: ${{ github.actor }}
      password: ${{ secrets.GITHUB_TOKEN }}

  - name: Derive the immutable foundation tag
    id: metadata
    uses: docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804 # v5.7.0
    with:
      images: ghcr.io/writeitai/remember-stack-postgres
      flavor: latest=false
      tags: type=raw,value=19rc1-${{ needs.prepare.outputs.version }}

  - name: Preserve an existing immutable foundation tag on recovery
    id: existing
    env:
      IMAGE: ghcr.io/writeitai/remember-stack-postgres:19rc1-${{ needs.prepare.outputs.version }}
    run: |
      if docker manifest inspect "$IMAGE" >/dev/null 2>&1; then
        docker pull --platform linux/amd64 "$IMAGE" >/dev/null
        test "$(docker image inspect --format '{{ index .Config.Labels "org.opencontainers.image.revision" }}' "$IMAGE")" = "${{ needs.prepare.outputs.source_sha }}"
        echo 'present=true' >> "$GITHUB_OUTPUT"
      else
        echo 'present=false' >> "$GITHUB_OUTPUT"
      fi

  - name: Build and publish both supported architectures
    id: build
    if: steps.existing.outputs.present != 'true'
    uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4 # v6.15.0
    with:
      context: .
      file: Dockerfile.postgres
      platforms: linux/amd64,linux/arm64
      push: true
      tags: ${{ steps.metadata.outputs.tags }}
      labels: |
        ${{ steps.metadata.outputs.labels }}
        org.opencontainers.image.revision=${{ needs.prepare.outputs.source_sha }}
      annotations: org.opencontainers.image.revision=${{ needs.prepare.outputs.source_sha }}

  - name: Record manifest and per-architecture digests
    env:
      POSTGRES_IMAGE_TAG: ${{ steps.metadata.outputs.tags }}
      POSTGRES_MANIFEST_DIGEST: ${{ steps.build.outputs.digest }}
    run: |
      mkdir -p release-evidence
      image_coordinate="${POSTGRES_IMAGE_TAG}"
      if [ -z "${POSTGRES_MANIFEST_DIGEST}" ]; then
        POSTGRES_MANIFEST_DIGEST="$(docker buildx imagetools inspect "${POSTGRES_IMAGE_TAG}" | awk '/^Digest:/ {print $2; exit}')"
      fi
      test -n "${POSTGRES_MANIFEST_DIGEST}"
      image_coordinate="${image_coordinate}@${POSTGRES_MANIFEST_DIGEST}"
      docker buildx imagetools inspect --raw "${image_coordinate}" \
        | jq --arg image "${POSTGRES_IMAGE_TAG}" \
             --arg manifest "${POSTGRES_MANIFEST_DIGEST}" \
             -f .github/ci/postgres-evidence.jq \
        > release-evidence/postgres-image-digests.json
      jq -e '
        [.platforms[] | select(.os == "linux") | .architecture]
        | sort == ["amd64", "arm64"]
      ' release-evidence/postgres-image-digests.json
      tmp="$(mktemp)"
      jq --arg revision "${{ needs.prepare.outputs.source_sha }}" --arg tag "${{ needs.prepare.outputs.tag }}" '. + {source_revision:$revision,tag:$tag}' release-evidence/postgres-image-digests.json > "$tmp"
      mv "$tmp" release-evidence/postgres-image-digests.json

  - name: Upload immutable PostgreSQL image evidence
    uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.1
    with:
      name: postgres-image-evidence
      path: release-evidence/postgres-image-digests.json
      if-no-files-found: error

github-release:

The nine targeted tests pass, and the historical export confirms both the pinned hash and version 0.17.2. The cited CI run also confirms that the three native amd64 integration suites passed against the unchanged Dockerfile. I’m checking that changes outside info.version still fail the hash comparison.

exec
/bin/zsh -lc ".venv/bin/python -B - <<'PY'
import copy
import json
import runpy

checks = runpy.run_path('src/tests/surfaces/test_d143_openapi_additive.py')
strip = checks['without_d143_additions']
digest = checks['canonical_sha256']
pinned = checks['_PRE_D143_SHA256']
with open('openapi.json') as source:
document = json.load(source)
original = copy.deepcopy(document)
assert digest(strip(document)) == pinned
changed = copy.deepcopy(document)
changed['info']['version'] = '99.0.0'
assert digest(strip(changed)) == pinned
print('Version-only change: accepted')
mutations = []
changed = copy.deepcopy(document)
changed['info']['title'] = 'Changed title'
mutations.append(('info.title change', changed))
changed = copy.deepcopy(document)
del changed['paths']['/ingest']
mutations.append(('removed pre-D143 route', changed))
changed = copy.deepcopy(document)
del changed['components']['schemas']['DocumentSummary']
mutations.append(('removed pre-D143 schema', changed))
changed = copy.deepcopy(document)
del changed['paths']['/documents']['get']['responses']['200']
mutations.append(('removed response', changed))
for label, changed in mutations:
assert digest(strip(changed)) "'!= pinned, label
print(f'"'{label}: rejected')
assert document == original
print('Original document remains unchanged')
PY" in /Users/jpuc/code/moje/remember-stack-release-0180-review-20261106
succeeded in 0ms:
Version-only change: accepted
info.title change: rejected
removed pre-D143 route: rejected
removed pre-D143 schema: rejected
removed response: rejected
Original document remains unchanged

VERDICT: APPROVE

No findings in e940e4d.

The release record clearly distinguishes local image IDs, Rosetta execution, and native amd64 CI coverage. The OpenAPI fix normalizes only info.version; changes to other metadata, routes, schemas, and responses still fail the hash check.

Validation: all 9 targeted tests passed; in-memory mutation checks passed. No files changed or Docker started.
Disposition: no findings to address.

@fazpu
fazpu marked this pull request as ready for review November 6, 2026 23:43
@fazpu
fazpu merged commit 8771d15 into main Nov 6, 2026
39 of 43 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