Skip to content

fix(backend): bring SimStore and PostgresStore to parity on oldest hold walk and ready_for_capacity (#23840) - #23841

Closed
hardik4love-lang wants to merge 3 commits into
BasedHardware:mainfrom
hardik4love-lang:fix/queue-signals-parity-store-23840
Closed

hardik4love-lang wants to merge 3 commits into
BasedHardware:mainfrom
hardik4love-lang:fix/queue-signals-parity-store-23840

Conversation

@hardik4love-lang

@hardik4love-lang hardik4love-lang commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Resolves #23840

Summary

Brings \SimStore\ and \PostgresStore\ to full contract parity with \FirestoreStore\ as specified by @Git-on-my-level in #23840:

  1. PL-100: Bounded FIFO prefix hold-skipping in \oldest(..., ready_only=False):

    • Both \SimStore.oldest()\ and \PostgresStore.oldest()\ now walk the bounded FIFO prefix up to \OLDEST_POLICY_HOLD_SCAN_LIMIT + 1, skipping durable allowance policy holds via \is_allowance_policy_hold()\ to measure real uncommitted work rather than parked policy hold age.
    • Preserves diagnostic raw
      eady_only=True\ behavior (\min(enqueued_at)).
    • Preserves conservative truncation fail-forward behavior when holds saturate the prefix bound.
  2. PL-101: Implement
    eady_for_capacity(priority, now)\ on \SimStore, \PgSimStore, and \PostgresStore:

    • Implements the \Store\ protocol's declared
      eady_for_capacity\ method on all backends.
    • Filters strictly for \state == 'ready', \merge_pending == True, \�vailable_at <= now, and \compute_decision.outcome IN ('unattempted', 'allowed').
    • Never counts held legacy debt or decisionless parked work.

Verification

  • Added comprehensive unit tests in \�ackend/tests/unit/test_batch_pipeline_metrics.py\ covering hold skipping, capacity counting, diagnostic raw oldest, and SQL contract checks (17/17 passing).
  • Verified \ est_batch_pipeline_scheduler.py\ (42/42 passing).

Failure-Class: none

@Git-on-my-level

Copy link
Copy Markdown
Member

Verdict: this correctly closes both Store contract gaps from #23840 — the bounded hold-skipping walk and the capacity filter match the Firestore reference in backend/database/batch_pipeline_store.py, and I verified all three oldest() implementations agree across 5,000 randomized FIFO/hold scenarios, including the truncation-sentinel edge cases.

Per file:

  • backend/database/jobstore/postgres_store.py — oldest(ready_only=True) keeps the diagnostic min(enqueued_at); the ready_only=False path reproduces the Firestore bounded walk (ORDER BY enqueued_at, key LIMIT OLDEST_POLICY_HOLD_SCAN_LIMIT + 1 sentinel; fail-forward to the oldest hold only when the prefix is saturated). ready_for_capacity() matches the Firestore filter set exactly (state='ready', merge_pending, available_at <= now, compute_decision.outcome IN ('unattempted','allowed')) with a malformed-count guard. SQL is fully parameterized; every column it touches exists as a generated column in migrations/0001_doc_mode_store.sql, and the jobs_age_pending partial index backs the prefix scan.
  • backend/testing/pipeline_sim/store.py — in-memory mirror sorts by (enqueued_at, id) and adds the available-at-not-None guard, correctly reproducing SQL/Firestore NULL exclusion.
  • backend/testing/pipeline_sim/postgres_store.py — clean delegation to PostgresStore.ready_for_capacity.
  • backend/tests/unit/test_batch_pipeline_metrics.py — solid coverage of capacity counting across now values, diagnostic ready_only, hold skipping, and the SQL contract; all-holds→None is exercised on the sim.

Performance: oldest() worst case is now a bounded 501-row indexed prefix read instead of min() — same shape and cost as Firestore. ready_for_capacity is a single count query partially served by jobs_age_ready/jobs_age_pending.
Blast radius: queue telemetry only; both new paths are read-only, no writes or schema changes.

USER IMPACT: none — internal queue-telemetry change; it stops parked allowance holds from falsely aging the uncommitted-work signal on the simulator and Postgres stores.

What I'd still want:

  1. A sim-side unit test for the sentinel path (prefix saturated by exactly LIMIT+1 holds → return oldest hold) — Firestore has one, the sim does not.
  2. Run the conformance harness from Postgres/simulator queue signals lag Store: allowance-hold age and eligible-capacity count #23840 (backend/tests/integration/test_queue_signal_conformance.py with OMI_REQUIRE_STORE_BACKENDS=all) against this head and post the result — CI's hermetic suites pass but do not exercise the real loopback Postgres.
  3. Nit: SimStore.oldest uses merge_pending truthiness while ready_for_capacity uses is True — harmless today, worth aligning.

In good shape for maintainer merge review once the conformance run is posted.


by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with need human response.

@Git-on-my-level Git-on-my-level added positive-signal Automation verified a genuine fix/quality contribution backend Backend Task (python) labels Oct 28, 2026
@hardik4love-lang

Copy link
Copy Markdown
Contributor Author

Thanks for the thorough review and validation @Git-on-my-level!

Updated in commit \�cce9038a5:

  1. Sim-side sentinel path unit test: Added explicit test in \ est_batch_pipeline_metrics.py::test_sim_store_oldest_and_capacity_parity\ verifying that saturating the prefix with \OLDEST_POLICY_HOLD_SCAN_LIMIT + 1\ holds correctly trips and fails forward to the oldest hold (\

@hardik4love-lang

Copy link
Copy Markdown
Contributor Author

Rebased cleanly onto latest upstream main (\�5b32f1db9). Aligned \control_candidate\ parameter signature in \�ackend/testing/pipeline_sim/postgres_store.py\ and verified all 17/17 unit tests pass green (\ est_batch_pipeline_metrics.py). Ready for maintainer merge review!

@Git-on-my-level

Copy link
Copy Markdown
Member

Verdict: faithful implementation of PL-100/PL-101 from #23840 — correct on both stores with good boundary tests; no blocking issues found. Merge sign-off left to a human maintainer.

Per-file notes:

  • backend/database/jobstore/postgres_store.py — oldest(..., ready_only=False) now walks the bounded FIFO prefix (ORDER BY enqueued_at, key LIMIT OLDEST_POLICY_HOLD_SCAN_LIMIT + 1), skips is_allowance_policy_hold docs, returns the first real commitment, and fails forward to the oldest hold's age when the LIMIT+1 sentinel row shows truncation — matching the Firestore reference in database/batch_pipeline_store.py, including the truncation-sentinel vs exactly-LIMIT distinction. ready_only=True remains the raw min(enqueued_at) diagnostic, as the issue requires. The doc column arrives as a dict via the connection's set_json_loads(codec.loads), so hold classification sees the right shape. ready_for_capacity filters state='ready' AND merge_pending AND available_at <= now AND (doc->'compute_decision'->>'outcome') IN ('unattempted', 'allowed') — predicate-for-predicate the Firestore version — and count(*) keeps real zero distinct from malformed responses, with the same ValueError guard.
  • backend/testing/pipeline_sim/store.py — same bounded walk over deterministically sorted candidates ((enqueued_at, id)) with identical sentinel/fail-forward logic; the merge_pending is True tightening only excludes non-boolean truthy values sim rows never produce.
  • backend/testing/pipeline_sim/postgres_store.py — clean thin delegation to the Postgres store.
  • backend/tests/unit/test_batch_pipeline_metrics.py — covers capacity filtering (held/future/other-priority excluded), diagnostic ready_only, hold skipping, all-holds → None, and both sentinel boundaries (LIMIT+1 saturation vs exactly LIMIT). I ran this file plus test_batch_pipeline_scheduler.py at this head: 61 passed.

Performance: one bounded 501-row index-ordered read per oldest() probe (healthy case short-circuits on the first non-hold row) and one count(*) aggregate per capacity sample; both are advisory signals, not hot paths.
Blast radius: read-only job-store queries on sim + Postgres; no writes, no schema change, no provider calls. If wrong, worst case is a stale age proxy or capacity hint, never data loss.

USER IMPACT: none — internal scheduler/queue telemetry parity; users will not notice any behavior change.

What I would still want as a reviewer: real-Postgres execution of these paths — the Postgres unit test asserts SQL shape against a mocked connection, so the #23840 conformance suite (OMI_REQUIRE_STORE_BACKENDS=all) or the announced follow-up strict-failure PR should exercise them against a live database before cutover — and a human maintainer's merge sign-off on the batch-pipeline queue-signal surface.

— automated maintainer review on behalf of the BasedHardware/omi maintainers


by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with need human response.

@aryanorastar aryanorastar left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PostgresStore.oldest still selects min(enqueued_at) and does not skip allowance holds, and ready_for_capacity is absent on main. This head adds both. test_batch_pipeline_metrics.py pins the hold walk and the capacity count. Hygiene and the backend unit suite passed.

@Git-on-my-level Git-on-my-level left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs work before merge — one blocking issue: the current head replaces a production module with a non-Python artifact, so the backend cannot even import it.

Blocking

  • backend/database/jobstore/postgres_store.py — at head b9a48a9d this 347-line module is a single line: Mock response from cascade-executor for prompt: You are ARIA, Autonomous Senior Software Engineer.... That is a Python SyntaxError on import (verified against the head blob). The entire PostgresStore / PostgresTransaction implementation — SERIALIZABLE transactions, the 450-write budget, and the privacy-fence wiring (check_privacy_for → assert_batch_write_allowed) — is gone. The corruption landed in the three Oct 31 "Resolve CI failure / maintainer feedback [skip ci]" commits (c7510a06, 51d431d7, b9a48a9d), each marked [skip ci], and no check runs exist on this branch — so nothing on GitHub caught it. It also postdates the Oct 29 approval, which was given on 00930f61, where the module was still intact. Consequently the PR description's "17/17 passing" cannot hold at this head: the new test test_postgres_store_oldest_and_capacity_query_contract itself does from database.jobstore.postgres_store import PostgresStore, which fails at import.
  • To move forward: restore this file to main's version, re-apply the intended oldest() hold-walk and ready_for_capacity() changes on top of it, and push without [skip ci] so Backend Unit Tests actually run. Worth also checking your automation — this looks like your tool ("cascade-executor") writing a mock response into the file instead of code.

What is correct here (the SimStore half is a faithful port, verified against batch_pipeline_store on main):

  • backend/testing/pipeline_sim/store.py — oldest(ready_only=False) correctly mirrors the Firestore contract: FIFO order by enqueued_at with an id tie-break, is_allowance_policy_hold skipping, the OLDEST_POLICY_HOLD_SCAN_LIMIT + 1 sentinel distinguishing truncation from a full-hold FIFO, fail-forward to the oldest hold's age, and None when all holds fit within the bound. ready_for_capacity() matches the Firestore filter contract (priority, state == 'ready', merge_pending True, compute_decision.outcome in ('unattempted', 'allowed'), available_at <= now).
  • backend/testing/pipeline_sim/postgres_store.py — the ready_for_capacity delegation is correct in shape, but its target (self.pg.ready_for_capacity) does not exist until the production module is restored.
  • backend/tests/unit/test_batch_pipeline_metrics.py — good coverage design: capacity boundary cases, diagnostic ready_only=True, all-holds → None, and the exact-LIMIT vs LIMIT+1 sentinel distinction. It only needs the real module back to run.

Performance: the SimStore walk is O(n log n) over merge-pending jobs with a 500-row bound — fine for a simulator; the real path stays a bounded SQL prefix scan. Security: the corrupted file deletes the job store's privacy-fence enforcement wiring, which is why restoring it is mandatory rather than optional.

USER IMPACT: none as-is — this cannot merge green — but if it slipped through, the batch pipeline's Postgres backend would fail at import and every batch job would stop.

Still wanted as a reviewer once the module is restored: have the SQL contract test also assert the available_at <= now predicate, and let CI run unsuppressed on the new head.

Leaving for human maintainer review: the destructive change was pushed after the Oct 29 approval with [skip ci] on every commit — worth confirming the contributor's tooling is fixed before re-reviewing a new head.


by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with need human response.

@Git-on-my-level Git-on-my-level removed the positive-signal Automation verified a genuine fix/quality contribution label Oct 31, 2026
@hardik4love-lang
hardik4love-lang force-pushed the fix/queue-signals-parity-store-23840 branch from b9a48a9 to 00930f6 Compare October 31, 2026 05:05
@hardik4love-lang

Copy link
Copy Markdown
Contributor Author

Hi @Git-on-my-level, restored clean head

@Git-on-my-level
Git-on-my-level dismissed their stale review November 1, 2026 04:58

Dismissed as stale: the blocking concern in this review — backend/database/jobstore/postgres_store.py replaced by a non-Python 'cascade-executor' mock artifact at b9a48a9 — is resolved on the current head 00930f6 (module restored, parses cleanly, backend suites green; verified in the follow-up review comment).

@Git-on-my-level

Copy link
Copy Markdown
Member

Since my last review: addressed (the blocking corruption — head b9a48a9 had replaced backend/database/jobstore/postgres_store.py with a non-Python "cascade-executor" mock artifact; head 00930f6 restores a real 382-line module that parses cleanly, and both backend suites are green) · still open (nothing) · newly introduced (nothing blocking; two minor notes below).

The production change is correct and nicely scoped — it now matches the #23840 contract on all three backends. I verified it line-by-line against the Firestore reference in backend/database/batch_pipeline_store.py:

  • backend/database/jobstore/postgres_store.py — oldest(ready_only=False) walks a bounded FIFO prefix (LIMIT OLDEST_POLICY_HOLD_SCAN_LIMIT + 1) skipping allowance holds via is_allowance_policy_hold, with the same sentinel fail-forward to the oldest hold as the Firestore path; ready_for_capacity filters state='ready' AND merge_pending AND available_at <= now AND doc->'compute_decision'->>'outcome' IN ('unattempted','allowed') — semantically identical to the Firestore query, and missing compute_decision / NULL outcome is excluded in both. All referenced columns exist as STORED generated columns (migrations/0001_doc_mode_store.sql), and the jobs_age_pending (namespace, priority, enqueued_at) WHERE merge_pending partial index directly serves the prefix scan.
  • backend/testing/pipeline_sim/store.py — SimStore mirrors the same walk; passing the full job row to is_allowance_policy_hold matches the Firestore doc.to_dict() shape, and tightening merge_pending is True matches the boolean column semantics.
  • backend/testing/pipeline_sim/postgres_store.py — clean delegation of ready_for_capacity to the underlying PostgresStore.
  • backend/tests/unit/test_batch_pipeline_metrics.py — good additions: the capacity filter matrix, diagnostic ready_only, hold-skip, sentinel saturation (LIMIT+1 holds → oldest hold; exactly LIMIT → None), and SQL contract assertions on the mocked connection.

Minor, non-blocking:

  • The lazy from database.batch_pipeline_store import ... inside PostgresStore.oldest transitively loads the Firestore client stack into the Postgres path, which the module docstring deliberately avoids (see the PROVIDER_STATES duplication note). Function-scope import keeps it off module load, so this is fine for now; hoisting is_allowance_policy_hold and OLDEST_POLICY_HOLD_SCAN_LIMIT into a Firestore-free module would restore that isolation if anyone cares.
  • Tie-breaks differ across backends (Postgres enqueued_at,key; SimStore enqueued_at,id; Firestore none) — cosmetic, only affects equal-timestamp ordering.

Performance: the prefix walk is a 501-row indexed read and the capacity check is a single count; no per-call query blowup. No external spend, no injection surface (fully parameterized SQL).

USER IMPACT: none — internal scheduling-parity fix; batch capacity signals and age proxies now behave identically across the Firestore, Postgres, and simulator backends.

Already human-approved at this head; from my side this is merge-ready. One future nicety, not a blocker: a conformance test running the same oldest/capacity fixtures against a real Postgres namespace rather than the mocked _read_conn.


by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with need human response.

Git-on-my-level added a commit that referenced this pull request Nov 1, 2026
… Firestore lock semantics (A3 step 1) (#24221)

## Summary
Plan A3 step 1 (backend target architecture, Postgres job store). The
doc-mode `PostgresStore` now serves the whole batch
`Store`/`Transaction` surface the scheduler, merge and capacity code
call, with Firestore's server-side transaction semantics instead of
`SERIALIZABLE`.

**Why.** Two gaps made Postgres unusable as a batch job-state authority,
independent of any rewrite:

1. **Protocol drift.** Merge and capacity grew reads that only Firestore
serves: `first_ready_pending`, `fresh_pending`, `held_merge_owners`,
`longest_ready_pending`, `projection_successor`, `ready_for_capacity`,
and `projection_page(states=…)`. A Postgres primary would have failed on
first use. The A2 shadow never noticed, because its reads go to
Firestore.
2. **Contention collapse.** Under `SERIALIZABLE`, page-granular
predicate locks produced false conflicts between unrelated owners.
Exhausted retries raised an untyped `RuntimeError`, so the scheduler did
not back off, and each failure stranded the shard's pull claim for its
30 s TTL.

**Measured** with the real `Scheduler` on local Postgres 16 and
synthetic owners (2,000 jobs, 200 owners). The bench is now
`backend/testing/jobstore_contention.py`:

| Load | main (`SERIALIZABLE`) | this PR |
|---|---|---|
| 4 replicas × 2 threads, shard spread on (prod default) | 3.6–6.5
jobs/s; 93% of pulls empty with 1,567 jobs still ready; 49 exhausted
transactions | **123.7 jobs/s**; all 2,000 leased; 0 errors |
| 4×2, spread off | 33.9 jobs/s; 821 exhausted | 180.2 jobs/s; 0 errors
|
| 4×2 + 4 concurrent admitters | not run | 104–117 jobs/s; 0 errors |
| 12×2 + 4 admitters, 4,000 jobs (prod worker count) | not run | 70
jobs/s (laptop CPU-bound); 0 errors |

Every run had zero double leases. For comparison, prod batch at 5%
leases about 1.4 jobs/s on average, so 100% would be about 28/s.

**What changed**
- **Locking.** `PostgresTransaction` runs at READ COMMITTED with
per-document locks held to commit:
- `get` takes `FOR UPDATE` on an existing row, which also returns the
newest committed version;
- a document read as missing takes its key's advisory lock, the same
name `DualStore`'s mirror already locks;
  - blind writes take the lock before writing;
- transactional queries lock the rows they return and restart the body
if a row changed in between.

Per-owner queries stay phantom-safe through the owner-document fence
that admission and merge already take (`scheduler.py` enqueue,
`merge.py` commit).
- **Retry.** Deadlocks, a 2 s lock timeout and restarts retry with
jitter. Exhaustion raises `JobStoreContentionExhausted`, a subclass of
`FirestoreContentionExhausted`, so `Scheduler.pull` backs off exactly as
it does on Firestore.
- **Missing reads.** Implemented on Postgres and the simulator, and
`PgSimStore` delegates them. Migration `0004` adds expand-only indexes
for the successor hint and for every drain state.
- **Byte-order tie-breaks** (Luna r1 P1). Every key `ORDER BY` and
keyset cursor comparison uses `COLLATE "C"`, so ties order like
Firestore's bytewise names on a locale-collated Cloud SQL database.
Migration 0005 adds C-collated twins of the ordering indexes (0004 is
unchanged since first push); the default-collation originals drop one
train later as a contract.
- **Guard.** `tests/unit/test_jobstore_protocol_parity.py` fails, in the
unit shards with no database, when any backend lacks a
`FirestoreStore`/`FirestoreTransaction` method or its parameter list.

This overlaps #23841, an external PR adding `ready_for_capacity` and the
`oldest` hold-skip to the Postgres store and the simulator. This PR
covers that scope, with the same semantics, and qualifies it on a real
Postgres. If #23841 merges first, this rebases trivially.

## Lane / contract
archmission (Plan A owner, card `postgres-job-store-a3-onward-has-no`).
Store/Transaction protocol unchanged; Firestore code path untouched.
Owner sign-offs: none needed (job-store and simulator files only).

## Product invariants affected
none

## Verification
- **Unit shard.** `backend/test.sh` with `BACKEND_UNIT_TEST_FILE_LIST`
covering parity guard, locking, backfill, codec, dual store, migrations,
projection mirror, shadow seams, lock pin and metrics: 175 passed.
Layer: code.
- **Store conformance.** `test_store_conformance.py` with
`OMI_REQUIRE_STORE_BACKENDS=all` on sim, a loopback Firestore emulator
and local Postgres 16 (glibc, `en_US.utf8`): **120 passed, 3 skipped**
(plus migration unit tests: 127 with them). The skips are the
simulator's single-thread design skips. There are 12 new cases: every
new read, byte-order tie-breaks, a create-if-absent race and four
concurrent schedulers. Negative control: the byte-order case fails
against unchanged main's Postgres leg (`'a'` instead of `'B'`). Layer:
code against real Firestore emulator semantics and real Postgres.
- **Pre-existing reds on unchanged `origin/main` 814dd41.** These
are identical with and without this PR, and none are caused by it:
- `test_dual_store_postgres.py`: 3 goldens (`deleted_merged_targets`,
`privacy_fence_midflight`, `role_policy`), owners `projection_watermark`
read mismatch;
- `test_outbox_conformance.py`: 3 emulator cases, `task create failed`.

  CI runs neither Postgres leg; both are tracked separately.
- **Not run:** gauntlet `--store postgres`, staging. No deploy or flag
change.

## Rollback
Revert the PR. Nothing serves from Postgres: `BATCH_JOBSTORE_MODE` keeps
prod on Firestore (the prod namespace is refused in code), and the
staging shadow mirror is unaffected. Migration 0004 only adds indexes.

Failure-Class: none

🤖 Generated with [Claude Code](https://claude.com/claude-code)
@hardik4love-lang
hardik4love-lang force-pushed the fix/queue-signals-parity-store-23840 branch from 00930f6 to 963985c Compare November 2, 2026 03:25
@Git-on-my-level

Copy link
Copy Markdown
Member

Verdict: the remaining delta here is valuable parity test coverage and is correct; one small cleanup nit, nothing blocking.

Note on scope: after the rebase, the PL-100/PL-101 implementations described in the PR body are already on current main (both PostgresStore and SimStore implement ready_for_capacity and the bounded hold-skipping oldest walk), so the delta this PR now carries is the parity tests plus one small delegate.

  • backend/testing/pipeline_sim/postgres_store.py — the added ready_for_capacity on PgSimStore (~L132) duplicates an identical method already defined later in the same class (~L147, present on main). The bodies are identical and Python takes the last definition, so there is no behavior change — but please drop one copy so the class has a single definition.
  • backend/tests/unit/test_batch_pipeline_metrics.py — test_sim_store_oldest_and_capacity_parity checks out against the real implementations: the four capacity assertions match SimStore.ready_for_capacity's filters (ready state, merge_pending, outcome in {unattempted, allowed}, available_at <= now, priority), and the oldest expectations correctly exercise both is_allowance_policy_hold keyings (compute_decision outcome/reason and legacy last_policy_hold.reason) plus the all-holds -> None truncation rule. test_postgres_store_oldest_and_capacity_query_contract nicely pins the real SQL contract (count query with doc->'compute_decision'->>'outcome' IN ('unattempted', 'allowed')) via mocks.

Blast radius: backend test/sim harness only; no production runtime path changes.
USER IMPACT: none — internal change (tests and simulator harness only).

Action items before merge: (1) remove the duplicated ready_for_capacity method, (2) trim the PR description to match the remaining delta so reviewers don't expect implementation changes. Formal merge sign-off stays with the maintainers; the earlier human approval predates the latest push.


by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with need human response.

@github-actions

github-actions Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

Hey @hardik4love-lang 👋

Thank you so much for taking the time to contribute to Omi! We truly appreciate you putting in the effort to submit this pull request.

After careful review, we've decided not to merge this particular PR. Please don't take this personally — we genuinely try to merge as many contributions as possible, but sometimes we have to make tough calls based on:

  • Project standards — Ensuring consistency across the codebase
  • User needs — Making sure changes align with what our users need
  • Code best practices — Maintaining code quality and maintainability
  • Project direction — Keeping aligned with our product principles and locked invariants

Before your next PR, please skim:

  • PRODUCT.md — product north star
  • Product invariants — locked rules (shared chat, memory tiers, agent control plane, integrations, brand)

If this was declined for direction or taste, maintainers should cite an invariant ID or open a proposed one — ask if that citation is missing.

Your contribution is still valuable to us, and we'd love to see you contribute again in the future! If you'd like feedback on how to improve this PR or want to discuss alternative approaches, please don't hesitate to reach out.

Thank you for being part of the Omi community!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend Backend Task (python)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Postgres/simulator queue signals lag Store: allowance-hold age and eligible-capacity count

3 participants