You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 218b5fb
Browse filesBrowse the repository at this point in the historyBrowse files
openspec: repair three fissions that let a condition slip, and one scenario name (pass 10)
Council pass 10 (validation), seat gpt-5.6-sol, each reproduced by the coordinator against
`git show 1a51102` before acting:
1. active-learning-decisions, "Activation is readiness-gated on every entry path": the clause
"whenever the *resulting* document would be `active`" governed both SHALLs of the 532-char
sentence; the fission left it on the evaluate-readiness half, so the PlanNotReady half read as
refusing any incomplete document, drafts included. The clause is now repeated verbatim into
the refusal fragment (381 chars).
2. active-learning-decisions, "A plan-related active primary carries one warm-up first move":
the When-clause (plan-related, not the body double, active kind) governed derive AND carry;
the carrier fragment lost it. Repeated verbatim (446 chars).
3. web-ui, "Plan with architect journey": lane B classed "Navigating away is **not** the abandon
path: … a reload cannot kill a live session … the console reattaches … the End control
abandons it" as rationale and moved it into a scenario. It is a negative guarantee and
lifecycle behaviour the tests prove, so it returns to a body as its own requirement through a
`modalise` (is -> be, SHALL inserted; 407 chars); the wrapper scenario is removed and
"Leaving before the launch lands …" is homed under it.
4. data-store-and-sync: the test-sourced scenario said "every global table"; its test seeds six of
the ten. Renamed to what the THEN already lists; the coverage gap is filed, not papered.
Checker: a `split-sentence` entry may now declare `repeated_clause` — a verbatim clause of the
fissioned sentence (sentence-initial capital aside) credited once per further fragment and
reported as `clause-restated` for the reader; a clause the sentence never contained is refused
(`split-sentence-clause-not-in-sentence`). `added_tokens` keeps refusing polarity words, which is
what made the honest repair need a declaration of its own. 39 checker tests (one new, RED first).
Whole tree: 0 fail, 29 warn, 452 drift entries. `just spec-check`: 26 passed, 0 failed.
Copy file name to clipboardExpand all lines: openspec/.split-exceptions.toml
+24-12Lines changed: 24 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -160,9 +160,13 @@ reason = "One 532-char sentence: the four entry paths and the refusal. Split at
160
160
old = "`apply` SHALL evaluate readiness whenever the *resulting* document would be `active` — create with `status=\"active\"` (`CreatePlan`), import of a document whose frontmatter says `active` (`ImportDocument`), replacement of an existing document with one whose frontmatter says `active` (`ReplaceDocument`), and a lifecycle transition to `active` (`TransitionLifecycle`) — and SHALL raise `PlanNotReady` carrying a `ReadinessView` **before any canonical write** when the plan has no mission `why`, no success criteria, or no milestones."
161
161
new = [
162
162
"`apply` SHALL evaluate readiness whenever the *resulting* document would be `active` — create with `status=\"active\"` (`CreatePlan`), import of a document whose frontmatter says `active` (`ImportDocument`), replacement of an existing document with one whose frontmatter says `active` (`ReplaceDocument`), and a lifecycle transition to `active` (`TransitionLifecycle`).",
163
-
"`apply` SHALL raise `PlanNotReady` carrying a `ReadinessView` **before any canonical write** when the plan has no mission `why`, no success criteria, or no milestones.",
163
+
"Whenever the *resulting* document would be `active`, `apply` SHALL raise `PlanNotReady` carrying a `ReadinessView` **before any canonical write** when the plan has no mission `why`, no success criteria, or no milestones.",
164
164
]
165
-
added_tokens = ["`apply`", "."]
165
+
added_tokens = ["`apply`", ".", ","]
166
+
repeated_clause = "whenever the *resulting* document would be `active`"
167
+
# pass 10 (seat gpt-5.6-sol, reproduced by the coordinator): the clause governed both SHALLs in the
168
+
# base sentence; without it the refusal fragment read as refusing any incomplete document, drafts
@@ -447,9 +451,13 @@ reason = "One 502-char sentence: the condition + `derive one first move`, then `
447
451
old = "When `build_now_plan` has ranked and applied the plan-backed guarantee, and the primary (and only the primary) is plan-related (carries a `PlanRef`), is not the body double, and is of an active kind — `action_type` in `hands-on`, `conversation`, `teachback` — `learning/decision.py::_warm_up` SHALL derive one first move on the primary's own material and carry it as `metadata[\"first_move\"]` (with `first_move_lesson_id`/`first_move_lesson_title` when a lesson resolved, exactly as on the body double)."
448
452
new = [
449
453
"When `build_now_plan` has ranked and applied the plan-backed guarantee, and the primary (and only the primary) is plan-related (carries a `PlanRef`), is not the body double, and is of an active kind — `action_type` in `hands-on`, `conversation`, `teachback` — `learning/decision.py::_warm_up` SHALL derive one first move on the primary's own material.",
450
-
"`learning/decision.py::_warm_up` SHALL carry it as `metadata[\"first_move\"]` (with `first_move_lesson_id`/`first_move_lesson_title` when a lesson resolved, exactly as on the body double).",
454
+
"When `build_now_plan` has ranked and applied the plan-backed guarantee, and the primary (and only the primary) is plan-related (carries a `PlanRef`), is not the body double, and is of an active kind — `action_type` in `hands-on`, `conversation`, `teachback` — `learning/decision.py::_warm_up` SHALL carry it as `metadata[\"first_move\"]` (with `first_move_lesson_id`/`first_move_lesson_title` when a lesson resolved, exactly as on the body double).",
repeated_clause = "When `build_now_plan` has ranked and applied the plan-backed guarantee, and the primary (and only the primary) is plan-related (carries a `PlanRef`), is not the body double, and is of an active kind — `action_type` in `hands-on`, `conversation`, `teachback` —"
458
+
# pass 10 (seat gpt-5.6-sol, reproduced): the When-clause governed derive AND carry; the carrier
459
+
# fragment without it read as unconditional. Repeated verbatim; `it` keeps its referent through the
460
+
# heading ("the move") and the restated condition.
453
461
454
462
[[split-sentence]]
455
463
spec = "active-learning-decisions"
@@ -796,7 +804,8 @@ reason = "Rework (ruling L5): states system behaviour (which tables every sync o
796
804
[[test-sourced]]
797
805
spec = "data-store-and-sync"
798
806
heading = "Cross-machine sync — global tables travel in full, session-scoped tables are filtered to the delta"
799
-
scenario = "A one-session delta still carries every global table"
807
+
scenario = "A one-session delta still carries the global tables its fixture seeds"
808
+
# pass 10 (seat gpt-5.6-sol): the test seeds six of the ten global tables; the name said "every"
800
809
test = "packages/agent-session-tools/tests/test_sync.py::TestDumpDeltaSql::test_includes_durable_metadata_tables"
801
810
reason = "Proves the global-tables sentence: a delta built for one session still carries an INSERT for every global table the test seeds (study_progress, study_sessions, teach_back_scores, knowledge_bridges, parked_topics, scrub_log) beside the session's own session_learning_metadata and file_references rows."
802
811
@@ -1760,14 +1769,6 @@ scenario = "A click that beats the options fetch still starts exactly once"
1760
1769
test = "packages/studyloop/tests/test_web_plan_architect_journey.py::test_click_that_beats_the_options_fetch_still_starts_exactly_once[chromium]"
1761
1770
reason = "The bounded-wait fragment (council review 6); the test holds /api/session/options and asserts exactly one start POST after it resolves."
1762
1771
1763
-
[[moved-body-text]]
1764
-
spec = "web-ui"
1765
-
heading = "Plan with architect journey"
1766
-
ordinal = 14
1767
-
text = '''Navigating away is **not** the abandon path: a closed socket detaches with a grace period by design, so an accidental reload cannot kill a live session — and a launch that lands *after* the learner has left the console is a session like any other (owner decision 2026-09-18, council review 6 F3b): it exists, it created no plan, the console reattaches to it on return, and the End control abandons it.'''
1768
-
scenario = "Navigating away is not the abandon path"
1769
-
reason = "Class: rationale / owner-decision note (no SHALL, 401 chars; explains why navigating away is not the abandon path — the behaviour itself is the abandon SHALL and the grace-period requirement elsewhere) between the abandon SHALL (#13, 294) and 'There is no cancel for a pending launch' (#15); with #13 it exceeds 500 and no other SHALL is adjacent. Homed as a scenario under the abandon fragment beside 'Leaving before the launch lands leaves a session like any other', which proves it."
1770
-
1771
1772
# -- Plan list rows carry readiness and the sidebar marks a husk (812) -> 3 fragments
1772
1773
1773
1774
[[restates-shall]]
@@ -2062,3 +2063,14 @@ ordinal = 4
2062
2063
text = '''With this, every blocker `readiness()` can name — mission `why`, success criteria, milestones — is repairable with the tool the architect already holds, so `plan repair` is a repair rather than dictation.'''
2063
2064
scenario = "Why plan repair is a repair rather than dictation"
2064
2065
reason = "Class: rationale (why exposing the mission fields matters; no SHALL, tells the implementer nothing to do). Follows the gate sentence in the base and is homed as a scenario on the gate fragment, verbatim."
2066
+
2067
+
# ---- pass 10 (coordinator): web-ui 'Navigating away' returned from a scenario to a body ----
2068
+
2069
+
[[modalise]]
2070
+
spec = "web-ui"
2071
+
heading = "Plan with architect journey"
2072
+
ordinal = 14
2073
+
old = '''Navigating away is **not** the abandon path: a closed socket detaches with a grace period by design, so an accidental reload cannot kill a live session — and a launch that lands *after* the learner has left the console is a session like any other (owner decision 2026-09-18, council review 6 F3b): it exists, it created no plan, the console reattaches to it on return, and the End control abandons it.'''
2074
+
new = '''Navigating away SHALL **not** be the abandon path: a closed socket detaches with a grace period by design, so an accidental reload cannot kill a live session — and a launch that lands *after* the learner has left the console is a session like any other (owner decision 2026-09-18, council review 6 F3b): it exists, it created no plan, the console reattaches to it on return, and the End control abandons it.'''
2075
+
verb = ["is", "be"]
2076
+
reason = "Pass 10 (seat gpt-5.6-sol, reproduced by the coordinator; overturns lane B's 'rationale' class): 'is **not** the abandon path', 'cannot kill a live session', 'the console reattaches', 'the End control abandons it' are a negative guarantee and lifecycle behaviour that the scenario 'Leaving before the launch lands leaves a session like any other' proves; pass 9 §4 Q2 keeps negative guarantees in bodies. Its own requirement (with the abandon SHALL it exceeds 500); the scenario lane B wrapped it in is removed and the proving scenario is homed here."
Copy file name to clipboardExpand all lines: openspec/specs/web-ui/spec.md
+7-9Lines changed: 7 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -738,15 +738,13 @@ There is no cancel for a pending launch.
738
738
-**WHEN** the learner activates the control and, as soon as the `201` arrives, uses the console's End control and confirms
739
739
-**THEN**`GET /api/session/state` has no `study_session_id` and no planning purpose, `GET /api/plans` and the plans directory are unchanged, exactly one `study-session-start` fired, at most one WebSocket was opened, and no purpose label is visible
740
740
741
-
#### Scenario: Navigating away is not the abandon path
742
-
-**WHEN** the learner leaves the console while a planning session is live or
743
-
its launch is still in flight
744
-
-**THEN** navigating away is **not** the abandon path: a closed socket detaches with a
745
-
grace period by design, so an accidental reload cannot kill a live session —
746
-
and a launch that lands *after* the learner has left the console is a session
747
-
like any other (owner decision 2026-09-18, council review 6 F3b): it exists,
748
-
it created no plan, the console reattaches to it on return, and the End
749
-
control abandons it
741
+
### Requirement: Plan with architect — navigating away is not the abandon path
742
+
Navigating away SHALL **not** be the abandon path: a closed socket detaches with a
743
+
grace period by design, so an accidental reload cannot kill a live session —
744
+
and a launch that lands *after* the learner has left the console is a session
745
+
like any other (owner decision 2026-09-18, council review 6 F3b): it exists,
746
+
it created no plan, the console reattaches to it on return, and the End
747
+
control abandons it.
750
748
751
749
#### Scenario: Leaving before the launch lands leaves a session like any other
752
750
-**WHEN** the learner clicks "Plan with architect", the start POST is held,
0 commit comments