-
Notifications
You must be signed in to change notification settings - Fork 2
Paper-reproduction skill bundle in lightcone-cli #86
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
Merged
Merged
Changes from all commits
Commits
Show all changes
129 commits
Select commit
Hold shift + click to select a range
b0b9fb0
Add /narrative skill (ported from lightcone-ui#10)
cailmdaley 4f9a724
skills: add ralph-loops, managing-bibliography, constitution; update …
cailmdaley 7d53081
skills: add /paper2astra orchestrator + bundle README
cailmdaley 8bd67ff
CLAUDE.md: surface paper-reproduction skill bundle in repo overview
cailmdaley 272599b
skills/ralph-loops: tighten description triggers
cailmdaley 9f19380
Add paper2astra follow-up skills: check-sentence-by-sentence and figu…
NolanKoblischke 380b87d
skills: tend the bundle — drop provenance, sharpen constitution skill
cailmdaley 4a003d9
skills/paper2astra: align SKILL.md with restructured constitution
cailmdaley 0992daa
skills/paper2astra: align phase references with restructured constitu…
cailmdaley 609d74d
skills/paper2astra/acquire: name why work/reference/code/ matters
cailmdaley 1be5efa
Merge origin/add/narrative-skill (Nolan's two follow-up skills)
cailmdaley 79e9f1d
skills/paper2astra: introduce FINAL_REVIEW as the post-loop interacti…
cailmdaley 15c6dff
skills/paper2astra: phase redesign — collapse 11 phases to 9, sharpen…
cailmdaley 12ce714
skills/paper2astra: rigor-dial REVIEW + IMPLEMENT, fold FINAL_REVIEW …
cailmdaley 50c0869
paper2astra: ARCHITECT-first phase shape — references/
cailmdaley 7fb82fb
paper2astra: ARCHITECT-first phase shape — SKILL.md + interview + README
cailmdaley 7329524
paper2astra: move LITERATURE after SPECIFY in the skill
cailmdaley 3169d8f
Merge branch 'main' into add/narrative-skill
EiffL 7d39486
Merge branch 'main' into add/narrative-skill
EiffL 6bacfb6
paper-extraction skill: structural extraction from arXiv source / PDF…
cailmdaley 8a4deca
paper2astra: rewire ACQUIRE to /paper-extraction
cailmdaley cd5b83a
retire managing-bibliography; rewire bundle cross-refs to paper-extra…
cailmdaley 7bfc649
lc-new: skill-creator-shaped description (scoped to fresh-idea)
cailmdaley 604267d
rename lc-new -> lc-from-question; lc-migrate -> lc-from-code; paper2…
cailmdaley 0b5b39c
restore lc-new (don't rename to lc-from-question)
cailmdaley d13479b
docs: drop retired skill pages from nav
cailmdaley 223d9ec
docs: align skill indexes with current bundle
cailmdaley 8f0ec83
docs: rewrite user workflow around current commands
cailmdaley a97f814
Clarify code augmentation in paper reproduction skills
cailmdaley 41e5183
Clarify baseline universe skill behavior
cailmdaley d8adffa
Make from-paper skill instructions imperative
cailmdaley b9089c6
Streamline from-paper phase workflow
cailmdaley 44923a8
Rewrite lc-from-paper as orchestrator + named sub-agents
cailmdaley 333fde1
Rewrite lc-from-paper interview reference
cailmdaley bf4df04
Realign acquire/architect references; move cited_papers.yaml to ACQUIRE
cailmdaley bc6c266
Realign specify/literature/implement references to orchestrator archi…
cailmdaley 0f549bc
Realign run/compare/review references; add opportunity assessment to …
cailmdaley 56a8b4e
Drop constitution and ralph-loops skills; realign top-level docs
cailmdaley a312e17
paper-extraction: resolve bibliography DOIs in extract-paper-substrat…
cailmdaley 21d79d8
paper-extraction: document the enriched citations: block
cailmdaley 6634ba8
lc-from-paper: collapse bibliography consumers onto index.json#citations
cailmdaley 7c5d546
lc-from-paper: capture fidelity intent as prose in INTERVIEW + Goal
cailmdaley 4847912
lc-from-paper: reframe rigor as trajectory toward user's intent
cailmdaley eb2ecaf
lc-from-paper: grade COMPARE opportunities against user's fidelity in…
cailmdaley f3d81ba
narrative: substrate/mode separation, operational rebuild
cailmdaley 0c084f2
paper-extraction: refresh Path B note for bibliography-resolution state
cailmdaley bc34267
paper-extraction: tighten Step 5 (one example, fold the rambly bits)
cailmdaley c1f7563
lc-from-paper: persistent paper-expert + code-expert architecture
cailmdaley 5499bf9
docs: catch skills docs up to the current bundle
cailmdaley e1e6fec
README: fix two stale claims; mirror the same fix in architecture.md
cailmdaley 78bd863
ralph-loops + constitution: re-add the iteration substrate
cailmdaley 102ca0c
ralph: collapse constitution + ralph-loops into one skill
cailmdaley d743bd1
lc-from-paper: split per-paper template into constitution.md + CLAUDE.md
cailmdaley a91b767
lc-from-paper: SKILL.md for the ralph dispatch shape
cailmdaley 24f1e0d
lc-from-paper: interview retune + drop misplaced edits
cailmdaley 5a6d02c
lc-from-paper: acquire + architect references for the ralph dispatch
cailmdaley bf55fce
docs + bundle index: catch up with the ralph dispatch shape
cailmdaley ba8af15
lc-from-paper: retune the remaining phase references for the ralph shape
cailmdaley 0977eba
CLAUDE.md: add ralph to the skills enumeration
cailmdaley d7b48f8
ralph + lc-from-paper docs: cold-survey cleanup
cailmdaley b7e0998
lc-from-paper: two small clarifications in SKILL.md
cailmdaley b1d532b
lc-from-paper: cold-survey cleanups in specify + compare references
cailmdaley 2ffbda4
lc-from-paper: rebase SPECIFY + LITERATURE onto astra-spec 0.0.10 gra…
cailmdaley 1f9ea4d
lc-from-paper: cold-survey cleanups in review + compare references
cailmdaley 1171786
lc-from-paper/specify: document Option.insights ../ scope grammar
cailmdaley d717939
lc-from-paper: cold-survey cleanups in SKILL.md + compare/implement/r…
cailmdaley f971ae6
docs: catch bundle-count slips up with the ralph re-add
cailmdaley ee7fb70
lc-from-paper/run: align phase-intro with sibling references
cailmdaley 754756b
lc-from-paper/interview: correct Evidence parenthetical
cailmdaley 0022bed
docs: catch SPECIFY's implementation-notes.md output in lc-from-paper…
cailmdaley 987a0d5
lc-from-paper: cold-survey cleanup of prior_insights placeholder lang…
cailmdaley d20c680
lc-from-paper: cold-survey cleanup of placeholder-evidence shorthand …
cailmdaley 6f25aa5
lc-from-paper/architect: cold-survey cleanup of stub-yaml top comment
cailmdaley 6786a45
lc-from-paper/specify: precise three-block evidence shape in topic se…
cailmdaley febf2f3
lc-from-paper/implement: drop imprecise parenthetical from method-fid…
cailmdaley ffeb1a1
lc-from-paper: cold-survey cleanup of user-accepted-partial shorthand
cailmdaley 6406b08
lc-from-paper/review: address iter 15's deferred review.md:3 flag
cailmdaley 475d389
lc-from-paper: surface cheap-mode review termination in SKILL.md:100
cailmdaley ba31239
lc-from-paper: align cheap/heavy at SKILL.md:139 + docs mirror with t…
cailmdaley 4d028d9
Merge remote-tracking branch 'origin/main' into add/narrative-skill
cailmdaley 8f6f4aa
lc-from-paper/templates: drop redundant code-as-canonical from consti…
cailmdaley 17d5329
lc-from-paper/architect: trim vestigial Round-6 SendMessage reference
cailmdaley 6367c6b
cli/init: reframe Next steps for agent-first usage
cailmdaley 6918267
README + user docs: substrate tracks, not prescribes (Liam alignment)
cailmdaley 00e3467
gitignore: .DS_Store
cailmdaley f12817d
lc-from-paper: drop in-iteration review fan-out — review is just sequ…
cailmdaley 2481015
skills: add /astra and /lc-cli reference skills; drop heavy session-s…
cailmdaley d9c9a0a
skills/README: add Reference skills section for /astra and /lc-cli
cailmdaley f99770d
docs + CLAUDE.md: purge stale ui-brand / guides/ references
cailmdaley ba929df
astra: add Options subsection + flag Insight.created_at as required
cailmdaley 0fa6295
eval/harness: drop dead .claude/guides refs from default loop prompt
cailmdaley e310b9a
fix(lc-from-paper): require interview questions and continue after co…
NolanKoblischke 942d825
Merge main into add/narrative-skill
cailmdaley 5d69896
docs/skills: writing pass on index + lc-new
cailmdaley d1d7645
lc init: scaffolded CLAUDE.md surfaces the three entry skills
cailmdaley 2b4a120
docs/skills/lc-from-code: writing pass + output-path accuracy
cailmdaley 8f180c5
docs/skills/lc-from-code: lede verb "Wrap" → "Import"
cailmdaley 3c4302e
docs/skills/lc-from-paper: writing pass
cailmdaley fe54e8d
docs/skills/ralph: writing pass
cailmdaley 3c51609
docs/skills/paper-extraction: writing pass
cailmdaley c9842d9
docs/skills/narrative: writing pass (one-line)
cailmdaley 0d95321
docs/skills/figure-comparison: writing pass (one-line)
cailmdaley c8afb13
docs/skills/check-sentence-by-sentence: writing pass
cailmdaley 6fd95dd
docs/skills/lc-feedback: writing pass (hard rules only)
cailmdaley 03719fd
docs/skills/authoring: writing pass + accuracy fixes
cailmdaley 599ccb3
lc-from-paper: reshape rigor framing + surface CLAUDE.md as state
cailmdaley 7b9558a
lc-from-paper: collapse review-and-fix into single iteration
cailmdaley 2d00710
lc-from-paper: correct review termination — clean pass after last fix
cailmdaley 5254111
lc-from-paper: split INTERVIEW into two beats with /paper-extraction …
cailmdaley 4524774
lc-from-paper: drop the Rigor vocabulary — review is "read critically…
cailmdaley b944a3e
paper-extraction: handle nested caption braces
cailmdaley 1d4f6b8
lc-from-paper: collapse INTERVIEW + ACQUIRE into a single ORIENT phase
cailmdaley 6936c54
lc-from-code: drop inline-only rule in scan-only mode; embrace Explore
cailmdaley 1deb588
docs: propagate INTERVIEW + ACQUIRE → ORIENT renaming
cailmdaley dab2d4d
docs/skills: ORIENT-first, not interview-first
cailmdaley aa58ac4
ralph: drop Rigor from the CLAUDE.md accumulator example
cailmdaley 3a50a19
lc-from-paper: drop the orchestrator-era review-file commit cadence
cailmdaley 05dc341
docs/user/agent-workflow: propagate ORIENT-first + drop the Rigor sec…
cailmdaley eb81186
lc-from-paper: drop two more Rigor-vocabulary orphans
cailmdaley 37232ec
fix(check-sentence-by-sentence): mark skill as user-invoked only
NolanKoblischke d2a90df
lc-from-paper: drop four more Rigor-vocabulary orphans
cailmdaley b593fe5
lc-from-code: drop allowed-tools so the agent isn't unintentionally l…
cailmdaley de89415
paper-extraction: derive ASTRA_SCHEMA_VERSION from installed astra-spec
cailmdaley 0433eea
docs/skills/authoring: stop calling the resync recipe "lc update"
cailmdaley 6b75420
paper-extraction: fail loud on missing astra-spec instead of falling …
cailmdaley 09d1af0
skills: drop allowed-tools from paper-extraction, check-sentence-by-s…
cailmdaley 20c708b
lc-cli: drop lc eval from the agent-facing CLI reference
cailmdaley 01cb014
docs/glossary: refresh stale Ralph loop entry
cailmdaley 811280d
lc-from-paper: mandate an explicit user-approval gate before launchin…
cailmdaley 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 |
|---|---|---|
|
|
@@ -219,3 +219,6 @@ uv.lock | |
| .dev.vars* | ||
| !.dev.vars.example | ||
| !.env.example | ||
|
|
||
| # macOS | ||
| .DS_Store | ||
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,43 @@ | ||
| # lightcone-cli skills | ||
|
|
||
| Each subdirectory is one Claude Code skill: `SKILL.md` plus optional `references/`, `assets/`, and `scripts/`. `lc init` copies these into a project's `.claude/skills/` so they are discoverable to Claude Code sessions. | ||
|
|
||
| ## Project lifecycle skills | ||
|
|
||
| | Skill | Role | | ||
| |---|---| | ||
| | `lc-new` | Scaffold a new ASTRA-shaped project from a research question. | | ||
| | `lc-from-code` | Bring an existing codebase into ASTRA — scan, spec, parameterize. | | ||
| | `lc-from-paper` | Reproduce a published paper in ASTRA (paper-reproduction bundle entry point — see below). | | ||
| | `lc-feedback` | Report bugs and feature requests upstream. | | ||
| | `ralph` | Author a constitution and run a ralph loop against it (authoring + launching + iterating in one skill). `lc-from-paper` uses this for the long middle of a reproduction; standalone for any other long-running work. | | ||
|
|
||
| ## Reference skills | ||
|
|
||
| Not direct entry points — Claude invokes these (or other skills invoke them) to load reference content into the session. The session-start hook primes their names so they're discoverable from turn one. | ||
|
|
||
| | Skill | Role | | ||
| |---|---| | ||
| | `astra` | Reference for the `astra.yaml` spec: structure, decisions, options, prior insights, findings, evidence, sub-analyses, narrative anchors, composition mechanics. | | ||
| | `lc-cli` | Reference for `lc` workflow: commands, the Spec-Code Invariant, status interpretation, failure diagnosis, multiverse runs, WRROC export. | | ||
|
|
||
| ## Paper-reproduction bundle | ||
|
|
||
| A self-contained toolkit for reproducing published papers in ASTRA. The bundle is co-located so a single `lc init` brings the full toolkit into a project — no plugin marketplace, no separate installs. | ||
|
|
||
| | Skill | Role | | ||
| |---|---| | ||
| | [`lc-from-paper`](lc-from-paper/SKILL.md) | **Reproduction driver.** ORIENT-first; one pre-loop phase in the user's main session that asks for the paper, runs `/paper-extraction` inline, interviews the user (grounded in the paper), clones the reference code and runs `/lc-from-code` scan-only (when a repo exists), and drafts the per-paper `constitution.md` + `CLAUDE.md`. Then hands off to a ralph loop whose iterations carry the long middle: ARCHITECT → SPECIFY → LITERATURE → IMPLEMENT → RUN → COMPARE. When the loop closes (constitution `status: closed` after COMPARE returns `pass`), REVIEW runs back in the user's main session. Fidelity intent — captured as prose at ORIENT — is what every iteration reads when sizing its next move, and what COMPARE grades opportunities against. | | ||
| | [`ralph`](ralph/SKILL.md) | The loop substrate. `lc-from-paper`'s ORIENT invokes `/ralph`'s Authoring mode to draft the per-paper constitution; the loop launcher hands off after ORIENT lands. Each iteration runs `/ralph`'s Loop protocol against the constitution. | | ||
| | [`narrative`](narrative/SKILL.md) | Author the `narrative:` prose and decision `rationale:` in `astra.yaml`. Invoked by `lc-from-paper`'s ARCHITECT (for the structural narrative) and SPECIFY (for anchored content narrative). | | ||
| | [`paper-extraction`](paper-extraction/SKILL.md) | Turn an arXiv ID or DOI into a standardized `work/reference/` directory: structural index (figures, tables, outline, citations with resolved DOIs) plus a stub `astra.yaml` for the paper. Primary acquisition path for `lc-from-paper`'s ORIENT (Stage 2); also invoked per cited paper by LITERATURE. | | ||
| | [`check-sentence-by-sentence`](check-sentence-by-sentence/SKILL.md) | Audit paper claims against code locations (`file:line` or `NOT FOUND`). Invoked from `lc-from-paper`'s REVIEW close-out (opt-in); also user-invokable directly. | | ||
| | [`figure-comparison`](figure-comparison/SKILL.md) | Build a self-contained HTML side-by-side: original figures/tables/numerics vs replicated. Invoked from `lc-from-paper`'s REVIEW close-out (mandatory); also user-invokable directly. | | ||
|
|
||
| The full reproduction story spans these skills. `lc-from-paper`'s `SKILL.md` names each by role and tells the agent when to invoke them; the siblings stand alone and don't know about `lc-from-paper`. | ||
|
|
||
| ### Why bundle (not depend on plugin install) | ||
|
|
||
| - **Testability.** We want to verify `lc-from-paper` invokes its sibling skills correctly. That only works when all are in the same checkout. | ||
| - **Single install path.** `lc init` brings the full toolkit. Adding a separate plugin-marketplace step is friction we don't need. | ||
| - **Future consolidation is open.** The long-run shape may be `astra` ships skills in `astra`, `lc` ships skills in `lightcone-cli`, plus a centralized external-skills list. Today: bundle it all. See [[lightcone/skills-location-policy]]. |
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.
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.
Uh oh!
There was an error while loading. Please reload this page.