Skip to content

Claude/fix failing tests 10 y fs#1

Merged
chinmaymk merged 4 commits intomainfrom
claude/fix-failing-tests-10YFs
Mar 4, 2026
Merged

Claude/fix failing tests 10 y fs#1
chinmaymk merged 4 commits intomainfrom
claude/fix-failing-tests-10YFs

Conversation

@chinmaymk
Copy link
Copy Markdown
Owner

No description provided.

claude added 4 commits March 4, 2026 17:32
- MCP client test: write temp server script inside project root so Bun
  can resolve node_modules, and add env/cwd passthrough to StdioClientTransport
- Go skill runner test: increase timeout from 5s to 30s for CI environments
  where go compilation is slower

https://claude.ai/code/session_01P4uwywxub339LH15Y2wKVL
The Go test timeout was a symptom of missing node_modules, not actual
compilation overhead. go run completes in under 1s locally.

https://claude.ai/code/session_01P4uwywxub339LH15Y2wKVL
The Go test was reverted thinking it was a node_modules issue, but
go run compiles from scratch on CI (no build cache), which genuinely
exceeds the default 5s bun test timeout. Set per-test timeout to 15s.

https://claude.ai/code/session_01P4uwywxub339LH15Y2wKVL
@chinmaymk chinmaymk merged commit 036f1fd into main Mar 4, 2026
1 check passed
@chinmaymk chinmaymk deleted the claude/fix-failing-tests-10YFs branch March 4, 2026 21:49
chinmaymk pushed a commit that referenced this pull request Mar 21, 2026
…Prompt

- Detailed Edit tool guidance: read first, exact matching, uniqueness,
  multi-line blocks — addresses the #1 source of editing failures
- Edit vs Write decision guidance
- Environment discovery instructions: read package.json, check git status,
  find configs on first interaction (replaces deleted detect-environment script)

https://claude.ai/code/session_015S8JmSrsFZk4hYdNgeZF5h
chinmaymk added a commit that referenced this pull request Mar 21, 2026
* feat: add ra-claude-code recipe — coding agent with Claude Code system prompt principles

Distills Claude Code's 110+ conditional prompt components into 6 focused skills:
- claude-code-agent: core behavior (read-before-write, safety, tool discipline, output style)
- context-engineer: project context discovery (CLAUDE.md, AGENTS.md, conventions)
- planner: task decomposition for complex multi-step work
- debugger: systematic reproduce → isolate → fix → verify workflow
- git-workflow: safe git ops (new commits, explicit staging, no force push)
- code-style: correctness → security → simplicity → readability

Includes environment detection script, token budget middleware, security checklist
reference, and auto-compaction at 80% context threshold.

https://claude.ai/code/session_015S8JmSrsFZk4hYdNgeZF5h

* fix: convert detect-environment script from bash to TypeScript for Windows compatibility

https://claude.ai/code/session_015S8JmSrsFZk4hYdNgeZF5h

* feat: add 6 new skills, context discovery, compaction prompt, and memory to ra-claude-code

New skills:
- auto-mode: execute immediately, don't over-ask, data exfiltration prevention
- verify: type-check → lint → test → build after every change
- quick-commit: Claude Code's exact git commit protocol (parallel assess, HEREDOC, stage-by-name)
- quick-pr: PR creation with full branch analysis and gh pr create
- explore-delegate: when/how to spawn subagents for codebase exploration
- stuck-recovery: detect loops, challenge assumptions, force strategy changes

New activation script:
- context-engineer/scripts/discover-context.ts: walks cwd → git root, finds and
  injects CLAUDE.md/AGENTS.md/.cursorrules content at session start

Config changes:
- Custom compaction prompt preserving file paths, decisions, git state, task progress
- Memory persistence enabled
- All 12 skills registered

https://claude.ai/code/session_015S8JmSrsFZk4hYdNgeZF5h

* refactor: move core behavior to systemPrompt, remove redundant skills, tune descriptions

- Remove context-engineer skill (ra handles context discovery OOTB)
- Remove claude-code-agent and auto-mode skills — merged into systemPrompt
  so core behavior is always active without needing skill activation
- Remove app.skills from config (no longer supported)
- All 9 remaining skills are on-demand via skillDirs discovery
- Rewrite all skill descriptions as trigger-based ("Use when...")
  so the model knows exactly when to activate each skill
- Update README to reflect new architecture

https://claude.ai/code/session_015S8JmSrsFZk4hYdNgeZF5h

* feat: add file editing guardrails and environment discovery to systemPrompt

- Detailed Edit tool guidance: read first, exact matching, uniqueness,
  multi-line blocks — addresses the #1 source of editing failures
- Edit vs Write decision guidance
- Environment discovery instructions: read package.json, check git status,
  find configs on first interaction (replaces deleted detect-environment script)

https://claude.ai/code/session_015S8JmSrsFZk4hYdNgeZF5h

* docs: rewrite ra-claude-code README for clarity

Punchy, scannable format. Leads with what the agent does,
not how it's built. Covers editing reliability, environment
discovery, and project rule auto-detection.

https://claude.ai/code/session_015S8JmSrsFZk4hYdNgeZF5h

* feat: rename planner→plan skill with approval gate, add todo skill

- Renamed `planner` to `plan` so users can invoke it as `/plan`
- Plan mode now saves to scratchpad and blocks implementation until
  user explicitly approves
- New `todo` skill tracks a checklist in the scratchpad, survives
  context compaction

https://claude.ai/code/session_015S8JmSrsFZk4hYdNgeZF5h

* Rewrite todo skill to use per-task scratchpad keys

Each task gets its own scratchpad entry (todo#1, todo#2, etc.) instead
of a single key holding the full list. This makes updates atomic —
completing or removing one task no longer requires rewriting the entire
list, eliminating the risk of dropping items during read-modify-write.

Also adds instruction to always show the list to the user after updates.

https://claude.ai/code/session_015S8JmSrsFZk4hYdNgeZF5h

---------

Co-authored-by: Claude <noreply@anthropic.com>
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