Repository navigation
OpenSpec: fix-parent-obstacle-wording (follow-up to prefer-triad-in-project-new) - #15
Conversation
Lane: openRepoProject-1 Proposal only, for the parent-obstacle sentence of project new that says "does not exist" while the check is "is not a directory" (follow-up R-A of prefer-triad-in-project-new). Alignment review and council follow. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Reviewer's GuideThis proposal-only PR documents a narrowly scoped correction to Sequence diagram for parent obstacle wording in project newsequenceDiagram
participant User
participant ProjectNew
participant ParentPath
User->>ProjectNew: project new
ProjectNew->>ParentPath: is_dir()
alt Parent is a directory
ProjectNew-->>User: Continue creation question
else Parent does not exist
ProjectNew-->>User: Not possible here: parent does not exist
else Parent exists but is not a directory
ProjectNew-->>User: Not possible here: parent exists but is not a directory
end
Flow diagram for parent obstacle message selectionflowchart TD
A[project new reads parent path] --> B{"parent.is_dir()?"}
B -->|yes| C[No parent obstacle]
B -->|no| D{Parent path exists?}
D -->|no| E[Use missing-parent sentence]
D -->|yes| F[Use non-directory-parent sentence]
E --> G[Show obstacle in creation question and refusal]
F --> G
File-Level Changes
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Lane: openRepoProject-1 QA lead: eleven findings (three mismatches, eight gaps); stack architect: three mismatches, two drifts and one observation, merged by the lead. The proposal now states both parent cases in every scenario it names, the reachability routes, the feature 002 record lines it supersedes, and the correct source of the PermissionError refusal. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
Lane: openRepoProject-1 Alignment review complete (proposal at bac4150, fixes at 6a93c8f)Stack architect: 5 findings (3 mismatches, 2 drifts) plus 1 observation. Mismatches: the QA lead: 11 findings (3 mismatches, 8 gaps). Gaps: the scenario "A single-repository answer is unaffected" was false for a file parent (the bench path ends in Fixes applied: 16 (all; the two lists merged by the lead, the stack architect's wording winning where both touched the same text). Gaps resolved: 8, all added to scope except The proposal is aligned with the main spec, the archived design and the code. Convening the council. |
…orded Lane: openRepoProject-1 Thirteen concerns (product 4, architect 4, adversary 5); the valid ones are applied to proposal.md and the noted ones constrain design.md through clarifications.md. Decisions: the new sentence states its repair and is not Triad-specific; one baseline for the single-repository answer; pathlib read with version residuals recorded; feature number taken when created. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…le-wording Lane: openRepoProject-1 One MODIFIED requirement with its scenarios (the missing case keeps its title; the non-directory case gets its own), design D1 to D6 fixing the discriminator, the two sentences and the tests, and a governance-only tasks.md with one Speckit handoff to be filled in once. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Lane: openRepoProject-1 Council review complete (aligned proposal at 6a93c8f; resolution at d13e419)Concerns raised: 13 (Product advocate 4, Systems architect 4, Adversary engineer 5). VALID, proposal updated (10)
NOTED, captured in clarifications.md for the design (6)
DISMISSED (0)Design, spec delta and governance tasks follow in this pull request; nothing here is ratified. |
Lane: openRepoProject-1 Re-verification F1: box 1.2 now cites issuecomment-6072814758 instead of saying the lead posts it. Co-Authored-By: Claude Fable 5.1 <[email protected]>
|
|
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 34 minutes by commenting |
|
Lane: openRepoProject-1 |
…ent-obstacle-wording) (#17) * Specify feature 003-parent-obstacle-wording from the ratified change Lane: openRepoProject-1 Creates the single Speckit feature that realizes OpenSpec change fix-parent-obstacle-wording (ratified by Brett Heap, "ratify 15", 2026-10-09; PR #15 landed as 26a5668), records the ratification and the Speckit handoff in the change's tasks.md, and adds the spec quality checklist. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Plan and tasks for feature 003-parent-obstacle-wording Lane: openRepoProject-1 Restates the ratified design (fix-parent-obstacle-wording D1 to D6) as the implementation plan and derives the dependency-ordered task list; no code changes. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Apply the analyze gate's fixes to quickstart.md and tasks.md Lane: openRepoProject-1 M1: the quickstart fixture now creates PROJECTS_DIR; L1, L2, L4: counts pinned at 26a5668, the two scenarios covered by existing tests named in T002, and T015(a) phrased as the filtered diff. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Realize fix-parent-obstacle-wording: name a parent that is not a directory Lane: openRepoProject-1 known_obstacles() reads parent.is_dir() and, only when that is false, parent.exists() on the same resolved parent, and names a parent that exists but is not a directory with the sentence fixed in design.md D2; the missing-parent sentence is unchanged. Tests per design.md D3 (new fixture, four obstacle rows with a nothing-created snapshot, the routes table, dry-run rows, a single-repository test against the --type test baseline, a symlink-to-directory test); README sentence per D2; traceability for the eight delta scenarios. Feature 003-parent-obstacle-wording, governing issue #14. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Tick T001 to T018 on the verified evidence; fix the Phase 2 checkpoint; tick OpenSpec 2.2 Lane: openRepoProject-1 The checkpoint now names all 13 fail-first cases (T007's question-line check included), per the independent re-verification of PR #17 at f492558; box 2.2 records that the handoff named the feature before the first implementation commit. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
* Archive fix-parent-obstacle-wording after PR #17 landed Lane: openRepoProject-1 Moves the ratified change (Brett Heap, "ratify 15", 2026-10-09; packet PR #15 at 26a5668) to the archive and merges its one MODIFIED requirement into openspec/specs/project-command/spec.md. The realization is PR #17 (feature 003-parent-obstacle-wording), landed as f401e06; issue #14 closed; the D5 comment is on workBenches#145. Co-Authored-By: Claude Opus 5.5 <[email protected]> Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Name the skipped check in the archived tasks.md 3.1 Lane: openRepoProject-1 Per the independent re-verification of PR #18 (note N1): the rollup wording now names the skipped Sourcery review, as the precedent did. Co-Authored-By: Claude Fable 5.1 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>



Lane: openRepoProject-1
Governing issue: #14 (claimed by lane openRepoProject-1; not closed by this PR, the realization closes it). Proposed on Brett Heap's word "propose the D3 wording follow-up as a new change" (2026-10-09). Ratified by Brett Heap's word "ratify 15" (2026-10-09).
OpenSpec change
fix-parent-obstacle-wording: the parent obstacle ofproject new's creation question is read asis_dir()but worded "does not exist", which is false when the parent path exists as a file. This packet fixes the wording and nothing else.The packet
proposal.md: two case-specific parent sentences; the missing case unchanged; the new sentence states its repair and is not Triad-specific; alternatives (A) one sentence, (C) nothing, (D)exists()rejected with reasons; residuals and known limitations stated.specs/project-command/spec.md: one MODIFIED requirement, "Known Triad obstacles are named before the question and refused on a Triad answer", with eight scenarios: the missing case keeps its title, "The parent exists but is not a directory" is new, the Triad-answer and dry-run scenarios gain the file-parent case, "A single-repository answer is unaffected" has one baseline and no advisory, "No known obstacle" admits a symbolic link to a directory.design.mdD1 to D6: the read (is_dir()thenexists()on the resolved parent; still three facts), the fixed text (The parent PARENT exists but is not a directory; choose a parent that is a directory.and the README sentence), the tests, the feature 002 supersession statement, the workBenches#145 comment at the realization's merge, and what is explicitly not changed.clarifications.mdN1 to N6 and a governance-onlytasks.mdwith one Speckit handoff, to be filled in once after ratification (the next free feature number; lane openRepoProject-2's PRs OpenSpec: add-project-clean-all-safe (batch worktree cleanup from the maintenance design packet) #11 and OpenSpec: add-project-overview (project overview from the maintenance design packet) #12 name 003 and 004).Review record
openspec validate fix-parent-obstacle-wording --strictpasses;openspec validate --all --strict6 of 6; every artifact done. All five files ASCII.Squash merge on Brett Heap's word.
🤖 Generated with Claude Code
Summary by Sourcery
Correct the parent obstacle message used by
project newso it accurately distinguishes missing parents from existing paths that are not directories.Bug Fixes:
project newparent-obstacle wording so existing non-directory parents are no longer reported as missing.Enhancements:
Documentation:
Tests:
Chores: