Reference
The learning loop
Every piece you score feeds back into the kit. Lessons from one session are ranked and surfaced in the next. Routes that failed go to a graveyard so they are not retried. Pieces you loved go to a golden set so the next session can see what worked. This page explains the loop from verdict to build-time enforcement.
A few commands take a literal --owner or --by owner flag. In those flags, "owner" means you: the person who runs the kit and scores the work.
Verdicts
A verdict is your score and words for a finished piece. It is the only quality signal the kit acts on.
lune run parallax verdict <kind> <name> <0-10 | keep | redo> "<your words>"
The kind maps to a vault department: asset and model go to the 3D department, effect and vfx to VFX, screen and ui to UI, sound and sfx to sound, and so on.
Golden set and graveyard
- Score 7 or higher
- The piece enters the golden set for its department (
kit/knowledge/vault/<dept>/golden.md). Future sessions see it as a proven example. - Score 3 or lower
- The piece enters the graveyard (
kit/knowledge/vault/<dept>/graveyard.md). A score this low needs--route "what failed", and that route is recorded so it is not tried again. - Score 4–6
- Recorded, but earns no lesson credit in either direction and adds no golden or graveyard row.
keepandredo- Direction words without a number. They add no golden or graveyard row and are never averaged into a score. For lesson credit,
keepcounts as a success andredoas a failure.
The open-piece cap (at most 3 unscored new pieces per lane per project) means you must score pieces regularly to keep the lane moving. See enforcement: open-piece cap.
Lessons
A lesson is a non-obvious finding that future sessions in any project should know. The kit surfaces lessons before new work, and it also asks for them: while a lane owes a lesson from one of your verdicts, new refuses the next piece, and handoff is still written but fails, until the lesson is recorded.
lune run parallax lesson <area> "what you learned" [--gist "the fix in one line"] [--stage <stage>[,<stage>]] [--family <family>]
area- The department:
3d,vfx,sfx,ui,world,anim,code,qaorkit. --gist- The fix in one line (at most 160 characters), shown when the lesson ranks below the top two.
--stage- The stage or stages of the lane's route this lesson applies to. An unknown stage is refused. Without it, the stage is read from the lesson's words.
--family- The kind of piece this lesson fits, from the lane's families in
kit/knowledge/families.json(for examplebladeorfirearmin 3D,swordin animation). An unknown family is refused. Without it, the family is read from the lesson's words. - Length limit
- At most 1,200 characters per lesson (
Vault.LESSON_MAXinkit/lib/vault.luau). A longer text holds more than one lesson: split it.
Citing lessons on a piece
When you apply lessons to a piece, cite the ones you used. The kit records this, then when you score the piece it credits each cited lesson as helpful or harmful.
lune run parallax lesson used <id,id,...> --piece <kind> <name>
The kinds are asset, vfx, screen, sound, world and anim.
The vault
The vault is a folder of Obsidian-compatible Markdown files the kit writes and every harness reads. You can open kit/knowledge/vault/ in Obsidian as a viewer; the kit never depends on Obsidian.
- Root
kit/knowledge/vault/- Structure
- One sub-folder per department:
3d/,vfx/,sfx/,ui/,world/,anim/,code/,qa/,kit/, plusshared/for cross-cutting pages andprompt/for PROMPT-X's records. - Per department
index.md,boot.md(shown when a session starts),lessons/, and, as records arrive,verdicts/,golden.md,graveyard.mdandrules.md.- Shared
shared/index.mdand topic pages that apply across departments.
The vault pages shown by status and start are cut to a fixed token budget (vault.budget in kit.config.json). lune run parallax vault page <dept> --full shows the whole page, and --budget N sets another budget.
Retrieval by relevance
When you start a session for a piece, the kit ranks the department's lessons for that piece and shows the most relevant ones first.
lune run parallax start <lane> --for "<piece name or describing words>"
The ranking (Vault.rank in kit/lib/vault.luau) scores each lesson by:
- relevance: BM25 word matching between the piece's words and the lesson's text and gist;
- evidence: your verdicts on the pieces the lesson was cited or shown on (a flagged lesson scores lowest);
- recency: a small boost for new lessons that fades over about a month;
- family: a lesson of the piece's family ranks higher, one of another family lower;
- game: a lesson from another game in the project ranks lower.
The kit also has a replay evaluation (Vault.eval) that measures, on past citations, how often each ordering would have surfaced the lessons that were actually used.
Lessons biting at build time
Lessons are not just reading material. For VFX, UI, animation, sound and world pieces, the ranked lessons become a required sheet that you must answer before the piece builds and before verify passes.
# write and check the lessons sheet for a new piece
lune run parallax answer <vfx|ui|anim|sfx|world> <name>
# for 3D assets
lune run parallax study <asset> --new
The sheet asks you to answer the top-ranked lessons that share words with the piece (at most 5 must be answered). For each one you write either - <id>: how this piece applies it or - skip <id>: why it does not apply. Every answer, applied or skipped, needs at least 6 words. The applied ones are recorded as citations on the piece, so your verdict credits them.
Reroutes
If the piece's route changes after the sheet was answered (for example you switch from a generated mesh to a hand-modelled one), run the same command with --reroute. The old answers are kept under ## Earlier answers, and every matched lesson is asked again for the new route.
Lesson credit
Lesson credit ties each lesson's history to the outcomes of the pieces that used it.
- When you apply a lesson to a piece, cite it:
lune run parallax lesson used <ids> --piece <kind> <name>. The kit records this inboard/citations.json. - When you later score the piece with
verdict, the kit updates each cited lesson:- Score 7 or higher, or
keep: the lesson is marked helpful. - Score 3 or lower, or
redo: the lesson is marked harmful. - Score 4–6: no credit either way.
- Score 7 or higher, or
- A lesson is flagged when it has three or more uses and harmful leads helpful by two or more. A lesson that was only shown, not named, counts at half weight. Flagged lessons are shown with a warning but are never retired automatically.
These counts feed the ranking's evidence: helpful lessons rank higher, harmful ones lower.
Distilling rules and taste models
Beyond individual lessons, the kit provides two aggregation tools.
vault distil
Distils a department's records into its rules page (rules.md). You can add, edit or retire individual rules:
lune run parallax vault distil <dept> [--since D] [--rule "new rule text"] [--edit "R-<dept>-<n>: revised text"] [--retire "R-<dept>-<n>: why"]
taste models
A taste model per lane is built from your own scores, never a guess. It is tested leave-one-out and is on only with 20 or more scored pieces that it orders your way at least 60% of the time. It only orders candidates, and you can switch it off at any time:
lune run parallax taste train <lane>
lune run parallax taste order <lane> <candidates ...>
lune run parallax taste off <lane>
lune run parallax taste on <lane>
The taste model is an ordering signal only; it does not replace your verdict.
promote and sync across games
Lessons you record with lesson are written to the kit's home, for every project. Proven content moves there with promote, and sync brings the kit home's latest into a project.
# add proven content to the example library every project can start from
lune run parallax promote <asset|sound|vfx|screen|world|anim> <name> --about "one line"
# pull the latest kit, lessons and examples from the kit home
lune run parallax sync
promote refuses a piece unless its gate passed after its last edit and your verdict on it in the vault is 7 or more (or you quote your words with --owner "..."). A screen also needs a ui look record of its current build. An example of the same name is replaced only with --force.
sync runs update from the kit home. It replaces the kit's own files. In the vault, it replaces the kit-owned pages (index.md, boot.md, README.md, *.base, _templates/), merges golden.md, graveyard.md and orders.md by appending lines you do not have, and copies other notes (lessons, verdicts, rules) only when they are missing, so what your project recorded is kept.
Regression floors
Once a build is approved, you can lock its measured quality as a floor. A later build that measures worse than the floor fails verify.
lune run parallax accept <asset> ["your words"] [--lower]
lune run parallax accept <vfx|screen|sound|world|anim|system> <name>
- 3D: a later build measuring more than 2 raw points below the floor fails. The floor is stored in
assets/models/<asset>.accepted.json. - Other kinds: the floor is a build you rated 7 or more, and each measured value has its own tolerance. Floors are stored in
assets/floors/<kind>/<name>.accepted.json. --lowerlowers a 3D floor, or moves it to another build. You must confirm it at your own terminal; an agent's shell cannot.