Skip to content

refactor: rename project from AgentGuard to KakoroGuard - #103

Merged
p3ris0n merged 1 commit into
mainfrom
refactor/rename-to-kakoroguard
Oct 27, 2026
Merged

p3ris0n merged 1 commit into
mainfrom
refactor/rename-to-kakoroguard

Conversation

@p3ris0n

@p3ris0n p3ris0n commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

refactor: Rename project from AgentGuard to KakoroGuard

Description

This PR executes a global, zero-defect refactor renaming all codebase references, directory paths, file names, environment variables, documentation, and casing variations from AgentGuard to KakoroGuard.

Summary of Changes

1. Smart Contracts (contracts/kakoro_guard)

  • Renamed crate folder from contracts/agent_guard to contracts/kakoro_guard.
  • Updated contracts/kakoro_guard/Cargo.toml package name to kakoro-guard.
  • Updated all contract structs, error definitions, event emitters, doc comments, and snapshot tests in lib.rs, contract.rs, errors.rs, events.rs, storage.rs, test.rs, and types.rs.
  • Renamed snapshot JSON files to reflect kakoro_guard.

2. Python SDK (kakoroguard-py)

  • Renamed root directory and package directory to kakoroguard-py/kakoroguard/.
  • Updated package metadata in pyproject.toml to kakoroguard.
  • Renamed base error class to KakoroGuardError with corresponding subclass updates.
  • Updated HTTP authorization scheme headers to KakoroGuard key="...",ts="...",sig="...".
  • Updated all test suites and documentation in kakoroguard-py/README.md.

3. TypeScript / Node SDK (kakoroguard-js)

  • Renamed directory from agentguard-js to kakoroguard-js.
  • Updated package name in package.json to @kakoroguard/sdk.
  • Updated client and verifier classes to KakoroGuardVerifier, KakoroGuardContractClient, and KakoroGuardError.
  • Updated authorization middleware and cross-SDK test fixtures.
  • Re-built ESM and CJS distributions in kakoroguard-js/dist/.

4. Legacy SDK & Dashboard

  • Renamed sdk/src/agent-guard-client.ts to sdk/src/kakoro-guard-client.ts and updated sdk/package.json.
  • Updated dashboard branding, package configuration, and UI copy across dashboard/src/components/Shell.tsx, dashboard/src/pages/Landing.tsx, and dashboard/src/pages/Integrate.tsx.

5. Tooling, Scripts & Documentation

  • Updated build and deployment bash scripts in scripts/.
  • Updated docs/ARCHITECTURE.md, docs/DEPLOYMENT.md, .env.example, and root README.md.
  • Confirmed zero residual instances of agent.?guard across all tracked codebase files.

Verification & Test Results

  • Rust Contract Checks:
    • cargo check --target wasm32v1-none: PASSED
    • cargo check --tests: PASSED
    • cargo clippy --target wasm32v1-none: PASSED (0 warnings)
    • cargo fmt --all -- --check: PASSED
  • Python SDK:
    • python -m pytest: 29/29 tests PASSED
  • TypeScript SDK (kakoroguard-js):
    • npm run build: PASSED (ESM + CJS)
    • npm test: 54/54 tests PASSED (including cross-SDK Python/TS interop)
  • Legacy SDK & Dashboard:
    • npm run build in sdk: PASSED
    • npm run build in dashboard: PASSED

@p3ris0n
p3ris0n merged commit e15daf9 into main Oct 27, 2026
6 checks 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