Skip to content

Create-then-edit does not compose: propose the body riding the create - #146

Merged
brettheap merged 1 commit into
mainfrom
change/authored-body-on-create
Aug 9, 2026
Merged

brettheap merged 1 commit into
mainfrom
change/authored-body-on-create

Conversation

@brettheap

Copy link
Copy Markdown
Contributor

"do the create-then-edit so I can write the body"

I built it, ran it against a fixture plane, and it doesn't work — for a
reason that's a contract rather than a bug. So this records the finding and
proposes the shape that fits, instead of shipping a path that refuses.

What the attempt found

  • create-document writes the header contract. authoring.create_scaffold
    takes title, summary, topics, area, kind, status — and no body.
  • edit-document writes bodies, but it is tile-scoped: _edit_body
    requires scope_kind and scope_id, and the verb resolves a live branch
    session for that tile. Its own source says it has no session-less path.
  • A lens draft has no tile. It's a set of documents selected on a radar,
    and the staging topic it would become doesn't exist in the snapshot yet — so
    there's no scope to name. Naming the topic it's about to create is circular.

Measured on a fixture plane: create → 200, header lands. Edit → 400,
missing scope.

So the client orchestration is reverted, not shipped

An editable body that can't be saved is the "silently discards what you write"
trap I argued against two changes ago. I'm not going to build it just because
I'd already written the code.

The draft view stays as merged in #145: body read-only, with the reason stated.

What's proposed instead

An optional body on the create — one verb, one commit, no state where a
header exists without its body. That fits what a lens draft is: a fragment
arrives whole (computed header, body whose sections are marked TO WRITE) and
becomes one document.

The header stays the create's own, generated from its fields, so a body can't
smuggle in a different Status: than the one recorded. Create stays
create-only and human-only.

Alternative recorded and rejected as primary: widening edit-document to a
scope-free first save. It widens the verb whose entire safety story is "a
session lives in one tree and a tile owns it", and still leaves the two-verb
half-state.

Pinned

A test reads both contracts — _edit_body's scope requirement, the verb's
no-session-less-path comment, and create_scaffold's bodyless signature — so
if either verb grows the missing half, it says so.

Brett: "do the create-then-edit so I can write the body." I built it, ran it
against a fixture plane, and it does not work — for a reason that is a
CONTRACT rather than a bug, so this records the finding and proposes the shape
that fits instead of shipping a path that refuses.

WHAT THE ATTEMPT FOUND. `create-document` writes the HEADER CONTRACT:
`authoring.create_scaffold` takes title, summary, topics, area, kind, status —
and no body. `edit-document` writes bodies, but it is TILE-SCOPED: `_edit_body`
requires `scope_kind` and `scope_id`, and the verb resolves a LIVE branch
session for that tile, refusing outright where none resolves. Its own source
says it has no session-less path.

A LENS DRAFT HAS NO TILE. It is a set of documents selected on a radar, and
the staging topic it would become does not exist in the snapshot yet, so there
is no scope to name — naming the topic it is about to create is circular.
Measured on a fixture: create 200 and the header lands; edit 400 for the
missing scope.

So the client orchestration is REVERTED rather than shipped. An editable body
that cannot be saved is the "silently discards what you write" trap I argued
against two changes ago, and I am not going to build it because I already
wrote the code.

WHAT IS PROPOSED. An OPTIONAL `body` on the create: one verb, one commit, no
state in which a header exists without its body. That fits what a lens draft
IS — a fragment arrives whole, a computed header and a body whose sections are
marked TO WRITE, and it becomes one document. The header stays the create's
own, so a body cannot smuggle in a different `Status:` than the one recorded.

The alternative — widening `edit-document` to a scope-free first save — is
recorded and rejected as the primary: it widens the verb whose whole safety
story is "a session lives in one tree and a tile owns it", and still leaves
the two-verb half-state.

The finding is pinned by a test that reads both contracts, so if either verb
grows the missing half the test says so.

Suites green (the pinning test passes; nothing else changed).

Co-Authored-By: Claude Fable 5 <[email protected]>
Copilot AI lite review requested due to automatic review settings August 9, 2026 19:53

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @brettheap! 👋

