Repository navigation
OpenSpec: support-later-python-versions (CI runs only Python 3.10 and 3.12; the archived N1 later-Python residuals) - #28
Conversation
Lane: openRepoProject-4 First draft of the OpenSpec change support-later-python-versions (governing issue #22): proposal.md and the .openspec.yaml from openspec new change. The Observed section and the Impact feasibility line are placeholders, to be filled from the probe report only. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Observed comes from the N1 probe (18 parent kinds, four forms, seven interpreters from 3.10.21 to 3.15.0rc2) and the suite proof (96 OK on each, SIGINT at its default). Feasibility: the recommended S1 and S2 on a scratch copy gave the argued answers on 3.10 to 3.15rc2, identical on all six, with every other row unchanged (126 probe cells and 130 not-asked runs per version, plus the review's edge cases). Adjusted to the evidence: the range is 3.10 to 3.15 and closed, since setup-python's manifest lists 3.15.0 as stable; S2 reads as absent the errnos 3.10 to 3.13 pathlib ignores, since reading only absence refused a --family loop that every version plans; (L) is raised after the family-name check. Alignment review of 0096c98 (SA-1 to SA-11, QA-1 to QA-9): applied, with two MODIFIED blocks against #21 at a43e7d2, archive and realization after #21, and README.md:17-19 recorded as shared with feature 004 (lane 2's acknowledgement). Left as decisions for Brett Heap: who adds each new release (SA-7) and whether lane 1 scopes #21's shape sentence (SA-2). Declined: QA-9's section renames, since #21 has neither section and issue #22 names "Ordering and shared files". Details in the proposal's Review resolution. openspec validate --strict fails only for "Change must have at least one delta": a proposal without its delta, which follows with the design. Lane: openRepoProject-4 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Reviewer's GuideThis draft-only OpenSpec change proposes expanding CI and documented support from the currently tested Python versions to CPython 3.10–3.15, while normalizing looped-parent and unreadable-destination handling through narrow filesystem errno classification; it contains no production or test implementation yet and is not ratified. Sequence diagram for normalized parent validationsequenceDiagram
participant CLI as project new
participant NEW as new()
participant FS as Filesystem
participant MAIN as main()
CLI->>NEW: resolve parent
NEW->>FS: resolve()
alt RuntimeError or os.stat() returns ELOOP
NEW-->>MAIN: raise OSError(ELOOP)
MAIN-->>CLI: REFUSED ELOOP, exit 2
else parent resolution passes
NEW->>FS: os.lstat(destination)
alt unreadable destination errno
FS-->>NEW: EACCES or ENAMETOOLONG
NEW-->>MAIN: propagate OSError
MAIN-->>CLI: REFUSED system error, exit 2
else destination absent or existing
NEW-->>CLI: continue existing flow
end
end
File-Level Changes
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Brings #31 (single-repository.yaml) and #32 (CI on Linux only, by Brett Heap's decision of 2026-10-15). No conflict: neither touches the change directory. Lane: openRepoProject-4 Co-Authored-By: Claude Opus 5.5 <[email protected]>
#32 made CI Linux only by Brett Heap's decision of 2026-10-15, so the proposed matrix is ubuntu-latest x 3.10-3.15, six jobs instead of twelve. R3 (a macOS entry) is withdrawn but keeps its number. The macOS errno, fixture and runner notes are removed, and one NOTED macOS residual sits under Risks. The README wording keeps "Linux only". The tests.yml line citations follow the new file, and P2's check name is test (3.16). "Ordering and shared files" gains #32 and notes that #21 and feature 004 still name four jobs. #21's delta is byte-identical between a43e7d2 and 1b84a94, so every cited delta line and the base text match. Its proposal moved 20 lines: the Out of Scope citations are now lines 401, 412-416 and 412-414. Lane: openRepoProject-4 Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Lane: openRepoProject-4 Council review complete (proposal at 461a010; re-checked against main e9d6711 and #21 at 1b84a94)Concerns raised: 19 (Product advocate 5, Systems architect 7, Adversary engineer 7). VALID 7, NOTED 12, DISMISSED 0. The council stopped part-way on 2026-10-11 with 15 provisional verdicts; all 15 are confirmed (two with widened fixes), and 4 concerns are new (three from #32, one from feature 004's progress). VALID, fixes to follow in the next commit (7)
NOTED, captured in clarifications.md for the design (12)
DISMISSED (0)The root case was not run. This container refuses user namespaces ( Design, spec delta and governance tasks follow in this pull request; nothing here is ratified; fixes to follow in the next commit. |
The council (19 concerns: VALID 7, NOTED 12, DISMISSED 0; PR #28 issuecomment-6254996548) is applied, and no fix is declined: - AR-1: #21's permission sentence (delta 37-43), its scenario (73-76) and its README sentence (design.md:187-191) are recorded as false for an unsearchable directory, scoped in the second MODIFIED block to "a directory the person can search but cannot write"; Decision 12 covers them. - AD-1: (U) names every ENAMETOOLONG source (a parent component, NAME, the --family folder, a path past PATH_MAX); one new scenario and three AC3 rows. - AD-2: (U) names the destination built on the resolved parent; (L) names the parent as given. - PO-1: Alternatives "The range's home" (H1 recommended, H2); Decision 10 cites it. - AR-4: the 3.15 job builds PyYAML 6.0.3 from source (no cp315 wheel). - PO-5 and AR-6 were applied in the previous commit; checked against the council's table, and the first ADDED requirement now names versions, not systems. Also found while writing the delta: #21's scenario at delta lines 196-198 admits a looped or unreadable parent, so the first MODIFIED block carves both out. Lane: openRepoProject-4 Co-Authored-By: Claude Opus 5.5 <[email protected]>
The twelve NOTED concerns of the council (PR #28 issuecomment-6254996548), in the archived fix-parent-obstacle-wording format, each with its design impact; design.md answers each with a named decision. N12's impact says that the spec names versions only and the README names Linux, as the first ADDED requirement now does (H1). Lane: openRepoProject-4 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Three ADDED requirements, "Supported Python versions are stated and tested" (versions, not systems; H1), "A parent that is a symbolic-link loop is refused before the question" (8 scenarios) and "A destination that cannot be read is refused before the question" (11 scenarios), and two MODIFIED blocks written against #21's delta at 1b84a94: "Creation question is asked only of a person choosing at the terminal" (lines 129-198) and #21's ADDED "A parent blocked by a non-directory is refused before the single-repository path's steps" (lines 5-88). The blocks were built from #21's text by asserted exact replacements, and differ only in the statements the proposal records as false. The (U) scenario on existing destinations is split, so that S2's intended deviation (a link into an unsearchable directory is refused as existing) has its own scenario; the proposal's list follows. openspec validate --strict passes, with the expected INFO that archive would refuse the block for #21's ADDED title until #21 archives (N5). Lane: openRepoProject-4 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Follows every recommendation of the proposal's Decisions (R1, C1, H1, P1, the 3.10 floor, L1/Q1, U1, T2/E1, M1, fail-fast unchanged, Decision 12's MODIFIED route); Decisions 3 and 12 stay open for Brett Heap, and Open Questions says what each alternative changes. D1 the range, tests.yml line 9 and the two README sentences; D2 S1 (one source expression, the RuntimeError mapping on resolve() only, PARENT from os.getcwd()); D3 S2 (one os.lstat(), the 3.10-3.13 ignored errnos, DESTINATION on the resolved parent, the one deviation); D4 fixed text, L2's sentence and the scoping of #21's README sentence; D5 the test module by composition, the skip probe on an existing child, and system-neutral construction; D6 the delta against #21 at 1b84a94 and the archive-order guard; D7 shared files (import errno with feature 004); D8 the feature records; D9 handoffs; D10 what is not changed. Lane: openRepoProject-4 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Governance 1.1-1.5 done (alignment review at 461a010; council VALID fixes at 4318638 and 5bde39b with issuecomment-6254996548; clarifications N1-N12; the delta; the design), 1.6 open: the change lands only on Brett Heap's word ratifying #28, with Decisions 3 and 12 answered or left. One future Speckit feature, not created. Landing: the realization lands after #21's realization, with green checks on the six test jobs (3.1); the workBenches#145 comment (3.2); the archive-order guard of N5, archiving after refuse-non-directory-parent-early (3.3); the archive (3.4). openspec validate support-later-python-versions --strict: valid; openspec status: every artifact done; openspec validate --all --strict: 8 passed, 0 failed. Lane: openRepoProject-4 Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Lane: openRepoProject-4 Alignment review of the proposal (head 0096c98), posted lateThis comment records the alignment review made on 2026-10-11 against Two read-only lenses, as in the house flow: a stack architect (SA: code, stack, citations, cross-lane collisions) and a QA lead (QA: requirements record, coverage, acceptance criteria, template). Counts: 20 findings, 2 BLOCKER, 9 MAJOR, 9 MINOR. SA 11 (2 BLOCKER, 5 MAJOR, 4 MINOR); QA 9 (4 MAJOR, 5 MINOR). Confirmed with no finding: the archived N1, N5, N3 and D6 citations, the README, Stack architect
QA lead
Where the resolution landsIn Two findings are left as decisions for Brett Heap, with nothing taken on his behalf: SA-2 (Decision 12) and SA-7 (Decision 3). Nobody merges this PR; it lands only on his ratifying word. |
The alignment review of 0096c98 (SA-1 to SA-11, QA-1 to QA-9) was made on 2026-10-11 and relayed by the lead, but never posted. It is posted now (issuecomment-6257808062), so item 1.1 cites that comment beside the proposal's "Review resolution" section, as the archived fix-parent-obstacle-wording tasks.md 1.1 cites its review comment. Lane: openRepoProject-4 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 5 days and 11 hours by commenting |
Lane: openRepoProject-2 The comment above git-floor no longer counts the test jobs or names their Pythons, so it stays true whether or not PR #28 widens the matrix. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…mment (R-46) Lane: openRepoProject-2 The comment no longer counts the test jobs or lists their Python versions, so it stays true whether #28's wider matrix lands before or after 004. Comment-only; YAML and actionlint clean. Writer ran on claude-sonnet-5-5 (assistant turns checked); f9a639a. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…(design D6) #21's head moved from 1b84a94 to 8f3ca2d (main e9d6711 merged, then its CI statements aligned with Linux-only CI, #32). Its spec delta is byte-identical, so both MODIFIED blocks stand; every current-fact citation is re-pinned and the history records stay as written. The proposal's #21 bullet now says lane 1 aligned its text with Linux-only CI and that its task 3.1 ("every job") holds once the matrix widens. Its Feature 004 bullet now names 004's plan at d1e7c56, the git-floor job merged on 004's branch (4baec61), and lane 2's ruling R-46 (count-free comment, f9a639a), so no edit is needed on 004's account in either landing order. Lane: openRepoProject-4 Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Lane: openRepoProject-2 #28 widens the test matrix, so feature 004's text no longer counts the test jobs or lists their Python versions: "every job of the `test` matrix", on ubuntu-latest, Linux only per R-35, which stands. - plan.md: Language/Version, Constraints, CI shape and the R-35 risk. - research.md R11: the CI bullet and the Rationale. - spec.md: SC-012 and Dependencies' "Runtime and CI". - tasks.md: the R-35 note and T003, which quotes the git-floor comment as R-46 words it ("The test jobs above (ubuntu-latest, every Python of the matrix) run on whichever Git their runner ships"). Left as they are: the floor job's own Python 3.10; the proposal's quoted "Python 3.10 and 3.12" in tasks.md's R-35 note; research R12's digest equality across Python 3.10 and 3.12, which is no CI count; quickstart, which counts no test job. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…es, R-46 landed, git-floor merged) The quickstart clause is gone: plan, research, spec and tasks say "every job of the `test` matrix" (cited with their lines at 96a08d4), and quickstart.md names no job count. Feature 004's plan step 8 is quoted as "README and AGENTS.md" (plan.md:106-112), not "README and CI". `add-project-overview` is feature 005 in Out of Scope, as tasks.md:24 already says. The stale current-state claims ("unchanged at its head 0d3e0f7", the quoted "two jobs", "still say two jobs") are re-worded as facts at 96a08d4, with plan.md:248-250 and :312-313. The git-floor job is cited as merged on feature 004 (4baec61; comment reworded by 0d3e0f7; tests.yml:19-67 at 96a08d4), replacing the conflicting impl-branch pins 339b309 and 2ec938b. The held citations (project:11-12, README.md:17-19, plan step 8) are re-pinned to 96a08d4 in proposal.md, design.md D7 and clarifications.md N11. Risks gains one NOTED residual: argparse colours usage and error lines under FORCE_COLOR or PYTHON_COLORS=1 on 3.14 and later, which fails feature 004's two "usage: project" assertions in a local run, with lane 2's ruling R-70 and main's own tests unaffected. The update log gains one dated line for this re-check (2026-10-20, feature 004 at 96a08d4, main at e45155a with #16 touching no cited file). Lane: openRepoProject-4 Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
@codex review |
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. |
|
Codex Review: Didn't find any major issues. Nice work! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
|
Ratified by Brett Heap, in lane openRepoProject-4's session at 2026-10-21T10:40:31Z, verbatim:
Recorded as RULED in lane openRepoProject-4's log: https://github.com/opensoft/brett-wip/blob/ec452ff0b3aa595ffb37bf89f32d439e1af908f1/lanes/log/openRepoProject-4.md#L118 This PR lands by squash, as task 1.6 says, once that task is ticked and CI is green. Lane: openRepoProject-4 |
…Decision 3 A1, Decision 12 as recommended Brett Heap, 2026-10-21T10:40:31Z, in lane 4's session: "ratify 28, recommended for SA-2 and SA-7". For Decision 3 (SA-7), which had no recommendation, he chose at 2026-10-21T12:05:15Z: "A1: PR per release (Recommended)". Quoted on PR #28 at #28 (comment) ; RULED line at https://github.com/opensoft/brett-wip/blob/ec452ff0b3aa595ffb37bf89f32d439e1af908f1/lanes/log/openRepoProject-4.md#L118 . Lane: openRepoProject-4 Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
…ons) into 006-refuse-non-directory-parent-early Lane: openRepoProject-1 Co-Authored-By: Claude Opus 5.5 <[email protected]>
- tasks.md: unticked 1.7, in the form of PR #19's 1.7 and PR #28's 1.6: amendment A1 ratified by Brett Heap's word ratifying #34, quoted with its link on PR #34; PR #34 lands by squash; verified by that quote; feature 005's plan does not start before it. - proposal.md Status: the change's ratified status kept, with one clause: amendment A1 (PR #34) is drafted and not ratified, and lands only on Brett Heap's word. - proposal.md Open Questions: A1 leaves one point open, M1, stated in the "Amendment A1" section. - proposal.md "Amendment A1" Status line cites draft PR #34. Verified: /usr/bin/openspec validate --all --strict passes 9 of 9 (its one "Archive would refuse" INFO, on refuse-non-directory-parent-early, predates A1); git diff --check is clean; the 8 added lines hold no non-ASCII or control byte and no trailing space. Lane: openRepoProject-4 Co-Authored-By: Claude Opus 5.5 <[email protected]>



Lane: openRepoProject-4
Refs #22 (governing issue, claimed by lane openRepoProject-4; it stays open, and the realization closes it). Taken up under Brett Heap's word of 2026-10-11, "usage reset, resume all. read handoff and resume and fan out wide and do as much as possible in parallel" (issue #22, Authority).
OpenSpec change
support-later-python-versions: the CI matrix, the README's supported range, and the later-Python residuals that the archived changefix-parent-obstacle-wordingrecorded in its N1, and that #20/#21 put out of scope. The proposal stage is complete:proposal.md,clarifications.md(N1-N12),specs/project-command/spec.md,design.md(D1-D10) andtasks.md.Problem
README.mdandAGENTS.mdsay "Python 3.10+", but CI runs only 3.10 and 3.12 (onubuntu-latestonly since #32), so 3.11, 3.13, 3.14 and 3.15 are claimed and never run. setup-python's manifest lists 3.15.0 as stable.project newanswers some parents differently by version, measured at961c405(projectis unchanged at maine9d6711) on 3.10.21 to 3.15.0rc2:RuntimeErrortraceback (exit 1) before the question. On 3.13 and later it gets the missing-parent sentence.[Errno 13]or[Errno 36], exit 2. On 3.14 and later it gets the missing sentence or no obstacle, then fails later or plans.The proposal
testjob's matrix runs all six versions onubuntu-latest: six jobs instead of two. CI stays Linux only, per Brett Heap's decision of 2026-10-15 (ci: run the test suite on Linux only #32). No macOS job is proposed, and macOS is recorded once as a NOTED residual. The range is a spec requirement (H1) that names versions, not systems, and a test keepstests.ymland the README's two range sentences equal.ELOOPerror throughmain(), exit 2, naming the parent as given. It comes after the family-name check.[Errno 13]or[Errno 36]text on every version, naming the destination built on the resolved parent. This covers everyENAMETOOLONGsource: a parent component, the name, the--familyfolder, or a path past the path limit.project.resolve()plus oneos.stat()classifyingELOOP, from one source expression for the parent.os.lstat()that reads as absent the errnos 3.10 to 3.13 pathlib ignores.tests/test_parent_reads.py, borrowing the harness by composition and built system-neutral.8f3ca2d. The second also scopes OpenSpec: refuse-non-directory-parent-early (follow-up to fix-parent-obstacle-wording) #21's permission sentence, its scenario and its README sentence to "a directory the person can search but cannot write".Evidence
961c405, not committed, run on 3.10 to 3.15rc2. Every loop, unreadable and over-long case gave the argued answer, with every other row unchanged. The council's runs added the over-long name, family and path, and the mode 555 and mode 000 permission cases.cp315wheel, so the 3.15 job builds it from source; the landing task cites its pip log.Ordering
e9d6711. This change keeps itstests.ymlshape (noosaxis) and its README's "Linux only".refuse-non-directory-parent-early, lane openRepoProject-1): this change archives after OpenSpec: refuse-non-directory-parent-early (follow-up to fix-parent-obstacle-wording) #21, and a governance task (tasks.md 3.3) guards that order. Its realization lands after OpenSpec: refuse-non-directory-parent-early (follow-up to fix-parent-obstacle-wording) #21's realization and merges main in first, as issue OpenSpec: support-later-python-versions (README says Python 3.10+, CI runs only 3.10 and 3.12, and the archived N1 later-Python residuals are open) #22 says. OpenSpec: refuse-non-directory-parent-early (follow-up to fix-parent-obstacle-wording) #21's text at8f3ca2dhas lane 1's alignment with Linux-only CI (ci: run the test suite on Linux only #32). Its task 3.1 reads "green checks on every job of.github/workflows/tests.yml", which still holds once this matrix widens, and its "since ci: run the test suite on Linux only #32, two" count is lane 1's to update. This change does not depend on it.add-project-clean-all-safe, lane openRepoProject-2):tests.yml(this change edits only thetestjob'spythonlist),README.md:17-19(Python sentence first, then Git's) andproject's import block (import errno, a clean merge) are shared;tests/test_project.pyis not touched. Whichever lands second merges main in.Review record
0096c98(SA-1 to SA-11, QA-1 to QA-9): applied at461a010.4318638: main merged in ate9d6711(single-repository.yaml: openRepoProject records that it stays a single repository, as Brett Heap decided on 2026-10-14, so the Triad advisory is no longer said here #31, ci: run the test suite on Linux only #32), the matrix adapted to Linux only, and OpenSpec: refuse-non-directory-parent-early (follow-up to fix-parent-obstacle-wording) #21 re-pinned to1b84a94(its delta is byte-identical toa43e7d2's).4318638; AR-1, AD-1, AD-2, PO-1 and AR-4 at5bde39b). The NOTED ones are N1-N12 inclarifications.md, each answered indesign.md. Also found while writing the delta: OpenSpec: refuse-non-directory-parent-early (follow-up to fix-parent-obstacle-wording) #21's scenario at its delta lines 196-198 now carves out a looped or unreadable parent.openspec validate support-later-python-versions --strictpasses, with one INFO line: archive would refuse the MODIFIED block for #21's ADDED title until #21 archives (N5, tasks.md 3.3).openspec validate --all --strict: 8 passed, 0 failed. The change's files are all ASCII and hold no host or scratch paths. No code change is in this pull request.Status: proposal stage complete; nothing is ratified. It lands only on Brett Heap's word ratifying #28.
🤖 Generated with Claude Code
Summary by Sourcery
Extend the project’s declared and tested Python support through 3.15 and specify consistent early refusals for looped parents and unreadable destinations.
Enhancements:
CI:
Documentation:
Tests:
Chores: