scaffold: Phase 0 TDD + governance + ralph + CI#4
Merged
Conversation
Creates 5 TypeScript test files under src/test/ matching the test:llm, test:core, test:read, test:write-edit, test:ls-grep-glob scripts in package.json. Each stub uses node:test (stdlib, no new dep) with a single passing assertion and TODO comment for Phase 1 TDD work. Unblocks the package.json test scripts which previously referenced non-existent dist-test files. Co-Authored-By: Claude <noreply@anthropic.com>
Declares TS/VS Code extension stack, AGPLv3+Enterprise license awareness, TDD enforcement ref, and AGENTS.md cross-reference. Co-Authored-By: Claude <noreply@anthropic.com>
Scopes architect / developer / reviewer mandates for team-mode sessions. Hand-off rules keep cross-role changes explicit. Co-Authored-By: Claude <noreply@anthropic.com>
Strict Red-Green-Refactor for TypeScript contributions. One feature per cycle, no impl without failing test, validate before push. Phase 0 scaffold exempt (this PR). Co-Authored-By: Claude <noreply@anthropic.com>
- validate: full gate (typecheck + lint + compile + test) - validate_quick: fast gate (typecheck + lint) - ralph_run: TDD loop dispatcher - ralph_run_worktree: isolated worktree variant - help: auto-generated recipe list Co-Authored-By: Claude <noreply@anthropic.com>
Matches the qte77/claude-code-plugins marketplace repo pattern: - Copy 3 common rules from cc-plugins/.claude/rules/: compound-learning.md, context-management.md, core-principles.md (keeps Superdesign-specific tdd-enforcement.md as additional local rule) - Add .claude/settings.json with attribution block and 8 enabled plugins from qte77-claude-code-plugins marketplace: planning, commit-helper, tdd-core, typescript-dev, makefile-core, docs-governance, cc-meta, workspace-setup (TypeScript + TDD focus; omits Python-centric plugins) - .gitignore: carve out .claude/settings.json and .claude/rules/ from runtime artifacts (mirrors polyforge pattern) Unblocks future CC subagent work — target repo now has explicit allow/enabled policies instead of falling back to restrictive globals. Co-Authored-By: Claude <noreply@anthropic.com>
Adds qte77/ralph-loop-cc-tdd-wt-vibe-kanban-template as ralph/ submodule. Enables make ralph_run / ralph_run_worktree targets for automated TDD sprint execution. Co-Authored-By: Claude <noreply@anthropic.com>
Pins ralph model selection (opus default, sonnet for simple/fix), iteration limits, validation timeout, and TS-specific worktree symlinks (node_modules) for ralph_run_worktree target. Co-Authored-By: Claude <noreply@anthropic.com>
Runs typecheck + lint + compile + test suite on push/PR. Executes each node:test file individually for clean GitHub Actions grouping. Submodules checked out recursively for ralph/. Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Superdesign Phase 0 scaffold — establishes governance, TDD infrastructure, ralph submodule, and CI.
Commits (topic-scoped)
src/test/*.test.tsfiles usingnode:teststdlib, matchingpackage.jsontest:* scriptsqte77/claude-code-plugins+ settings.json with 8 enabled plugins (planning, commit-helper, tdd-core, typescript-dev, makefile-core, docs-governance, cc-meta, workspace-setup)qte77/ralph-loop-cc-tdd-wt-vibe-kanban-templateLicense
All new source files carry
// SPDX-License-Identifier: AGPL-3.0header. No changes to existing src/.Verified locally
npm cisucceedsnpm run compilepasses (typecheck + lint + esbuild)Closes
Generated with Claude noreply@anthropic.com