WIP: Add Go diagnostics and retire legacy compiler tool #353

Draft
toasterson wants to merge 9 commits from claude/wi-019fa8eb-wi-5-second-language-provider-retire-com into claude/wi-019fa8eb-repo-state-manual-recovery
Owner

Anima WI-266: 019fa8eb-bc84-78d1-8626-807feb892b3d

This draft replaces the orphaned diagnostic skeleton with real Cargo/Go compiler execution, package dependency scoping and immutable-baseline error partitioning, then removes the legacy tool without an alias. Go was chosen because its native package metadata supplies a conservative module closure without an additional language-service deployment.

The Go grammar and executed stack-graph rules resolve supported same-package calls and import-qualified selectors with strict unique-target binding. The admitted diagnostics path records content-watermarked source evidence; unresolved local/type-dependent cases retain the compiler package closure. This is stackgraph-only evidence, not Go SCIP ground truth or complete language coverage. Metadata errors, unknown compiler inputs, truncated output and unlocated failures cannot claim a green scoped check. One provider deadline governs metadata/baseline/current subprocesses and Go graph operations; Git discovery/worktree helpers remain synchronous.

Retirement preserves Cautious/ProcessExec and deployed-host withholding. Compile/build/check triggers, plans, completion controls and live documentation use diagnostics with its actual kind parameters. AKH_COMPILE_FEEDBACK_TIMEOUT_SECS remains an explicit fallback; AKH_COMPILE_FEEDBACK_BASE_REF is replaced by AKH_DIAGNOSTICS_BASE_REF without a fallback. Historical reports and negative registry assertions retain historical names.

Stacked on draft WI-264 / PR #511 (dcbeb682), including published WI-263's measured Rust resolution fixes. The hard WI-264 dependency remains pending, and its live projection and incremental acceptance limitations still apply. This draft does not assert completed native AI/CI gates, merge readiness or deployment.

Validated candidate 280c265450cba092516c435beedc1c05243c01ad: 31 shend tests (including the actual retained corpus and broken-rule regression), 45 diagnostics tests with both real Go compiler tests executed, 7 admission tests, 6 controller tests, 15 contract tests, 12 supervisor tests, and 10 repository-state tests passed. One pre-existing external historical reader replay remains ignored here, separate from its prerequisite receipt. Ordinary server library and all-target shend Clippy passed; final mechanical let-chain cleanup was checked again. Earlier lib-plus-tests Clippy failed only unchanged baseline approximate constants and was not suppressed.

Independent source reviews by root and middle approved the conservative Go bindings/cancellation and retirement/integration contracts. Tests ran on the final merge working tree; final commit includes those reviewed fixes, the mechanical lint cleanup and evidence documentation. Native exact-head review/CI remain Anima's next gates.

