Skip to content

feat(tri-comparison): badge for verified Args Found, document gg-only workflow - #1921

Merged
squid-protocol merged 1 commit into
mainfrom
feat/args-badge-and-skill-docs
Aug 20, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
feat/args-badge-and-skill-docs

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Summary

Args Found badge

Extended the badge mechanism from #1919 (func/class precision only) to also cover Args Found. Generalized _manual_verification_winner() to take an explicit mv_key + live_total pair instead of deriving them from symbol_type, since args needs a different manual_verification.json key ("args", not "function" -- symbol_type is "function" for both func precision and args, which would otherwise collide) and a different live staleness anchor (LanguageChartData.gg_args_found, since args_scores' own total_slots is structurally always 0 for a 1-tool language). Extended the post-loop badge block to also fire for the (unranked) args panel via the manual-verification fallback only -- Args Found still has no real cross-tool "winner" concept, per the module docstring's own PANELS section.

abap's Args Found now shows a third "G" badge next to its existing two (func/class precision). Confirmed scoped to abap's own row -- no other language's row changed.

SKILL.md: document the full gg-only workflow

Now that this has been through three full waves (7 confirmed bugs total across #1898/#1899/#1904/#1907/#1911/#1917/#1918):

  • New step 7 on the manual-verification fallback procedure: once a signature is genuinely re-verified, feed it into docs/self_scan/manual_verification.json and regenerate the chart. Covers the **-vs-* distinction, the per-panel staleness-anchor gotcha (precision panels vs. Args Found need different live-count fields), and the badge mechanism's verified == total exactly gate.
  • Added manual_verification.json as papertrail layer 7 -- the gg-only equivalent of the ledger (layer 1), since these languages never get a real ledger entry.
  • Updated the "re-verify after every fix" gotcha bullet from 5 to all 7 confirmed bugs, reframed as three waves each triggered by refusing to stop at the previous fix's green result.
  • New gotcha: a manual-verification badge requires verified == total exactly, never partial-credit -- a badge is a stronger claim than the ** label makes.

Test plan

  • Regenerated tri_comparison_chart.svg -- abap now shows 3 badges (func precision, class precision, args), all correctly scoped; confirmed via a script cross-referencing every badge in the file back to its row's language label.
  • python tests/tools/audit_check.py -- ruff/mypy/dead-key/ast-accuracy all clear.
  • No gitgalaxy/ code touched -- this PR is scoped to the chart tool, docs, and skill only.

🤖 Generated with Claude Code

… workflow

Args Found badge:
Extended the badge mechanism from #1919 (func/class precision only) to
also cover Args Found. Generalized _manual_verification_winner() to take
an explicit mv_key + live_total pair instead of deriving them from
symbol_type, since args needs a DIFFERENT manual_verification.json key
("args", not "function" -- symbol_type is "function" for both func
precision and args, which would otherwise collide) and a different live
staleness anchor (LanguageChartData.gg_args_found, since args_scores' own
total_slots is structurally always 0 for a 1-tool language -- there's no
per-tool raw args count anywhere else in MetricScore). Extended the
post-loop badge block to also fire for the (unranked) args panel via the
manual-verification fallback only -- Args Found still has no real
cross-tool "winner" concept, per the module docstring's own PANELS
section, so this is purely the manual-verification path, never a real
_winner() computation for it. abap's Args Found now shows a third "G"
badge next to its existing two (func/class precision), confirmed scoped
to abap's own row only.

SKILL.md: document the full gg-only workflow, now that it's been through
three full waves:
- New step 7 on the manual-verification fallback procedure: once a
  signature is genuinely re-verified (not just checked once), feed it
  into docs/self_scan/manual_verification.json and regenerate the chart.
  Covers the **-vs-* distinction, the per-panel staleness-anchor gotcha
  (precision panels vs. Args Found need different live-count fields), and
  the new badge mechanism's verified==total-exactly gate.
- Added manual_verification.json as papertrail layer 7 -- the gg-only
  equivalent of the ledger (layer 1), since these languages never get a
  real ledger entry at all.
- Updated the "re-verify after every fix" gotcha bullet from 5 to all 7
  confirmed bugs (#1898, #1899, #1904, #1907, #1911, #1917, #1918),
  reframed as three waves each triggered by refusing to stop at the
  previous fix's green result.
- New gotcha: a manual-verification badge requires verified==total
  EXACTLY, never partial-credit "spot-checked most of it" -- a badge is a
  stronger claim than the ** label makes, same discipline as not blurring
  * and ** together.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol
squid-protocol merged commit facc385 into main Aug 20, 2026
28 checks passed
@squid-protocol
squid-protocol deleted the feat/args-badge-and-skill-docs branch August 20, 2026 15:12
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.

1 participant