-
Notifications
You must be signed in to change notification settings - Fork 5
fix(storage): harden project store authority and resolution #506
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
HashemKhalifa
wants to merge
20
commits into
ScriptedAlchemy:master
Choose a base branch
from
HashemKhalifa:fix/consolidation-authority-20260808
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
850414b
fix(migrate): authorize staged databases
HashemKhalifa a556506
fix(db): restrict consolidation authority
HashemKhalifa ab7be60
perf(storage): avoid full counts on exact roots
HashemKhalifa 133ca5c
perf(storage): trust healthy exact root among duplicates
HashemKhalifa ac0b0c9
perf(storage): check the serving branch graph
HashemKhalifa 726ce54
perf(mcp): reuse active selected project
HashemKhalifa 25b67d1
perf(session): bound correlation presence checks
HashemKhalifa caba6eb
fix(daemon): bound maintenance shutdown
HashemKhalifa fa93535
fix(daemon): abort watchers before joins
HashemKhalifa a299410
perf(storage): bound conflict inventory
HashemKhalifa c8dd768
docs(changeset): cover bounded inventory
HashemKhalifa 6e92ed4
fix(storage): fail closed on unreadable inventory
HashemKhalifa 2467ff9
perf(storage): avoid duplicate recovery scans
HashemKhalifa 82876ea
fix(storage): isolate branch recovery markers
HashemKhalifa 043a047
fix(storage): reject empty recovery stores
HashemKhalifa 71b19fc
fix(storage): harden recovery validation
HashemKhalifa a818fcd
fix(storage): validate auxiliary health first
HashemKhalifa a79f70c
fix(storage): trust exact worktree registry aliases
HashemKhalifa df96e9b
fix(storage): preserve exact-root precedence
HashemKhalifa 91944bc
fix(storage): honor aliases with repository markers
HashemKhalifa File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "tracedecay": patch | ||
| --- | ||
|
|
||
| Keep daemon shutdown bounded while background maintenance is active, use lightweight read-only presence probes during exact-root store selection and identity-conflict reporting, and avoid repeating successful full integrity scans during crash recovery. |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "tracedecay": patch | ||
| --- | ||
|
|
||
| Authorize migration-owned staged session databases under the exclusive maintenance scope, and omit only volatile hook analytics from confirmation fingerprints while preserving its bytes in backups and consolidated artifacts. |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "tracedecay": patch | ||
| --- | ||
|
|
||
| Avoid redundant same-project selector opens and full session-table row counts while resolving a healthy exact-root project store, including branch-scoped graphs and preserved duplicate manifests, keeping graph calls responsive when session history lives on slower storage. |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "tracedecay": patch | ||
| --- | ||
|
|
||
| Keep `tracedecay_sessions_for` responsive on large session stores by using bounded row-presence probes for empty-index reporting instead of full correlation-table counts. |
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
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
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If consolidation is interrupted after
DestinationReadyorArtifactsMergedand a hook then appends to either input'shook_analytics.jsonl, excluding this file keeps the old confirmation token valid on retry. The ledger resumes after the relevant artifact-copy phase, so the prepared destination is not refreshed from the target and an already-completed source artifact merge is not rerun; the newly appended rows are therefore absent from the consolidated store after marker cutover even though the retry succeeds. Keep the token stable if desired, but resumptions must recopy or append-merge this volatile file before cutover rather than skipping change detection without reconciling it.Useful? React with 👍 / 👎.