From 2dd181dfd8b1bc54f8fe79fc99936ee1e211eea3 Mon Sep 17 00:00:00 2001 From: Shreyansh Sancheti <43677304+shreyanshjain7174@users.noreply.github.com> Date: Sat, 29 Aug 2026 12:30:57 +0530 Subject: [PATCH 1/2] docs: remove stale CGO onboarding requirement Signed-off-by: Shreyansh Sancheti <43677304+shreyanshjain7174@users.noreply.github.com> --- CONTRIBUTING.md | 10 ++++------ Makefile | 4 ++-- README.md | 6 ++++++ 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9096c90..e038054 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -6,15 +6,13 @@ and welcomes outside pull requests. ## Prerequisites - **Go 1.25.0** or later. -- **CGO enabled** (`CGO_ENABLED=1`, the default on most systems) — the - SQLite driver (`mattn/go-sqlite3`) requires a C compiler (`gcc` or - `clang`) to be on your `PATH`. - **Docker** (optional) — only needed to run the full quickstart described in `README.md`; not required to build, test, or contribute code. -No database, API keys, or secrets are needed to build or run the test -suite. Every test either uses an in-memory/temp-file SQLite database or a -local `httptest` server. +No C compiler, database, API keys, or secrets are needed to build or run +`make test`. The SQLite driver is pure Go. Every test either uses an +in-memory/temp-file SQLite database or a local `httptest` server. The +optional `-race` check below does require a C compiler. ## Build, test, and lint diff --git a/Makefile b/Makefile index f7af84d..1f346a0 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,10 @@ .PHONY: build build-verify run test docker lint clean build: - CGO_ENABLED=1 go build -o bin/agentgate ./cmd/agentgw + CGO_ENABLED=0 go build -o bin/agentgate ./cmd/agentgw build-verify: - CGO_ENABLED=1 go build -o bin/agentgate-verify ./cmd/agentgate-verify + CGO_ENABLED=0 go build -o bin/agentgate-verify ./cmd/agentgate-verify run: go run ./cmd/agentgw diff --git a/README.md b/README.md index a5136ee..e31925b 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,12 @@ curl -s -X POST http://localhost:8080/admin/link \ # open the returned authorize_url, click Authorize, then re-run the /v1/act call above ``` +**Inspect the receipt ledger.** Open +[`http://localhost:8080/dashboard/`](http://localhost:8080/dashboard/) and +enter the gateway URL plus `AGENTGATE_ADMIN_SECRET`. The dashboard checks the +visible receipt chain locally. Use the standalone verifier below for full +cryptographic proof. + ### Auditing, standalone Verification never depends on the gateway, Docker, or a Go toolchain — it From ed4e6245dd11ee5788476d937478490174af6b69 Mon Sep 17 00:00:00 2001 From: Shreyansh Sancheti <43677304+shreyanshjain7174@users.noreply.github.com> Date: Sat, 29 Aug 2026 12:37:13 +0530 Subject: [PATCH 2/2] fix: make standard onboarding targets pure Go Signed-off-by: Shreyansh Sancheti <43677304+shreyanshjain7174@users.noreply.github.com> --- Makefile | 4 ++-- README.md | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 1f346a0..691b817 100644 --- a/Makefile +++ b/Makefile @@ -7,10 +7,10 @@ build-verify: CGO_ENABLED=0 go build -o bin/agentgate-verify ./cmd/agentgate-verify run: - go run ./cmd/agentgw + CGO_ENABLED=0 go run ./cmd/agentgw test: - go test -v -count=1 ./... + CGO_ENABLED=0 go test -v -count=1 ./... docker: docker-compose up --build diff --git a/README.md b/README.md index e31925b..08b0e56 100644 --- a/README.md +++ b/README.md @@ -54,9 +54,9 @@ curl -s -X POST http://localhost:8080/admin/link \ **Inspect the receipt ledger.** Open [`http://localhost:8080/dashboard/`](http://localhost:8080/dashboard/) and -enter the gateway URL plus `AGENTGATE_ADMIN_SECRET`. The dashboard checks the -visible receipt chain locally. Use the standalone verifier below for full -cryptographic proof. +enter the gateway URL, then the value of `AGENTGATE_ADMIN_SECRET`. The +dashboard checks the visible receipt chain locally. Use the standalone +verifier below for full cryptographic proof. ### Auditing, standalone