Commit Graph

26 Commits

Author SHA1 Message Date
jarvis 7d6aecb469 ci: isolate Miniflare test projects 2026-09-02 10:10:39 -04:00
jarvis eddc2e331f ci: stabilize and parallelize integration tests 2026-09-02 10:04:31 -04:00
jarvis 37ddfb4cb8 ci: shard tests across parallel runners
Run the long Toolbox HTTP suite, remaining HTTP integration tests, and all other projects on independent GitHub runners while keeping quality checks parallel.
2026-09-02 07:53:12 -04:00
jarvis a2fa54a729 feat!: rebuild Agent Kanban for Realmroot Toolbox
Replace the v1 Agent/Machine runtime and CLI architecture with the v2 Resource Server, AMA-backed projections, task lifecycle, session observation, BDD specifications, and a single-package layered codebase.

BREAKING CHANGE: remove the v1 CLI, internal Agent/Machine runtime entities, workspace layout, and legacy runtime coordination APIs.
2026-09-02 00:17:52 -04:00
saltbo 4a0fdeb4c2 fix(ci): pin native Windows build to VS 2022 2026-07-17 01:46:11 -04:00
saltbo a989f3625c feat(cli): add Windows runtime support
Bundle a pure C Node-API process ancestry addon, support Windows runner installation and executable discovery, and make runner lifecycle and logs cross-platform.\n\nAdd Windows CI and release packaging for the native addon.\n\nCloses #210
2026-07-17 01:39:16 -04:00
saltbo 50810779a6 revert(ops): remove killswitch in favor of account-level monitor
Moved to saltbo/saltbo repo where it now watches the whole CF account
(agent-kanban + other workers) and attributes trips to a specific
scriptName / databaseId. Keeping a duplicate here would double-alert.
2026-04-19 16:05:29 -04:00
saltbo 602d1535d1 feat(ops): add Cloudflare cost killswitch
Polls CF GraphQL Analytics every 10 minutes. Opens a GitHub issue
when daily usage crosses configurable thresholds for Worker
requests, D1 row reads, DO requests, or DO active duration.

Script exits 0 (ok) / 1 (tripped) / 2 (query failure). The optional
auto-disable step only fires on exit=1, so query failures can never
take the site offline on their own.
2026-04-19 15:41:16 -04:00
saltbo c05e9ca3b4 fix(ci): rename release workflow to deploy.yml for npm trusted publishing 2026-04-13 14:04:18 -04:00
saltbo 9f0f3eb2aa refactor(ci): split CI and release into separate workflows 2026-04-13 13:55:59 -04:00
saltbo 23c9a64fa5 fix(ci): add registry-url for npm OIDC publish 2026-04-13 13:50:27 -04:00
saltbo c9e9339ec8 refactor: migrate from Pages+Functions to Cloudflare Worker
Unify the app into a single Worker deployment:
- Move functions/api/ → server/, add worker/index.ts entry point
- Merge relay-worker DO (TunnelRelay) into the main worker
- Replace Pages Functions with @cloudflare/vite-plugin build
- Integrate share SSR (OG meta injection) into Hono routes
- Remove dayjs dep from shared (native Date suffices)
- Simplify dev to single `vite dev`, deploy via CF Git integration
- Delete packages/relay-worker/ and Pages-specific _routes.json
2026-04-13 07:58:39 -04:00
saltbo 8fa37cda12 ci: use sqlite DO migration and pin npm to 11.5.2 for OIDC publish 2026-04-07 19:52:26 -04:00
saltbo d3b22726b4 ci: deploy relay worker before pages and drop broken npm upgrade 2026-04-07 19:43:17 -04:00
saltbo 17f98f074c ci: add GitHub Release with auto-generated changelog from conventional commits
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-25 16:48:57 -04:00
saltbo c9f3193daf chore: rename default branch from master to main
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 23:46:01 -04:00
saltbo 5dbfd0316c fix(ci): allow same version in npm version step
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 17:21:34 -04:00
saltbo b285b60ad6 ci: add GitHub Actions CI with test coverage and badge
- Add CI workflow: build, type check, test with coverage on PRs and master
- Configure vitest coverage (v8 provider) scoped to source directories
- PR coverage report via vitest-coverage-report-action
- Coverage badge via GitHub Pages (no external services needed)
- Update CLAUDE.md with post-write workflow and testing conventions

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 15:46:45 -04:00
saltbo b5f69f45a4 feat: add built-in agent templates with role-based skills and CI index generation
Seven agent templates (feature-planner, designer, frontend/backend/fullstack-developer,
quality-goalkeeper, enduser) with curated skills from verified sources (obra/superpowers,
pbakaus/impeccable, vercel-labs, Jeffallan, trailofbits). Each template defines role,
handoff_to chain, model, and soul. CI workflow auto-generates agents/index.json on push.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-22 22:43:57 -04:00
saltbo 887a91557a fix: use host/owner/repo for auto-clone path, fix CI production deploy
- Auto-clone directory uses full URL path (github.com/owner/repo) to avoid
  name collisions across hosts
- CI deploy uses --branch master to correctly target production environment

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-22 15:29:30 -04:00
saltbo b013d375c8 feat: multi-domain support, wrangler.toml vars for Pages Functions
- Add pages_build_output_dir so wrangler reads [vars] and d1_databases
- BETTER_AUTH_URL set to primary domain ak.tftt.cc
- TRUSTED_ORIGINS includes both ak.tftt.cc and pages.dev
- Preview env has separate config
- CI deploy drops --project-name, lets wrangler read config from wrangler.toml
- Remove root wrangler.jsonc that was hijacking config detection

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-22 11:18:16 -04:00
saltbo 1f1cb8a2a8 fix(ci): upgrade npm for OIDC Trusted Publishing, add repository field
Trusted Publishing requires npm >= 11.5.1 and repository in package.json.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-22 10:50:09 -04:00
saltbo 84ebdc9990 fix(ci): npm OIDC without NODE_AUTH_TOKEN, parallelize deploy+publish
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-22 10:47:34 -04:00
saltbo 3a03708778 fix(ci): clear NODE_AUTH_TOKEN for npm OIDC Trusted Publishing
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-22 10:45:18 -04:00
saltbo 379fd3e51f fix(ci): build shared types before lint
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-22 10:33:04 -04:00
saltbo 2579b57180 ci: add deploy workflow — Pages deploy + npm publish on tag
- push to master: lint, test, deploy to CF Pages (preview)
- push tag v*: lint, test, deploy to CF Pages (production), publish CLI to npm
- PR: lint and test only
- npm publish via OIDC Trusted Publishing (no token needed)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-22 10:31:09 -04:00