Skip to content

docs: rename CLAUDE.md to AGENTS.md, follow ddev/ddev agent setup, remove OpenSpec and Spec Kitty - #230

Merged
rfay merged 2 commits into
mainfrom
claude/docs-agents-cleanup-fkdk35
Nov 5, 2026
Merged

rfay merged 2 commits into
mainfrom
claude/docs-agents-cleanup-fkdk35

Conversation

@rfay

@rfay rfay commented Nov 5, 2026

Copy link
Copy Markdown
Member

The Issue

  • CLAUDE.md held the contributor/agent guidance. AGENTS.md was only an OpenSpec-managed block. ddev/ddev now keeps a single AGENTS.md and has no CLAUDE.md.
  • OpenSpec and Spec Kitty are unused but still in the repo, and the workspace image still installs OpenSpec.

How This PR Solves The Issue

AGENTS.md

  • Moves the guidance from CLAUDE.md to AGENTS.md and deletes CLAUDE.md.
  • Links DDEV's organization-wide AGENTS.md; where the two differ, this file wins.
  • Uses ddev/ddev's Git workflow:
    • Commit locally and push only after approval, never to main, never with --force, --delete or --no-verify. This replaces "never push under any circumstances".
    • Branch naming and comparing against upstream/main.
    • Conventional Commits and the /ddev:commit skill.
  • Adds a committed .claude/settings.json. It asks before every git push and denies git push --no-verify and docker push.
  • README.md and docs/ now point to AGENTS.md.

OpenSpec removed

  • Deletes openspec/ and the OpenSpec workflows in .agent/workflows/.
  • ci-lock/template.tf and docs/admin/server-setup.md linked to openspec/changes/add-ci-staging-lock/design.md. The design doc's main point (why a git-ref lock was rejected) is now in the ci-lock/template.tf header comment.
  • image/Dockerfile no longer installs @fission-ai/openspec. TypeScript is still installed. This applies from the next image build; VERSION is unchanged.

Spec Kitty removed

  • Deletes:
    • .kittify/
    • kitty-specs/ (its one mission had all four work packages approved)
    • docs/admin/spec-kitty-workflow.md
    • .claudeignore
    • the .gitattributes merge driver
  • Removes the Spec Kitty block from .gitignore. That block also ignored all of .claude/ and about a dozen other tools' agent folders. .gitignore now ignores only personal Claude Code files: settings.local.json, CLAUDE.local.md and .claude/agent-memory-local/.

Manual Testing Instructions

  • grep -rIi 'openspec\|kitty' . (outside .git) finds nothing.
  • git check-ignore .claude/settings.json reports the file as not ignored.
  • I couldn't run terraform fmt -check -recursive, make validate or an image build: terraform and docker aren't installed on the runner. The only Terraform change is a comment in ci-lock/template.tf.

Automated Testing Overview

No new tests. CI's validate workflow covers the comment-only .tf change.

Release/Deployment Notes

The next image build drops OpenSpec from workspaces. Existing workspaces keep it until they move to a new image version.


Generated by Claude Code

…op OpenSpec

- Move the contributor guidance from CLAUDE.md to AGENTS.md, replacing the
  OpenSpec-managed AGENTS.md. Link DDEV's organization-wide AGENTS.md and
  adopt ddev/ddev's git workflow: commit locally, push only with approval,
  Conventional Commits, the /ddev:commit skill.
- Add a committed .claude/settings.json that asks before every git push and
  denies git push --no-verify and docker push. Un-ignore that one file and
  ignore settings.local.json and CLAUDE.local.md.
- Remove openspec/ and the .agent/ OpenSpec workflows, which are unused. Keep
  the one design point the ci-lock template referenced in its header comment.
- Point README.md and docs/ at AGENTS.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UrTUMychMpBAhoSgdEuKQZ
- Remove .kittify/, kitty-specs/, docs/admin/spec-kitty-workflow.md, and the
  Spec Kitty .claudeignore and .gitattributes merge driver. The one mission
  in kitty-specs/ had all four work packages approved.
- Drop the Spec Kitty block from .gitignore, which also ignored the agent
  config directories of a dozen other tools.
- Stop installing @fission-ai/openspec in the workspace image; TypeScript
  stays. Takes effect on the next image build.
- Fix the AGENTS.md claim that the startup script retries the npm install;
  no template does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UrTUMychMpBAhoSgdEuKQZ
@github-actions

github-actions Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
PR Preview Action v1.8.2
Preview removed because the pull request was closed.
2026-11-05 15:06 UTC

@rfay
rfay merged commit 14a39d2 into main Nov 5, 2026
18 checks passed
@rfay
rfay deleted the claude/docs-agents-cleanup-fkdk35 branch November 5, 2026 15:06
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.

2 participants