Skip to content

fix: wiki-currency red on main — API audit baseline has aged #24

Closed

Description

@Jammy2211

Overview

wiki-currency fails on autocti_assistant main, independently of any open PR, so every PR against this repo opens already-red — which trains reviewers to ignore the check. Filed from PyAutoMind draft/bug/autocti/wiki_currency_baseline_drift.md.

Resolved by #23 (merged).

Which sub-check failed

The job log never names it: the workflow redirects each check's output into drift-report.md. The drift-report artifact is served from a blob host blocked by this session's network policy, so the run was reproduced locally against the stack the workflow builds (autonerves/autoarray/autofit 2026.8.17.1 from source main, autocti 2024.11.13.2, arcticpy 2.6). Exactly one of five fails:

Check Result
--check-version FAIL — API DRIFT vs baseline (generated 2026-07-23)
--scope all pass — 31/31 cited symbols resolve
--lint-idioms pass — 51 files
--check-provenance pass — 8 pages, 0 errors
--check-citations pass — 29 citations

Baseline staleness, not a stale doc claim

Diffed the public surface at the baseline's own commits (PyAutoFit daa4e39, PyAutoArray 85c57eb) against today's main:

autoarray  120 -> 121   + InterpolatorDelaunayNN, validate   - TransformerNUFFTPyNUFFT
autofit    149 -> 159   + 11 clipper/scaler/updater symbols  - database

Two removals, so not blindly additive — but neither is cited anywhere in wiki/, skills/ or modes/, and autonerves/autocti/autocti.plot hashes are byte-identical. The wiki makes no stale claim; the whole-surface hash aged.

Two secondary defects found

  1. The report was mislabelled. It printed stack_version: latest released whenever the input was empty, but the native path installs from main source clones, not PyPI. This sent the original diagnosis looking for a release that had moved the API, when the real clock is the libraries' main branches.
  2. No source refs recorded, so a red run could not be diagnosed after the fact. The clone step now writes each source tree's short SHA into the report header.

Recommend NOT pinning to a released stack version

The filing prompt suggested this. It should not be done: autocti's PyPI release is the pre-resurrection 2024.11.13.2, so pinning would grade today's docs against an API predating the work they describe — vacuously green, worse than noisily red. The workflow's own comment already says as much.

Open follow-up (deliberately not done here)

--check-version gates on a hash of the entire public surface of autoarray and autofit, almost none of which this assistant documents. Today's red was 12 additions and 2 removals, none touching a cited symbol — so this baseline will rot again within weeks on any main merge that exports a new name. Meanwhile --scope all already answers the question that matters and is immune to that noise.

Worth deciding: gate --check-version on removals only (additions informational), or accept that --scope all subsumes it as a gate. That changes what the check means, so it was left as a proposal rather than made unilaterally under the task's supervised autonomy.

Activity

  1. Jammy2211 commented on Aug 24, 2026

    @Jammy2211
    ContributorAuthor

    Shipped

    PR #23 merged (04c416d2, proven an ancestor of main). wiki-currency is green on this repo's main for the first time since 2026-07-19.

    What was wrong

    Of the five sub-checks, exactly one failed: --check-version, on the autoarray and autofit API-surface hashes. The job log never named it because the workflow redirects each check into drift-report.md, and the artifact is served from a blob host this session's network policy blocks — so the run was reproduced locally against the stack the workflow builds.

    Baseline staleness, not a stale doc claim — checked rather than assumed, since regenerating to paper over a real divergence was the failure mode to avoid. Diffed the public symbol sets at the baseline's own commits (PyAutoFit daa4e39, PyAutoArray 85c57eb) against main:

    autoarray  120 -> 121   + InterpolatorDelaunayNN, validate   - TransformerNUFFTPyNUFFT
    autofit    149 -> 159   + 11 clipper/scaler/updater symbols  - database
    

    Two removals, so not blindly additive. But neither is cited anywhere in wiki/, skills/ or modes/; --scope all reports "All cited symbols resolve cleanly"; and autonerves/autocti/autocti.plot were byte-identical. Baseline regenerated; all five checks pass.

    The report was lying about what it installed

    It printed stack_version: latest released whenever the input was empty — but the native path builds from the sources/ main clones, not PyPI. That mislabel is what sent the original diagnosis hunting a release that had moved the API, when the real clock is the libraries' main branches, which move far faster. Fixed in both input descriptions and the header.

    It also recorded no source refs at all, so a red run could not be diagnosed after the fact. The clone step now writes each source tree's short SHA into the report.

    Recommended against pinning to a released stack

    autocti's PyPI release is the pre-resurrection 2024.11.13.2 — pinning would grade today's docs against an API predating the work they describe. Vacuously green is worse than noisily red.

    This will rot again — a decision is still open

    --check-version gates on a hash of the entire public surface of autoarray and autofit, almost none of which this assistant documents. Today's red was 12 additions and 2 removals, none touching a cited symbol. Any main merge that exports a new name turns this repo red again, likely within weeks.

    Meanwhile --scope all already answers the question that matters and is immune to that noise. Worth deciding: gate --check-version on removals only (additions informational), or accept that --scope all subsumes it. That changes what the check means, so it was left as a proposal rather than made unilaterally under supervised autonomy.

    Mind record: complete/2026/08/wiki-currency-baseline-drift.md. Unblocks #21, which was held at /prm over this red.


    Generated by Claude Code

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