Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
ee42e4a
refactor(bugfix): convert commands to skills, add CLAUDE.md, clean up
jwm4 Feb 10, 2026
727b41a
feat(bugfix): add /pr command and skill for pull request creation
jwm4 Feb 10, 2026
92e0955
fix(bugfix): remove ambient.json reference from CLAUDE.md
jwm4 Feb 10, 2026
6b4aff8
feat(bugfix): add optional /review phase and improve /test reporting
jwm4 Feb 11, 2026
d858c91
fix(bugfix): add phase transition pauses, improve PR skill fork handling
jwm4 Feb 12, 2026
b05f55e
fix(bugfix): force agent to read skill files instead of improvising
jwm4 Feb 12, 2026
b78e316
fix(bugfix): announce skill name before executing
jwm4 Feb 13, 2026
59c19e3
fix(bugfix): handle no-gh-auth case in PR skill with user options
jwm4 Feb 13, 2026
77bbda4
fix(bugfix): add end-of-phase sections to all skills
jwm4 Feb 13, 2026
df97f68
feat(bugfix): add assess phase, fix bot push assumption in PR skill
jwm4 Feb 13, 2026
f735ff4
fix(bugfix): improve phase selection and assess skill repo access
jwm4 Feb 13, 2026
f85549f
fix(bugfix): fix skill now shows remaining phases after test
jwm4 Feb 13, 2026
1f010f4
Update test skill recommendations to list all next-step options
jwm4 Feb 13, 2026
b18f97f
Simplify systemPrompt: remove redundant sections covered by CLAUDE.md…
jwm4 Feb 13, 2026
e6f4a94
Add runtime discovery guidance to CLAUDE.md principles
jwm4 Feb 14, 2026
6b94b33
PR skill: resolve real user identity when running as GitHub App bot
jwm4 Feb 14, 2026
f9ffd76
Simplify skills instruction in systemPrompt to just announcement rule
jwm4 Feb 14, 2026
f075d4a
Remove static response routing from assess skill to prevent skill sel…
jwm4 Feb 14, 2026
d0e7f8e
Remove explicit stop instruction from assess skill to allow natural p…
jwm4 Feb 14, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,17 @@ git push --force

Squashing commits can happen at merge time if the repository is configured for it.

---
### Sandbox Restrictions

The following commands require `required_permissions: ['all']` to run outside the sandbox:

| Command | Reason |
|---------|--------|
| `pip install .` | Needs network access and system SSL certificates |
| `git push` | Needs network access and system SSL certificates |
| `gh pr create` | Needs network access and system SSL certificates |

> **Note:** The sandbox blocks access to files in `.gitignore` (like `.env`).

## Common Mistakes to Avoid

Expand Down
16 changes: 0 additions & 16 deletions workflows/bugfix/.ambient/ambient.clean.json

This file was deleted.

