Skip to content

Archive prefer-triad-in-project-new after PR #8 landed - #13

Merged
brettheap merged 1 commit into
mainfrom
chore/archive-prefer-triad-in-project-new
Oct 9, 2026
Merged

brettheap merged 1 commit into
mainfrom
chore/archive-prefer-triad-in-project-new

Conversation

@brettheap

@brettheap brettheap commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Lane: openRepoProject-1

Archives OpenSpec change prefer-triad-in-project-new (governance PR #5 at ca4c615, ratified "ratify 5"; realization PR #8 at d7f6b0e, ratified "ratify 8"; issue #3 closed), per its tasks.md 3.5, after 3.1 to 3.3 were met (workBenches#145 opened for lane project-command; the merge sha posted on issue #3 for codeXfactory-5). 3.4 stays with codeXfactory-5.

  • Spec sync: openspec/specs/project-command/spec.md takes the delta: "Delegate project creation" replaced, six requirements added, 47 scenario headings from the delta now in the main spec; the other requirements are unchanged.
  • Archive path: openspec/changes/archive/2026-10-08-prefer-triad-in-project-new/, carrying the whole change with tasks 3.1 to 3.3 and 3.5 ticked with evidence.
  • openspec validate --all --strict: Totals: 5 passed, 0 failed (5 items). Test suite in py-bench: 94 tests OK (no code change).

Squash merge on Brett Heap's word only.

🤖 Generated with Claude Code

Summary by Sourcery

Archive the completed project-creation change after synchronizing its Triad preference, prompting, confirmation, obstacle handling, and single-repository advisory requirements into the project-command specification.

Enhancements:

  • Archive the completed prefer-triad-in-project-new OpenSpec change and incorporate its project-creation behavior into the main project-command specification.

Chores:

  • Record the realization, bookkeeping, and archive-readiness evidence in the archived change tasks.

Lane: openRepoProject-1

Ticks tasks 3.1 to 3.3 and 3.5 with their evidence, syncs the project-command
spec from the change's delta (one modified and six added requirements, 47
scenarios), and moves the change to openspec/changes/archive/.

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

sourcery-ai Bot commented Oct 8, 2026

Copy link
Copy Markdown

Reviewer's Guide

This PR archives the completed prefer-triad-in-project-new change and synchronizes project-command/spec.md with the realized Triad-first creation flow, including interactive selection, safety checks, delegation, single-repository advisories, and workflow ordering; validation passes with no code changes.

Flow diagram for the Triad-first project creation workflow

flowchart TD
    A[Start project creation] --> B[Interactive Triad selection]
    B --> C[Safety checks]
    C --> D[Delegate project creation]
    D --> E[Single-repository advisory]
    E --> F[Continue workflow in specified order]
Loading

File-Level Changes

Change Details Files
Archive the completed OpenSpec change with evidence that the realization and downstream handoff prerequisites were satisfied.
  • Move the change into the dated archive directory.
  • Record the PR merge, issue comment, workBenches issue, and validation evidence.
  • Mark tasks 3.1–3.3 and 3.5 complete while leaving the codeXfactory-owned task 3.4 unchecked.
openspec/changes/archive/2026-10-08-prefer-triad-in-project-new/tasks.md
Synchronize the project-command specification with the realized Triad-first project creation behavior and governance rules.
  • Expand project creation to offer Triad or single-repository paths with explicit confirmation semantics.
  • Define terminal, CI, flag, workspace-name, dry-run, refusal-order, and obstacle detection rules.
  • Specify Triad organization/visibility prompts, openRepoShape delegation, validation, and error handling.
  • Define the single-repository creation advisory, its exact delivery constraints, silent cases, and workflow ordering.
  • Add the resulting requirements and scenario coverage to the main specification.
openspec/specs/project-command/spec.md

Possibly linked issues


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

@sonarqubecloud

sonarqubecloud Bot commented Oct 8, 2026

Copy link
Copy Markdown

@brettheap
brettheap marked this pull request as ready for review October 8, 2026 23:51
@sourcery-ai

sourcery-ai Bot commented Oct 8, 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 20 hours and 11 minutes by commenting @sourcery-ai review. Upgrade to get a review now.

@brettheap
brettheap merged commit 7a9134b into main Oct 9, 2026
10 checks passed
@brettheap
brettheap deleted the chore/archive-prefer-triad-in-project-new branch October 9, 2026 00:21
brettheap added a commit that referenced this pull request Oct 9, 2026
V12 (AE-4) after merging origin/main at 7a9134b (e21b24d):

- Dependencies and Sequencing: PR #8 merged at d7f6b0e (141 lines in
  project, tests 43 to 94) and PR #13's archive of
  prefer-triad-in-project-new merged at 7a9134b; "archive in either
  order" and "whichever lands second" replaced by those facts.
- Citations stay pinned at da33d92: at 7a9134b lines 285-1007 of
  project sit 141 lower (probe and execute unmoved), the cited test
  lines 383 lower, README citations up to 88 lower; feature 003
  re-pins at its specify and plan.
- Capabilities, project-command: all ten requirements at 7a9134b
  accounted for. "Inspect and diagnose" and "Explicit maintenance"
  (MODIFIED) are verbatim and unchanged, 22 lines lower; "Delegate
  project creation", "Distribution and compatibility" and the six
  requirements the archive added are listed untouched, verbatim.
- Impact: 94 existing tests; 002 merged by PR #8.
- Why: the defects still hold at 7a9134b. Corrections C1: main is no
  longer da33d92.
- Lead ruling (lane 3's final read of #12): the 1 MiB cap on the
  manifest read that resolves a merge target lives in the shared
  evidence model (What Changes; project-command ADDED; Git-first; a
  test). P6-1 confirmed already present (reap waits the 2 s grace,
  then abandons the child as probe-timeout).

Lane: openRepoProject-2
Co-Authored-By: Claude Opus 5.5 <[email protected]>
brettheap added a commit that referenced this pull request Oct 9, 2026
…erview

Brings in PR #13 (7a9134b), which archived prefer-triad-in-project-new
and merged its requirements into openspec/specs/project-command.

Lane: openRepoProject-2
Co-Authored-By: Claude Opus 5.5 <[email protected]>
brettheap added a commit that referenced this pull request Oct 9, 2026
Applies lane openRepoProject-3's final delta read of PR #12 at a8cef41
(N-1 to N-6 and the two LOW items) and the lead's rulings P6-1 to P6-6:

- N-1: unpublished on the merge-target checkout only where the ref
  listing holds a remote copy of the merge target; no remote is ordinary
  work (What Changes, Rules, requirement 10, OQ-20 and its table row).
- N-2: requirement 3 states both scheduling conditions, the identity-probe
  barrier and the DI:446-448 rank condition, "earlier in canonical order".
- N-3: requirement 7's messages name the batch's row cap and target limit
  and take the numbers from change 1's limits at run time.
- N-4: requirement 3 states the overview's own per-child budget,
  min(5 s, deadline - now).
- N-5 and P6-5: unstarted-branch mirrored where head equals the
  merge-target SHA (finding kept, read-only suggestion, gate code set);
  the zero-commit sentence dropped.
- N-6 and P6-6: unsupported-layout is severity error;
  main-worktree-missing stays a warning.
- P6-1 (reap within the 2 s grace or abandon as probe-timeout), P6-2
  (fixed remedies for every gate code), P6-3 (withheld versus limited),
  P6-4 (limits gains batch_row_cap, report_row_cap, target_limit).
- LOW: "change 1's codes, with target-cap carrying its deferral meaning";
  the 1 MiB manifest bound is cited from change 1's evidence model.

Also records PR #13 (7a9134b) in Dependencies and Impact: the canonical
project-command at 7a9134b is the base change 1 modifies.

Lane: openRepoProject-2
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