Skip to content

Graph comparison ledger: validate Haskell shapes (Part of #9329) - #9353

Merged
squid-shepherd[bot] merged 4 commits into
mainfrom
churn/9329-20261126T0113Z
Nov 26, 2026
Merged

squid-shepherd[bot] merged 4 commits into
mainfrom
churn/9329-20261126T0113Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #9329 (Haskell slice; Dart follows in its own PR).

What changed

Data only: docs/self_scan/graph_comparison_ledger.json and the regenerated docs/self_scan/graph_coverage_chart.svg.

  • 27 seeded Haskell shapes validated (15 no longer reproduce at HEAD, 12 do), each read against source.
  • 8 live shapes the seed lacked added, validated.
  • Credit: tree_sitter on 3 missed-call shapes (qualified apply, line-final $ infix x2) plus apply+generic; gitgalaxy on view patterns and record construction (C3); all other shapes no credit (patterns, bound names, references: C1/C3/C8).

Not finished

Haskell still has 2 open shapes, so it keeps its *: record<infix (two record constructions and one Para{} pattern in one shape) and ?/agree[tree_sitter] (missed calls fixNS, emphasis mixed with a view-pattern stripPrefix). A mixed shape cannot be credited honestly either way.

Sibling gaps

  • Constructor/record/tuple/as patterns, do-bind targets, formals and local definitions reported as callees (Haskell, pervasive). No burned-estate program needs it.
  • Function values passed or composed reported as callees (C1).
  • Calls missed before a line-final $ or on a continuation line.

Cross-repo

None.

Facts checked:

  • Fresh call_graph_accuracy.py --json run at this HEAD against the pinned language-crucible.
  • graph_coverage_chart.py --check: current. pytest tests/tools/test_call_graph_accuracy.py: 76 passed. audit_check.py: all clear.
  • git ls-files lists the ledger JSON.

Lessons for agents

  • The seeded ledger lacks shapes that are live at HEAD; a language keeps its * until those are added and validated (merge on a scratch copy, insert only the new entries).
  • A shape mixing construction and pattern examples cannot take credit either way; leave it open.

🤖 Generated with Claude Code

Verdicts for 27 seeded Haskell shapes (15 no longer reproduce at HEAD) and 8
live shapes the seed lacked, each read against the pinned crucible source.
Two mixed shapes stay open.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol
squid-protocol marked this pull request as ready for review November 26, 2026 19:33
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 26, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 26, 2026 19:33
@squid-shepherd squid-shepherd Bot removed the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 26, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

CI shepherd: shepherd:merge was added by an unknown user (no labeled event found), who has no write access to this repository, so it was removed. Maintainers set these labels (docs/ci.md).

@squid-shepherd
squid-shepherd Bot disabled auto-merge November 26, 2026 19:37
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 26, 2026
@squid-shepherd squid-shepherd Bot removed the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 26, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

CI shepherd: shepherd:merge was added by @squid-protocol, who has no write access to this repository, so it was removed. Maintainers set these labels (docs/ci.md).

@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 26, 2026
@squid-shepherd squid-shepherd Bot removed the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 26, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

CI shepherd: shepherd:merge was added by @squid-protocol, who has no write access to this repository, so it was removed. Maintainers set these labels (docs/ci.md).

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 26, 2026
@squid-shepherd squid-shepherd Bot removed the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 26, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

CI shepherd: shepherd:merge was added by @squid-protocol, who has no write access to this repository, so it was removed. Maintainers set these labels (docs/ci.md).

@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 26, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot merged commit 143629d into main Nov 26, 2026
33 of 36 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/9329-20261126T0113Z branch November 26, 2026 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant