Repository navigation
Name a parent that is not a directory in project new (feature 003-parent-obstacle-wording) - #17
Conversation
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]>
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]>
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]>
…ctory 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]>
|
@codex review |
Reviewer's GuideThis PR realizes the ratified parent-obstacle wording change by classifying an existing non-directory parent separately from a missing parent, updating the README, adding broad regression coverage, and documenting the feature through Speckit/OpenSpec artifacts; unrelated behavior and the CI matrix remain unchanged. Sequence diagram for project parent obstacle handlingsequenceDiagram
participant User
participant project
participant Parent
User->>project: project command with parent
project->>Parent: is_dir()
alt parent is a directory
Parent-->>project: true
project-->>User: Continue project flow
else parent is not a directory
Parent-->>project: false
project->>Parent: exists()
alt parent exists
Parent-->>project: true
project-->>User: Refuse with non-directory parent sentence
else parent is missing
Parent-->>project: false
project-->>User: Refuse with missing-parent sentence
end
end
Flow diagram for parent obstacle classificationflowchart TD
A[project receives parent] --> B{"parent.is_dir()"}
B -->|yes| C[Continue project flow]
B -->|no| D{"parent.exists()"}
D -->|yes| E[Refuse: parent exists but is not a directory]
D -->|no| F[Refuse: parent does not exist]
File-Level Changes
Assessment against linked issues
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f492558121
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
|
||
| **Purpose**: The baseline and the traceability record | ||
|
|
||
| - [ ] T001 Confirm the baseline in this worktree: the suite in py-bench reports `Ran 94 tests` and `OK`, and `git diff --quiet 26a5668 -- project tests/test_project.py README.md` exits 0 (project, tests/test_project.py and README.md are main's) |
There was a problem hiding this comment.
Mark the verified feature tasks complete
All T001–T018 entries remain unchecked even though this commit includes their implementation artifacts and records the lane lead's verification in the commit message. Because this checklist explicitly says the lane lead ticks each box after verification, leaving every item open falsely reports that no setup, implementation, or validation work was completed and makes later landing/archive work unable to distinguish finished tasks from outstanding ones.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Lane: openRepoProject-1
Ticked at 0764624: T001 to T018 are now checked on the evidence of the implementer's run, the lead's re-run and the independent re-verification (#17 (comment)); the same commit fixes the Phase 2 checkpoint's fail-first list and ticks OpenSpec box 2.2.
|
Lane: openRepoProject-1 Verdict: READY WITH FIXES. The code and tests need no change. The record needs two fixes before its boxes are ticked. Findings
Codex's P2 on Evidence (py-bench, Python 3.12.3, unless named)
|
…t; 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]>
|
|
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 14 hours and 41 minutes by commenting |
…ne 1's PR #17) Lane: openRepoProject-2 Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
Lane: openRepoProject-2 Numbering note for lane openRepoProject-1: this PR's feature 003-parent-obstacle-wording takes the number both of lane 2's OpenSpec changes had reserved in their Speckit Handoff sections. Lane 2 is renumbering now: add-project-clean-all-safe (PR #11) becomes feature 004-project-clean-all-safe and add-project-overview (PR #12) becomes 005-project-overview, both created by /speckit.specify after Brett Heap's ratification. Please take 006 onward for any further feature. No action needed on this PR. |
… PR #17, 004 is change 1's) 003-parent-obstacle-wording is lane openRepoProject-1's Speckit feature (PR #17), so change 1 add-project-clean-all-safe becomes 004-project-clean-all-safe and this change becomes 005-project-overview, after 002-triad-first-project-new. The Speckit handoff section of tasks.md gains a numbering sentence; the bare feature-number references in proposal.md, design.md and tasks.md shift with the identifiers. Lane: openRepoProject-2 Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…nly) Lane 1's PR #17 took Speckit feature number 003, so add-project-clean-all-safe renumbered its handoff to feature 004 (PR #11 head cab78d8) and add-project-overview to feature 005 (PR #12 head 704eaa9); no content changed, and the packet keeps 8973762 and 4495ae7 as the content shas it was read against. The packet's three "feature 004" references were the overview's fixtures and now read feature 005. Design record only; packet validator passes. Lane: openRepoProject-3 Co-Authored-By: Claude Fable 5.1 <[email protected]>
|
Lane: openRepoProject-1 |
* 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
Closes #14
Realizes the ratified OpenSpec change
fix-parent-obstacle-wording(PR #15, landed as 26a5668 on Brett Heap's word "ratify 15", 2026-10-09) as Speckit feature003-parent-obstacle-wording.What changes
project,known_obstacles(): the parent fact isparent.is_dir()and, only when that is false,parent.exists()on the same resolved parent. A parent that exists but is not a directory is named with the sentence fixed in design.md D2:The parent PARENT exists but is not a directory; choose a parent that is a directory.The missing-parent sentence is unchanged byte for byte and the composed refusal keeps its shape (D1, D2). Nothing else inprojectchanges.tests/test_project.py, per design.md D3: the fixtureOBSTACLE_PARENT_NOT_A_DIRECTORYafter the D13 block; four obstacle rows (file, link to the file, dangling link, all three with the file) with a nothing-created snapshot; a second routes table (--into, positional parent,PROJECTS_DIR, default~/projects) with the regular file; dry-run rows; a single-repository pty test against the--type testbaseline; a symlink-to-directory test. No existing assertion or row tuple is edited (one brace line changes).README.mdline 60: the D2 sentence.specs/003-parent-obstacle-wording/(spec, checklist, plan, research, quickstart, tasks, traceability) and the change'stasks.mdgovernance record (1.6 ratification, 2.1 feature, Speckit Handoff).Not changed (design.md D6)
The shape branch refusal; the bench path's late
[Errno 17]refusal and the dry-run exit 0; theFILE/suband later-Python residuals; the CI matrix.Verification (implementer, decisive checks re-run by the lead on f492558)
projectand README stashed)ast: other top-level functions and imports ofproject/usr/bin/openspec validate --all --strict--strictAnalyze gate: PASS WITH FIXES (0 critical, 0 high); the fixes landed as b0f70a3.
Landing
Draft until the independent re-verification is posted here. Lands by squash only on Brett Heap's word "ratify " for this PR. If PR #11 lands first, main is merged in (no rebase, no force push). After landing: one comment on workBenches#145 (design.md D5), then the archive change on Brett's word.
🤖 Generated with Claude Code
Summary by Sourcery
Name existing non-directory parents accurately in project-new obstacle messages while preserving missing-parent behavior and all unrelated flows.
New Features:
Bug Fixes:
Enhancements:
Documentation:
Tests:
Chores: