Skip to content

One set of states, honest So far and waits, a dashboard and a tree rail (1.6.0) - #34

Merged
pierg merged 6 commits into
mainfrom
lab-states-and-tree-rail
Nov 15, 2026
Merged

pierg merged 6 commits into
mainfrom
lab-states-and-tree-rail

Conversation

@pierg

@pierg pierg commented Nov 15, 2026 •

Copy link
Copy Markdown
Owner

What

Carries out the agreed proposal for card drift and the lab site. docs/model.md changed first; code, method, skill and tests follow it.

  • Seven states for every card: open, waiting, running, parked, done, replaced, dropped. Labels on done: a question's answer (yes, no, mixed) and an experiment's outcome (confirmed, refuted, unclear, void). planned/active/in progress, built/reached and under discussion are gone.
  • A failed results review makes an experiment done and void, not a step to replace. Its numbers may not be named; what it made may be used.
  • lab answer … yes|no|mixed, resting on a done experiment that is not void.
  • Needs are met by a done step, or by a replaced or dropped experiment whose run finished (reuse of a frozen program).
  • drops: on a decision drops what it names once settled, frozen like parks:.
  • waiting_on: is only for what is outside the lab; lab check refuses one naming a lab id. Builds and readings may carry it.
  • So far may not say where a step stands ("is running", "is next", "no result yet"), and lab check reports a question's So far last committed before a result line about a step under it or named in it. lab log <step> result reminds.
  • Site: Now is a dashboard (live box with pulsing signs, needs you, next for the agent in the agreed order, a tile per question with a sign per step, resources, latest). The rail is the goal > question > step tree with signs and a key. The Graph page is removed.

Gate

python -m pytest -q with LAB_SITE_TESTS=required: 86 passed, 2 failed. The 2 (test_a_run_is_detached_and_one_whose_process_died_can_be_closed, test_closing_a_dead_run_stops_what_it_left_and_records_what_it_used) fail identically on main in the cloud container, so they look environmental. New tests: tests/test_states.py (6).

Order

CI's site extra needs folio-kb 0.7.0 (pierg/folio#25) on PyPI, so CI stays red until folio is landed and released. Then proofs-lab bumps its pins and runs lab init.

…onest, and a dashboard with a tree rail

Every card is open, waiting, running, parked, done, replaced or dropped; a done
question carries yes, no or mixed, and a done experiment its outcome, void when
its results review failed. Decisions may drop what they name. waiting_on is only
for what is outside the lab, a need is met by what a replaced or dropped
experiment's finished run made, and lab check reports a So far that says where a
step stands or is older than a result under it. Now becomes a dashboard and the
rail a tree of goals, questions and steps; the Graph page is gone.
@pierg

pierg commented Nov 15, 2026

Copy link
Copy Markdown
Owner Author

Review by a fresh reader who did not write the change: pass. Old state names no longer appear as state values. The state order, void handling, the need rule, lab answer and drops: agree across the model, the code and the checks. New output on every page is escaped. An empty lab outside git runs cleanly. On a real lab (proofs-lab), lab check reports only the method copy, which lab init refreshes.

Addressed in 1c0197c:

  • The Question row in the model said "yes-or-no".
  • The model's waiting_on: wording now names goals and questions too.
  • New tests for two refusals: drops: naming something not under about:, and running a void experiment.
  • New test that a dropped experiment with a finished run still meets a need.

Left as minor follow-ups:

  • The state-word and stale So far checks also look at answered questions.
  • The live box picks its quiet style from the text of its rows, not from a flag.

Generated by Claude Code

@pierg
pierg marked this pull request as ready for review November 15, 2026 19:11
@pierg
pierg merged commit 0ae01db into main Nov 15, 2026
6 checks passed
@pierg
pierg deleted the lab-states-and-tree-rail branch November 15, 2026 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant