Skip to content

OpenSpec: add-project-overview-family-relationships (family relationships in project overview; proposal only, an observation record) - #37

Draft
brettheap wants to merge 5 commits into
mainfrom
change/add-project-overview-family-relationships
Draft

brettheap wants to merge 5 commits into
mainfrom
change/add-project-overview-family-relationships

Conversation

@brettheap

@brettheap brettheap commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Lane: openRepoProject-1

Refs #36

This PR holds the proposal for add-project-overview-family-relationships, report E's candidate 3, started on Brett Heap's word "start report E's candidate 3" (2026-10-22T17:39:41Z). It is one of the extensions that the ratified add-project-overview change lists as Out of Scope, each needing its own proposal (OQ-27). The governing issue is #36, claimed by lane openRepoProject-1.

What this PR is

An observation record only:

  • proposal.md records what project and the maintenance design packet do and say about families today. It includes 19 fixture runs, identical on Python 3.12 and 3.10.
  • clarifications.md holds the council's 5 design constraints.

It has no spec deltas, no design.md and no tasks.md yet. The ADDED requirement is written once #34 (A1) merges, so it is written once. The MODIFIED blocks shared with #29 are re-based at archive time under lane 5's rule. Until then, openspec validate fails only on "Change must have at least one delta", which is expected.

Review gates run

  • Alignment review: a stack architect and a QA lead, both sonnet-xhigh. 28 findings (6 mismatch, 16 gap, 6 drift), all applied in b8a1b55.
  • Council: a product advocate and a systems architect on sonnet-xhigh, and an adversary on opus-xhigh. They raised 13 concerns. The lead's verdicts (11 valid groups, 5 noted, 1 dismissed) are applied in a2f04a2, and the noted ones are in clarifications.md (9c99acc).

Tier 1 Decisions for Brett Heap (rule now; each option and its reason is in the proposal)

  • T1-0 Scope: A, relationships only. --families changes no row, summary count, completeness or exit. Member clones as rows would be their own later change, if wanted. project overview --root <family folder> already shows them today.
  • T1-1 Opt-in: A, a --families flag on project overview only.
  • T1-2 Member clones as rows: C, no. The earlier draft recommended A; the council showed that A breaks ratified guarantees (siblings push unrelated rows out of the 128-candidate cap, and a --remote run would no longer agree with the plain run).
  • T1-3 Depth: A, declared working siblings one level beside the holder. No legs and no pinned copies. A nested family is invalid, with reason nested-family.
  • T1-4 Member states: A, informational only, never findings. present follows openRepoShape's id test: a clone with no id is a wrong project.
  • T1-5 Never permission: A. No command infers cleanup permission or advice from a relationship; each rule has a scenario.
  • T1-6 Cut or capped check: A. A cut or capped family check does not make the run incomplete, as OpenSpec: add-project-overview-remote-merge-status (opt-in exact-head GitHub pull-request evidence in project overview --remote) #29's remote evidence does not.
  • T1-7 Reach: A. No sibling is read outside openRepoShape's family folder or outside every configured root; such an entry is unknown, with a reason.
  • T1-8 Divergence from status and doctor: A. The divergence is stated and accepted, and the overview's missing carries no next step.

Tier 2 (the envelope shape, budget, human form, sibling placement and holders) is recorded with recommendations and ruled at design time.

A reply of "all recommended" adopts every Tier 1 recommendation. Otherwise, name the ID and the option.

Also for Brett Heap

The adversary found an existing defect outside this change. project status crashes on a looping member link, on Python 3.12 and 3.10: a RuntimeError traceback, exit 1, and no JSON under --json. The lane recommends filing it as its own issue, and files nothing without your word.

Landing

This PR stays a draft. After your Tier 1 rulings, the deltas and design.md follow, once #34 merges. Then it is ratified on your word, and then one Speckit feature realizes it.

🤖 Generated with Claude Code

Summary by Sourcery

Document the proposal and review constraints for optionally reporting family relationships in project overview without adding implementation or specification deltas yet.

Enhancements:

  • Record the observed family-manifest and member-handling behavior of the project maintenance tooling and define the constraints and design decisions for a future overview family-relationships extension.

Chores:

  • Capture alignment and council review outcomes, fixture observations, acceptance criteria, dependencies, risks, and out-of-scope items for the draft proposal.
  • Document the existing looping-member-link crash in project status as a separate issue outside this change.

