Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
237 changes: 237 additions & 0 deletions AGENTS.md

Large diffs are not rendered by default.

2,984 changes: 1 addition & 2,983 deletions CLAUDE.md

Large diffs are not rendered by default.

8 changes: 1 addition & 7 deletions src/lightcone/engine/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
"""The lightcone execution engine.

Rebuild in progress: the engine is being re-added layer by layer on top of
the normative design spec. Layer 1 is project scaffolding only —
:mod:`lightcone.engine.project` (convergence) and
:mod:`lightcone.engine.templates` (the scaffolded files).
"""
"""The lightcone execution engine."""

from __future__ import annotations
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def fake_run(argv: list[str], *, cwd: Path) -> MagicMock:
artifact = "uv.lock" if argv[1] == "lock" else ".venv"
return MagicMock(returncode=0 if (project / artifact).exists() else 1)
if argv[:2] == ["uv", "lock"]:
# Only has to exist and be non-empty — layer 1 parses no lock.
# Only has to exist and be non-empty — convergence parses no lock.
(project / "uv.lock").write_text("version = 1\n")
elif argv[:2] == ["uv", "sync"]:
(project / ".venv" / "bin").mkdir(parents=True, exist_ok=True)
Expand Down
2 changes: 1 addition & 1 deletion tests/test_sandbox_wrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def test_the_write_tier_is_restated_after_the_read_only_guard() -> None:
readable project tree works there for free. SBPL is last-match-wins,
so reproducing that needs the write set to have the final word — or
the guard's `(deny file-write* PROJECT)` revokes the output directory
layer 4's recipes write into, and macOS refuses what Linux allows."""
recipes write into, and macOS refuses what Linux allows."""
project = Path("/tmp/proj")
built = Policy(
read=(project,),
Expand Down
2 changes: 1 addition & 1 deletion tests/test_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def test_a_skip_returns_the_recorded_digest_rather_than_rehashing(root: Path) ->


def test_a_moved_environment_leaves_the_output_alone(root: Path) -> None:
"""The change this layer exists for. The recipe and the decisions still
"""The change the identity split exists for. The recipe and the decisions still
define exactly this output, so it is reported and kept — remaking it
would spend the compute that a rewritten `uv.lock` never justified."""
made = _make(root, "first")
Expand Down
Loading