@@ -912,20 +912,20 @@ Goal: represent program entrypoints and runtime wiring as reusable evidence.
912912
913913Tasks:
914914
915- - [ ] Centralize entrypoint records for:
915+ - [x ] Centralize entrypoint records for:
916916 - ` main.main `
917917 - tests with ` --tests `
918918 - exported functions
919919 - no-local-caller functions
920920 - stdlib ` net/http ` handlers already supported
921921 - visible goroutine origins already supported
922- - [ ] Include kind, reason, source range, reachable target when known,
922+ - [x ] Include kind, reason, source range, reachable target when known,
923923 certainty, and limitations.
924- - [ ] Keep framework-specific routers out of scope unless a bounded pattern is
924+ - [x ] Keep framework-specific routers out of scope unless a bounded pattern is
925925 explicitly accepted.
926- - [ ] Add fixtures for command packages, HTTP handlers, tests, workers, and
926+ - [x ] Add fixtures for command packages, HTTP handlers, tests, workers, and
927927 unsupported custom routing.
928- - [ ] Define and implement the bounded entrypoint summary used by context,
928+ - [x ] Define and implement the bounded entrypoint summary used by context,
929929 impact, PR, and the agent workflow: counts by kind, top reachable
930930 examples, certainty labels, source locations, and limitations.
931931
@@ -952,22 +952,35 @@ go test ./internal/sherpa ./internal/agentworkflow ./internal/agentcontext ./int
952952go run ./cmd/gosherpa entrypoints ./internal/sherpa.PlanTests --json
953953```
954954
955+ Verification note, 2026-07-18:
956+
957+ - Selected ` <base-ref> ` : ` HEAD ` , resolved with
958+ ` git rev-parse --verify HEAD ` to
959+ ` 75f92848901056843985b02589c3e7be142672ac ` .
960+ - Added centralized entrypoint evidence records with reason, certainty,
961+ reachable target, source ranges, and limitations.
962+ - Added focused worker/goroutine, stdlib HTTP, test-entrypoint, command-package,
963+ and non-function/custom-wiring limitation coverage in the existing call and
964+ golden fixtures.
965+ - Ran
966+ ` go test ./internal/sherpa ./internal/agentcontext ./internal/impact ./internal/agentworkflow ./cmd/gosherpa ` .
967+
955968### Slice 3.4: Entrypoints In Context, Impact, PR, And Agent Workflow
956969
957970Goal: show how inspected or changed code is reached.
958971
959972Tasks:
960973
961- - [ ] Add bounded entrypoint summaries to ` context symbol ` , ` impact symbol ` ,
974+ - [x ] Add bounded entrypoint summaries to ` context symbol ` , ` impact symbol ` ,
962975 ` context diff ` , ` impact diff ` , ` pr ` , and the agent workflow where
963976 relevant.
964- - [ ] Keep entrypoint evidence separate from direct caller evidence.
965- - [ ] Include possible runtime paths only when certainty labels and limitations
977+ - [x ] Keep entrypoint evidence separate from direct caller evidence.
978+ - [x ] Include possible runtime paths only when certainty labels and limitations
966979 are clear.
967- - [ ] Update target risk scoring only if entrypoint evidence materially changes
980+ - [x ] Update target risk scoring only if entrypoint evidence materially changes
968981 blast-radius judgment; document the rule.
969- - [ ] Add human output that is concise enough not to crowd out tests and risk.
970- - [ ] Update golden JSON fixtures and schema docs.
982+ - [x ] Add human output that is concise enough not to crowd out tests and risk.
983+ - [x ] Update golden JSON fixtures and schema docs.
971984
972985Primary files:
973986
@@ -993,20 +1006,35 @@ go run ./cmd/gosherpa context symbol ./internal/sherpa.PlanTests --use-snapshot
9931006go run ./cmd/gosherpa agent context --base < base-ref> --use-snapshot --json
9941007```
9951008
1009+ Verification note, 2026-07-18:
1010+
1011+ - Selected ` <base-ref> ` : ` HEAD ` , resolved with
1012+ ` git rev-parse --verify HEAD ` to
1013+ ` 75f92848901056843985b02589c3e7be142672ac ` .
1014+ - Added ` entrypointSummary ` to ` context symbol ` , ` context diff ` ,
1015+ ` impact symbol ` , ` impact diff ` , ` pr ` , and ` agent context ` ; direct callers
1016+ and entrypoint evidence remain separate.
1017+ - Target-risk scoring was intentionally unchanged because entrypoint evidence
1018+ improves reachability planning but does not by itself prove broader blast
1019+ radius than affected packages, references, interfaces, tests, warnings, or
1020+ snapshot fallback.
1021+ - Ran
1022+ ` go test ./internal/sherpa ./internal/agentcontext ./internal/impact ./internal/agentworkflow ./cmd/gosherpa ` .
1023+
9961024### Slice 3.5: Test And Entrypoint Documentation Pass
9971025
9981026Goal: keep users and agents calibrated.
9991027
10001028Tasks:
10011029
1002- - [ ] Update ` docs/CLI_REFERENCE.md ` , ` docs/STATUS.md ` ,
1030+ - [x ] Update ` docs/CLI_REFERENCE.md ` , ` docs/STATUS.md ` ,
10031031 ` docs/product/JSON_SCHEMA_V1.md ` , ` docs/product/CONTEXT_SCHEMA_V1.md ` ,
10041032 ` AGENT_NOTES.md ` , and ` llms.txt ` .
1005- - [ ] Document the difference between direct tests, related tests, contract
1033+ - [x ] Document the difference between direct tests, related tests, contract
10061034 tests, caller-package tests, integration-like tests, and fallbacks.
1007- - [ ] Document entrypoint certainty and unsupported runtime wiring.
1008- - [ ] Ensure examples use ` <base-ref> ` unless recording a verified local ref.
1009- - [ ] Run schema and golden tests.
1035+ - [x ] Document entrypoint certainty and unsupported runtime wiring.
1036+ - [x ] Ensure examples use ` <base-ref> ` unless recording a verified local ref.
1037+ - [x ] Run schema and golden tests.
10101038
10111039Primary files:
10121040
@@ -1027,6 +1055,17 @@ go test ./cmd/gosherpa
10271055go test ./...
10281056```
10291057
1058+ Verification note, 2026-07-18:
1059+
1060+ - Selected ` <base-ref> ` : ` HEAD ` , resolved with
1061+ ` git rev-parse --verify HEAD ` to
1062+ ` 75f92848901056843985b02589c3e7be142672ac ` .
1063+ - Updated CLI, status, JSON schema, context schema, agent notes, and llms
1064+ guidance for entrypoint certainty, bounded ` entrypointSummary ` , unsupported
1065+ custom routers/runtime wiring, and unchanged target-risk scoring.
1066+ - Ran ` GOCACHE=/private/tmp/gosherpa-gocache go test ./cmd/gosherpa ` .
1067+ - Ran ` GOCACHE=/private/tmp/gosherpa-gocache go test ./... ` .
1068+
10301069Phase 3 is done when:
10311070
10321071- Test recommendations are stronger, grouped, and evidence-backed.
@@ -1039,15 +1078,15 @@ Goal: prove the three tracks work together as one product workflow.
10391078
10401079Tasks:
10411080
1042- - [ ] Select and record ` <base-ref> ` .
1043- - [ ] Run ` git rev-parse --verify <base-ref> ` and record the resolved commit.
1044- - [ ] Refresh or create a snapshot:
1081+ - [x ] Select and record ` <base-ref> ` .
1082+ - [x ] Run ` git rev-parse --verify <base-ref> ` and record the resolved commit.
1083+ - [x ] Refresh or create a snapshot:
10451084
10461085 ```bash
10471086 go run ./cmd/gosherpa snapshot --json
10481087 ```
10491088
1050- - [ ] Run:
1089+ - [x ] Run:
10511090
10521091 ```bash
10531092 git rev-parse --verify <base-ref>
@@ -1062,7 +1101,7 @@ Tasks:
10621101 go run ./cmd/gosherpa entrypoints ./internal/sherpa.PlanTests --json
10631102 ```
10641103
1065- - [ ] Verify the outputs answer:
1104+ - [x ] Verify the outputs answer:
10661105 - what changed or what is inspected
10671106 - where relevant code lives
10681107 - who calls it and what it calls
@@ -1073,10 +1112,10 @@ Tasks:
10731112 - how wide the change appears
10741113 - what uncertainty remains
10751114 - which command or test should run next
1076- - [ ] Update ` docs/STATUS.md ` with completed readiness improvements.
1077- - [ ] Update ` docs/product/MUST_USE_READINESS.md ` if readiness estimate or
1115+ - [x ] Update ` docs/STATUS.md ` with completed readiness improvements.
1116+ - [x ] Update ` docs/product/MUST_USE_READINESS.md ` if readiness estimate or
10781117 priority order changes.
1079- - [ ] Update ` README.md ` , ` AGENT_NOTES.md ` , and ` llms.txt ` if workflows or
1118+ - [x ] Update ` README.md ` , ` AGENT_NOTES.md ` , and ` llms.txt ` if workflows or
10801119 agent guidance materially change.
10811120
10821121Exit criteria:
@@ -1086,6 +1125,35 @@ Exit criteria:
10861125- Test and entrypoint evidence improves next-action planning.
10871126- Human output and JSON output remain stable enough for daily use.
10881127
1128+ Verification note, 2026-07-18:
1129+
1130+ - Selected ` <base-ref> ` : ` HEAD ` , resolved with
1131+ ` git rev-parse --verify HEAD ` to
1132+ ` 75f92848901056843985b02589c3e7be142672ac ` .
1133+ - Refreshed ` .gosherpa/snapshot.json ` with
1134+ ` GOCACHE=/private/tmp/gosherpa-gocache go run ./cmd/gosherpa snapshot --json ` ;
1135+ the snapshot command reported status ` valid ` , created at
1136+ ` 2026-07-18T11:16:58Z ` , with 136 files, 12 packages, 2833 symbols, and
1137+ 36985 relationship records.
1138+ - Ran ` GOCACHE=/private/tmp/gosherpa-gocache go test ./... ` .
1139+ - Ran the final workflow smoke set:
1140+ ` doctor --json ` , ` agent context --base HEAD --use-snapshot --json ` ,
1141+ ` context diff --base HEAD --use-snapshot --json ` ,
1142+ ` impact diff --base HEAD --use-snapshot --json ` ,
1143+ ` tests affected --base HEAD --use-snapshot --json ` ,
1144+ ` pr --base HEAD --use-snapshot --json ` ,
1145+ ` context symbol ./internal/sherpa.PlanTests --use-snapshot --json ` , and
1146+ ` entrypoints ./internal/sherpa.PlanTests --json ` .
1147+ - Verified the diff workflows used
1148+ ` snapshot+git-diff+typechecked+ast ` where applicable; ` agent context `
1149+ reported a valid, fresh, reused snapshot. The standalone and embedded
1150+ entrypoint outputs include certainty, reason, reachable target, source
1151+ locations, and explicit limitations. Large agent/context outputs preserve
1152+ byte-budget truncation metadata for entrypoint counts and examples.
1153+ - ` doctor --json ` completed with the expected nested-module warning for the
1154+ CLI testdata modules. ` docs/product/MUST_USE_READINESS.md ` did not need a
1155+ readiness estimate or priority-order change in this pass.
1156+
10891157## Out Of Scope Until This Plan Is Done
10901158
10911159- MCP or long-running server mode
0 commit comments