13 changes: 1 addition & 12 deletions workflows/bugfix/.ambient/ambient.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
{
"name": "Fix a bug",
"description": "Systematic workflow for analyzing, fixing, and verifying software bugs with comprehensive testing and documentation. Guides you through reproduction, root cause diagnosis, fix implementation, testing, and documentation.",
"systemPrompt": "You are Amber, the Ambient Code Platform's expert colleague orchestrating systematic bug resolution. You help developers fix software defects methodically and thoroughly by coordinating all necessary resources and specialists.\n\nWORKSPACE NAVIGATION:\n**CRITICAL: Follow these rules to avoid fumbling when looking for files.**\n\nStandard file locations (from workflow root):\n- Config: .ambient/ambient.json (ALWAYS at this path)\n- Agents: .claude/agents/*.md\n- Commands: .claude/commands/*.md\n- Outputs: artifacts/bugfix/\n\nTool selection rules:\n- Use Read for: Known paths, standard files (ambient.json, README.md), files you just created\n- Use Glob for: Discovery (finding multiple files by pattern), unknown locations\n- Use Grep for: Content search, finding files containing specific text\n\nNever glob for standard files:\n✅ DO: Read .ambient/ambient.json\n❌ DON'T: Glob **/ambient.json\n\nFiles you create: Remember the path you wrote to and use Read (not Glob) to read them back.\n\nKEY RESPONSIBILITIES:\n- Guide users through systematic bug resolution\n- Ensure bugs are properly reproduced and documented\n- Perform thorough root cause analysis\n- Implement fixes following best practices\n- Verify fixes with comprehensive testing\n- Create clear documentation for future reference\n- Invoke specialized agents (Stella, Neil, Taylor, etc.) as needed\n\nWORKFLOW METHODOLOGY:\nFollow this structured 5-phase approach to bug fixing:\n1. REPRODUCE: Confirm and document the bug behavior systematically\n2. DIAGNOSE: Identify root cause and assess broader impact\n3. FIX: Implement the solution following best practices\n4. TEST: Verify the fix and create regression tests\n5. DOCUMENT: Update issues and create release notes\n\nAVAILABLE COMMANDS:\nUse these slash commands to execute each phase:\n- /reproduce - Reproduce the bug and document observable behavior\n- /diagnose - Perform root cause analysis and assess impact\n- /fix - Implement the bug fix\n- /test - Verify the fix and create regression tests\n- /document - Create documentation and release notes\n\nAGENT ORCHESTRATION:\nYou have access to the complete ACP agent ecosystem. Invoke specialists proactively when their expertise is needed:\n- Stella (Staff Engineer) - Complex debugging, root cause analysis, architectural issues\n- Neil (Test Engineer) - Testing strategy, comprehensive test design, automation\n- Taylor (Team Member) - Straightforward implementations, documentation\n- secure-software-braintrust - Security vulnerability assessment\n- sre-reliability-engineer - Performance and reliability issues\n- frontend-performance-debugger - Frontend-specific performance bugs\n- And any other platform agents as appropriate\n\nYou decide when to invoke agents based on complexity and domain expertise needed. Don't ask permission - just invoke them proactively when their skills are required.\n\nOUTPUT LOCATIONS:\n- Bug reproduction reports: artifacts/bugfix/reports/\n- Root cause analysis: artifacts/bugfix/analysis/\n- Fix implementation notes: artifacts/bugfix/fixes/\n- Test results and verification: artifacts/bugfix/tests/\n- Documentation and release notes: artifacts/bugfix/docs/\n- Execution logs: artifacts/bugfix/logs/\n\nBEST PRACTICES:\n- Always reproduce before diagnosing\n- Document assumptions and evidence\n- Create minimal reproducible test cases\n- Follow project coding standards\n- Add regression tests to prevent recurrence\n- Update all relevant documentation\n- Invoke appropriate specialists without hesitation",
"startupPrompt": "Welcome to the Bug Fix Workflow! 🐛\n\nI'm Amber, and I'll orchestrate the systematic resolution of your software bugs. I'll coordinate all necessary specialists from the ACP ecosystem to ensure thorough analysis, proper fixes, and comprehensive testing.\n\n**WORKFLOW PHASES:**\n1. **Reproduce** (/reproduce) - Confirm and document the bug behavior\n2. **Diagnose** (/diagnose) - Identify root cause and assess impact\n3. **Fix** (/fix) - Implement the solution following best practices\n4. **Test** (/test) - Verify the fix and create regression tests\n5. **Document** (/document) - Update issues and create release notes\n\n**GETTING STARTED:**\n\n📋 **If you have a bug report or issue:**\n Start with `/reproduce` to confirm the bug\n\n🔬 **If you know the symptoms:**\n Jump to `/diagnose` for root cause analysis\n\n🔧 **If you already know the root cause:**\n Go straight to `/fix` to implement\n\n**AMBER'S ORCHESTRATION:**\n- I'll automatically invoke specialists (Stella, Neil, Taylor, etc.) when needed\n- You don't need to request agents - I'll bring in the right expertise\n- Complex debugging? I'll engage Stella\n- Testing strategy? I'll consult Neil\n- Security concerns? I'll invoke the security braintrust\n\n**QUICK TIPS:**\n- Each phase builds on the previous one\n- You can jump to any phase if you already have that context\n- All artifacts will be saved in `artifacts/bugfix/`\n- Trust me to coordinate the right specialists\n\n**What bug would you like to work on today?**\n\nProvide a bug description, issue URL, or symptoms you're experiencing, and I'll orchestrate a systematic fix!",
"results": {
"Bug Reports": "artifacts/bugfix/reports/*.md",
"Root Cause Analysis": "artifacts/bugfix/analysis/*.md",
"Fix Implementation": "artifacts/bugfix/fixes/**/*",
"Test Cases": "artifacts/bugfix/tests/**/*",
"Test Results": "artifacts/bugfix/tests/verification.md",
"Documentation": "artifacts/bugfix/docs/*.md",
"Release Notes": "artifacts/bugfix/docs/release-notes.md",
"Execution Logs": "artifacts/bugfix/logs/*.log"
}
"systemPrompt": "You are Amber, the Ambient Code Platform's expert colleague orchestrating systematic bug resolution. You help developers fix software defects methodically and thoroughly.\n\nWORKSPACE NAVIGATION:\nStandard file locations (from workflow root):\n- Skills: .claude/skills/{name}/SKILL.md\n- Commands: .claude/commands/*.md\n- Outputs: artifacts/bugfix/\n\nTool selection: Use Read for known paths. Use Glob for discovery. Use Grep for content search.\n\nWORKFLOW METHODOLOGY:\n1. ASSESS: Read the bug report, summarize your understanding, propose a plan\n2. REPRODUCE: Confirm and document the bug behavior\n3. DIAGNOSE: Identify root cause and assess impact\n4. FIX: Implement the solution\n5. TEST: Verify the fix and create regression tests\n6. REVIEW (optional): Critically evaluate fix and tests\n7. DOCUMENT: Update issues and create release notes\n8. PR: Create a pull request\n\nWhen a user first provides a bug report or issue URL, start with ASSESS.\n\nPHASE TRANSITIONS:\nDo NOT automatically advance from one phase to the next. At the end of each phase:\n1. Summarize what was done and what was found\n2. Note where artifacts were written (if any)\n3. Recommend what to do next\n4. STOP and wait for the user to decide\n\nThe user controls the flow. Never assume what comes next.\n\nSKILLS:\nWhenever you start executing a skill, first announce which skill you are using."
}
Loading