From 95bbb128647e04d426821bf998286c64374f5ab3 Mon Sep 17 00:00:00 2001 From: fullstackjam Date: Tue, 17 Nov 2026 22:38:52 +0800 Subject: [PATCH] chore: migrate agent configuration to Codex --- .claude/skills/ship-pr/SKILL.md | 1 - .gitignore | 5 ----- AGENTS.md | 5 ----- CLAUDE.md | 3 --- docs/HARNESS.md | 13 ++++++------- 5 files changed, 6 insertions(+), 21 deletions(-) delete mode 120000 .claude/skills/ship-pr/SKILL.md delete mode 100644 CLAUDE.md diff --git a/.claude/skills/ship-pr/SKILL.md b/.claude/skills/ship-pr/SKILL.md deleted file mode 120000 index 44f0db4..0000000 --- a/.claude/skills/ship-pr/SKILL.md +++ /dev/null @@ -1 +0,0 @@ -../../../.agents/skills/ship-pr/SKILL.md \ No newline at end of file diff --git a/.gitignore b/.gitignore index 855fd0b..9e0b6ee 100644 --- a/.gitignore +++ b/.gitignore @@ -24,11 +24,6 @@ coverage/ # Vite vite.config.js.timestamp-* vite.config.ts.timestamp-* -# .claude/ contains the committed skill aliases plus per-user noise -# (transcripts, local overrides). Ignore everything except shared skills. -.claude/* -!.claude/skills/ -.claude/settings.local.json .dev.vars # Playwright MCP scratch artifacts diff --git a/AGENTS.md b/AGENTS.md index fc3f937..e3eb0ce 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -6,12 +6,7 @@ project knowledge here rather than in tool-specific configuration. ## Agent compatibility - Codex loads this `AGENTS.md` directly. -- Claude Code loads [CLAUDE.md](CLAUDE.md), which imports this file with - `@AGENTS.md`. - Canonical project skills live in [`.agents/skills/`](.agents/skills/). - [`.claude/skills/`](.claude/skills/) contains relative `SKILL.md` symlinks so - Claude Code and agents that follow the open Agent Skills layout use the same - instructions. - Quality enforcement is agent-independent: use the Git hooks, `npm run validate`, and CI. Do not add tool-specific lifecycle hooks for checks that belong in those shared gates. diff --git a/CLAUDE.md b/CLAUDE.md deleted file mode 100644 index f6aa6c0..0000000 --- a/CLAUDE.md +++ /dev/null @@ -1,3 +0,0 @@ -# CLAUDE.md - -@AGENTS.md diff --git a/docs/HARNESS.md b/docs/HARNESS.md index fd61f3d..129943d 100644 --- a/docs/HARNESS.md +++ b/docs/HARNESS.md @@ -22,8 +22,8 @@ Two execution flavors: - **Computational** — deterministic, fast, free: `eslint`, `svelte-check`, `vitest`, `src/archtest/*`. Run during local verification and in CI. -- **Inferential** — non-deterministic, slower, paid: AI code review, - `/security-review`, `/ultrareview`. Run on integration boundaries. +- **Inferential** — non-deterministic, slower, paid: AI code review + and security review. Run on integration boundaries. Three regulation categories: @@ -50,8 +50,8 @@ Three regulation categories: | Behav. | Contract schema validation against `openboot-contract` | CI `check` job + post-deploy | `.github/workflows/ci.yml`, `.github/workflows/deploy.yml` | | Behav. | Post-deploy health check (`/api/health`) | CD `deploy` job | `.github/workflows/deploy.yml` | | Behav. | Post-deploy smoke test + contract round-trip | CD `deploy` job | `scripts/smoke-test-api.sh` | -| Feedfwd. | Shared agent conventions | Codex loads directly; Claude imports with `@AGENTS.md` | `AGENTS.md`, `CLAUDE.md` | -| Feedfwd. | `ship-pr` skill — push → CI → review → triage → squash → cleanup; **no `--auto`** | model-loaded | `.agents/skills/ship-pr/SKILL.md` (`.claude/skills/ship-pr/SKILL.md` is a symlink) | +| Feedfwd. | Shared agent conventions | Codex loads directly | `AGENTS.md` (canonical) | +| Feedfwd. | `ship-pr` skill — push → CI → review → triage → squash → cleanup; **no `--auto`** | model-loaded | `.agents/skills/ship-pr/SKILL.md` | | Maint. | `eslint` on staged diff + `prettier --check` | local git pre-commit | `scripts/hooks/pre-commit` | | Behav. | `npm run validate` (lint + check + test + build) | local git pre-push | `scripts/hooks/pre-push` | | Drift loop | Failed harness sensor → open/update GitHub issue | on main / nightly | `.github/workflows/drift-to-issue.yml` | @@ -99,9 +99,8 @@ ideally one rule per PR so the diff is reviewable: test-shaped code without raising actual quality. - **No husky / lint-staged.** `scripts/hooks/` symlinked via `npm run install:hooks` does the same job in ~30 lines, no runtime dep. -- **No agent-specific lifecycle hooks.** Codex, Claude Code, and other tools - have different hook protocols. Shared Git hooks and CI enforce the same - checks for every contributor and agent. +- **No agent-specific lifecycle hooks.** Shared Git hooks and CI enforce + the same checks for every contributor and agent. - **No baseline file for archtest rules.** Repo is small enough to clean up violations directly when a new rule is added. - **No agent-driven direct changes to `main`.** All changes go through PR