GitNexus/docs/languages/go-ingestion-gaps.md
Gergő Magyar 48f108a58a
docs: simplify guides and verify receiver gaps (#3694)
* docs: align resolution architecture and roadmap

* docs: add language ingestion gap inventories

* test: audit receiver gap targets and coverage

Check exact declaration IDs, expose the Dart await wrong-owner edge, and execute previously excluded C++, Rust, PHP, Dart and Vue shapes. Refresh the baseline and all language inventories from fresh measurements; call-drop counts remain unchanged.

* docs: focus roadmap and shorten project README

Keep the resolution roadmap limited to future work and acceptance criteria. Move detailed editor, CLI, MCP, deployment and wiki instructions into linked guides, preserve their command examples, and correct stale onboarding claims.

* docs: correct setup and audit descriptions

---------

Co-authored-by: Gergo Magyar <gergomagyar0@gmail.com>
2026-10-23 09:06:03 +01:00

4.4 KiB

Go Ingestion Gaps

Audited on 2026-10-23 with freshly built production sources at c35806d24 and the accompanying benchmark changes. See the measurement audit for commands, target checks, exclusions and test limits. Historical reports below remain separate from freshly measured receiver cases; broader ingestion is not exhaustively assessed.

Receiver shape snapshot

States below come from baseline.json. The harness defines each spelling and its N/A reason. RESOLVES requires the exact expected declaration ID and no same-named call to a different owner. WRONG-TARGET records incorrect edges.

Shape Recorded state Expression or exclusion
plainChain RESOLVES svc.GetUser().Save()
plainDeepChain RESOLVES svc.GetUser().Address.Save()
optionalChain N/A Go has no optional-chaining operator.
nonNullAssert N/A Go has no non-null assertion operator.
awaitParen N/A Go has no await expression; concurrency is channel-based.
explicitTypeArgs N/A Go methods cannot declare type parameters, so there is no call-site type-argument spelling on a method.
indexElement RESOLVES repos[0].Save()
fieldReceiverCall RESOLVES h.f.ValM()
decoratedReceiverBase RESOLVES h.f.ValM()
decoratedFieldType RESOLVES h.f.PtrM()

Every applicable cell in the checked-in row resolves, including slice indexing and decorated receiver/field types. This is a bounded receiver snapshot, not proof that every package, build variant or import-qualified spelling resolves.

Planning candidates

ID Evidence Gap or boundary Next planning step and acceptance
GO-01 Coverage audit No failing shape is recorded in this row; package ownership is exercised by separate tests. Map those tests to package-qualified receivers, cross-file struct ownership and build variants. Add missing exact-owner cases before proposing a fix; independent modules with matching type names must remain isolated.

Code and regression entry points

Evidence details: receiver baseline notes and current roadmap.