Repository navigation
3ngram 1.11.0
3ngram v1.11.0
Facts replace previous values by default, and current fact reads follow the
liveness of the memory that asserted them. The forgetting pass ships disabled
by default and stages proposals for review; it never applies its own verdicts.
Changes
Facts
- A new open-ended, single-valued fact closes open values of the same
(subject, predicate)that started at or before itsvalidFrom.
cardinality: "many"opts into coexisting values; a write with its own
validTocloses nothing.
Backdated writes retain history, and concurrent writers of a key serialize. - Current reads exclude facts whose parent memory was superseded or archived.
asOfreads respect parent supersession; archive has no timestamp and does
not hide facts from time travel. Range reads still include every generation. revisecannot carry facts. After revising a memory, assert any still-true
facts again throughremember.
Forgetting and review
- The worker can judge stale decisions, preferences, blockers and facts, plus
likely conflicting pairs of decisions, preferences and facts. Notes and
events are excluded from candidate selection. Tenant judgment consent and a
configured judgment gateway are required in addition to the deployment flag. - The pass stages retention proposals. Accepting one through
review_proposals
uses the existing audited archive, supersession or conflict-review paths.
Keeps and verdicts below their thresholds stay out of the review list. review_proposalsoutput V4 adds retention records and counts; exports include
retentionProposals. Its description and tool-selection fixtures cover all
four proposal kinds.- A report-only forgetting evaluation harness and synthetic fixtures run nightly.
Synthetic results do not establish production calibration; private labeled
evaluation remains a prerequisite to enabling the pass.
Compatibility
@3ngram/server,@3ngram/worker,@3ngram/sdkand the3ngramCLI move to
1.11.0 together. The dependency versions are config 0.7.0, schema 0.14.0,
llm 0.5.0, db 0.15.0 and core 0.16.0.- Existing
review_proposalscursors become invalid once; restart the walk from
its first page. Strict output parsers must accept theretentioncount key,
retention records and theapplied_retention/rejected_retentionactions. - Existing fact windows are not rewritten by this release. Historical duplicate
open values need a separately reviewed, tenant-scoped cleanup. A later
open-ended, single-valued assertion also closes those whosevalidFrom
is at or before the new assertion'svalidFrom.
Operations
- Apply migration
0045_retention_proposalsand rerunprovision-roles.sql
for the runtime role's access to the new table. - Keep
FORGETTING_PASS_ENABLED=falseuntil evaluation and a tenant trial have
justified enabling it. The flag defaults to false. No new cron service is
required while it is disabled. - Worker images must be adopted separately from the server package. Verify the
image and completion of an actual execution for every scheduled worker.
Immutable container reference
ghcr.io/b3dmar/3ngram@sha256:afb1f91176efc78f1342a6a2f7859bd96f80bc91ff8026f85e4ead08f260640b