Skip to content

fix(collection): watch inputs beyond first 200 targets - #35

Closed
twoimo wants to merge 1 commit into
codex/alden-entity-delivery-20261012from
codex/alden-realtime-scan-20261024
Closed

twoimo wants to merge 1 commit into
codex/alden-entity-delivery-20261012from
codex/alden-realtime-scan-20261024

Conversation

@twoimo

@twoimo twoimo commented Oct 24, 2026

Copy link
Copy Markdown
Owner

Realtime input watching repeatedly selected the first 200 permitted targets, so later targets never queued from input changes. Walk keyset pages of 200 IDs through the eligible registry, release the source read before observing files, and stop before a new page when the realtime policy revision changes.

Validation: 46 realtime collection, watch-state, and scheduler tests pass. A 401-target regression collects and recollects the final target while preserving other pending hints and intervals; disabled, denied, and paused cases remain excluded. Running that final regression with the exact installed scanner method reproduces the failure (200 != 401). Actual isolated SQL traces show four indexed page queries for 401 targets.

The installed app currently has 43 targets; this is not presented as the cause of its separate stale OSK producer checkpoint. This draft is uninstalled and based on frozen 3407c08e8e3bdf14b378735bb7048e4398dbaede. Integration, current-source external review, canonical build/sign/install, and native runtime verification remain pending. The evaluation note documents state transitions, scaling, and evidence limits.

@twoimo

twoimo commented Nov 23, 2026

Copy link
Copy Markdown
Owner Author

Closing as a duplicate: git log --cherry-pick shows this branch's one commit has a patch-identical twin in #48's history, so the change already lives in the lineage that #48 tips.

Why the lineage cannot land as drafts. The codex/alden-* lineage forked from main at 533dbf6 (2026-10-05). Its tip is #48 (5f4843f), 727 commits ahead. main then took the 1.9.0/1.9.1 stability work (#49 to #58), and none of these drafts was rebased onto it.

  • A trial merge of main into the tip conflicts in 36 files, including 10k-line hunks in src/main.rs and src/context/mod.rs, which 1.9.0 split into modules.
  • A read-only audit found that the lineage's src/ax_send.rs lacks two 1.9.x composer safeguards: e14458e (an unreadable composer is not treated as empty) and 7d9635d (no second Return without a composer read, the double-send fix). A conflict resolved toward the lineage would compile and silently undo both.
  • The lineage's queue code bails on queue schema v3.
  • About 1.24M of the tip's 1.57M added lines are generated docs/architecture snapshots (about 121 MB).

What was kept. The audit read all 69 lineage commits that touch src/ or the auto-reply scripts. The three that fix main's production send path are now on main:

Every other lineage commit is on main already, superseded there, or Alden desktop and feature work that depends on lineage-only modules.

Nothing is deleted. The branch stays on the remote. The installed /Applications/Alden.app 0.3.219 was built from this lineage (a124320), so treat the branch as the source of that build. To bring the desktop work to main, start a planned integration from the tip, codex/alden-explicit-references-20261025, rebased onto main. Keep main's side in src/ax_send.rs and the queue v3 code. Reopen this PR or start from the branch if you want it.

@twoimo twoimo closed this Nov 23, 2026
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