Skip to content

chore: remove dead code and move dev docs - #47

Merged
shreyanshjain7174 merged 3 commits into
mainfrom
chore/remove-dead-code
Oct 18, 2026
Merged

shreyanshjain7174 merged 3 commits into
mainfrom
chore/remove-dead-code

Conversation

@shreyanshjain7174

Copy link
Copy Markdown
Contributor

Plan

Phase 0, item 8 of the AgentGate scale-out prompt: remove dead code and tidy the docs layout.

What changed

Code (47707b2). I deleted packages and middleware that nothing imports:

go mod tidy changed nothing.

Docs (4b5937b, ca69b6d).

  • Moved agentgate-copilot-instructions.md, agentgate-copilot-prompt.md and agentgate-agents.md to docs/dev/ with git mv.
  • Moved .planning/ to docs/dev/planning/ with git mv, keeping history, and updated 98 references. Its only "outreach" mentions are about open-source contributors.
  • Marked agentgate-architecture.md as superseded and pointed it at the README and docs/.
  • Rewrote the README request flow to match the code after fix(auth): constant-cost API key lookup #39 through perf(vault): cached credentials and safe singleflight refresh #46: key auth, validation, key limit, scopes, tenant limits, delegation caps, registry and escaped URL, cached vault, concurrency admission, upstream pool, bounded body or SSE, group-commit ledger. It also states which attempts get receipts.

Validation

  • go build ./...: passed
  • go vet ./...: passed
  • go test -race ./...: passed
  • git diff --check: passed. Changed-doc links and anchors checked.
  • semgrep --config auto --error --quiet ./internal ./cmd: 4 findings, all in files this PR does not change (MCP request handling, 2 cookie sites, JSONL output). They are identical on main. The earlier per-PR scans covered narrower paths. I'll triage them separately.

shreyanshjain7174 and others added 3 commits October 18, 2026 05:32
Delete the unused proxy builder with unescaped path parameters.
Keep request construction in the validated gateway path.
Remove unused audit logging and standalone middleware.
Retain Limiter.Allow for cross-package integration tests.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Shreyansh Sancheti <43677304+shreyanshjain7174@users.noreply.github.com>
Move archived build guidance into docs/dev and fix links.
Mark the original architecture design as superseded.
Describe gateway admission, vault refresh, and receipt ordering.
Keep planning files in place because they mention outreach.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Shreyansh Sancheti <43677304+shreyanshjain7174@users.noreply.github.com>
Move planning into docs/dev and update root-relative references.
Preserve research citation targets after the directory move.
Link planning history from the README.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Shreyansh Sancheti <43677304+shreyanshjain7174@users.noreply.github.com>
@shreyanshjain7174
shreyanshjain7174 merged commit 2f81c85 into main Oct 18, 2026
1 check passed
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