From f15bf6d415cd42be5deaaa455d99e9ad3ac45016 Mon Sep 17 00:00:00 2001 From: dytlzl Date: Wed, 18 Nov 2026 21:30:36 +0900 Subject: [PATCH] Rename the Go toolkit to ProofSteer --- .github/workflows/release.yml | 6 +++--- CHANGELOG.md | 2 ++ LICENSE | 2 +- README.md | 12 ++++++------ cmd/pdd/main.go | 2 +- demo_files.go | 2 +- docs/cli-output.schema.json | 2 +- docs/distribution.md | 4 ++-- docs/first-project.md | 2 +- docs/production-readiness.md | 2 +- examples/authorization/handler/handler.go | 2 +- examples/authorization/handler/handler_test.go | 2 +- examples/httpwallet/app/handler.go | 2 +- examples/httpwallet/app/handler_test.go | 2 +- examples/httpwallet/cmd/wallet/main.go | 2 +- go.mod | 2 +- internal/cli/cli.go | 4 ++-- internal/cli/demo.go | 6 +++--- internal/cli/review.go | 2 +- internal/cli/workflow.go | 2 +- internal/pdd/dashboard.html | 2 +- internal/pdd/signing.go | 2 ++ scripts/release.py | 6 +++--- 23 files changed, 38 insertions(+), 34 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 891304f..ec81fba 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,15 +34,15 @@ jobs: run: | docker pull ghcr.io/viperproject/gobra@sha256:5e96431b06c2e6209aa767df9153bb4cf8b2620598598f1d7d3f3a74c09c14f9 mkdir -p dist/extracted - tar -xzf "dist/first/pdd-kit-go_${RELEASE_VERSION}_linux_amd64.tar.gz" -C dist/extracted + tar -xzf "dist/first/proofsteer-go_${RELEASE_VERSION}_linux_amd64.tar.gz" -C dist/extracted python3 - <<'PYTHON' import json, os, pathlib policy = json.loads(os.environ['TRUSTED_REVIEW_POLICY_JSON']) (pathlib.Path(os.environ['RUNNER_TEMP']) / 'review-policy.json').write_text(json.dumps(policy)) PYTHON - python3 scripts/smoke.py --pdd "dist/extracted/pdd-kit-go_${RELEASE_VERSION}_linux_amd64/pdd" --version "$RELEASE_VERSION" --policy "$RUNNER_TEMP/review-policy.json" + python3 scripts/smoke.py --pdd "dist/extracted/proofsteer-go_${RELEASE_VERSION}_linux_amd64/pdd" --version "$RELEASE_VERSION" --policy "$RUNNER_TEMP/review-policy.json" - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: - name: pdd-kit-go-${{ inputs.version }} + name: proofsteer-go-${{ inputs.version }} path: dist/first/ if-no-files-found: error diff --git a/CHANGELOG.md b/CHANGELOG.md index e57c82e..db128ff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## v0.4.0 +- Adopt the ProofSteer name and the `proofsteer-go` Go module path. The CLI is still `pdd`. + - Bundle the reviewed login example in `pdd demo` for first-time users. - Show current check verdicts, negative examples and log links in HTML reports. - Run named Playwright tests and record first-attempt results, screenshots and traces. diff --git a/LICENSE b/LICENSE index 1b655c4..90e5dc7 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2026 pdd-kit-go contributors +Copyright (c) 2026 ProofSteer contributors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 37b845f..0e4f30b 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ -# pdd-kit-go +# ProofSteer -**Prove the Go decisions you need to get right.** +**Proof-Driven Development for Go.** When a change touches who can sign in, what can be authorized, or when a balance can be debited, examples alone leave cases unchecked. Write the rule as a contract on the production Go function. `pdd` runs Gobra to check it, runs Go tests for the surrounding code, and writes a receipt you can bring to code review. Start with one decision in an existing Go project. The core workflow works without an LLM account. -[View live report examples](https://pdd-kit-go-demo.cruskell.chatgpt.site) · [Try the login example](#try-it) · [Use it in your project](#use-it-in-your-project) · [Download pdd](https://github.com/cruskell/pdd-kit-go/releases/tag/v0.4.0) +[View live report examples](https://proofsteer-demo.cruskell.chatgpt.site) · [Try the login example](#try-it) · [Use it in your project](#use-it-in-your-project) · [Download pdd](https://github.com/cruskell/proofsteer-go/releases/tag/v0.4.0) ## What a proof catches @@ -23,10 +23,10 @@ An implementation that always returns `false` satisfies a rejection-only rule. I ## Try it -Use Go 1.20 or newer and Docker on a 64-bit host. Put the Go install directory on your `PATH`, or use the [checksummed binaries](https://github.com/cruskell/pdd-kit-go/releases/tag/v0.4.0). To use a local Gobra JAR, see [troubleshooting](docs/troubleshooting.md). +Use Go 1.20 or newer and Docker on a 64-bit host. Put the Go install directory on your `PATH`, or use the [checksummed binaries](https://github.com/cruskell/proofsteer-go/releases/tag/v0.4.0). To use a local Gobra JAR, see [troubleshooting](docs/troubleshooting.md). ```sh -go install github.com/cruskell/pdd-kit-go/cmd/pdd@v0.4.0 +go install github.com/cruskell/proofsteer-go/cmd/pdd@v0.4.0 pdd demo ``` @@ -71,7 +71,7 @@ If you already work with a coding agent, `pdd draft` can turn a request into an - **Go and browser tests provide evidence for the cases they run.** The receipt labels them separately from proofs. Each planned negative mutation must fail on the intended postcondition. A missing test, tool failure, or inconclusive mutation fails verification. [Design](docs/design.md) - **Receipts tie the result to the reviewed change.** Machine-readable JSON and Markdown include the plan and source digests, commands, outcomes, trust assumptions, and links or references to saved logs. `status` rejects stale evidence. Use Ed25519 approvals with a trusted policy when CI needs to verify reviewer authority. [JSON protocol](docs/cli-json.md) · [Signed reviews](docs/signed-reviews.md) -`pdd-kit-go` is an independent implementation of ideas from the Proof-Driven Development Kit research prototype. Its Go verifier is Gobra. [Original PDD Kit](https://githubnext.com/projects/pdd-kit/) · [Feature comparison and limits](docs/reference-comparison.md) +ProofSteer is an independent implementation of ideas from the Proof-Driven Development Kit research prototype. Its Go verifier is Gobra. [Original PDD Kit](https://githubnext.com/projects/pdd-kit/) · [Feature comparison and limits](docs/reference-comparison.md) ## Development diff --git a/cmd/pdd/main.go b/cmd/pdd/main.go index c0b61ee..7226ee0 100644 --- a/cmd/pdd/main.go +++ b/cmd/pdd/main.go @@ -4,7 +4,7 @@ import ( "os" "runtime/debug" - "github.com/cruskell/pdd-kit-go/internal/cli" + "github.com/cruskell/proofsteer-go/internal/cli" ) // Set by release builds. go install @version obtains the module version below. diff --git a/demo_files.go b/demo_files.go index 63931c6..c6e57aa 100644 --- a/demo_files.go +++ b/demo_files.go @@ -1,4 +1,4 @@ -package pddkit +package proofsteer import ( "embed" diff --git a/docs/cli-output.schema.json b/docs/cli-output.schema.json index cd61f96..92ecf33 100644 --- a/docs/cli-output.schema.json +++ b/docs/cli-output.schema.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://github.com/cruskell/pdd-kit-go/docs/cli-output.schema.json", + "$id": "https://github.com/cruskell/proofsteer-go/docs/cli-output.schema.json", "title": "pdd CLI response envelope, version 1", "type": "object", "additionalProperties": false, diff --git a/docs/distribution.md b/docs/distribution.md index 039cec1..43ea166 100644 --- a/docs/distribution.md +++ b/docs/distribution.md @@ -1,10 +1,10 @@ # Install and reproduce a release -Versioned binaries and checksums are published on [GitHub Releases](https://github.com/cruskell/pdd-kit-go/releases). +Versioned binaries and checksums are published on [GitHub Releases](https://github.com/cruskell/proofsteer-go/releases). Go users can install the tagged CLI directly: ```sh -go install github.com/cruskell/pdd-kit-go/cmd/pdd@v0.4.0 +go install github.com/cruskell/proofsteer-go/cmd/pdd@v0.4.0 pdd --version ``` diff --git a/docs/first-project.md b/docs/first-project.md index edd9ac2..0594bdf 100644 --- a/docs/first-project.md +++ b/docs/first-project.md @@ -82,7 +82,7 @@ A GitHub Actions job can run these steps after checkout and Go setup: ```yaml - name: Install PDD - run: go install github.com/cruskell/pdd-kit-go/cmd/pdd@v0.4.0 + run: go install github.com/cruskell/proofsteer-go/cmd/pdd@v0.4.0 - name: Verify reviewed inventory policy run: | pdd import-approval --from .pdd/reviewed-inventory.json diff --git a/docs/production-readiness.md b/docs/production-readiness.md index 426cd5f..b452f90 100644 --- a/docs/production-readiness.md +++ b/docs/production-readiness.md @@ -43,7 +43,7 @@ that team's workflow. No finite demo run can establish long-term operating histo or universal support for arbitrary Go applications. Unsupported proof inputs must continue to fail explicitly rather than being passed off as verified libraries. -Observed native qualification: [Check run 44099596974](https://github.com/cruskell/pdd-kit-go/actions/runs/44099596974) +Observed native qualification: [Check run 44099596974](https://github.com/cruskell/proofsteer-go/actions/runs/44099596974) passed Linux, macOS and Windows race/CLI/process tests, real verifier integrations and the signed-authority job. The current authenticated gate covers both the permission-aware slice core and the HTTP wallet with three repeated proofs per diff --git a/examples/authorization/handler/handler.go b/examples/authorization/handler/handler.go index 0221f0a..aa39536 100644 --- a/examples/authorization/handler/handler.go +++ b/examples/authorization/handler/handler.go @@ -1,6 +1,6 @@ package handler -import "github.com/cruskell/pdd-kit-go/examples/authorization/policy" +import "github.com/cruskell/proofsteer-go/examples/authorization/policy" // @ ensures result == (enabled && age >= minimum && !locked) func Authorize(enabled bool, minimum, age int, locked bool) (result bool) { diff --git a/examples/authorization/handler/handler_test.go b/examples/authorization/handler/handler_test.go index f8c3fe2..cf1b535 100644 --- a/examples/authorization/handler/handler_test.go +++ b/examples/authorization/handler/handler_test.go @@ -1,7 +1,7 @@ package handler import ( - "github.com/cruskell/pdd-kit-go/examples/authorization/policy" + "github.com/cruskell/proofsteer-go/examples/authorization/policy" "testing" ) diff --git a/examples/httpwallet/app/handler.go b/examples/httpwallet/app/handler.go index b9f6605..ff42cbd 100644 --- a/examples/httpwallet/app/handler.go +++ b/examples/httpwallet/app/handler.go @@ -8,7 +8,7 @@ import ( "strings" "sync" - "github.com/cruskell/pdd-kit-go/examples/httpwallet/policy" + "github.com/cruskell/proofsteer-go/examples/httpwallet/policy" ) type Session struct { diff --git a/examples/httpwallet/app/handler_test.go b/examples/httpwallet/app/handler_test.go index b44810f..d186e50 100644 --- a/examples/httpwallet/app/handler_test.go +++ b/examples/httpwallet/app/handler_test.go @@ -10,7 +10,7 @@ import ( "sync/atomic" "testing" - "github.com/cruskell/pdd-kit-go/examples/httpwallet/app" + "github.com/cruskell/proofsteer-go/examples/httpwallet/app" ) func configured() *app.Handler { diff --git a/examples/httpwallet/cmd/wallet/main.go b/examples/httpwallet/cmd/wallet/main.go index ddda50b..d59d744 100644 --- a/examples/httpwallet/cmd/wallet/main.go +++ b/examples/httpwallet/cmd/wallet/main.go @@ -13,7 +13,7 @@ import ( "syscall" "time" - "github.com/cruskell/pdd-kit-go/examples/httpwallet/app" + "github.com/cruskell/proofsteer-go/examples/httpwallet/app" ) //go:embed wallet.html diff --git a/go.mod b/go.mod index 96321e6..e695e41 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ -module github.com/cruskell/pdd-kit-go +module github.com/cruskell/proofsteer-go go 1.20 diff --git a/internal/cli/cli.go b/internal/cli/cli.go index 1b68804..d11311c 100644 --- a/internal/cli/cli.go +++ b/internal/cli/cli.go @@ -14,10 +14,10 @@ import ( "syscall" "time" - "github.com/cruskell/pdd-kit-go/internal/pdd" + "github.com/cruskell/proofsteer-go/internal/pdd" ) -const help = `pdd — Proof-Driven Development for Go +const help = `ProofSteer — Proof-Driven Development for Go Usage: pdd [--cwd DIR] [--plan NAME] [--json] [options] diff --git a/internal/cli/demo.go b/internal/cli/demo.go index 2a313b6..428c2b8 100644 --- a/internal/cli/demo.go +++ b/internal/cli/demo.go @@ -7,8 +7,8 @@ import ( "os" "path/filepath" - pddkit "github.com/cruskell/pdd-kit-go" - "github.com/cruskell/pdd-kit-go/internal/pdd" + proofsteer "github.com/cruskell/proofsteer-go" + "github.com/cruskell/proofsteer-go/internal/pdd" ) type demoResult struct { @@ -26,7 +26,7 @@ func runDemo(ctx context.Context, printer output, destination string, options pd if err := os.Mkdir(destination, 0755); err != nil { return fail(fmt.Errorf("create a new demo directory: %w", err)) } - files := pddkit.DemoFiles() + files := proofsteer.DemoFiles() if err := fs.WalkDir(files, ".", func(name string, entry fs.DirEntry, err error) error { if err != nil || entry.IsDir() { return err diff --git a/internal/cli/review.go b/internal/cli/review.go index 5478bad..c6e4bb9 100644 --- a/internal/cli/review.go +++ b/internal/cli/review.go @@ -6,7 +6,7 @@ import ( "io" "strings" - "github.com/cruskell/pdd-kit-go/internal/pdd" + "github.com/cruskell/proofsteer-go/internal/pdd" ) func renderReview(out io.Writer, report pdd.ReviewReport, diff bool) { diff --git a/internal/cli/workflow.go b/internal/cli/workflow.go index 781639d..7b4a8ff 100644 --- a/internal/cli/workflow.go +++ b/internal/cli/workflow.go @@ -14,7 +14,7 @@ import ( "syscall" "time" - "github.com/cruskell/pdd-kit-go/internal/pdd" + "github.com/cruskell/proofsteer-go/internal/pdd" ) func workflowCommand(c string) bool { diff --git a/internal/pdd/dashboard.html b/internal/pdd/dashboard.html index 38a33c4..9a608c5 100644 --- a/internal/pdd/dashboard.html +++ b/internal/pdd/dashboard.html @@ -3,7 +3,7 @@ -{{.Draft.Plan.Name}} · PDD review +{{.Draft.Plan.Name}} · ProofSteer