Brett Heap and others added 4 commits October 22, 2026 18:05
…bservation record (deltas held)

Lane: openRepoProject-1

Refs #36.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
… applied (2 reviewers, 28 findings)

Lane: openRepoProject-1

Refs #36.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
… applied (13 concerns; Decision 0 scope)

Lane: openRepoProject-1

Refs #36.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…rom the council (5 design constraints)

Lane: openRepoProject-1

Refs #36.

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

sourcery-ai Bot commented Oct 22, 2026

Copy link
Copy Markdown

Reviewer's Guide

This draft-only OpenSpec change records how family relationships currently behave and proposes a bounded, opt-in project overview --families extension, with extensive design decisions, review constraints, evidence, and sequencing documented for later ratification; it intentionally contains no spec deltas, implementation design, or task list.

Sequence diagram for bounded family relationship inspection

sequenceDiagram
    participant User
    participant Overview as project overview
    participant Holder as Family holder
    participant Sibling as Working sibling
    participant Report

    User->>Overview: run --families
    Overview->>Holder: identify family-holder row
    Overview->>Holder: read family.yaml
    Holder-->>Overview: declared members
    loop Each declared sibling
        Overview->>Sibling: bounded filesystem check
        Sibling-->>Overview: state and reason
    end
    Overview->>Report: build informational relationships
    Report-->>User: rows unchanged, family relationships shown
Loading

State diagram for family member relationship states

stateDiagram-v2
    [*] --> present: project.yaml and id match
    [*] --> not_a_project: project.yaml absent
    [*] --> mismatched: id test fails
    [*] --> missing: sibling path absent
    [*] --> invalid: name, link, duplicate, or nested-family error
    [*] --> unknown: manifest-invalid, timeout, cap, or reach limit
    present --> [*]
    not_a_project --> [*]
    mismatched --> [*]
    missing --> [*]
    invalid --> [*]
    unknown --> [*]
Loading

File-Level Changes

Change Details Files
Adds a draft OpenSpec observation record defining the current family behavior, proposed overview extension scope, decision points, alternatives, dependencies, risks, and acceptance criteria without implementing any specification delta. openspec/changes/add-project-overview-family-relationships/proposal.md
openspec/changes/add-project-overview-family-relationships/clarifications.md
Initializes the OpenSpec change metadata for the proposal-only change.
  • Declares the spec-driven schema.
  • Records the change creation date.
openspec/changes/add-project-overview-family-relationships/.openspec.yaml

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

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openRepoProject-1

Ruled. Brett Heap: "all recommended" (2026-10-22T19:46:44Z), answering this PR's Tier 1 Decisions.

Adopted, each as recommended in proposal.md:

  • T1-0 A: scope. Relationships only: --families changes no row, summary count, completeness or exit. Member clones as rows would be their own later change, if wanted.
  • T1-1 A: a --families flag on project overview only.
  • T1-2 C: member clones do not become rows.
  • T1-3 A: declared working siblings, one level beside the holder. A nested family is invalid.
  • T1-4 A: member states are informational only. present follows openRepoShape's id test.
  • T1-5 A: no command infers cleanup permission or advice from a relationship.
  • T1-6 A: a cut or capped family check does not make the run incomplete.
  • T1-7 A: no sibling is read outside openRepoShape's family folder or outside every configured root.
  • T1-8 A: the divergence from status and doctor is stated and accepted.

The same word adopted the recommendation to file the existing project status link-loop crash as its own issue. It is filed as #38.

Next:

This PR stays a draft until then.

…Brett Heap ("all recommended")

Lane: openRepoProject-1

Refs #36.

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

Copy link
Copy Markdown

brettheap pushed a commit that referenced this pull request Oct 23, 2026
…O16 open; triage spec fixes

By the lead's commit 3ak decisions, from 39f4ab6 (plan revision 7).
Spec.md and requirements.md only; the plan files and
clarify-questions.md are untouched.
- Brett Heap's word of 2026-10-23T12:19:11Z, "yes, recommended for O3,
  O5, O8-O11 and D5 clause 2" (RULED at 12:21:32Z), is recorded in
  C-72, each option in R20's words at 39f4ab6: every item from O1 to
  O11, and D5's clause 2, is chosen. C-72's heading names both dates.
