Skip to content

docs: refresh AGENTS.md for current toolchain and smoke gate - #166

Open
jhamon wants to merge 1 commit into
mainfrom
docs/refresh-agents-md
Open

docs: refresh AGENTS.md for current toolchain and smoke gate#166
jhamon wants to merge 1 commit into
mainfrom
docs/refresh-agents-md

Conversation

@jhamon

@jhamon jhamon commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Housekeeping pass on AGENTS.md after setting the repo up on a new machine. Four stale/missing items, all verified against the tree rather than assumed.

Changes

  • Go version. Listed as 1.21+; go.mod requires go 1.25.0 and both CI jobs pin 1.25.x.
  • Mocked smoke gate. The key-free smoke/ suite added in test(smoke): mocked critical-path gate that runs keyless on every PR #150 was absent from the Build & Test section. It is the only suite runnable without credentials, so leaving it undocumented meant an agent (or a new contributor) with no .env had no way to find it.
  • pinecone/retry.go. RetryPolicy / DefaultRetryPolicy() are exported and documented in the README, but the file was missing from the public API map.
  • Audit date. February 17 → August 19, 2026.

Docs only — no code touched.

Verification

On this branch, with no .env and no PINECONE_API_KEY in the environment:

  • just build — builds clean, go vet ./... clean
  • just test-unit — 111 passed, 0 failed
  • go test -tags smoke -run '^TestMockedCriticalPath$' -v -count=1 ./smoke/... — passes, exactly as documented in the new block

Integration tests (just test) were not run — they need PINECONE_API_KEY / PINECONE_CLIENT_ID / PINECONE_CLIENT_SECRET, which I did not have set up.

Follow-up, not included here

CONTRIBUTING.md carries the same stale Go floor ("recommended 1.21+"). Left out to keep this scoped to AGENTS.md; happy to fold it in.


Note

Low Risk
Documentation-only changes with no runtime or API behavior impact.

Overview
Docs-only update to AGENTS.md so agent/contributor guidance matches the current repo.

The Go toolchain floor is bumped from 1.21+ to 1.25+, aligned with go.mod and CI.

The public API map now lists pinecone/retry.go (RetryPolicy, DefaultRetryPolicy(), REST/gRPC retry wiring).

Build & Test documents the credential-free mocked smoke gate: go test -tags smoke -run '^TestMockedCriticalPath$' ... ./smoke/..., plus a short note that smoke/ is build-tagged, runs against a mocked backend, and is used in CI on the connect → upsert → query path (with a pointer to smoke/README.md).

The last audited footer is updated to August 19, 2026.

Reviewed by Cursor Bugbot for commit 7a6f0e8. Bugbot is set up for automated code reviews on this repo. Configure here.

- Go version was listed as 1.21+, but go.mod requires 1.25.0 and CI
  pins 1.25.x.
- Document the key-free mocked smoke gate added in #150; it was absent
  from the test commands, so agents had no way to run the one suite
  that needs no credentials.
- Note pinecone/retry.go in the public API map. RetryPolicy and
  DefaultRetryPolicy() are exported and documented in the README, but
  the file was missing from the architecture section.
- Refresh the audit date.
@jhamon
jhamon requested a review from a team as a code owner August 19, 2026 16:13
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