Skip to content

Commit f26d85b

Browse files
cailmdaleyclaude
andcommitted
DOGFOOD PINS: point at open PR branches (revert before merge)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BQsFRKkQYqWRsJRh7TNMaT
1 parent 21499dd commit f26d85b

3 files changed

Lines changed: 22 additions & 4 deletions

File tree

pyproject.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ classifiers = [
2626
]
2727

2828
dependencies = [
29-
"astra-tools>=0.2.10",
29+
# DOGFOOD PIN — revert when astra-tools releases >0.2.10 (restore "astra-tools>=0.2.11").
30+
"astra-tools @ git+https://github.com/LightconeResearch/astra-tools@main",
3031
"click>=8.0",
3132
"pyyaml>=6.0",
3233
"rich>=13.0",
@@ -69,6 +70,11 @@ build-backend = "hatchling.build"
6970
[tool.hatch.version]
7071
source = "vcs"
7172

73+
# DOGFOOD PIN — needed for the astra-tools git direct reference above; remove
74+
# together with that pin when astra-tools releases >0.2.10.
75+
[tool.hatch.metadata]
76+
allow-direct-references = true
77+
7278
[tool.hatch.build.targets.wheel]
7379
packages = [
7480
"src/lightcone",

src/lightcone/cli/commands.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@
4444
# is only active in lc-init'd folders the harness trusts).
4545
MARKETPLACE_NAME = "lightcone-research"
4646
MARKETPLACE_REPO = "LightconeResearch/agent-skills"
47+
# DOGFOOD PIN — revert to default branch when agent-skills#15 merges.
48+
MARKETPLACE_BRANCH = "astra-plugin-rework"
4749
PLUGIN_NAME = "lightcone"
4850
PLUGIN_REF = f"{PLUGIN_NAME}@{MARKETPLACE_NAME}"
4951

@@ -56,7 +58,11 @@
5658
# ``.venv/bin/astra`` exists, and the plugin's activate-venv SessionStart hook
5759
# prepends ``.venv/bin`` to PATH so that copy resolves while ``lc`` stays global.
5860
# This is the requirement string that venv install uses.
59-
ASTRA_TOOLS_REQUIREMENT = "astra-tools>=0.2.10"
61+
# DOGFOOD PIN — revert to "astra-tools>=0.2.10" when astra-tools releases >0.2.10;
62+
# @main carries the `astra spec` pre-release the venv copy needs.
63+
ASTRA_TOOLS_REQUIREMENT = (
64+
"astra-tools @ git+https://github.com/LightconeResearch/astra-tools@main"
65+
)
6066

6167

6268
def _config_path() -> Path:
@@ -586,7 +592,9 @@ def _marketplace_arg() -> str:
586592
Claude Code and Codex both accept the ``owner/repo`` form (and an optional
587593
``@ref`` suffix), so a single argument serves both registrations.
588594
"""
589-
return MARKETPLACE_REPO
595+
# DOGFOOD PIN — revert to `MARKETPLACE_REPO` when agent-skills#15 merges.
596+
# The `@branch` suffix pins `<harness> plugin marketplace add` to a branch.
597+
return f"{MARKETPLACE_REPO}@{MARKETPLACE_BRANCH}"
590598

591599

592600
def _register_claude_marketplace(project_dir: Path) -> bool:

src/lightcone/eval/sandbox.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,11 @@ def setup(
211211
# signature changes or the sandbox lacks network, the trial still
212212
# runs (skill-less) rather than aborting setup.
213213
install = self.exec(
214-
"claude plugin marketplace add LightconeResearch/agent-skills"
214+
# DOGFOOD PIN — the `@astra-plugin-rework` ref pins the marketplace
215+
# to agent-skills#15 so the eval exercises the PR. Revert to
216+
# `LightconeResearch/agent-skills` when it merges.
217+
"claude plugin marketplace add"
218+
" LightconeResearch/agent-skills@astra-plugin-rework"
215219
" && claude plugin install lightcone@lightcone-research",
216220
timeout=120,
217221
)

0 commit comments

Comments
 (0)