-
Notifications
You must be signed in to change notification settings - Fork 5
AIML-83: Improve README documentation structure #17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
4a8902e
Improve README: feature VS Code one-click install prominently
ChrisEdwards a40d9e9
Format security warning as GitHub callout block
ChrisEdwards 8612e35
Use input variables for VS Code install credentials
ChrisEdwards 9424b04
Merge branch 'main' into AIML-83-cleanup-readme
ChrisEdwards 60017ed
Restructure documentation with separate installation guides
ChrisEdwards 9ff6ced
Simplify README: Docker-first, IntelliJ + VS Code focus
ChrisEdwards fc751bc
Improve README Quick Start flow and add installation guides
ChrisEdwards 9e0a93d
Improve installation guide clarity and consistency
ChrisEdwards 07c1009
Add Jira integration guidelines to AGENTS.md
ChrisEdwards 89e4dbe
Improve README: consolidate JAR section and simplify proxy docs
ChrisEdwards e7d8de3
Make proxy configuration examples host-agnostic
ChrisEdwards 139e5fe
Improve proxy documentation readability and structure
ChrisEdwards ab563c8
Clarify proxy configuration: choose ONE approach, not both
ChrisEdwards 276f91a
Simplify installation guides index for faster navigation
ChrisEdwards c3baaf1
Make installation guide links consistent
ChrisEdwards 42fd9d4
Clarify MCP host compatibility and improve section naming
ChrisEdwards 267356a
Add official VS Code MCP servers documentation reference
ChrisEdwards fd7b306
Standardize MCP server name to 'contrast' across all configs
ChrisEdwards 0fec727
Update VS Code install button text to 'contrast-mcp'
ChrisEdwards 1e5c95c
Add link to Workspace vs User Settings section in VS Code guide
ChrisEdwards 11a62b0
Add official Claude Desktop MCP documentation reference
ChrisEdwards 8d1611d
Add official Cline MCP documentation reference
ChrisEdwards c71f926
Remove Next Steps and Related Documentation from installation guides
ChrisEdwards 8d91caf
Fix typos and improve grammar in documentation
ChrisEdwards d13825d
Update install-claude-code.md
ChrisEdwards 05b2520
Update install-claude-desktop.md
ChrisEdwards 1881c83
Update install-cline.md
ChrisEdwards 8c25219
Update install-intellij.md
ChrisEdwards 0b50460
Update install-oterm.md
ChrisEdwards 1fb8f2e
Update install-vscode.md
ChrisEdwards 0a47cdb
Merge branch 'main' into AIML-83-cleanup-readme
ChrisEdwards File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,144 @@ | ||
| # AI Agent Guidelines | ||
|
|
||
| ## Issue Tracking with bd (beads) | ||
|
|
||
| **IMPORTANT**: This project uses **bd (beads)** for ALL issue tracking. Do NOT use markdown TODOs, task lists, or other tracking methods. | ||
|
|
||
| ### Why bd? | ||
|
|
||
| - Dependency-aware: Track blockers and relationships between issues | ||
| - Git-friendly: Auto-syncs to JSONL for version control | ||
| - Agent-optimized: JSON output, ready work detection, discovered-from links | ||
| - Prevents duplicate tracking systems and confusion | ||
|
|
||
| ### Quick Start | ||
|
|
||
| **Check for ready work:** | ||
| ```bash | ||
| bd ready --json | ||
| ``` | ||
|
|
||
| **Create new issues:** | ||
| ```bash | ||
| bd create "Issue title" -t bug|feature|task -p 0-4 --json | ||
| bd create "Issue title" -p 1 --deps discovered-from:bd-123 --json | ||
| ``` | ||
|
|
||
| **Claim and update:** | ||
| ```bash | ||
| bd update bd-42 --status in_progress --json | ||
| bd update bd-42 --priority 1 --json | ||
| ``` | ||
|
|
||
| **Complete work:** | ||
| ```bash | ||
| bd close bd-42 --reason "Completed" --json | ||
| ``` | ||
|
|
||
| ### Issue Types | ||
|
|
||
| - `bug` - Something broken | ||
| - `feature` - New functionality | ||
| - `task` - Work item (tests, docs, refactoring) | ||
| - `epic` - Large feature with subtasks | ||
| - `chore` - Maintenance (dependencies, tooling) | ||
|
|
||
| ### Priorities | ||
|
|
||
| - `0` - Critical (security, data loss, broken builds) | ||
| - `1` - High (major features, important bugs) | ||
| - `2` - Medium (default, nice-to-have) | ||
| - `3` - Low (polish, optimization) | ||
| - `4` - Backlog (future ideas) | ||
|
|
||
| ### Workflow for AI Agents | ||
|
|
||
| 1. **Check ready work**: `bd ready` shows unblocked issues | ||
| 2. **Claim your task**: `bd update <id> --status in_progress` | ||
| 3. **Work on it**: Implement, test, document | ||
| 4. **Discover new work?** Create linked issue: | ||
| - `bd create "Found bug" -p 1 --deps discovered-from:<parent-id>` | ||
| 5. **Complete**: `bd close <id> --reason "Done"` | ||
| 6. **Commit together**: Always commit the `.beads/issues.jsonl` file together with the code changes so issue state stays in sync with code state | ||
|
|
||
| ### Jira Integration | ||
|
|
||
| When creating beads that relate to Jira tickets: | ||
| - **Always prepend the Jira issue ID to the bead title** | ||
| - Example: `"AIML-224: Consolidate RouteCoverageService tools"` | ||
| - NOT: `"Consolidate RouteCoverageService tools"` | ||
| - **Set the `external_ref` parameter to the Jira issue ID** | ||
| - Use `--external-ref AIML-224` in CLI or `external_ref="AIML-224"` in MCP calls | ||
| - This creates bidirectional linkage: | ||
| - Bead tracks local technical work (code, tests, implementation) | ||
| - Jira tracks project management (planning, stakeholders, timeline) | ||
| - Clear connection between both via issue ID in title and external_ref field | ||
|
|
||
| ### Auto-Sync | ||
|
|
||
| bd automatically syncs with git: | ||
| - Exports to `.beads/issues.jsonl` after changes (5s debounce) | ||
| - Imports from JSONL when newer (e.g., after `git pull`) | ||
| - No manual export/import needed! | ||
|
|
||
| ### MCP Server (Recommended) | ||
|
|
||
| If using Claude or MCP-compatible clients, install the beads MCP server: | ||
|
|
||
| ```bash | ||
| pip install beads-mcp | ||
| ``` | ||
|
|
||
| Add to MCP config (e.g., `~/.config/claude/config.json`): | ||
| ```json | ||
| { | ||
| "beads": { | ||
| "command": "beads-mcp", | ||
| "args": [] | ||
| } | ||
| } | ||
| ``` | ||
|
|
||
| Then use `mcp__beads__*` functions instead of CLI commands. | ||
|
|
||
| ### Managing AI-Generated Planning Documents | ||
|
|
||
| AI assistants often create planning and design documents during development: | ||
| - PLAN.md, IMPLEMENTATION.md, ARCHITECTURE.md | ||
| - DESIGN.md, CODEBASE_SUMMARY.md, INTEGRATION_PLAN.md | ||
| - TESTING_GUIDE.md, TECHNICAL_DESIGN.md, and similar files | ||
|
|
||
| **Best Practice: Use a dedicated directory for these ephemeral files** | ||
|
|
||
| **Recommended approach:** | ||
| - Create a `history/` directory in the project root | ||
| - Store ALL AI-generated planning/design docs in `history/` | ||
| - Keep the repository root clean and focused on permanent project files | ||
| - Only access `history/` when explicitly asked to review past planning | ||
|
|
||
| **Example .gitignore entry (optional):** | ||
| ``` | ||
| # AI planning documents (ephemeral) | ||
| history/ | ||
| ``` | ||
|
|
||
| **Benefits:** | ||
| - ✅ Clean repository root | ||
| - ✅ Clear separation between ephemeral and permanent documentation | ||
| - ✅ Easy to exclude from version control if desired | ||
| - ✅ Preserves planning history for archeological research | ||
| - ✅ Reduces noise when browsing the project | ||
|
|
||
| ### Important Rules | ||
|
|
||
| - ✅ Use bd for ALL task tracking | ||
| - ✅ Always use `--json` flag for programmatic use | ||
| - ✅ Link discovered work with `discovered-from` dependencies | ||
| - ✅ Check `bd ready` before asking "what should I work on?" | ||
| - ✅ Store AI planning docs in `history/` directory | ||
| - ❌ Do NOT create markdown TODO lists | ||
| - ❌ Do NOT use external issue trackers | ||
| - ❌ Do NOT duplicate tracking systems | ||
| - ❌ Do NOT clutter repo root with planning documents | ||
|
|
||
| For more details, see README.md and QUICKSTART.md. | ||
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.