Anima WI-266: 019fa8eb-bc84-78d1-8626-807feb892b3d This draft replaces the orphaned diagnostic skeleton with real Cargo/Go compiler execution, package dependency scoping and immutable-baseline error partitioning, then removes the legacy tool without an alias. Go was chosen because its native package metadata supplies a conservative module closure without an additional language-service deployment. The Go grammar and executed stack-graph rules resolve supported same-package calls and import-qualified selectors with strict unique-target binding. The admitted diagnostics path records content-watermarked source evidence; unresolved local/type-dependent cases retain the compiler package closure. This is stackgraph-only evidence, not Go SCIP ground truth or complete language coverage. Metadata errors, unknown compiler inputs, truncated output and unlocated failures cannot claim a green scoped check. One provider deadline governs metadata/baseline/current subprocesses and Go graph operations; Git discovery/worktree helpers remain synchronous. Retirement preserves Cautious/ProcessExec and deployed-host withholding. Compile/build/check triggers, plans, completion controls and live documentation use diagnostics with its actual kind parameters. AKH_COMPILE_FEEDBACK_TIMEOUT_SECS remains an explicit fallback; AKH_COMPILE_FEEDBACK_BASE_REF is replaced by AKH_DIAGNOSTICS_BASE_REF without a fallback. Historical reports and negative registry assertions retain historical names. Stacked on draft WI-264 / PR #511 (dcbeb682), including published WI-263's measured Rust resolution fixes. The hard WI-264 dependency remains pending, and its live projection and incremental acceptance limitations still apply. This draft does not assert completed native AI/CI gates, merge readiness or deployment. Validated candidate `280c265450cba092516c435beedc1c05243c01ad`: 31 shend tests (including the actual retained corpus and broken-rule regression), 45 diagnostics tests with both real Go compiler tests executed, 7 admission tests, 6 controller tests, 15 contract tests, 12 supervisor tests, and 10 repository-state tests passed. One pre-existing external historical reader replay remains ignored here, separate from its prerequisite receipt. Ordinary server library and all-target shend Clippy passed; final mechanical let-chain cleanup was checked again. Earlier lib-plus-tests Clippy failed only unchanged baseline approximate constants and was not suppressed. Independent source reviews by root and middle approved the conservative Go bindings/cancellation and retirement/integration contracts. Tests ran on the final merge working tree; final commit includes those reviewed fixes, the mechanical lint cleanup and evidence documentation. Native exact-head review/CI remain Anima's next gates.
WI 5 — Second language provider + retire compile_feedback (tool, triggers, prompts, skills, docs)
Some checks failed
CI / check-seshat (pull_request) Has been cancelled
CI / check-akh-medu (pull_request) Has been cancelled
CI / test-akh-medu (pull_request) Has been cancelled
CI / docker-seshd (pull_request) Has been cancelled
CI / publish-chart (pull_request) Has been cancelled
4dcd71b46c
Anima implementation session.
WI 5 — Second language provider + retire compile_feedback (tool, triggers, prompts, skills, docs)
Some checks failed
CI / publish-chart (pull_request) Has been cancelled
CI / check-akh-medu (pull_request) Has been cancelled
CI / check-seshat (pull_request) Has been cancelled
CI / test-akh-medu (pull_request) Has been cancelled
CI / docker-seshd (pull_request) Has been cancelled
6c3050eb73
Anima implementation session.
WI 5 — Second language provider + retire compile_feedback (tool, triggers, prompts, skills, docs)
Some checks failed
CI / check-seshat (pull_request) Failing after 2h5m0s
CI / check-akh-medu (pull_request) Failing after 2h5m0s
CI / test-akh-medu (pull_request) Failing after 2h5m0s
CI / docker-seshd (pull_request) Failing after 2h5m0s
CI / publish-chart (pull_request) Failing after 2h5m0s
70184a7a92
Anima implementation session.
WI 2 — SCIP precision tier + the resolution accuracy harness that gates everything downstream
All checks were successful
CI / check-seshat (pull_request) Successful in 8m35s
CI / check-akh-medu (pull_request) Successful in 13m18s
CI / publish-chart (pull_request) Successful in 1m39s
CI / docker-seshd (pull_request) Successful in 9m7s
CI / test-akh-medu (pull_request) Successful in 18m18s
c88dd9b526
Anima implementation session.
feat(shend): add SCIP precision harness tier
All checks were successful
CI / check-akh-medu (pull_request) Successful in 7m18s
CI / test-session-platform (pull_request) Successful in 15m26s
CI / docker-seshd (pull_request) Successful in 8m7s
CI / test-akh-medu (pull_request) Successful in 10m40s
CI / check-seshat (pull_request) Successful in 14m47s
CI / publish-chart (pull_request) Successful in 5m47s
CI / test-sokar (pull_request) Successful in 18m51s
CI / docker-akh-transcripts (pull_request) Successful in 6m33s
CI / docker-sokard (pull_request) Successful in 14m9s
6430b6c944
fix(shend): build lexical scopes once per syntax node
All checks were successful
CI / check-seshat (pull_request) Successful in 6m12s
CI / test-akh-medu (pull_request) Successful in 6m41s
CI / check-akh-medu (pull_request) Successful in 8m11s
CI / docker-akh-transcripts (pull_request) Successful in 6m14s
CI / test-sokar (pull_request) Successful in 21m6s
CI / publish-chart (pull_request) Successful in 9m9s
CI / docker-sokard (pull_request) Successful in 14m18s
CI / docker-seshd (pull_request) Successful in 15m11s
CI / test-session-platform (pull_request) Successful in 27m11s
7ecad5b406
Measure real Akh-Medu SCIP accuracy and preserve truthful coverage
Some checks failed
SCIP accuracy / produce-index (pull_request) Has been skipped
CI / test-sokar (pull_request) Successful in 11m40s
CI / check-akh-medu (pull_request) Successful in 15m7s
CI / check-seshat (pull_request) Successful in 31m37s
CI / docker-sokard (pull_request) Successful in 45m40s
CI / publish-chart (pull_request) Successful in 45m35s
CI / docker-seshd (pull_request) Successful in 56m24s
CI / docker-akh-transcripts (pull_request) Successful in 58m37s
SCIP accuracy / recorded-accuracy (pull_request) Failing after 56m0s
CI / test-akh-medu (pull_request) Failing after 2h11m15s
CI / test-session-platform (pull_request) Successful in 2h32m55s
CI / platform-images-daemons (pull_request) Has been skipped
CI / platform-images-core (pull_request) Has been skipped
CI / platform-images-home (pull_request) Has been skipped
CI / platform-images-fleet (pull_request) Has been skipped
CI / platform-images-collect (pull_request) Has been skipped
1a1adda337
Add explicit historical SCIP reader replay fixture entry point
Some checks failed
SCIP accuracy / produce-index (pull_request) Has been skipped
CI / test-session-platform (pull_request) Has been cancelled
CI / test-sokar (pull_request) Has been cancelled
CI / check-seshat (pull_request) Has been cancelled
CI / check-akh-medu (pull_request) Has been cancelled
CI / test-akh-medu (pull_request) Has been cancelled
CI / docker-seshd (pull_request) Has been cancelled
CI / docker-sokard (pull_request) Has been cancelled
CI / docker-akh-transcripts (pull_request) Has been cancelled
CI / publish-chart (pull_request) Has been cancelled
CI / platform-images-home (pull_request) Has been cancelled
CI / platform-images-core (pull_request) Has been cancelled
CI / platform-images-daemons (pull_request) Has been cancelled
CI / platform-images-fleet (pull_request) Has been cancelled
CI / platform-images-collect (pull_request) Has been cancelled
SCIP accuracy / recorded-accuracy (pull_request) Has been cancelled
90673f5ecd
Refresh only changed repository document summaries after evidence validation
Some checks failed
SCIP accuracy / produce-index (pull_request) Has been skipped
CI / test-sokar (pull_request) Failing after 31m4s
CI / docker-akh-transcripts (pull_request) Successful in 12m34s
CI / docker-seshd (pull_request) Successful in 23m51s
CI / check-akh-medu (pull_request) Successful in 34m13s
CI / docker-sokard (pull_request) Successful in 27m36s
CI / check-seshat (pull_request) Successful in 45m29s
CI / publish-chart (pull_request) Successful in 33m16s
CI / test-akh-medu (pull_request) Successful in 58m43s
SCIP accuracy / recorded-accuracy (pull_request) Successful in 1h25m33s
CI / test-session-platform (pull_request) Successful in 2h25m26s
CI / platform-images-home (pull_request) Has been skipped
CI / platform-images-core (pull_request) Has been skipped
CI / platform-images-daemons (pull_request) Has been skipped
CI / platform-images-fleet (pull_request) Has been skipped
CI / platform-images-collect (pull_request) Has been skipped
dcbeb68226
Complete tested Go resolver integration and record validation
Some checks failed
SCIP accuracy / produce-index (pull_request) Has been skipped
CI / docker-seshd (pull_request) Successful in 6m56s
CI / docker-akh-transcripts (pull_request) Successful in 12m28s
CI / check-akh-medu (pull_request) Successful in 24m47s
CI / check-seshat (pull_request) Successful in 36m36s
CI / publish-chart (pull_request) Successful in 20m0s
CI / test-akh-medu (pull_request) Successful in 51m10s
SCIP accuracy / recorded-accuracy (pull_request) Failing after 39m40s
CI / docker-sokard (pull_request) Successful in 2h7m57s
CI / test-sokar (pull_request) Successful in 2h22m49s
CI / test-session-platform (pull_request) Failing after 2h35m14s
CI / platform-images-core (pull_request) Has been skipped
CI / platform-images-daemons (pull_request) Has been skipped
CI / platform-images-home (pull_request) Has been skipped
CI / platform-images-fleet (pull_request) Has been skipped
CI / platform-images-collect (pull_request) Has been skipped
280c265450
toasterson changed title from WIP: WI 5 — Second language provider + retire compile_feedback (tool, triggers, prompts, skills, docs) to WIP: Add Go diagnostics and retire legacy compiler tool 2026-10-02 20:46:14 +00:00
toasterson changed target branch from main to claude/wi-019fa8eb-repo-state-manual-recovery 2026-10-02 20:46:16 +00:00
Some checks failed
SCIP accuracy / produce-index (pull_request) Has been skipped
CI / docker-seshd (pull_request) Successful in 6m56s
CI / docker-akh-transcripts (pull_request) Successful in 12m28s
CI / check-akh-medu (pull_request) Successful in 24m47s
CI / check-seshat (pull_request) Successful in 36m36s
CI / publish-chart (pull_request) Successful in 20m0s
CI / test-akh-medu (pull_request) Successful in 51m10s
SCIP accuracy / recorded-accuracy (pull_request) Failing after 39m40s
CI / docker-sokard (pull_request) Successful in 2h7m57s
CI / test-sokar (pull_request) Successful in 2h22m49s
CI / test-session-platform (pull_request) Failing after 2h35m14s
CI / platform-images-core (pull_request) Has been skipped
CI / platform-images-daemons (pull_request) Has been skipped
CI / platform-images-home (pull_request) Has been skipped
CI / platform-images-fleet (pull_request) Has been skipped
CI / platform-images-collect (pull_request) Has been skipped
This pull request is marked as a work in progress.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin claude/wi-019fa8eb-wi-5-second-language-provider-retire-com:claude/wi-019fa8eb-wi-5-second-language-provider-retire-com
git switch claude/wi-019fa8eb-wi-5-second-language-provider-retire-com

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch claude/wi-019fa8eb-repo-state-manual-recovery
git merge --no-ff claude/wi-019fa8eb-wi-5-second-language-provider-retire-com
git switch claude/wi-019fa8eb-wi-5-second-language-provider-retire-com
git rebase claude/wi-019fa8eb-repo-state-manual-recovery
git switch claude/wi-019fa8eb-repo-state-manual-recovery
git merge --ff-only claude/wi-019fa8eb-wi-5-second-language-provider-retire-com
git switch claude/wi-019fa8eb-wi-5-second-language-provider-retire-com
git rebase claude/wi-019fa8eb-repo-state-manual-recovery
git switch claude/wi-019fa8eb-repo-state-manual-recovery
git merge --no-ff claude/wi-019fa8eb-wi-5-second-language-provider-retire-com
git switch claude/wi-019fa8eb-repo-state-manual-recovery
git merge --squash claude/wi-019fa8eb-wi-5-second-language-provider-retire-com
git switch claude/wi-019fa8eb-repo-state-manual-recovery
git merge --ff-only claude/wi-019fa8eb-wi-5-second-language-provider-retire-com
git switch claude/wi-019fa8eb-repo-state-manual-recovery
git merge claude/wi-019fa8eb-wi-5-second-language-provider-retire-com
git push origin claude/wi-019fa8eb-repo-state-manual-recovery
Sign in to join this conversation.
No reviewers
No labels
follow-up
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
toasterson/akh-medu!353
No description provided.