Skip to content

Remove demo seed data and harden API auth#605

Merged
rogerchappel merged 20 commits into
mainfrom
codex/remove-demo-seed-auth-hardening
May 28, 2026
Merged

Remove demo seed data and harden API auth#605
rogerchappel merged 20 commits into
mainfrom
codex/remove-demo-seed-auth-hardening

Conversation

@rogerchappel
Copy link
Copy Markdown
Owner

Summary

  • Remove seeded demo company, agents, tasks, projects, docs, activity log, and org chart data; seed only the built-in startup blueprint.
  • Convert e2e coverage away from seed assumptions by creating explicit fixtures.
  • Require session/runtime auth across app-data, runtime, skill, schedule, cron, OpenClaw status, and agent runtime APIs; keep only auth bootstrap, invite validation, health, and GitHub webhook public.
  • Update API auth guidance for contributors and CrewCmd skill consumers.

Verification

  • pnpm typecheck
  • pnpm test
  • pnpm lint:check (passes with existing warnings)
  • pnpm build (passes with existing middleware/Turbopack trace warnings)
  • git diff --check
  • rm -rf .data/e2e-pglite test-results && CREWCMD_PGLITE_DATA_DIR=.data/e2e-pglite pnpm db:seed && CREWCMD_PGLITE_DATA_DIR=.data/e2e-pglite pnpm test:e2e
  • rm -rf .data/e2e-seed-check && CREWCMD_PGLITE_DATA_DIR=.data/e2e-seed-check pnpm db:seed && CREWCMD_PGLITE_DATA_DIR=.data/e2e-seed-check pnpm db:seed

Notes

  • Auth hardening changes are intentionally broad for production readiness; each commit stays within the three-file gate.
  • Manual review should focus on logged-in dashboard flows and any external integrations that previously depended on public GET endpoints.

@rogerchappel rogerchappel marked this pull request as ready for review May 28, 2026 23:51
@rogerchappel rogerchappel merged commit cae5c63 into main May 28, 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