Skip to content

chore: prepare repo for public-readiness audit#217

Merged
Mlaz-code merged 4 commits into
mainfrom
chore/public-readiness-cleanup
May 7, 2026
Merged

chore: prepare repo for public-readiness audit#217
Mlaz-code merged 4 commits into
mainfrom
chore/public-readiness-cleanup

Conversation

@Mlaz-code
Copy link
Copy Markdown
Collaborator

Summary

Public-readiness pass found in this session's audit. Companion to the earlier history-rewrite commit (cb92c7b) that already scrubbed the leaked sk_live_* token.

Changes

Removed (internal artifacts not appropriate for a public repo):

  • INFRASTRUCTURE_TIER_ANALYSIS.md, pricing-update.md, TEST_REPORT.md, test-results.json, test-api.sh — internal tier-audit docs and test fixtures with stale numbers and references to upstream service internals (OddsJam proxy, internal Redis schema).
  • .claude/agents/doc-sync.md, .claude/agents/openapi-validator.md — stale (pointed at the archived TS API at /root/sharp-api) and disclosed dev-server filesystem layout + the staging hostname api.sharpapi.dev.
  • package-lock.json — npm lockfile coexisting with pnpm-lock.yaml; project uses pnpm.

Added:

  • LICENSE — proprietary / all-rights-reserved (matches the existing OpenAPI spec license declaration).
  • SECURITY.md — vulnerability disclosure address and scope.
  • CONTRIBUTING.md — local-dev steps, PR guidelines, style notes.

Updated:

  • README.md — replaced stale "Pricing Page Update COMPLETED" changelog with a real overview, build/dev commands, and project layout.
  • .gitignore — explicit ignores for .env, .local/, .worktrees/, ~/ so dev-box artifacts don't get committed.
  • cliff.toml — repo owner was sharpapi (no such org); fixed to Mlaz-code.
  • app/[lang]/layout.tsx + styles/globals.css — extract inline styles to CSS classes, add multi-link footer (Home / Pricing / Status / GitHub), soften navbar CTA, light typography polish on tables and code.

Test plan

  • pnpm typecheck passes
  • Vercel preview deploy looks correct (auto on dev branch — this PR targets main, will be validated by the Deploy Production workflow's validate stage on PR push)
  • Visual sanity check on the preview URL once it lands
  • Re-run gitleaks/trufflehog after merge to confirm no new findings

Notes for the reviewer

  • A separate audit pass earlier in this session also flagged 17 commits authored by root@api-dev.hs.chocopancake.com / root@api-dev.local — that's a separate clean-up if you want to remove the internal hostname from author metadata. This PR only sets the local git config user.email to your GitHub noreply for future commits; rewriting historical author emails would be a separate destructive op.
  • public/openapi.json had a working-tree timestamp drift (build-stamp output) that I deliberately did not include in this PR — it'll be regenerated naturally on the next CI build.

🤖 Generated with Claude Code

Mlaz-code and others added 3 commits May 7, 2026 12:33
Subdomain provisioned 2026-05-06 (sharp-api-go #340). Recommend
`https://mcp.sharpapi.io/mcp` as the canonical setup URL across the
Claude Desktop / Claude Code / generic-MCP-client tabs and the callout
banner. `https://api.sharpapi.io/mcp` continues to serve indefinitely
as a legacy alias — no breaking change for existing users.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
test-api.sh now reads the API key from $SHARPAPI_API_KEY at runtime
instead of containing a hardcoded value. TEST_REPORT.md now shows
[redacted] in the metadata block.

This is paired with a history rewrite that removed the previously
committed key from every commit in the repo.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Clean up internal cruft, add standard public-repo files, and tighten
the docs site theme.

Removed (internal artifacts not appropriate for a public repo):
- INFRASTRUCTURE_TIER_ANALYSIS.md, pricing-update.md, TEST_REPORT.md,
  test-results.json, test-api.sh — internal tier-audit docs and test
  fixtures that referenced upstream service internals.
- .claude/agents/{doc-sync,openapi-validator}.md — stale (targeted the
  archived TS API) and disclosed dev-server filesystem layout +
  staging hostname.
- package-lock.json — npm lockfile coexisting with pnpm-lock.yaml; the
  project uses pnpm.

Added:
- LICENSE — proprietary / all-rights-reserved.
- SECURITY.md — vulnerability disclosure address and scope.
- CONTRIBUTING.md — local-dev steps, PR guidelines, style notes.

Updated:
- README.md — replaced stale "Pricing Page Update COMPLETED" changelog
  with a real overview, build/dev commands, and project layout.
- .gitignore — explicit ignores for .env, .local/, .worktrees/, ~/.
- cliff.toml — repo owner was wrong (sharpapi -> Mlaz-code).
- app/[lang]/layout.tsx + styles/globals.css — extract inline styles
  to CSS classes, polish footer with link grid, soften navbar CTA.
@vercel
Copy link
Copy Markdown

vercel Bot commented May 7, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
docs.sharpapi.io Ignored Ignored Preview May 7, 2026 1:59pm

Request Review

…files

Adds entries for:
- OS clutter: macOS (.DS_Store, .Spotlight-V100), Windows (Thumbs.db, Desktop.ini)
- Editors: .idea/, .vscode/* (with allow-list for shared settings/extensions),
  swap files, fleet, zed
- Caches: .turbo, .swc, .eslintcache, .stylelintcache, next-env.d.ts.local
- Test/coverage: coverage/, *.lcov, .nyc_output/
- Logs: pnpm-debug.log* and friends
- Alt lockfiles: package-lock.json, yarn.lock, bun.lockb (project uses pnpm)
- Cert/key files: *.pem, *.key, *.crt, *.p12, *.pfx
- More Claude / agent paths: memory/, projects/, settings.local.json, local/
- Misc: .sentryclirc, .envrc, *.pid, *.bak/orig/rej/tmp, .tdev/

Verified that no currently-tracked files are now matched.
@Mlaz-code Mlaz-code force-pushed the chore/public-readiness-cleanup branch from 278bc13 to aa35ca2 Compare May 7, 2026 13:59
@Mlaz-code Mlaz-code merged commit a51be50 into main May 7, 2026
2 checks passed
@Mlaz-code Mlaz-code deleted the chore/public-readiness-cleanup branch May 7, 2026 14:01
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