Skip to content

Archive completed OpenSpec changes: add-project-clean-command, resolve-pr-review-findings, project-command - #4

Merged
brettheap merged 3 commits into
mainfrom
chore/archive-completed-changes
Oct 7, 2026
Merged

brettheap merged 3 commits into
mainfrom
chore/archive-completed-changes

Conversation

@brettheap

@brettheap brettheap commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Lane: openRepoProject-1

Housekeeping DRAFT. Archives the three OpenSpec changes whose Speckit work and PR landed as PR #1 (a040790, merged 2026-09-11). One commit per change, each produced by openspec archive <name> --yes (openspec 1.13.1) with no --skip-specs and no --no-validate.

Rule applied: the shared protocol (~/.agents/protocols/openspec-speckit-workflow.md, Lifecycle step 7) archives a change only after its Speckit work and PR have landed. This repo is a single repository, so the OpenSpec root is the repo root. gh pr view 1 reports state MERGED, mergeCommit a040790.

Verification table

change tasks evidence on main (a040790) validator
add-project-clean-command 9/9 checked, 0 unchecked (tasks.md) project cleanup_report() L396 classifies worktrees; tracking_freshness "local refs only ... no fetch performed" L473; zero fetch/pull/--force strings in project; remove runs only git worktree remove (L571) for merged-removable, branch delete only git branch -d (L586). Tests PASSED: test_clean_is_read_only_and_classifies_linked_worktrees, test_clean_removes_only_merged_worktree_and_keeps_branch, test_clean_refuses_unmerged_worktree_removal, test_clean_pushes_explicit_clean_feature_branch_without_force, test_clean_reports_dirty_detached_and_pushed_unmerged_states. README "Clean up Git worktrees" section present. openspec validate --all --strict pass before and after; validate --archived pass
resolve-pr-review-findings 16/16 checked, 0 unchecked (tasks.md) profile() L598 returns only schema_version/bench/type/container; remote_repository_identity() L618 accepts only full github.com forms; ignored files via --ignored=matching L357 yielding ignored-local-files; no-guess default branch refusal L403; require_unchanged_cleanup_state() L508 ("Cleanup state changed after confirmation"); .claude/skills/speckit-git-{commit,feature,initialize,remote,validate}/SKILL.md present. Tests PASSED: test_profile_reports_filter_unknown_secret_fields, test_clean_preserves_ignored_files_in_an_otherwise_merged_worktree, test_clean_refuses_to_guess_a_nonstandard_default_branch, test_clean_revalidates_a_worktree_after_confirmation, test_handoff_rejects_non_github_host_before_record_lookup, test_handoff_rejects_path_like_remote_identity_before_record_lookup, test_invalid_yaml_encoding_is_a_structured_error, test_malformed_bench_entries_refuse_without_tracebacks, test_registered_claude_git_commands_have_skill_bundles. openspec validate --all --strict pass before and after; validate --archived pass (tool printed one non-blocking proposal warning: "Consider splitting changes with more than 10 deltas")
project-command OpenSpec tasks.md is a Speckit handoff stub (tool: "Task status: No tasks"); the real list specs/001-project-command/tasks.md is 5/5 checked (T001-T005), 0 unchecked, no unchecked boxes anywhere under specs/ project subcommands new (L204; "Destination already exists" refusal L217; --dry-run L248), benches, status/doctor (inspect_project L788), update (L844; --dry-run L908), all in the parser L926-975. Tests PASSED: test_benches_excludes_updaters_and_reports_missing, test_dry_run_creates_no_parent, test_existing_destination_and_noninteractive_confirmation_refuse, test_shape_skips_assembly_dot_and_reports_missing_legs, test_status_from_nested_path_and_feature_worktree_is_read_only, test_update_default_and_dry_run_do_not_execute, test_update_refuses_dirty_and_feature_branch. Cross-repo leg (spec "Distribution and compatibility"): on opensoft/workBenches main, scripts/setup-project-command.py (SHA-256 verified, commit-pinned installer), scripts/onp (forwards to new-project.sh), scripts/new-project.sh (exec bash "$script_dir/project" new "$@"). openspec validate --all --strict pass before and after; validate --archived pass

No change under openspec/changes/ contained "blocked", "awaiting" or an unchecked task. The only grep hit for "pending" was the scenario title "Worktree changes while confirmation is pending" in resolve-pr-review-findings/specs/project-clean-review-safety/spec.md, which is requirement text and not a status.

