Skip to content

Promote develop to main: fidelity tooling, manifest hardening, divergence ledger - #391

Merged
ptr727 merged 6 commits into
mainfrom
develop
Jul 22, 2026
Merged

Promote develop to main: fidelity tooling, manifest hardening, divergence ledger#391
ptr727 merged 6 commits into
mainfrom
develop

Conversation

@ptr727

@ptr727 ptr727 commented Jul 22, 2026

Copy link
Copy Markdown
Owner

Promotes the develop line to main. Merge-commit promotion (not squash); develop is the head and is never deleted.

Included (5 commits)

Verification

spec/validate.py green; spec/audit.py --selftest passes; the divergence report regenerates and is markdownlint-clean. Trial merge is conflict-free.

🤖 Generated with Claude Code

ptr727 added 5 commits July 21, 2026 21:30
…386)

Recast 83 clause-joining semicolons to periods, comma+conjunction, or ASCII dashes, per the AGENTS.md prose rule; kept list-separators-with-commas and code. Meaning preserved throughout. Surfaced by the #383 promotion review.
Read-only fleet analysis checking the manifest's declared fidelities against reality: intent units uniform fleet-wide (verbatim candidates), verbatim units with non-stale drift, and a manifest-gap pass (carried-but-untracked files). First run surfaced real findings incl. 3 untracked carried files. Reuses audit.py; fail-loud; git-ls-files sourced.
…#388)

Config-only pyproject.toml (Scripts profile): ruff (py313/100/isort) + mypy gate + pyright standard editor - all clean. audit.py: gh()->Any, typed cache, is-not-None narrowing. Aligned CODESTYLE Scripts profile (pyright editor allowance; uvx@latest pinning per the Dependabot-trackable rule) and reconciled spec/project-types.json. Resolves the Pylance unhappiness at the root.
Promote the 3 branch-ruleset payloads to verbatim (0 divergent copies) and track .editorconfig-checker.json (intent, carried but was untracked). Acting on the fidelity-honesty tool's first run.
Curated disposition ledger (spec/divergences.json) + fidelity_honesty.py --report -> reports/divergences.md, joining live fleet reality against the ledger. Makes the fidelity-honesty findings durable and systematically tracked. validate.py gates the ledger.
Copilot AI review requested due to automatic review settings July 22, 2026 20:18

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Promotes develop to main, bringing over new fleet-governance tooling (fidelity-honesty analysis + divergence ledger/report) plus supporting manifest/schema hardening and documentation updates for workflow and Python tooling conventions.

Changes:

  • Add spec/fidelity_honesty.py and a checked-in divergence ledger/report (spec/divergences.json -> reports/divergences.md), with CI validation of the ledger in spec/validate.py.
  • Harden the manifest by tracking .editorconfig-checker.json and promoting ruleset payloads to verbatim fidelity in spec/files.json.
  • Update workflow and Python tooling guidance in WORKFLOW.md, CODESTYLE.md, and spec/project-types.json, plus add a scripts-profile pyproject.toml.

Reviewed changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
WORKFLOW.md Prose-only edits clarifying workflow contract language (no behavioral YAML changes).
spec/validate.py Adds validation for spec/divergences.json structure/content so ledger errors fail fast.
spec/project-types.json Updates the scripts-profile uvx policy assertions to reflect “run latest” guidance.
spec/files.json Tracks .editorconfig-checker.json; promotes ruleset payload entries to verbatim.
spec/fidelity_honesty.py Introduces the fidelity-honesty analysis tool and report generator.
spec/divergences.schema.json Adds JSON schema for the divergence ledger.
spec/divergences.json Adds the curated divergence disposition ledger (inputs to the report).
spec/audit.py Type annotations and small guard tweaks to support stricter typing and avoid None-path execution.
reports/divergences.md Adds the generated burn-down report produced by the new tool.
pyproject.toml Adds config-only ruff/mypy/pyright settings for the repo’s scripts-profile Python.
CODESTYLE.md Updates the scripts-profile Python guidance to match the “uvx @latest” policy and pyright editor config.
.gitattributes Pins LF for the new shebang-executed spec/fidelity_honesty.py.
.editorconfig Pins LF for spec/fidelity_honesty.py alongside the other shebang-executed scripts.

Comment thread spec/fidelity_honesty.py
In --report mode, an unresolvable reference adopter (a typo) wrote a report whose empty gap section read as a false clean. Validate it up front and exit non-zero. Addresses a Copilot finding on the #391 promotion.
Copilot AI review requested due to automatic review settings July 22, 2026 20:31

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 13 out of 13 changed files in this pull request and generated no new comments.

@ptr727
ptr727 merged commit add00db into main Jul 22, 2026
7 checks passed
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.

2 participants