Your private repo does not have access to Sourcery.

Please upgrade to continue using Sourcery ✨

@brettheap
brettheap merged commit 06e7416 into main Aug 9, 2026
@brettheap
brettheap deleted the change/authored-body-on-create branch August 9, 2026 19:53

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR records a structural limitation in the current ideation-dashboard authoring flow (create writes header-only; edit is tile/session scoped) and proposes a contract-compatible direction (“optional body on create”) via OpenSpec artifacts, plus a test that pins the discovered constraints.

Changes:

  • Add a regression/contract test that asserts edit-document requires scope/session and create_scaffold has no body parameter.
  • Document the proposed contract change (“add-authored-body-on-create”) in OpenSpec (proposal/spec/tasks).
  • Reference the new proposal from the root README’s Active changes list.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
tests/ideation-dashboard/test_staging_seed.py Adds a “pinned” test asserting the current create/edit contract gap is structural.
README.md Adds an “Active changes” entry linking to the new proposal.
openspec/changes/add-authored-body-on-create/tasks.md Introduces an implementation/ratification task checklist for the proposed change.
openspec/changes/add-authored-body-on-create/specs/ideation-dashboard/spec.md Adds formal requirements and scenarios for optional body-on-create behavior.
openspec/changes/add-authored-body-on-create/proposal.md Adds the proposal describing why create-then-edit can’t compose and the suggested shape.
Suppressed comments (2)

tests/ideation-dashboard/test_staging_seed.py:200

  • This test currently uses split(...)[1] to slice out function bodies from source text. If the sentinel string ever changes, it raises IndexError (hard to diagnose) rather than failing with a clear assertion. Using partition/split(..., 1) keeps the same contract pin but produces a targeted failure message and avoids accidental multi-split behavior.
    parser = (REPO_ROOT / "scripts" / "ideation_dashboard"
              / "gate_routes.py").read_text(encoding="utf-8")
    edit_body = parser.split("def _edit_body(")[1].split("\ndef ")[0]
    assert 'body.get("scope_kind")' in edit_body
    assert 'body.get("scope_id")' in edit_body
    # …and the verb has no session-less path at all, unlike create-document
    edit = parser.split("def _edit_document(")[1].split("\ndef ")[0]
    assert "this verb HAS no such path, so it refuses" in edit

    # the create writes a header and takes no body: the two halves of the gap
    scaffold = (REPO_ROOT / "scripts" / "ideation_dashboard"
                / "authoring.py").read_text(encoding="utf-8")
    signature = scaffold.split("def create_scaffold(")[1].split(") -> Path:")[0]

tests/ideation-dashboard/test_staging_seed.py:165

  • tmp_path is accepted as a parameter but never used in this test. Removing it makes the test intent clearer and avoids implying filesystem side effects.
def test_a_lens_draft_cannot_reach_edit_document_and_the_reason_is_structural(tmp_path):

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines 16 to 21
from pathlib import Path

import pytest

from conftest import REPO_ROOT # noqa: F401 (sys.path side effect)
from test_gate_routes import _post, _serving
brettheap pushed a commit that referenced this pull request Sep 4, 2026
… pending re-ratification

The rescued snapshot 2ffe180 amended a RATIFIED, MERGED change packet
(ratified 2026-08-25, docs on main via #260/#261/#356) including its
`specs/doc-health/spec.md` delta, in place and silently. This reshapes that
into the form the estate's own two precedents use, without changing one word
of what the originating lane concluded.

WHAT THIS COMMIT DOES NOT DO. It does not flip `Status:`, add a second
ratification citation line, touch the 2026-08-25 `Ratified:` line, or alter the
amended spec delta. The delta stands exactly as the snapshot wrote it — that
is the text Brett is being asked to rule on.

1. RETAINED TEXT RESTORED, AMENDMENTS FILED FORWARD (the #592 §9.2 style, and
   `add-clearing-dispatch-boundary`'s own convention). The snapshot REWORDED
   five passages of the ratified packet in place. Each is restored verbatim and
   the amended text now sits beneath it as a dated, clearly-pending note:
   - `proposal.md` § What Changes, the lane bullet;
   - `design.md` Decision 3, the five-step recipe (both recipes now stand, the
     ratified one first, the amended one labelled and following);
   - `design.md`'s "read from Omnigent-Install `main`" note;
   - `design.md`'s "starts with a FRESH checkout" reproducibility argument;
   - `design.md` § Next steps, item 3;
   - `tasks.md` 3.1, whose body was rewritten while the box stayed unticked.
   The front-matter `code_surface:` line is a single machine-read value and
   cannot carry both, so its pre-amendment wording is preserved phrase by
   phrase in the new proposal section instead.

2. `proposal.md` GAINS § AMENDED AFTER RATIFICATION, 2026-09-04 — modelled on
   `archive/2026-09-01-add-release-tag-publication-check`, which is this
   estate's worked precedent for amending a ratified delta, down to its
   sentence "Recorded here as an amendment awaiting Brett rather than absorbed
   into the realization". It states the ruling, the contradiction the ruling
   exposes (a lane whose recipe requires a private-repo clone on a worker its
   own authority requirement forbids a repository credential to), the
   correction, and all five delta movements with before/after.

3. THE STANDING IS MADE HONEST. The snapshot's `Amended: 2026-09-01 by Brett`
   line cites a ruling about the RUNNER DESIGN, not an act of consent to the
   amended delta text. Both estate precedents cite a consenting act of their
   own ("accept the amendment"; "by the same ratifier, in a SEPARATE and LATER
   act"). The line is extended to say so, and the amendment is marked PENDING
   RE-RATIFICATION wherever it appears.

4. A DEFECT IN THE AMENDMENT, MEASURED. The amended recipe and the amended
   delta both call for generation "using the manifest-pinned source revision
   and timestamp" via `--generated-at`. `--source-revision` is real;
   `--generated-at` IS NOT an argument of `ideation_dashboard.cli generate`.
   `_generation_stamp` otherwise derives the stamp with `git show -s` inside
   the scanned tree, and `RealGitDates` degrades "to None … outside a git
   checkout" — which a sealed source artifact is. So the amended lane would
   publish a snapshot carrying no `generated_at` at all. The REQUIREMENT is
   right and the INTERFACE is missing; filed as new task 3.6.

5. `tasks.md` GAINS § 9, the adoption record. Every cross-repository merge sha
   the seventeen `[x]` flips assert was re-verified against the provider API
   and every one is real, merged, and the sha named (Omnigent-Install #129
   509b7d65, #146 575bc26f, #153 da0bdeba; aggregation #141 c1bba45d, #179
   de9a1d99). No flip was altered. The host- and org-admin facts this identity
   cannot reach are listed as unconfirmed rather than doubted.

The archive gate is unmoved: `target_release: implementation_pending`, §7 has
no ticked task, and the lane has still never run.

Lane: openxfactory-f2
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01KeBPLWRL4rhgRbmjP8Li41
brettheap added a commit that referenced this pull request Sep 4, 2026
…ett's re-ratification), packet file-forward, and the smoke tools (rescued from the shared checkout, #591) (#595)

* Rescue (snapshot): nightly-refresh edits (2026-09-02) from the shared checkout at 6612d32

Snapshot ONLY. Every byte is the shared detached checkout's working tree at
6612d32, copied unchanged; nothing here was authored, renamed, re-homed or
"fixed" by the rescuing lane. The source checkout was left untouched, so this
snapshot removes nothing from it and cannot conflict with the originating lane.

The originating lane (LANES.md draft row `openxfactory-nightly`) has UNKNOWN
liveness — last file touch 2026-09-02 09:41 -0400. Its notes are
~/projects/xFactory/HANDOFF-nightly-refresh-session.md (untracked, 66 KB).

Content: the ratified add-nightly-dashboard-refresh change amended for Brett's
2026-09-01 in-session host ruling (the artifact rider holds no repository
credential; source crosses as a sealed parent artifact), 17 enablement tasks
recorded complete, and the Playwright acceptance tooling reworked.

Lane: openxfactory-f2
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WNxTJoaJQkcDi2ybmLCZgW

* Adopt the nightly-refresh amendment in its lawful form: file-forward, pending re-ratification

The rescued snapshot 2ffe180 amended a RATIFIED, MERGED change packet
(ratified 2026-08-25, docs on main via #260/#261/#356) including its
`specs/doc-health/spec.md` delta, in place and silently. This reshapes that
into the form the estate's own two precedents use, without changing one word
of what the originating lane concluded.

WHAT THIS COMMIT DOES NOT DO. It does not flip `Status:`, add a second
ratification citation line, touch the 2026-08-25 `Ratified:` line, or alter the
amended spec delta. The delta stands exactly as the snapshot wrote it — that
is the text Brett is being asked to rule on.

1. RETAINED TEXT RESTORED, AMENDMENTS FILED FORWARD (the #592 §9.2 style, and
   `add-clearing-dispatch-boundary`'s own convention). The snapshot REWORDED
   five passages of the ratified packet in place. Each is restored verbatim and
   the amended text now sits beneath it as a dated, clearly-pending note:
   - `proposal.md` § What Changes, the lane bullet;
   - `design.md` Decision 3, the five-step recipe (both recipes now stand, the
     ratified one first, the amended one labelled and following);
   - `design.md`'s "read from Omnigent-Install `main`" note;
   - `design.md`'s "starts with a FRESH checkout" reproducibility argument;
   - `design.md` § Next steps, item 3;
   - `tasks.md` 3.1, whose body was rewritten while the box stayed unticked.
   The front-matter `code_surface:` line is a single machine-read value and
   cannot carry both, so its pre-amendment wording is preserved phrase by
   phrase in the new proposal section instead.

2. `proposal.md` GAINS § AMENDED AFTER RATIFICATION, 2026-09-04 — modelled on
   `archive/2026-09-01-add-release-tag-publication-check`, which is this
   estate's worked precedent for amending a ratified delta, down to its
   sentence "Recorded here as an amendment awaiting Brett rather than absorbed
   into the realization". It states the ruling, the contradiction the ruling
   exposes (a lane whose recipe requires a private-repo clone on a worker its
   own authority requirement forbids a repository credential to), the
   correction, and all five delta movements with before/after.

3. THE STANDING IS MADE HONEST. The snapshot's `Amended: 2026-09-01 by Brett`
   line cites a ruling about the RUNNER DESIGN, not an act of consent to the
   amended delta text. Both estate precedents cite a consenting act of their
   own ("accept the amendment"; "by the same ratifier, in a SEPARATE and LATER
   act"). The line is extended to say so, and the amendment is marked PENDING
   RE-RATIFICATION wherever it appears.

4. A DEFECT IN THE AMENDMENT, MEASURED. The amended recipe and the amended
   delta both call for generation "using the manifest-pinned source revision
   and timestamp" via `--generated-at`. `--source-revision` is real;
   `--generated-at` IS NOT an argument of `ideation_dashboard.cli generate`.
   `_generation_stamp` otherwise derives the stamp with `git show -s` inside
   the scanned tree, and `RealGitDates` degrades "to None … outside a git
   checkout" — which a sealed source artifact is. So the amended lane would
   publish a snapshot carrying no `generated_at` at all. The REQUIREMENT is
   right and the INTERFACE is missing; filed as new task 3.6.

5. `tasks.md` GAINS § 9, the adoption record. Every cross-repository merge sha
   the seventeen `[x]` flips assert was re-verified against the provider API
   and every one is real, merged, and the sha named (Omnigent-Install #129
   509b7d65, #146 575bc26f, #153 da0bdeba; aggregation #141 c1bba45d, #179
   de9a1d99). No flip was altered. The host- and org-admin facts this identity
   cannot reach are listed as unconfirmed rather than doubted.

The archive gate is unmoved: `target_release: implementation_pending`, §7 has
no ticked task, and the lane has still never run.

Lane: openxfactory-f2
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01KeBPLWRL4rhgRbmjP8Li41

* Repair the rescued debug fork: a hard SyntaxError under -W error, and a docstring that claimed to be the other file

Two defects the snapshot preserved faithfully, both in
`tests/ideation-dashboard/tools/playwright-smoke-debug.py`, neither fixed by
the rescue because a snapshot may not author.

1. `page.evaluate("""() => { … }""")` at line 518 carries a JavaScript regex
   `/<textarea[\s\S]*?<\/textarea>/g` inside a NON-RAW triple-quoted Python
   string. `\s` and `\/` are not Python escapes, so this is a SyntaxWarning on
   every import today and a HARD SyntaxError under `-W error` — which the
   repository's own tooling reaches for. Fixed by making the literal raw.

   PROVED SEMANTICS-PRESERVING, not assumed. Python retains an unrecognized
   escape verbatim, so the string handed to `page.evaluate` was already the
   bytes the JS needs. The constant was extracted from the AST before and after
   and hashed: sha256 `e45e19201d519c18…` both times, IDENTICAL. The browser
   sees exactly what it saw.

2. The docstring was copied verbatim from `playwright-smoke.py`, so the file
   announced itself as "T098: the scratch-repository doxBench Playwright smoke"
   and told its reader to run `playwright-smoke.py`. It is not that tool. It is
   that tool plus ONE fifteen-line hunk: step 4's Document-tab click wrapped in
   a try/except that screenshots and dumps the canvas DOM before exiting
   `DEBUG4:`. `diff -u playwright-smoke.py playwright-smoke-debug.py` was that
   single hunk and is now that hunk plus this docstring — nothing else.

   The new head says what the file is, that the ORACLE is `playwright-smoke.py`
   and never this fork, and — the part that matters to whoever finds it next —
   that NOTHING keeps the two in sync, so the fork should be re-copied from the
   smoke and re-patched rather than edited, or deleted once step 4 is
   understood. The remaining 1,164 lines of the original docstring are retained
   because they still describe correctly how to run this file.

RECOMMENDATION, FOR BRETT, NOT ACTED ON HERE: this fork is session scaffolding.
Its entire value is fifteen lines of one-off DOM capture, and it costs a
1,164-line duplicate that will rot the first time the smoke is edited. Deleting
it is defensible and this lane would not argue. It is kept because the rescue
existed so that nothing stranded is lost, and discarding another lane's work on
this lane's judgement is not what "adopt" was ruled to mean. One word removes
it.

NOT THIS CHANGE'S CODE SURFACE. Neither smoke tool is: `proposal.md`
names "tests under `tests/ideation-dashboard/` over the status artifact, the
no-change short-circuit, and the envelope-shaped diff the lane may produce",
and these drive the doxBench editor UI (T098, quickstart §7 — outline editing,
Save ordering, session branches). They ride this PR because they were stranded
in the same working tree, not because the amendment reaches them. No task is
ticked for them. The PR body carries the full analysis of the sibling
`playwright-smoke.py` rework.

Lane: openxfactory-f2
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01KeBPLWRL4rhgRbmjP8Li41

* Flag the pending delta amendment in the README's add-nightly-dashboard-refresh record

The record describes the lane as "fresh openxFactory `main` checkout, `--strict`
snapshot generation from THAT checkout" — the design as ratified 2026-08-25, and
the design an amendment now pending Brett's re-ratification would change. The
index is where a reader who is not opening the packet finds out what a change
says, so leaving it silent would let the amendment sit unannounced in exactly
the place the estate keeps its active-change inventory.

The ratified description is NOT rewritten: it is what still governs, and it
stays first and unedited. A dated paragraph follows it naming the ruling, what
the amendment moves and why, its shape in the delta (two ADDED scenarios, one
ADDED prohibition paragraph, no requirement title moved, no MODIFIED block),
its rescue provenance (#595, #591), and where the full record lives. The
archive gate is stated unmoved because it is: `target_release` does not move
and no §7 task is ticked whichever way the amendment is ruled.

Lane: openxfactory-f2
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01KeBPLWRL4rhgRbmjP8Li41

* Unwrap a source path inside new task 3.6 so it renders as one path

`scripts/ideation_dashboard/generator.py` was line-wrapped inside its backticks
by the previous commit, so Markdown renders it as two tokens with a space in
the middle — a path a reader cannot paste. Prose only; the task's content,
its number and its unticked state are unchanged.

Lane: openxfactory-f2
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01KeBPLWRL4rhgRbmjP8Li41

* Take Copilot's hardcoded-path finding on the debug fork — but not its remedy, which would delete the artifact

Copilot, PR #595 review of 2026-09-02, on `playwright-smoke-debug.py:539`:
"This hardcodes a host-absolute path ('/tmp/...') ... Use a runtime-derived
path (e.g., under the script's temp workspace) instead."

TAKEN ON THE DIAGNOSIS. `page.screenshot(path="/tmp/t098-step4.png")` is the
ONLY host-absolute literal in either smoke tool — the parent
`playwright-smoke.py` has zero, and puts everything under its own
`tempfile.mkdtemp` workspace. It is also not portable: this tool is meant to
run on the Windows rider, where `/tmp` does not exist, and two concurrent runs
would overwrite each other's evidence.

DECLINED ON THE REMEDY, for a reason worth recording. "Under the script's temp
workspace" means `base`, and `main()`'s `finally` does
`shutil.rmtree(base, ignore_errors=True)`. This branch exits through that
`finally` by `raise SystemExit(f"DEBUG4: {e}")`, so a screenshot written under
`base` is DELETED before the operator can open it — the suggestion would have
silently destroyed the one artifact this fork exists to produce.

WHAT LANDED INSTEAD: a fresh `tempfile.mkdtemp(prefix="t098-debug-step4-")`,
which is durable (nothing removes it), collision-free between concurrent runs,
and rooted at `gettempdir()` on every platform — `%TEMP%` on the Windows rider,
`/tmp` on Linux, so the original behaviour is preserved where it worked. The
path is now PRINTED as `STEP4 SCREENSHOT: <path>` beside the existing
`STEP4 DOM:` dump, because a debug artifact at an unpredictable path that
nobody is told about is not an artifact. The comment states all three reasons
so the next reader does not "simplify" it back to either broken form.

`python3 -W error -m py_compile` still clean. Behaviour on the SUCCESS path is
untouched: this whole block runs only when the step-4 Document-tab click
raises.

Lane: openxfactory-f2
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01KeBPLWRL4rhgRbmjP8Li41

* Take all three of Copilot's round-2 findings — including a self-contradiction inside the amendment itself

Copilot re-reviewed at head `e883a378` and, unlike round 1, reached the
GOVERNANCE half. All three findings are real and all three are TAKEN.

1. THE AMENDED DELTA CONTRADICTED ITSELF, and this is the one that mattered.
   The sentence the amendment adds — "The worker SHALL perform no repository
   clone, fetch, or push" — FORBIDS IN ITS CLOSING CLAUSE THE VERY ACT THE
   SAME SENTENCE REQUIRES, a push to `acropensoftxfactoryqa.azurecr.io`. Not
   prose-picking: this packet calls the push target an "image repository" in
   `tasks.md` § 2 and in the authority requirement's own "scoped to the single
   image repository", so "repository" is overloaded across these very
   requirements. The new prohibition paragraph carried the same ambiguity —
   its "repository network access on the worker are prohibited" reads on the
   registry too.

   Both are now qualified to GIT repositories explicitly, and the prohibition
   paragraph closes by saying so and by stating that the push-scoped
   credential for the single `ideation-dashboard` IMAGE repository is neither
   widened nor withdrawn. NO OBLIGATION MOVES — this is the reading every
   other sentence in the packet already assumes.

   THESE ARE THE ONLY WORDS OF THE AMENDMENT THIS LANE HAS CHANGED, and the
   change is recorded in `proposal.md` § AMENDED AFTER RATIFICATION as its own
   dated paragraph, because it edits the text put to Brett for ratification. A
   lane that quietly rewrites what it asks to be ratified has broken the thing
   that section exists to protect.

2. Task 1.3 is CONDITIONAL ("If 1.2 shows the installation cannot be
   extended…") and was ticked with a note reading "NOT INVOKED" — a checkbox
   whose meaning did not match its text. This repository has a convention for
   exactly that, and Copilot cited it: `[x]` plus an explicit `**N/A —
   <reason>**` opening the task line
   (`archive/2026-08-24-govern-openspec-corpus-membership/tasks.md:54-63`,
   four consecutive instances). Verified, and followed. The originating lane's
   tick and its whole note are retained; only the N/A marker is added.

3. THE REPOSITORY CONSTITUTION FORBIDS COMMITTED HOST-ABSOLUTE PATHS OUTRIGHT
   — `.specify/memory/constitution.md` principle IV, "Committed files MUST NOT
   contain host-absolute paths; use repo-relative paths or runtime
   resolution." THIS LANE GOT THAT WRONG in its round-1 disposition, where it
   said the rule was narrower than Copilot claimed and reached only release
   and contract metadata. It searched `docs/` and `tests/` and never opened
   the constitution. The rule is repo-wide and Copilot was right.

   The offending lines were this lane's OWN: the new docstring described the
   fix as writing `/tmp/t098-step4.png`, and the new comment argued against a
   hardcoded "/tmp/...". Both now describe the behaviour without an absolute
   path, and the comment cites principle IV as the third reason not to
   regress it. The code itself was already compliant as of `e883a378`.

   DECLINED, with the reason: the `~/doxbench-operator/t100_serve.py` mention
   Copilot also flagged in the retained docstring is `$HOME`-relative rather
   than host-absolute, and is retained text byte-identical to the same line in
   `playwright-smoke.py`, which is already on `main`. Changing it here would
   edit retained text to fix a defect this PR did not introduce and would
   leave the parent tool divergent.

`openspec validate --all --strict` 87 passed / 0 failed; `python3 -W error -m
py_compile` clean.

Lane: openxfactory-f2
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01KeBPLWRL4rhgRbmjP8Li41

* Take Copilot round 4: a checkbox that implied evidence nobody has, and a docstring that sent operators to the wrong file

Both findings are this lane's own defects, not the originating lane's.

1. TASK 1.3's N/A REASON CLAIMED SOMETHING 1.2 HAS NOT SHOWN. Round 2 added
   the marker "N/A — 1.2's condition did not arise", which reads as though 1.2
   had concluded. IT HAS NOT: 1.2 is `[ ]`, it owes a CALL-TIME write proof,
   and that proof is deferred to §7.1. Copilot is right that a checklist
   stating a conclusion resting on pending evidence misleads a reader about
   what is actually verified — the exact failure mode the seventeen ticks were
   audited for in §9.

   The marker now separates the two questions instead of eliding them. 1.3
   asks whether the installation CANNOT be extended; it demonstrably can,
   because it is already organization-wide (`repository_selection: all`) and
   Omnigent-Install is in scope with no extension act at all. That is
   independent of 1.2's outstanding call-time proof, and the text now says so
   in terms — "Nothing here asserts 1.2's proof has been taken." 1.2 stays
   `[ ]` and is untouched.

2. THE DEBUG FORK TOLD OPERATORS TO RUN THE OTHER TOOL. Its retained docstring
   carried `python3 tests/ideation-dashboard/tools/playwright-smoke.py` — the
   correct instruction in `playwright-smoke.py`, and the wrong one in a fork
   whose entire purpose is to be run INSTEAD of the smoke when step 4 fails.
   Someone debugging step 4 would have run the tool that cannot show them
   anything.

   This lane made that worse rather than better: the new head it added in
   `366a42cc` asserted the retained docstring was kept "because every word of
   it still describes how to run this file", which was false of precisely this
   line. The invocation now names this file, the correction is marked in place
   so it is not read as drift from the parent, and the blanket claim is
   narrowed to what is actually true.

   This is an exception to the retained-text rule, and a deliberate one: the
   rule protects a RATIFIED PACKET's record. This file is new, uncommitted
   before the rescue, and the line is not a record of anything — it is an
   instruction that was wrong the moment the file was copied.

`python3 -W error -m py_compile` clean; `openspec validate
add-nightly-dashboard-refresh --strict` valid.

Lane: openxfactory-f2
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01KeBPLWRL4rhgRbmjP8Li41

* Record Brett's re-ratification of the amended delta and delete the debug smoke tool (#595)

Brett Heap, 2026-09-04 ~02:2xZ, in-session, verbatim: "re-ratify and
merge 595, delete the debug tool, roll out lane-line".

- proposal.md: § AMENDED AFTER RATIFICATION heading flips from
  "flagged, PENDING re-ratification" to "RE-RATIFIED 2026-09-04";
  records the ruling as the consenting act for the five-movement
  amendment (including the Copilot-round-4 "Git repository"
  qualification), on PR #595 at head e84d060. The pending-state
  paragraph is retained, prefixed as superseded rather than removed.
  The `Amended:` front-matter line gets the same citation appended;
  `Status: ratified` and the single `Ratified:` line are untouched.
- tasks.md §9: dated ruling entry recording the debug tool's deletion
  and where its ~15 lines of DOM-capture diff remain recoverable
  (rescue commit 2ffe180).
- tests/ideation-dashboard/tools/playwright-smoke-debug.py: deleted
  per the ruling. No other file references its filename (grep
  checked); the tool's own docstring was its only self-reference.

Lane: openxfactory-f2

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01KeBPLWRL4rhgRbmjP8Li41

* Reconcile the re-ratification wording across the header, index, recipe and tool comment (#595)

Four Copilot findings on PR #595, all taken in one commit:

- proposal.md front-matter `Amended:` line was internally contradictory
  (asserted both "NOT YET RE-RATIFIED" and "Re-ratified 2026-09-04" in the
  same live header). Rewritten to one consistent statement: the runner-design
  ruling stands as quoted, and the amended delta is RE-RATIFIED 2026-09-04 by
  Brett Heap, verbatim "re-ratify and merge 595, delete the debug tool, roll
  out lane-line" (see § AMENDED AFTER RATIFICATION, already the section that
  carries the history). `Status: ratified` and the single `Ratified:` line
  are untouched.
- README.md's OpenSpec Records entry for add-nightly-dashboard-refresh said
  the delta amendment was still pending re-ratification; updated to state it
  was amended 2026-09-04 and re-ratified the same day.
- design.md's amended recipe snippet used `--generated-at`, a flag the note
  immediately below says does not exist yet; added an inline
  `# requires task 3.6 — flag not yet implemented` marker on that line so a
  copy/paste does not fail silently.
- tests/ideation-dashboard/tools/playwright-smoke.py's git-identity comment
  read as if `git config user.name` itself "falls through" to the operator's
  global identity; reworded to say that WITHOUT setting the checkout's local
  user.name/user.email, later commits fall back to the operator's global git
  config.

The fifth open thread (subject/verb on "Git repository ... access ...
prohibited") is a reasoned DECLINE already on record and is left untouched.

Lane: openxfactory-f2

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_013f11Yb8DF5FTL6NuV7xWYb

* Say re-ratified everywhere a reader would take it as current (#595)

Two Copilot findings on PR #595 pointed at a reader-facing summary
blockquote (proposal.md) and a task-gating paragraph (tasks.md) that
still described the 2026-09-01 amendment as "pending re-ratification"
after Brett Heap's 2026-09-04 re-ratification (verbatim: "re-ratify and
merge 595, delete the debug tool, roll out lane-line"). Reworded both,
plus five stragglers found by grepping the whole packet
(tasks.md 3.1 note; design.md Decision 3 header, the amended-recipe
header, and two inline amendment asides) that carried the same stale
"(pending re-ratification)" phrasing a reader would take as current.
The superseded paragraph inside proposal.md's
§ AMENDED AFTER RATIFICATION, which is explicitly marked superseded,
is untouched, as is the single Ratified: line.

Task 3.6 (the --generated-at CLI surface) is now stated as REQUIRED
realization work on this change's code surface rather than conditional
on a future ratification; the task itself stays unticked since it is
not yet done.

Lane: openxfactory-f2
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_013f11Yb8DF5FTL6NuV7xWYb

* Say "not re-verified by the adopting lane", not "not verified" (#595)

The §9 label read as contradicting the [x] ticks above it (e.g. 1.5/1.6).
Reword the label and its lead-in so the meaning is unambiguous: these are
host/org-admin facts the adopting lane could not check from outside the
host, and the ticks above stand on the originating lane's own evidence —
they are not withdrawn.

Lane: openxfactory-f2
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_013f11Yb8DF5FTL6NuV7xWYb

---------

Co-authored-by: Claude Fable 5.1 <[email protected]>
Co-authored-by: Brett Heap <[email protected]>
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.

2 participants