Skip to content

feat: combine universal memory, tasks, and context proactivity - #11447

Merged
Git-on-my-level merged 59 commits into
mainfrom
codex/qa-pr-11431-11433
Aug 13, 2026
Merged

Git-on-my-level merged 59 commits into
mainfrom
codex/qa-pr-11431-11433

Conversation

@Git-on-my-level

@Git-on-my-level Git-on-my-level commented Aug 12, 2026 •

Copy link
Copy Markdown
Member

Summary

Validation

  • 4,730 Desktop tests passed, 1 skipped, 0 failed before main integration
  • 91 focused merged-tree Swift tests passed
  • 19 merged-tree backend proactivity/quota tests passed
  • SwiftLint and swift-format clean
  • product file line-count ratchet and mutation fixtures pass
  • final bounded pre-push gate passed after current-main integration; backend pyright: 0 errors
  • 27 focused notification/suggestion Swift tests, 56 memory/export tests, and 34 privacy tests pass
  • signed /Applications/omi-qa-main.app rebuilt from the final branch; 03:00–06:00 active period and Maximum frequency persist across relaunch

Product invariants affected

  • INV-AGENT-*
  • INV-AUTH-1
  • INV-CHAT-1
  • INV-MEM-1
  • INV-MEM-2
  • INV-MEM-3
  • INV-MEM-4
  • INV-MEM-5
  • INV-TASK-1
  • INV-CUTOVER-1
  • INV-DATA-1
  • INV-INT-1
  • INV-UI-1

Failure-Class: FC-split-mutation-authority

Review in cubic

…y-task-convergence

# Conflicts:
#	backend/docs/llm/model_endpoint_inventory.yaml
#	backend/tests/unit/test_llm_gateway_coverage_guardrails.py
Add configurable active periods and persistent frequency budgets, short-circuit expensive director work during quiet time, repair notification permission lifecycle, distinguish proactive message types, keep chat metadata controls in a real hit-test region, and reconcile repeated screen-derived task candidates.

Also folds in the reviewed Suggested Tasks interaction cleanup and named-bundle dev harness wiring.

Verification: 4730 Desktop tests passed (1 skipped); 8 desktop proactivity backend tests passed; swift-format and SwiftLint clean; focused notification, task, settings, and chat regression suites passed.

Failure-Class: new
# Conflicts:
#	.github/scripts/product_file_line_count_ratchet_baseline/backend-routers.json
Record the exact merged counts and boundary-specific justifications for the notification QA registry, typed floating-bar continuity, Suggested Tasks composition, and semantic candidate reconciliation. Ratchet ChatBubble down after replacing its out-of-layout metadata band.

Verification: product file line-count ratchet and its 10 mutation fixtures pass.
Git-on-my-level and others added 4 commits August 13, 2026 06:55
…h, line-count ratchet

- SuggestedTasksSection: restore onDismiss init param to match the stored
  property type (OmiAPI.TaskIntelligenceFeedbackReason?) — the type
  mismatch caused compiler type-check timeout and ambiguous expression errors
- ContextBucketRollup: apply pinned swift-format to fix FORMAT DRIFT
- TaskAssistant line-count ratchet: raise baseline 1752→1754 to match
  the semantic dedup addition
…dex/qa-pr-11431-11433

# Conflicts:
#	.github/scripts/product_file_line_count_ratchet_baseline/desktop-swift-proactiveassistants.json
#	desktop/macos/Desktop/Sources/ProactiveAssistants/Core/ContextBucketRollup.swift
# Conflicts:
#	.github/scripts/product_file_line_count_ratchet_baseline/backend-routers.json
#	backend/AGENTS.md
Git-on-my-level and others added 2 commits August 13, 2026 09:35
- Remove stale '/v3/memories/{param}/read' from KNOWN_MISSING_ROUTES;
  the route now exists in the app-client spec so the entry was outdated
  (test_known_missing_routes_do_not_drift).

- Patch the Firestore db module attribute instead of the lazy client
  instance in test_nested_task_export_carries_owning_parent_id;
  monkeypatch.setattr(db, 'collection', ...) triggered
  _LazyFirestoreClient.__getattr__ which initialized the real client and
  hit GCP metadata (169.254.169.254) in hermetic CI.
@Git-on-my-level
Git-on-my-level merged commit dd711d0 into main Aug 13, 2026
38 of 41 checks passed
@Git-on-my-level
Git-on-my-level deleted the codex/qa-pr-11431-11433 branch August 13, 2026 02:58
Git-on-my-level added a commit that referenced this pull request Aug 13, 2026
## What changed and why

Prevent a merged PR's `closed` bookkeeping run from cancelling its
still-running exact-SHA macOS verifier, and retry the Linux Electron
package install when its network-only postinstall download transiently
disconnects. These are the two CI failures observed on merged PR #11447.

## Product invariants affected

none

## How it was verified

- `python3 .github/scripts/test_desktop_swift_ci_contract.py` — 26
passed
- `python3 .github/scripts/test_desktop_windows_ci_contract.py` — 1
passed
- `actionlint .github/workflows/desktop-swift-ci.yml
.github/workflows/desktop-windows-ci.yml` — passed
- diff-scoped local manifest — 15 checks passed
- `git diff --check` — passed

## Tests

- `.github/scripts/test_desktop_swift_ci_contract.py` now pins the
close-event concurrency boundary that would have caught the cancelled
verifier/failed aggregate.
- `.github/scripts/test_desktop_windows_ci_contract.py` pins bounded
retry plus fail-closed exhaustion for the Electron postinstall download.

## Failure class (fixes)

Failure-Class: none

## New guards (only when adding a check or ratchet)

Both guards cite merged PR #11447. They are workflow-specific because
one protects GitHub event/concurrency semantics and the other protects
Electron's package-download boundary; neither is a product-runtime
primitive.

## Scoped cleanups

The development backend deploy after #11447 is separately blocked by one
missing live Firestore composite index; this PR does not mix index
provisioning into CI reliability fixes.


<!-- This is an auto-generated description by cubic. -->
<a
href="https://cubic.dev/pr/BasedHardware/omi/pull/11462?utm_source=github"
target="_blank" rel="noopener noreferrer"
data-no-image-dialog="true"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source
media="(prefers-color-scheme: light)"
srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img
alt="Review in cubic"
src="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"></picture></a>
<!-- End of auto-generated description by cubic. -->
pull Bot pushed a commit to codingwatching/omi that referenced this pull request Aug 13, 2026
Keep merged-PR close events from cancelling exact-SHA macOS evidence and retry transient Electron postinstall downloads in the Linux package smoke. Add workflow contract coverage for both PR BasedHardware#11447 failures.
Git-on-my-level added a commit that referenced this pull request Aug 13, 2026
…eploys

Cloud Run merges --update-env-vars, so retired MEMORY_ENABLED_USERS
survives candidate verification after #11447. Add it to the existing
--remove-env-vars lists for backend, backend-sync,
backend-sync-backfill, and backend-integration.

Failure-Class: FC-runtime-binding-contract
Git-on-my-level added a commit that referenced this pull request Aug 13, 2026
…loys

The memory-maintenance-job is also a Cloud Run deploy that merges env
vars across revisions. Its rendered --remove-env-vars was missing
MEMORY_ENABLED_USERS, so the stale per-user binding survived on that
job after #11447. Add it to both dev and prod maintenance-job flags
and extend the test to cover that deployment path.

Addresses Codex review comment on #11472.
Git-on-my-level added a commit that referenced this pull request Aug 13, 2026
…eploys

Cloud Run merges --update-env-vars, so retired MEMORY_ENABLED_USERS
survives candidate verification after #11447. Add it to the existing
--remove-env-vars lists for backend, backend-sync,
backend-sync-backfill, and backend-integration.

Failure-Class: FC-runtime-binding-contract
Git-on-my-level added a commit that referenced this pull request Aug 13, 2026
…loys

The memory-maintenance-job is also a Cloud Run deploy that merges env
vars across revisions. Its rendered --remove-env-vars was missing
MEMORY_ENABLED_USERS, so the stale per-user binding survived on that
job after #11447. Add it to both dev and prod maintenance-job flags
and extend the test to cover that deployment path.

Addresses Codex review comment on #11472.
kodjima33 pushed a commit that referenced this pull request Aug 13, 2026
…eploys (#11472)

* fix(ci): strip leftover MEMORY_ENABLED_USERS from Cloud Run backend deploys

Cloud Run merges --update-env-vars, so retired MEMORY_ENABLED_USERS
survives candidate verification after #11447. Add it to the existing
--remove-env-vars lists for backend, backend-sync,
backend-sync-backfill, and backend-integration.

Failure-Class: FC-runtime-binding-contract

* fix(ci): strip leftover MEMORY_ENABLED_USERS from maintenance job deploys

The memory-maintenance-job is also a Cloud Run deploy that merges env
vars across revisions. Its rendered --remove-env-vars was missing
MEMORY_ENABLED_USERS, so the stale per-user binding survived on that
job after #11447. Add it to both dev and prod maintenance-job flags
and extend the test to cover that deployment path.

Addresses Codex review comment on #11472.

* fix: update _base.yaml source and format test for env-compose contract

The committed runtime_env.yaml (composed output) had MEMORY_ENABLED_USERS
added for the memory-maintenance-job but the declarative source _base.yaml
was not updated, breaking the backend-runtime-env-compose check.

Also run black on test_render_backend_runtime_env.py.

---------

Co-authored-by: David Zhang <[email protected]>
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