chore: recycle unused frame-drift monitoring - #1544
Closed
serefyarar wants to merge 3 commits into
Closed
Conversation
Drop the daily observation queue, service, adapters, and snapshot tables. Nothing in the product read the measurements. Frozen copy is intended for indexnetwork/recycle/frame-drift-monitoring; restore from 061d0c5 by path. Co-authored-by: Seref Yarar <serefyarar@users.noreply.github.com>
serefyarar
marked this pull request as ready for review
August 28, 2026 18:12
cursor[bot] cannot write to indexnetwork/recycle, so that tree 404s. Point restore at 061d0c5 until the archive is actually on recycle/main. Co-authored-by: Seref Yarar <serefyarar@users.noreply.github.com>
The isolated-test inventory still listed the four deleted specs, so every Bun preload failed before any suite could run. Co-authored-by: Seref Yarar <serefyarar@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Recycle the unused daily frame-drift observation pipeline (IND-430 / IND-468). It had no API, UI, or product consumer. The writer, tests, design doc, and four snapshot/ledger tables go away.
Why
frame_centroid_snapshotsorcross_network_yield_snapshots.user_contextcentroid corpus was already dead afteruser_contextsdropped; the adapter measured only premise and intent embeddings.What changed
FrameDriftQueue,FrameDriftMonitoringService, both adapters, config, and their tests.main.ts; stop flushing the observation tables indb-flush.bigint/checkimports.services/api/.test-isolated.0159_drop_frame_drift_monitoringdrops:frame_centroid_snapshotscross_network_yield_snapshotsframe_drift_observation_runsframe_drift_execution_attemptsBreaking: existing snapshot rows are capture-time measurements, not reconstructed history. They are deleted with the writer. No dual-read.
Restore
Then restore the four tables from
services/api/src/schemas/database.schema.tsat that SHA (create migrations0093/0097remain in history).Recycle archive 404
indexnetwork/recycle/tree/main/frame-drift-monitoringis a 404 becausecursor[bot]cannot write to that repo (git push and Contents API both 403). This PR does not link that path.To publish the archive, grant Write to
cursor[bot]onindexnetwork/recycleand ask this agent to push, or copy from061d0c51efollowing theopportunity-discovery-dedup-merge/layout.Verification
bun run --cwd packages/protocol build && bun run --cwd services/api typecheck— passloadIsolatedTestInventory— pass after dropping the four deleted filestest/provider-free-securityfailed on that manifest; fix is on this revision