Skip to content

Confirm whether the Python repos carry an equivalent config-only pyproject.toml, and settle the ledger's last investigate row #1553

Closed

Description

@ptr727

spec/divergences.json carries one investigate entry, for pyproject.toml, and its reason names the confirmation that would settle it:

The hub gained a config-only Scripts-profile pyproject.toml in #388. Decide whether to track it (intent, appliesTo python) after confirming the Python repos carry an equivalent.

That confirmation is still owed, and this issue is where it is owed. The row's tracking value points here.

Why this is a separate issue

#669 was filed because investigate names no outcome and nothing in the ledger scheduled the decision it defers. What closed #669 is the rule: an investigate entry now has to carry a tracking value, enforced in spec/divergences.schema.json and in spec/validate.py, so a deferral reads as a deferral rather than as an omission. That rule is about recording the decision, not about making it.

The row itself previously tracked #669. Closing #669 as fixed by that rule would have left the fleet's only governed row pointing at a closed issue where nothing was being decided, which is the state #669 was filed about, with both new gates reading clean over it. So the decision moves here and the row moves with it.

What settles this

  1. Read each Python repo's own pyproject.toml on its ground-truth branch and confirm whether it is an equivalent config-only Scripts-profile file. reports/divergences.md already names the carriers, and the count is taken from a run rather than from this issue.
  2. Where they carry an equivalent, the row takes the disposition its reason already states, track at intent fidelity with appliesTo python, and leaves the ledger's investigate set. Declaring the file makes it a carry rather than a gap, so the row is deleted rather than edited.
  3. Where they do not, the row keeps investigate and keeps a tracking value pointing here.

The fleet-wide tradeoff behind step 2, that declaring the file surfaces new findings in every repo lacking one, stays the maintainer's call rather than a measurement.

Activity

  1. ptr727 commented on Sep 12, 2026

    @ptr727
    OwnerAuthor

    The measurement half, answered: all three carriers hold one, none holds an equivalent

    Measured by a separate session reading each repository directly, rather than by re-quoting the carrier list. Recorded here because this issue's whole premise is that the entry's wording cannot be settled without it. Provenance and caveats are at the bottom, and I have not re-verified these readings myself.

    The entry defers on "confirming the Python repos carry an equivalent". For all three carriers, carries one is true and carries an equivalent is false, so the carrier list cannot resolve the question either way.

    repo shape how it differs from the hub's config-only file
    aiopurpleair (python, pypi) Build-profile manifest, 119 lines [build-system] hatchling, [project], [dependency-groups], [tool.hatch.*]. ruff line-length 120 with a nine-entry select list and a [tool.ruff.format] table. mypy files = ["src"], strict = true, pydantic plugin. pyright include = ["src","tests"], standard with strict on src. Also pytest and coverage tables.
    Financial-Modeling (python, source-only) Build-profile manifest, 112 lines [project], [build-system] hatchling, [project.scripts], hatch build artifacts. mypy python_version 3.13, files = ["src"], pydantic plugin, three narrower warning flags rather than strict. pyright include = ["src","tests","analysis"] with venv paths. Also pytest and coverage.
    homeassistant-purpleair (python, homeassistant) 53 lines, and config-only in shape No [project] and no [build-system], so by shape alone it resembles the hub's file. By content it does not: it carries only [tool.pytest.ini_options] and a pylint table. Its ruff config lives in .ruff.toml (derived from home-assistant/core, target-version py314), its pyright config in pyrightconfig.json (typeCheckingMode basic), and mypy has no config file at all, scripts/lint passing --strict --follow-imports=silent on the command line.

    What that does to the deferred call

    Tool placement is not a fleet constant. Two carriers configure ruff, mypy and pyright inside pyproject.toml, and one deliberately keeps ruff and pyright outside it to mirror the layout of the upstream project it tracks. So an intent statement phrased as "the Python repo's pyproject.toml configures ruff" reports a false gap on homeassistant-purpleair, and converging that repo would mean fighting the upstream convention it exists to follow. Phrased location-agnostically, as "the repo configures ruff, mypy and pyright somewhere", all three pass and the check measures close to nothing. That is the real shape of the tradeoff this entry defers, and it is sharper than the entry's own "many new findings" wording suggests.

    appliesTo: python looks wrong as a scope. homeassistant-purpleair is python-typed and is precisely the repository such a check would misfire on, so either the scope excludes the homeassistant type or the fidelity statement has to be location-agnostic about where tool config sits.

    One coincidence not to over-read. Financial-Modeling's ruff values match the hub's exactly, target-version py313, line-length 100, extend-select = ["I"]. That is one table in one repository, with neighbouring keys still diverging, rather than a convergence signal.

    Values diverge deliberately across the three: target py313 against py314, line-length 100 against 120, pyright standard and strict against basic, and mypy strict = true against three narrower flags against command-line-only.

    Provenance and caveats

    • Read on main. For the two repositories that session had not read before, the blob is identical on main and develop by content SHA, Financial-Modeling 4d3e754 and homeassistant-purpleair 34ce1b6, so branch choice does not move the answer.
    • workflowModel was not confirmed for any of the three, which does not bear on this measurement.
    • Reads only. Nothing was written to any of the three repositories.

    What remains

    The measurement is no longer the open part. What stays open is the fleet-wide tradeoff the entry names, which is the maintainer's call: whether to declare the file at all given that a location-agnostic intent check asserts almost nothing, while a placement-specific one raises a finding on a repository that should not converge. Until that is settled the row keeps investigate and keeps pointing here, which is what the tracking requirement shipped for #669 now enforces.

  2. ptr727 commented on Sep 21, 2026

    @ptr727
    OwnerAuthor

    ptr727/Financial-Modeling is waiting on this. Recorded there as ptr727/Financial-Modeling#419, which states what that repository cannot do in its own terms and carries the blocked label, per GOVERNANCE.md "Durable Knowledge and Self-Improvement". Filed from the hub resync that merged as ptr727/Financial-Modeling#413, measured at audit run 2026-09-21T00:48:09Z | hub 90161ce.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions