Skip to content

feat(self): self-adapter to dogfood the template (issue #11, Phase 1) - #23

Merged
robercano-ghbot merged 1 commit into
mainfrom
feat/issue-11-self-adapter
Jul 1, 2026
Merged

feat(self): self-adapter to dogfood the template (issue #11, Phase 1)#23
robercano-ghbot merged 1 commit into
mainfrom
feat/issue-11-self-adapter

Conversation

@robercano-ghbot

Copy link
Copy Markdown
Collaborator

What (issue #11, Phase 1 — self-adapter)

Lets this repo dogfood its own PR loop against its harness/docs without polluting the shipped placeholder .claude/gates.json (which must stay pristine for downstream adopters).

  • .claude/self/gates.json — real adapter for THIS repo: modules docs, harness.claude, examples, ci; node/bash-only gate commands.
  • .claude/self/checks.shbuild (JSON + adapter-shape validation), lint (bash -n scripts + node --check workflows), test (build+lint smoke). No external linters, so it runs in a bare environment.
  • .claude/scripts/gate.sh — non-breaking GATES_FILE env override (defaults to .claude/gates.json; relative paths resolve from repo root).
  • .claude/self/README.md — how to run gates/loop self-hosted + the restart-to-adopt promotion note.

Verified

GATES_FILE=.claude/self/gates.json gate.sh build → build: JSON configs valid + adapters well-shaped
GATES_FILE=.claude/self/gates.json gate.sh lint  → lint: shell + workflow syntax OK
GATES_FILE=.claude/self/gates.json gate.sh test  → test: harness smoke OK
gate.sh build (no GATES_FILE)                     → not configured — skipping   (unchanged default)

Not in this PR (next increment on #11)

Closes nothing yet; advances #11.

🤖 Generated with Claude Code

https://claude.ai/code/session_011HosUeuSvhetARboEfDW6K

…#11, Phase 1)

Lets this repo run its own PR loop against its harness/docs WITHOUT polluting the
shipped placeholder .claude/gates.json (which stays pristine for adopters).

- .claude/self/gates.json — real adapter for this repo: modules (docs, harness->.claude,
  examples, ci) + node/bash-only gate commands.
- .claude/self/checks.sh — build (JSON/adapter validation), lint (bash -n + node --check),
  test (build+lint smoke). No external linters, so it runs in a bare environment.
- .claude/scripts/gate.sh — non-breaking GATES_FILE env override (defaults to
  .claude/gates.json); relative paths resolve from repo root.
- .claude/self/README.md — how to run gates/loop self-hosted + the restart-to-adopt note.

Verified: `GATES_FILE=.claude/self/gates.json gate.sh build|lint|test` all pass; the
default (placeholder) path still skips as before.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011HosUeuSvhetARboEfDW6K
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