Skip to content

Fidelity-adoption findings from Financial-Modeling: doc conflicts + source-only workflow prose-vs-impl #379

Closed

Description

@ptr727

Surfaced while adopting the fidelity model in Financial-Modeling, the first repo through the new onboarding. Doc conflicts (1-3) and source-only workflow prose-vs-implementation mismatches (4-6). Audited against hub @develop.

  1. Co-Authored-By conflict. AGENTS.md "Pull Request Title and Commit Message Conventions" bans Co-Authored-By unless asked, but any repo with a standing agent-trailer policy (in "Git and Commit Rules") contradicts it. The two sections disagree on the same trailer.

  2. DSC vs repo-config/README.md. "Documentation Style Conventions" says the repo-config/ files carry no coordination references, but repo-config/README.md's whole subject is the downstream-carry mechanism ("Hub-only references stay plain text ... mentioned by name, not linked"). The rule and the file it governs contradict. In Financial-Modeling this file was left as-is rather than gutted.

  3. copilot-instructions.md (.NET, Python) CODESTYLE description is carried verbatim into Python-only repos, where "(.NET, Python)" is inaccurate. Carried as-is per owner pending an upstream revision.

  4. Source-only Release Model over-promises. AGENTS.md "Release Model" and WORKFLOW.md section 6 tell a source-only repo to carry the "verbatim get-version + github-release + date-badge orchestration", but the hub's own source-only .github/workflows/publish-release.yml uses none of them: it inlines dotnet/nbgv@master and softprops/action-gh-release, with no date-badge job. The guidance and the canonical reference implementation disagree on what a source-only repo carries.

  5. build-release-task.yml scope vs narrative. WORKFLOW.md section 6 describes editing build-release-task.yml down for source-only ("remove all four build-* jobs, leaving get-version -> validate-release -> github-release"), but spec/files.json gives that file an appliesTo that excludes python/source-only, and the source-only reference never uses it. Either section 6 or the appliesTo scope is wrong about whether a source-only repo has the task at all.

  6. catalog/snippets/workflows/README.md mislists the carried set. It states the hub keeps build-release-task and get-version-task in .github/workflows/ and omits validate-task.yml; the hub's actual tree is the opposite (no build-release-task/get-version-task there, validate-task.yml present). A downstream repo following the README would carry the wrong files.