What the archive did to openspec/specs/ (canonical spec merge)

openspec/specs/ held only .gitkeep. Each archive merged the change's ADDED requirements into new canonical capabilities (all create, none modified, removed or renamed):

capability requirements added from
project-clean 5 add-project-clean-command
project-clean-review-safety 4 resolve-pr-review-findings
project-review-safety 6 resolve-pr-review-findings
speckit-extension-integration 1 resolve-pr-review-findings
project-command 4 project-command

Changes now live under openspec/changes/archive/2026-10-07-<name>/, moved as renames, content unchanged. openspec/changes/ has no active changes left.

Pointers

grep for openspec/changes/<name> and the three change names across README, AGENTS.md, docs/, specs/ and the tool directories on main found no pointer to an archived path. The only name hits are the Speckit branch label 001-project-command in specs/001-project-command/spec.md, which is not an OpenSpec path, and the change files themselves. No README or AGENTS edit was needed. The design branch docs/project-maintenance-design adds only ideation/brainstorm/* and touches nothing under openspec/, so this PR does not conflict with it.

Left unarchived

None. All three candidates verified complete and the tool accepted each.

Results at head

  • python3 -m pytest tests -q: 43 passed (same as main).
  • openspec validate --all --strict: 5 passed, 0 failed (the five new canonical specs; no active changes).
  • openspec validate --archived: 3 passed, 0 failed.

Draft only; not marked ready, not merged.

🤖 Generated with Claude Code

Summary by Sourcery

Archive the completed project command work and merge its requirements into the canonical OpenSpec specifications.

Enhancements:

  • Add canonical OpenSpec requirements covering safe project cleanup, project inspection and maintenance, review-safety safeguards, and Speckit Claude integration.

Chores:

  • Archive the completed add-project-clean-command, resolve-pr-review-findings, and project-command changes, leaving no active OpenSpec changes.

brettheap and others added 3 commits October 7, 2026 00:07
…asks done

Archived with `openspec archive add-project-clean-command --yes`:
the change moves to openspec/changes/archive/2026-10-07-add-project-clean-command
and its ADDED requirements are merged into the new canonical capability
openspec/specs/project-clean/spec.md (5 added).

Lane: openRepoProject-1

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
… tasks done

Archived with `openspec archive resolve-pr-review-findings --yes`:
the change moves to openspec/changes/archive/2026-10-07-resolve-pr-review-findings
and its ADDED requirements are merged into three new canonical capabilities
under openspec/specs/: project-clean-review-safety (4), project-review-safety
(6) and speckit-extension-integration (1).

Lane: openRepoProject-1

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Archived with `openspec archive project-command --yes`: the change moves to
openspec/changes/archive/2026-10-07-project-command and its ADDED requirements
are merged into the new canonical capability openspec/specs/project-command/
spec.md (4 added).

The 5 tasks are the Speckit tasks in specs/001-project-command/tasks.md
(T001-T005, all checked); the OpenSpec tasks.md is a handoff stub, so the
tool reports "Task status: No tasks".

Lane: openRepoProject-1

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@sourcery-ai

sourcery-ai Bot commented Oct 7, 2026

Copy link
Copy Markdown

Reviewer's Guide

This housekeeping PR archives the three completed OpenSpec changes from merged PR #1 and materializes their requirements as five validated canonical specifications; it does not change implementation code, documentation, or active work.

File-Level Changes

Change Details Files
Archived three completed OpenSpec changes into dated archive directories after verifying their implementation, task completion, merged PR provenance, and validation results.
  • Moved each change from active changes into openspec/changes/archive/2026-10-07-<name>/ without content changes.
  • Confirmed no active OpenSpec changes remain and no repository documentation pointers require updates.
  • Validated all canonical and archived specifications successfully.
openspec/changes/archive/2026-10-07-add-project-clean-command/
openspec/changes/archive/2026-10-07-resolve-pr-review-findings/
openspec/changes/archive/2026-10-07-project-command/
Created canonical OpenSpec capabilities by merging the archived changes' added requirements into five new specifications.
  • Added safe, read-only-by-default cleanup behavior with guarded push, worktree removal, branch deletion, and revalidation.
  • Added project status, doctor, creation, inspection, update, distribution, and compatibility requirements.
  • Added safety requirements for profile filtering, malformed configuration, repository identity, estate safeguards, nested reports, and YAML errors.
  • Added Claude skill-bundle coverage requirements for registered Speckit Git commands.
openspec/specs/project-clean/spec.md
openspec/specs/project-clean-review-safety/spec.md
openspec/specs/project-command/spec.md
openspec/specs/project-review-safety/spec.md
openspec/specs/speckit-extension-integration/spec.md

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@brettheap brettheap left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Lane: openRepoProject-1

Re-verification — openRepoProject#4 @0e7f029 (archive)

Read-only independent re-verification at head 0e7f029a6a908739935825bff4bc5141d2c8be64 (PR head confirmed = 0e7f029, DRAFT, base main a040790, mergeable CLEAN). Measured in a detached worktree of the head; nothing was fixed, committed, pushed or marked ready.

Verdict: READY (opinion, offered for Brett Heap's advance word "ratify the archive PR when ready"). 0 BLOCKING, 5 non-blocking notes.

Closed

  1. Renames are pure. git diff --name-status -M origin/main..0e7f029 -- openspec/changes gives 17 R100 lines; git diff -M … -- openspec/changes | grep -c '^similarity index 100%' = 17; 17 = the files the three changes held on main (5 + 7 + 5; git ls-tree of main shows 18 under openspec/changes/, the 18th being archive/.gitkeep, which is kept). Tree-hash proof, source dir vs archive dir: add-project-clean-command 26e67a4e… = 26e67a4e…; project-command f96edff3… = f96edff3…; resolve-pr-review-findings 1bd3a970… = 1bd3a970…. Whole diff: 298 insertions, 0 deletions, 0 modified, 0 deleted files; nothing outside openspec/ changed (git diff --stat origin/main..0e7f029 -- . ':!openspec' empty). No non-100% rename, no content change.

  2. Canonical-spec merge is faithful. For each capability, diff <(sed -n '/^### Requirement:/,$p' source) <(sed -n '/^### Requirement:/,$p' canonical) exits 0 (byte-identical requirement sections: names, SHALL text, scenarios, same order), and a second parser pass compared every block by name: 20/20 EQUAL, 0 duplicates, 0 only-in-source, 0 only-in-canonical, scenario counts equal. The Purpose text is identical; the only header difference is the tool's # <cap> Specification title and ## ADDED Requirements → ## Requirements, plus one blank line after ## Purpose. Source headings are only ## Purpose and ## ADDED Requirements (no MODIFIED/REMOVED/RENAMED), and no capability is fed by two changes, so there was no same-capability merge to lose anything in.

    capability canonical file (req headings at) canonical source ADDED writer scenarios (canon/src) result
    project-clean openspec/specs/project-clean/spec.md (L10,25,39,55,70) 5 5 (add-project-clean-command) 5 5/5 EQUAL
    project-clean-review-safety openspec/specs/project-clean-review-safety/spec.md (L9,21,38,49) 4 4 (resolve-pr-review-findings) 4 5/5 EQUAL
    project-review-safety openspec/specs/project-review-safety/spec.md (L9,21,32,51,67,78) 6 6 (resolve-pr-review-findings) 6 8/8 EQUAL
    speckit-extension-integration openspec/specs/speckit-extension-integration/spec.md (L9) 1 1 (resolve-pr-review-findings) 1 2/2 EQUAL
    project-command openspec/specs/project-command/spec.md (L9,22,31,40) 4 4 (project-command) 4 5/5 EQUAL
    total 20 20 20 25/25

    openspec/specs/.gitkeep is retained; the five spec files are the only additions (all A).

  3. Validators and tests (measured at head, openspec 1.13.1). openspec validate --all --strict → Totals: 5 passed, 0 failed (5 items), exit 0. openspec validate --archived → Totals: 3 passed, 0 failed (3 items), exit 0. openspec list → No active changes found. openspec list --specs → project-clean 5, project-clean-review-safety 4, project-command 4, project-review-safety 6, speckit-extension-integration 1. python3 -m pytest tests -q → 43 passed in 14.86s; CI's own runner python3 -m unittest discover -s tests → Ran 43 tests … OK. The diff touches no code or tests, so main's 43 carries over.

  4. Completeness. Archived tasks.md checkboxes: add-project-clean-command 9 checked / 0 unchecked; resolve-pr-review-findings 16 / 0 (1.1-1.8, 2.1-2.4, 3.1-3.4); project-command tasks.md is the 4-line "Speckit handoff" stub (0 boxes, L1-4) and the real list specs/001-project-command/tasks.md L3-7 is T001-T005, 5/5 [x], 0 unchecked; grep -rnE '^\s*- \[ \]' specs openspec returns nothing. git merge-base --is-ancestor a040790 origin/main → true; origin/main = a040790; gh pr view 1 → MERGED, mergeCommit a040790…, mergedAt 2026-09-11. Spot-checks of the body's evidence table on this tree all hold: project L396 cleanup_report, L598 profile, L618 remote_repository_identity, L508 require_unchanged_cleanup_state, L788 inspect_project, L357 --ignored=matching, L217 "Destination already exists", L571 worktree remove, L586 branch -d; all 21 named tests exist in tests/; on opensoft/workBenches scripts/setup-project-command.py, scripts/onp exist and scripts/new-project.sh L5 is exec bash "$script_dir/project" new "$@". No README/AGENTS/docs/specs pointer to an archived path: git grep -nE 'add-project-clean-command|resolve-pr-review-findings|changes/project-command' -- . ':!openspec' is empty (the .claude/commands/opsx/*.md hits are <name> template placeholders, and specs/001-project-command/spec.md:3 is the Speckit branch label).

  5. Hygiene. PR body line 1 is Lane: openRepoProject-1. Three commits (5acb0e9, 230f11a, 0e7f029), one per change, each ending Lane: openRepoProject-1 and Co-Authored-By: Claude Sonnet 5.5 <[email protected]>; each commit is only R100 renames of its own change plus its own new spec(s) (5 R100 + 1 A; 7 R100 + 3 A; 5 R100 + 1 A). Body's results table (43 passed; 5 passed; 3 passed; tasks 9/9, 16/16, 5/5) matches what I measured. DRAFT confirmed (isDraft: true). Design branch: git diff --stat origin/main..origin/docs/project-maintenance-design -- openspec is empty (5 files, all ideation/brainstorm/*), and git merge-tree --write-tree of the two heads is conflict-free. The OPENED line exists at /workspace/projects/brett-wip/lanes/log/openRepoProject-1.md:73: OPENED — lane openRepoProject-1, … 2026-10-07T00:09:36Z, opensoft/openRepoProject#4 — … DRAFT @0e7f029.

  6. CI is green, not action_required. gh pr checks 4: 8/8 test (ubuntu|macos-latest, 3.10|3.12) = pass, in two tests runs, both with headSha 0e7f029: push run 37550398801 (success) and pull_request run 37550456405 (success). gh run list shows both completed success. Local pytest is not needed as a substitute.

Non-blocking

N1. The body says "zero fetch/pull/--force strings in project". Not literally true: project:372 ("local refs only; no fetch"), :473 ("…as of the last fetch; no fetch performed") and :468 ("…pull-request or merge process") are report text. The substance holds: there is no git fetch/pull invocation and no --force flag anywhere in project. Wording only; it describes already-merged code, not this diff.
N2. Sourcery appended a "Summary by Sourcery" block to the body (labels the PR "Enhancements"; it is a housekeeping/chore PR with no code change) and posted its reviewer's guide as a comment. If the body is used as the squash message, trim that block.
N3. CI runs python -m unittest discover (.github/workflows/tests.yml), not pytest; the body quotes pytest. Both give 43; no discrepancy.
N4. Commit subjects are 79 and 81 characters (5acb0e9, 230f11a), over the usual 72; GitHub displays them with a "…" and a continuation, but git log shows them intact.
N5. Forward look, no action needed: open PR #2 (cleanup) adds four new ADDED-only changes under openspec/changes/. git merge-tree of #2 and #4 is conflict-free, and a throwaway export of that merged tree validates openspec validate --all --strict → 9 passed (4 changes + 5 specs). Merge order of #2 and #4 does not matter.

BLOCKING

None.

READY as an opinion for Brett Heap's advance word. The merge itself remains with the lane and Brett Heap.

@brettheap
brettheap marked this pull request as ready for review October 7, 2026 00:15
@sourcery-ai

sourcery-ai Bot commented Oct 7, 2026

Copy link
Copy Markdown

Sorry @brettheap, you've used your own review budget of 250,000 diff characters for the last 7 days.

You can request another review in 17 hours and 5 minutes by commenting @sourcery-ai review. Upgrade to get a review now.

brettheap added a commit that referenced this pull request Oct 7, 2026
The capabilities note cited chore/archive-completed-changes as having no
pull request; #4 was opened for it at 0e7f029 while this proposal was
drafted, so the note now names it.

Refs #3

Lane: openRepoProject-1
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@brettheap
brettheap merged commit 67efa80 into main Oct 7, 2026
9 checks passed
@brettheap
brettheap deleted the chore/archive-completed-changes branch October 7, 2026 00:28
brettheap added a commit that referenced this pull request Oct 7, 2026
…r-triad-in-project-new

Lane: openRepoProject-1

Co-Authored-By: Claude Fable 5.1 <[email protected]>
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openRepoProject-1

LANDED by squash as 67efa80 (2026-10-07T00:30:35Z) under Brett Heap's advance word "ratify the archive PR when ready" (2026-10-07), on the READY re-verification #4 (review) (all 20 requirements byte-equal across the five canonical specs, 17 pure renames, openspec validate --all --strict 5/5 and --archived 3/3, CI 8/8 green). Recorded as LANDING/LANDED in the lane log.

brettheap added a commit that referenced this pull request Oct 7, 2026
Apply the lead's rulings R1 to R14 on both alignment reports.

- Scope is creation-only: the status/doctor advisory and its exemption
  reader leave What Changes, Impact and Rules; Out of Scope records why,
  the detection and record-rule divergences, and the pre-existing
  doctor --validate --strict exit.
- D2's stderr advisory is owed after a flag-chosen or non-interactive
  single-repository creation, before any --workflow step; the rule that
  contradicted it is restated.
- One helper decides a person at the terminal (stdin and stdout ttys, CI
  false-y); the choosing flags, the question's position, its answers, the
  Triad prerequisites, the name constraint and the -wip exemption are
  stated.
- Modified Capabilities now names project-command (archive PR #4 merged
  as 67efa80); the standalone capability is dropped.
- Why adds the routing through workBenches lane project-command's claim;
  Impact adds the pty test helper, pinned fixtures and the one Speckit
  handoff.

Lane: openRepoProject-1
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Oct 7, 2026
…r-triad-project-shape) (#5)

* OpenSpec: propose prefer-triad-in-project-new (openxFactory task 5.6)

Scaffold the change and draft proposal.md only: an interactive
`project new` offers the Triad first, explicit flags keep today's
behaviour, and `status`/`doctor` give the advisory once for a
non-exempt single repository, never as a gate, check or review input.
Alignment review, council and design follow in the same pull request.

Refs #3

Lane: openRepoProject-1
Co-Authored-By: Claude Opus 5.5 <[email protected]>

* OpenSpec: prefer-triad-in-project-new names archive PR #4

The capabilities note cited chore/archive-completed-changes as having no
pull request; #4 was opened for it at 0e7f029 while this proposal was
drafted, so the note now names it.

Refs #3

Lane: openRepoProject-1
Co-Authored-By: Claude Opus 5.5 <[email protected]>

* OpenSpec: revise prefer-triad-in-project-new after alignment review

Apply the lead's rulings R1 to R14 on both alignment reports.

- Scope is creation-only: the status/doctor advisory and its exemption
  reader leave What Changes, Impact and Rules; Out of Scope records why,
  the detection and record-rule divergences, and the pre-existing
  doctor --validate --strict exit.
- D2's stderr advisory is owed after a flag-chosen or non-interactive
  single-repository creation, before any --workflow step; the rule that
  contradicted it is restated.
- One helper decides a person at the terminal (stdin and stdout ttys, CI
  false-y); the choosing flags, the question's position, its answers, the
  Triad prerequisites, the name constraint and the -wip exemption are
  stated.
- Modified Capabilities now names project-command (archive PR #4 merged
  as 67efa80); the standalone capability is dropped.
- Why adds the routing through workBenches lane project-command's claim;
  Impact adds the pty test helper, pinned fixtures and the one Speckit
  handoff.

Lane: openRepoProject-1
Co-Authored-By: Claude Fable 5.1 <[email protected]>

* OpenSpec: prefer-triad-in-project-new proposal wording pass

Reflow the terminal-helper paragraph and say plainly why project asks for
the visibility: openRepoShape would otherwise default it to private.

Lane: openRepoProject-1
Co-Authored-By: Claude Fable 5.1 <[email protected]>

* OpenSpec: prefer-triad-in-project-new resolves the council verdicts

Apply the lead's eleven VALID verdicts (V1 to V11) to proposal.md and
record the six NOTED ones (N1 to N6) in a new clarifications.md.

- Known obstacles: the assembly-root name form, openRepoShape on PATH
  and the parent directory are read before the question, named beside
  the Triad, and refused with exit 2 on a Triad answer before any prompt
  or network; openRepoShape's own refusals keep its status. "CamelCase"
  is gone; Preview is reworded for both answers.
- --workflow: project keeps its advisory; setup-openspeckit's follows
  as a second ratified form, and the double offer is recorded with its
  cases and a workBenches follow-up.
- The organisation and visibility prompts get the question's rules and
  a restating line; the --workflow refusal is hoisted only when the
  question is asked.
- The prompt-stream wording and the pty helper are corrected; the
  advisory write is guarded and ASCII-only; a bench creation counts as
  a single repository whether or not Git is initialised.
- Declining, agents at a pty, the -wip reading at creation, the
  workBenches pin-advance handoff issue, the y/yes/n/no answers and four
  small corrections.

Lane: openRepoProject-1
Co-Authored-By: Claude Opus 5.5 <[email protected]>

* OpenSpec: prefer-triad-in-project-new spec delta for project-command

Write the change's delta on the project-command capability.

- MODIFIED "Delegate project creation": the whole requirement restated,
  adding the Triad-first offer, typed organization and visibility as
  explicit, the creation advisory, and that nothing is created without
  the person's confirmation; "Preview" now holds for both answers.
- ADDED six requirements: who is asked the creation question and where
  it sits; the question's entries and answers; the known Triad
  obstacles, named beside the Triad and refused with exit 2 on a Triad
  answer; the organization and visibility prompts and the restating
  line; the creation advisory and its guarded write; and the order
  under --workflow.
- 47 scenarios, behaviour only; openRepoShape's refusals promise no
  status beyond passing through.

Lane: openRepoProject-1
Co-Authored-By: Claude Opus 5.5 <[email protected]>

* OpenSpec: prefer-triad-in-project-new design

Decide how project new builds the spec delta, answering the council's
noted constraints N1 to N6.

- One terminal rule and one offer value computed once in new(); the
  --workflow refusal is hoisted only for an asked invocation.
- Both answers re-enter today's shape and bench branches; the question
  and the Triad prompts share one retry and end-of-input rule through
  ask().
- Known obstacles are three local reads; the assembly-root and -wip
  forms are pinned from openRepoShape 1a9fc537.
- The advisory is written with os.write on stderr's descriptor:
  probes show a swallowed buffered write exits 120 on /dev/full and
  print(file=sys.stderr) lands on stdout when stderr is closed.
- Under --workflow, project's offer comes first and setup-openspeckit
  follows unchanged; Ctrl-C while openRepoShape runs keeps today's
  behaviour, documented, with the wait-for-child alternative recorded.
- Fixed ASCII text, exit statuses, the pty helper and the fakes.

Lane: openRepoProject-1
Co-Authored-By: Claude Opus 5.5 <[email protected]>

* OpenSpec: prefer-triad-in-project-new governance tasks and handoff

tasks.md is the governance and handoff record only: the governance
boxes (ratification by Brett Heap's word left open), the one Speckit
feature still to be created by /speckit.specify, and the landing and
archive steps. Implementation tasks belong to that feature alone.

Lane: openRepoProject-1
Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Fold four non-blocking review notes into prefer-triad-in-project-new

From review 5436721813 (READY, zero blocking findings):

1. design.md D14 and proposal.md test plan: the --workflow tests assert the
   fake setup-openspeckit is what PATH resolves, and the refusal test
   without it asserts None.
2. spec.md creation-advisory requirement: SHALL NOT run adopt-project.py,
   convert an existing repository, or write a manifest or record on the
   advisory's account.
3. design.md D13: lower-case "preferred, not required" in entry 1 so it
   matches the spec scenario.
4. spec.md creation-advisory requirement: "(chosen by flag, or the terminal
   rule does not hold)" now covers the CI case.

Nothing else changed.

Lane: openRepoProject-1
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[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.

1 participant