- The held notes state the chosen behaviour, which lands with A1's
  re-alignment (O9 (A) and O10 (A) keep A1's text): FR-006 (clause 2
  by name), FR-007 (O5; O11), FR-008 (O11's two parts, part 2's
  remedy row), FR-020 and EC-032 (O3), FR-026 (O9), FR-028 (O8),
  FR-035 (clause 2), FR-043 (O10), EC-012 and US8 s1 (O11), the A1
  bullet (O9, O11), the records of rounds (h), (i), (j) and (m), and
  the LQ-15 bullets (O10).
- O12 to O16 are recorded in C-72 as open, with their options, the
  lane's recommendation and the reading built until he rules, and held
  at FR-026 and the parity record (O12), FR-006, FR-009 and US8 (O13),
  US8 and EC-012 (O14), FR-035 (O15), and C-40, C-68 and FR-008 (O16).
- The triage's FIX-SPEC items: TA R2-1 (b), the gitfile exception
  (FR-006, FR-009); TA S5-16, DI:535 cited for the third exception
  (FR-007, FR-008, the Dependencies' two collector-table sites); TB
  R3-9 (SC-005); TB R1-8 (the parity record: 004's fix landed as
  91552e3, project:3511-3514 at d6bac50, the case held as O12); TB
  LANE2-PINS (FR-016, the LQ-10 bullet); TC R7-8's rider (FR-038);
  TC W119 (Out of Scope names #36 and #37). No FIX-PLAN item.
- W111 LOW-1: the pointer reads "(R1 and its "Revision" sections)" at
  its four sites. W111 LOW-2: the thirty-eighth pass says that three
  of them keep the plan at a80f10b.
- Feature 004's d8724e2 (R-365) is recorded in the round (n) record
  as a later head; git diff d6bac50 d8724e2 -- project adds one TEXT
  row and changes partial_removal_text, print_result and repo_state
  only, none of which the spec names. #19 88d0d36, #27 288fc34 and
  #29 a529310 unchanged.
- Checklists: the thirty-ninth pass and the totals line in
  requirements.md. Totals 414/372/26/0/16/0.
- Checks: trace 13/13 and 64/64, FAILURES 0; check_spec 13 of 13 and
  64 of 64, possible implementation names []; openspec validate --all
  --strict 7 passed; diff --check clean; 421 added lines ASCII, at most
  79 columns, no host paths, no "tip" or "current head"; pins 05a424a
  4, fe5b245 7, e4a30fc 51, 961c405 6, 2250830 6 (unchanged);
  clarify-questions.md unchanged.

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

Copy link
Copy Markdown
Contributor Author

Lane: openRepoProject-1

Ruled: Tier 2. Brett Heap said "all recommended" (2026-10-23T13:30:24Z). That answers this change's revised Tier 2 block: revision 2, after reviews R1, R2 and R3 and the lane lead's verdicts on them. It is in lane scratch: /workspace/projects/.scratch/openRepoProject-1-wave9-20261023/tier2-decisions.md, sha256 5fb4c9d5fd478353834185783691428987b4fc3d4b19f3b17829adccebaa5ddf.

Adopted, each as recommended there:

  • T2-1 B. One optional families object holds holders, limits, budget, counts, omitted and completeness. relationships holds member entries only. declared is {id, members_path}.
  • T2-1a ii. found_at is an array of row objects. [] means none among the rows read; null means not looked up.
  • T2-1b C. One run-wide cap of 512 listed entries. The rest are omitted and counted.
  • T2-2 B. A family phase with its own budget, min(10 s, deadline - now), and min(5 s, ...) per task. Tasks are started one at a time on one worker, with no Git child.
  • T2-2a B. OpenSpec: add-project-overview-remote-merge-status (opt-in exact-head GitHub pull-request evidence in project overview --remote) #29's remote phase runs first and the family phase after it, so the isolation clause stays strict.
  • T2-2b A. Sibling manifests keep the reader's 1 MiB bound.
  • T2-3 A. member lines go under the holder's row, plus one Families: count line.
  • T2-3a i. --attention hides every member line.
  • T2-3b iii. The Families: line comes after the summary and after every other line printed there. The families key comes after scan_errors and after every other key added there.
  • T2-4 A. The sibling is <holder parent>/<project>, else <name>.
  • T2-5 A. Every holder yields relationships, read from its manifest.
  • T2-6 A. The id test compares str() of scalar values only. The state keeps the name present.
  • T2-7 C. The reach rule stays, and the family-folder test has no link branch.
  • T2-8 A. One member-entry reader, which snapshot() calls in its existing loop.
  • T2-9 B. nested-family is decided first and simultaneously, from paths and the declaring holders' lists.
  • T2-10 ii. When any row's manifest went unread, an absent sibling is unknown, scan-limit.
  • Z-1 to Z-16, the decisions the design makes without a question, stand as the block states them.

Eleven of the proposal's acceptance criteria change with these rulings: 2, 3, 6, 8, 10, 15, 16, 17, 18, 20 and 22, each listed in the block with the ruling that changes it.

What follows:

  • The design and the spec delta follow every one of these. They are drafted in lane scratch, pass openspec validate --strict on a copy, and copy A1's base blocks unchanged at e4a30fc.
  • As adopted, they are committed to this branch only after OpenSpec: amend add-project-overview with Brett Heap's answers to feature 005's clarify questions (A1) #34 (A1) merges, re-checked against the merged text. Ratification is then asked separately.
  • The values 512 and 10 s stay UNVERIFIED until the measurement of design D11.
  • One adversarial pass on the changed recommendations (R4) was still running when this ruling came. If it finds a defect in a recommendation, that item goes back to Brett Heap.

Also adopted by the same words:

🤖 Generated with Claude Code

brettheap pushed a commit that referenced this pull request Oct 23, 2026
…penRepoProject-3's W118 and W124 on a529310, 0 HIGH, 2 MEDIUM, 2 LOW, nothing departs; its W117 compose LOW-1; its W119 note on #37; reader RC's L1 and RC2's three LOWs; reader RE's RE-8; the O16 check of C-80)

Impact's README bullet says that a repository name that begins with a dot, such as .github, is refused too (RC2-2), the tests bullet re-wrapping word for word to give the line back; L-17's entry in the Decisions says that lane openRepoProject-1's #37 takes the re-base rule over by analogy for overview blocks it shares (W119, C-81), the C-7 bullet re-wrapping word for word, so that a529310's lines 679-722 sit one line lower and lines 724 on keep their numbers; the Scope, C-1 bullet's packet cites read since ratified, DI:1806-1808 and OV:514 at 15504f1 (W118's LOW-1); Status and the citation key reach C-82 within their line counts; tasks 1.1, 1.3 (the round C23 clause: PR #19 at e0b1671 and now 818311a, round (q), which changes project-command, the block of [E] staying on c462d87 for task 2.4), 1.5 and 3.3 (every job of the tests workflow, git-floor included, RE-8) in place, 45 lines still; the round C23 section with MEDIUM-1's facts in lane openRepoProject-4's words, C-69 to C-72's record lines, the O16 check (all nine merged_into_target sites agree, none edited) and a table of 17 rows. Deferred by C-79 to the round after #34 merges: MEDIUM-1's live sentences (proposal 559-570, design 978-981), MEDIUM-2, W117's sentence for tasks 2.3 and 2.4, and naming #37 at proposal 578-579. No spec edit (sha256 d42139fb and 208c06c3, 36 and 10 scenarios); lane openRepoProject-4's pin set as C-81 confirms it is cmp-identical to a529310 at its own lines

Lane: openRepoProject-5

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openRepoProject-1

Tier 2 follow-up for this change (draft head d92cdc5; nothing committed yet). Brett Heap answered the three reopened points at 2026-10-23T19:22:12Z, each as recommended:

  • T2-10: iii. This replaces the ruled ii. A new unknown reason, row-unread, is added, and scan-limit takes precedence over it. A row whose completed read reached only a family.yaml does not count.

  • T2-1 B: schema_version stays 1. The design records the departure from the packet's "always [] in version 1" (DI:959) for a --families run.

  • T2-1a: (c). found_at lists at most 8 matching rows, by path bytes:

    • each entry gains found_at_omitted;
    • families.limits gains found_at_rows: 8;
    • families.completeness reads incomplete when any rows are cut;
    • the human line ends (+N more).

    This bounds the worst case that analysis A2 measured, 1.63 GB.

The scratch drafts are being revised to match. They will be committed after #34 (A1) merges, once they are re-checked against the merged text, and ratification follows. For lane openRepoProject-3: T2-1 B's departure from the packet's DI:959 is now ruled.

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