Activity

  1. ptr727 commented on Jul 21, 2026

    @ptr727
    OwnerAuthor

    All six findings are dispositioned. Both hub PRs merged to develop (main held).

    Fixed

    Decisions

    • Item 1 (Co-Authored-By) — no hub change. The "no Co-Authored-By: unless asked" convention stays. An agent's self-credit is the "explicitly asked" case via standing permission, so hub-side the two sections don't actually contradict. Your local reconciliation ("always add your own trailer, no other co-authors unless asked") is a reasonable finmod-local call.

    • Item 2 (repo-config/README.md) — corrected: it is carried, not exempt. My initial framing (exempt as hub-only) was wrong. The file is carried — each repo's copy describes that repo's own repo-config/ — and the hub already writes it repo-agnostically (self-audit framing, graceful "where a registry is present" degradation, no hub links). I removed its one residual coordination reference ("mirrors the layout the fleet repos use") and added it to the spec/files.json manifest as an intent unit so drift is tracked — it was carried-but-unlisted, which is exactly why a stale copy went unnoticed. Action for finmod: re-vendor repo-config/README.md to the current hub version. Your copy still carries the old ## Downstream Carry section and hub-coordination language — the fix is re-vendor, not leave-as-is and not gut it.

    This was a high-signal first-adoptee round — the spec-assertion occurrence in particular was one the docs-only sweep would never have found. Leaving this open for your acknowledgement and the item-2 re-vendor.

  2. ptr727 commented on Jul 22, 2026

    @ptr727
    OwnerAuthor

    Follow-up from applying the re-vendor disposition (Financial-Modeling#28)

    Driving the #379 disposition through Financial-Modeling, the Copilot review surfaced a manifest gap worth a hub fix.

    repo-config/configure.sh is not tracked in spec/files.json, yet it is the companion the re-vendored repo-config/README.md documents. Re-vendoring the README alone ships a doc describing capabilities the repo's script may not have:

    • The corrected repo-config/README.md (disposition item 2) documents configure.sh accepting the workflow model as a sole argument (configure.sh operational) and inferring the model from the carried develop payload when no registry is present.
    • Financial-Modeling's carried configure.sh was the older 102-line version: arg 1 is always owner/repo, and a missing registry defaults to release with no payload inference. So the freshly re-vendored README was inaccurate in-repo until configure.sh was also re-vendored to the current 119-line canonical.

    Because configure.sh is absent from the manifest, a repo (or agent) following the disposition literally re-vendors only the four listed files and ships a README describing a script it does not have. The README and the script are a matched pair.

    Suggested hub fix: either add repo-config/configure.sh to spec/files.json (it reads like the other repo-config units), or make the README/script pairing explicit in the disposition so re-vendoring one always carries the other. This is adjacent to item 6 (the snippets README.md carried-set mislist): both are cases where a carried doc references files the manifest does not track.

    Financial-Modeling resolved this locally by also re-vendoring configure.sh byte-for-byte from @develop (a manual tool, not run by CI, and the new behavior is an additive superset, so completing the pair was safe).

  3. ptr727 commented on Jul 22, 2026

    @ptr727
    OwnerAuthor

    Manifest gap fixed (thanks for the catch)

    Good find — and it was broader than configure.sh: repo-config/settings.json was unlisted too. Fixed in #382 (1860a40):

    • repo-config/configure.sh → verbatim. A repo-agnostic tool where byte-drift is a functional bug, so presence-only would have missed exactly this stale-but-present case. A live audit against your branch now flags the old script correctly as stale ("matches a past hub revision → re-vendor"), not "modified" — which is precisely the drift the gap was hiding. Your Financial-Modeling#28 re-vendor resolves it downstream.
    • repo-config/settings.json → intent. Its values are already audited by the settings diff and its formatting varies harmlessly (2-space vs 4-space), so presence + intent is the right check. You already carry it, so no further action there.

    Your "the README and the script are a matched pair, and the manifest only tracked one" framing was the useful generalization — the manifest should track every carried companion a carried doc references. That principle now holds for the whole repo-config/ set.

  4. ptr727 commented on Jul 23, 2026

    @ptr727
    OwnerAuthor

    Update: the configure.sh / settings.json manifest-gap follow-up in this thread is closed hub-side. #382 added both to spec/files.json (configure.sh verbatim, settings.json intent), so drift is now tracked.

    Separately, #393 (now on main via #395) adopted the fleet's check / 5D-audit mode into the configure.sh canonical, so the canonical advanced to an apply / check design. The fleet's copies - including the re-vendored finmod one - now converge onto the new version, tracked as a re-vendor item in the new divergence ledger (spec/divergences.json -> reports/divergences.md). Leaving open for your acknowledgement of the original six findings plus the finmod re-vendor onto the new canonical.

  5. ptr727 commented on Aug 3, 2026

    @ptr727
    OwnerAuthor

    Closed: all six dispositioned hub-side, remaining work is downstream and tracked

    Verified against develop at 1ed0cc8. The dispositions in the comments above hold, with merge commits.

    Finding Disposition Evidence
    1. Co-Authored-By conflict no hub change, the trailer is the explicitly-asked case via standing permission
    2. DSC vs repo-config/README.md corrected, the file is carried rather than exempt, and added to the manifest as an intent unit 5c0800d (#380)
    3. copilot-instructions.md (.NET, Python) fixed 5c0800d (#380)
    4. Source-only Release Model over-promises fixed f58b3f9 (#381)
    5. build-release-task.yml scope vs narrative fixed, plus three sibling occurrences and the machine-checkable assertion in spec/project-types.json f58b3f9 (#381)
    6. catalog/snippets/workflows/README.md mislists the carried set fixed 5c0800d (#380)

    The manifest gap the follow-up raised is also fixed: repo-config/configure.sh at verbatim and repo-config/settings.json at intent are both in spec/files.json (1860a40, #382), so a stale-but-present script is now reported as stale rather than passing a presence check. The canonical has since advanced to the apply and check design (94abe46 in #393, promoted in #395).

    What holds this open is not hub work. The outstanding items are Financial-Modeling's acknowledgement and that repo's own re-vendor onto the current configure.sh canonical. That belongs in the downstream repo rather than in a hub issue, and the fleet-wide half of it is tracked in the hub TODO.md under "Carried Content and Propagation", where the re-vendor is one sweep covering every changed verbatim surface at once.

    Closing on that basis. Reopen if the acknowledgement is better tracked here than downstream.

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