-
Notifications
You must be signed in to change notification settings - Fork 0
Enforce literal substrate convergence #1705
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
4444J99
wants to merge
12
commits into
main
Choose a base branch
from
feat/omega-substrate-literal
base: main
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.
+6,889
−497
Open
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
b4ee52d
feat: enforce literal substrate convergence
4444J99 9888843
docs: link substrate owner receipts
4444J99 0b13a8c
fix: close substrate custody review gaps
4444J99 f77931a
fix: fail closed on ambiguous doorway CWDs
4444J99 3eea437
fix: close literal substrate review gaps
4444J99 b400ee3
fix: keep continuation launchable through cutover
4444J99 0025ab3
fix: keep clone reaper executable through cutover
4444J99 a854191
docs: refresh literal substrate live receipt
4444J99 525b059
fix: close literal substrate review gaps
4444J99 1962baf
fix(substrate): harden literal runtime custody
4444J99 7911425
docs(substrate): refresh live custody receipt
4444J99 03c0046
fix(substrate): close exact-head custody gaps
4444J99 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
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
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,41 @@ | ||
| """Shared loss-free classification for ignored repository entries. | ||
|
|
||
| The literal-substrate court and the clone reaper must agree about which ignored | ||
| working-tree payloads are reproducible. Anything outside this positive | ||
| allowlist requires custody and therefore prevents checkout removal. | ||
| """ | ||
|
|
||
| from __future__ import annotations | ||
|
|
||
|
|
||
| REGENERABLE_DIRS = frozenset( | ||
| "node_modules .venv venv .venv-demucs __pycache__ .pytest_cache .mypy_cache .ruff_cache " | ||
| ".tox dist build .next .nuxt .svelte-kit .astro .turbo .parcel-cache .vercel .wrangler " | ||
| ".gradle coverage .nyc_output .eggs .ipynb_checkpoints".split() | ||
| ) | ||
| REGENERABLE_SUFFIXES = (".pyc", ".pyo") | ||
| REGENERABLE_FILES = frozenset({".DS_Store"}) | ||
|
|
||
|
|
||
| def ignored_entries_from_porcelain(output: str) -> tuple[str, ...]: | ||
| """Return raw relative paths from ``git status --porcelain=v1 -z --ignored``.""" | ||
|
|
||
| return tuple( | ||
| record[3:].rstrip("/") for record in output.split("\0") if record.startswith("!! ") and record[3:].rstrip("/") | ||
| ) | ||
|
|
||
|
|
||
| def ignored_entry_is_regenerable(path: str) -> bool: | ||
| """Whether one enumerated ignored entry is safe to recreate after cloning.""" | ||
|
|
||
| normalized = path.rstrip("/") | ||
| if not normalized or normalized.startswith("/") or "\0" in normalized: | ||
| return False | ||
| parts = normalized.split("/") | ||
| if any(part in {"", ".", ".."} for part in parts): | ||
| return False | ||
| top = parts[0] | ||
| base = parts[-1] | ||
| if top in REGENERABLE_DIRS: | ||
| return True | ||
| return len(parts) == 1 and (base in REGENERABLE_FILES or base.endswith(REGENERABLE_SUFFIXES)) |
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.
When a direct installation sets a non-default
WORKSPACE_ROOTwithout exportingLIMEN_ROOT, this fallback still selects~/Workspace/library/.../limen. Provider outcomes are consequently read from and appended to a newly created stale tree rather than the installed checkout, so dispatch can lose current cooldown and failure state; derive this fallback fromWORKSPACE_ROOT, as the corrected capacity resolver does.AGENTS.md reference: AGENTS.md:L194-L197
Useful? React with 👍 / 👎.