fix: preserve ingestion proposal inventory through compaction - #15
Merged
Conversation
lore-b74.21
Refs: lore-b74.20, lore-b74.21
Refs: lore-b74.20, lore-b74.21
Refs: lore-b74.20, lore-b74.21
Author
|
Hosted CI comparison for exact head f65a599:
The repository-wide sharding and state-isolation defects are tracked separately as Lore lore-b74.22. Focused changed-path proof remains 193/193 tests passing, typecheck clean, and both strict reviews clean. |
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.
What
Make staged ingestion proposals keep one ordered, unique page inventory across context compaction and validate create/update effects against current source state before any proposal fragment is frozen.
Why
Long-running ingestion agents could forget earlier staged pages after compaction, restage duplicate slugs, or classify an existing page as a create. That left otherwise recoverable ingestion attempts with no actionable path forward.
Changes
Changes walkthrough
src/core/ingestion-proposal-contract.tssrc/core/ingestion-proposal-context-policy.tssrc/core/minions/agent-job-proposals.tssrc/core/ai/tool-loop-context.tssrc/core/ai/gateway.tsskills/*-ingestion/SKILL.mdtest/Testing
bun run typecheckextract-atoms-page-discoveryintra-file timeout; the exact test passes alone and this branch does not modify that test or extraction implementation. Hosted CI remains required for the exact PR head.