diff --git a/.github/workflows/wiki-currency.yml b/.github/workflows/wiki-currency.yml index ede93ef..1b28917 100644 --- a/.github/workflows/wiki-currency.yml +++ b/.github/workflows/wiki-currency.yml @@ -18,7 +18,7 @@ on: workflow_call: inputs: stack_version: - description: "PyAutoCTI version to install and check against (empty = latest released)." + description: "PyAutoCTI version to install and check against (empty = the CTI stack built from the libraries' `main` source clones, NOT a PyPI release)." required: false type: string default: "" @@ -30,7 +30,7 @@ on: workflow_dispatch: inputs: stack_version: - description: "PyAutoCTI version to install and check against (empty = latest released)." + description: "PyAutoCTI version to install and check against (empty = the CTI stack built from the libraries' `main` source clones, NOT a PyPI release)." required: false type: string default: "" @@ -85,6 +85,15 @@ jobs: # workspace_index.json) are always included automatically. git -C sources/autocti_workspace sparse-checkout set scripts + # Record exactly which commits were graded against. Without this the + # drift report names no ref at all, so a red run cannot be diagnosed + # after the fact — you cannot tell a genuine doc/API divergence from + # the baseline simply having aged against a moving `main`. + for d in sources/*/; do + printf -- '- %s: `%s`\n' "$(basename "$d")" "$(git -C "$d" rev-parse --short HEAD)" + done > source-refs.md + cat source-refs.md + # Paired-PR support (same trade-off as the Brain-ref hatch, PyAutoBrain#186): # on PR events, any cited source repo with a branch matching this PR's head # branch is checked out at that branch, so an assistant PR citing a paired @@ -145,9 +154,17 @@ jobs: { echo "# Wiki-currency drift report" echo - echo "- stack_version: \`${{ inputs.stack_version || 'latest released' }}\`" + # Say what was ACTUALLY installed. An empty stack_version does NOT + # mean "latest released" — the install step below builds the stack + # from the sources/ `main` clones. Reporting "latest released" here + # sent a diagnosis of a red run looking for a release that had moved + # the API, when the real clock is the libraries' main branches. + echo "- stack_version: \`${{ inputs.stack_version || 'source @ main (not a release)' }}\`" echo "- assistant_ref: \`${{ inputs.assistant_ref || github.ref }}\`" echo + echo "Cited/installed source trees:" + cat source-refs.md + echo } > "$REPORT" fail=0 diff --git a/wiki/core/api_audit_baseline.json b/wiki/core/api_audit_baseline.json index 3bfe27a..cfc27eb 100644 --- a/wiki/core/api_audit_baseline.json +++ b/wiki/core/api_audit_baseline.json @@ -1,10 +1,10 @@ { "_comment": "API baseline for autocti_assistant - see autoassistant/audit_skill_apis.py and skills/ac_audit_skill_apis.md. Regenerate with --write-baseline.", - "generated": "2026-07-23", + "generated": "2026-08-24", "versions": { - "autonerves": "2026.7.9.1", - "autoarray": "2026.7.9.1", - "autofit": "2026.7.9.1", + "autonerves": "2026.8.17.1", + "autoarray": "2026.8.17.1", + "autofit": "2026.8.17.1", "autocti": "2024.11.13.2" }, "api_surface": { @@ -13,12 +13,12 @@ "n_symbols": 32 }, "autoarray": { - "hash": "c5ff43af7c8505687f9bcb0b45aff32f05996f777b19321c8b14bc382e379ba5", - "n_symbols": 121 + "hash": "5dfcc5e6825c4d7e53d454efd08e830ec107183c6cc93c06f73358721b7c97f7", + "n_symbols": 122 }, "autofit": { - "hash": "55e75550fb2bad3c365c7456fe81e1fffe4cbcad2c4f5d564679014348b36019", - "n_symbols": 149 + "hash": "d540d084d0aaa0510332f41e1155217e4ac0e18ef1aad00606283eea187db342", + "n_symbols": 160 }, "autocti": { "hash": "32d9b246f2472e3a479cb2e5728e91e877c2cf472a9888cfd6632fc9947f8b7d",