-
Notifications
You must be signed in to change notification settings - Fork 114
Incident Copilot + Workflow Quality Gates (Hackathon) #3773
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
Open
proffesor-for-testing
wants to merge
2
commits into
superplanehq:main
Choose a base branch
from
proffesor-for-testing:aqe-working-branch
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
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
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 |
|---|---|---|
| @@ -1 +1,164 @@ | ||
| See [AGENTS.md](AGENTS.md) | ||
| # For Superplane project instructions See [AGENTS.md](AGENTS.md) | ||
|
|
||
| ## Agentic QE v3 | ||
|
|
||
| This project uses **Agentic QE v3** - a Domain-Driven Quality Engineering platform with 13 bounded contexts, ReasoningBank learning, HNSW vector search, and Agent Teams coordination (ADR-064). | ||
|
|
||
| --- | ||
|
|
||
| ### CRITICAL POLICIES | ||
|
|
||
| #### Integrity Rule (ABSOLUTE) | ||
| - NO shortcuts, fake data, or false claims | ||
| - ALWAYS implement properly, verify before claiming success | ||
| - ALWAYS use real database queries for integration tests | ||
| - ALWAYS run actual tests, not assume they pass | ||
|
|
||
| **We value the quality we deliver to our users.** | ||
|
|
||
| #### Test Execution | ||
| - NEVER run `npm test` without `--run` flag (watch mode risk) | ||
| - Use: `npm test -- --run`, `npm run test:unit`, `npm run test:integration` when available | ||
|
|
||
| #### Data Protection | ||
| - NEVER run `rm -f` on `.agentic-qe/` or `*.db` files without confirmation | ||
| - ALWAYS backup before database operations | ||
|
|
||
| #### Git Operations | ||
| - NEVER auto-commit/push without explicit user request | ||
| - ALWAYS wait for user confirmation before git operations | ||
|
|
||
| --- | ||
|
|
||
| ### Quick Reference | ||
|
|
||
| ```bash | ||
| # Run tests | ||
| npm test -- --run | ||
|
|
||
| # Check quality | ||
| aqe quality assess | ||
|
|
||
| # Generate tests | ||
| aqe test generate <file> | ||
|
|
||
| # Coverage analysis | ||
| aqe coverage <path> | ||
| ``` | ||
|
|
||
| ### Using AQE MCP Tools | ||
|
|
||
| AQE exposes tools via MCP with the `mcp__agentic-qe__` prefix. You MUST call `fleet_init` before any other tool. | ||
|
|
||
| #### 1. Initialize the Fleet (required first step) | ||
|
|
||
| ```typescript | ||
| mcp__agentic-qe__fleet_init({ | ||
| topology: "hierarchical", | ||
| maxAgents: 15, | ||
| memoryBackend: "hybrid" | ||
| }) | ||
| ``` | ||
|
|
||
| #### 2. Generate Tests | ||
|
|
||
| ```typescript | ||
| mcp__agentic-qe__test_generate_enhanced({ | ||
| targetPath: "src/services/auth.ts", | ||
| framework: "vitest", | ||
| strategy: "boundary-value" | ||
| }) | ||
| ``` | ||
|
|
||
| #### 3. Analyze Coverage | ||
|
|
||
| ```typescript | ||
| mcp__agentic-qe__coverage_analyze_sublinear({ | ||
| paths: ["src/"], | ||
| threshold: 80 | ||
| }) | ||
| ``` | ||
|
|
||
| #### 4. Assess Quality | ||
|
|
||
| ```typescript | ||
| mcp__agentic-qe__quality_assess({ | ||
| scope: "full", | ||
| includeMetrics: true | ||
| }) | ||
| ``` | ||
|
|
||
| #### 5. Store and Query Patterns (with learning persistence) | ||
|
|
||
| ```typescript | ||
| // Store a learned pattern | ||
| mcp__agentic-qe__memory_store({ | ||
| key: "patterns/coverage-gap/{timestamp}", | ||
| namespace: "learning", | ||
| value: { | ||
| pattern: "...", | ||
| confidence: 0.95, | ||
| type: "coverage-gap", | ||
| metadata: { /* domain-specific */ } | ||
| }, | ||
| persist: true | ||
| }) | ||
|
|
||
| // Query stored patterns | ||
| mcp__agentic-qe__memory_query({ | ||
| pattern: "patterns/*", | ||
| namespace: "learning", | ||
| limit: 10 | ||
| }) | ||
| ``` | ||
|
|
||
| #### 6. Orchestrate Multi-Agent Tasks | ||
|
|
||
| ```typescript | ||
| mcp__agentic-qe__task_orchestrate({ | ||
| task: "Full quality assessment of auth module", | ||
| domains: ["test-generation", "coverage-analysis", "security-compliance"], | ||
| parallel: true | ||
| }) | ||
| ``` | ||
|
|
||
| ### MCP Tool Reference | ||
|
|
||
| | Tool | Description | | ||
| |------|-------------| | ||
| | `fleet_init` | Initialize QE fleet (MUST call first) | | ||
| | `fleet_status` | Get fleet health and agent status | | ||
| | `agent_spawn` | Spawn specialized QE agent | | ||
| | `test_generate_enhanced` | AI-powered test generation | | ||
| | `test_execute_parallel` | Parallel test execution with retry | | ||
| | `task_orchestrate` | Orchestrate multi-agent QE tasks | | ||
| | `coverage_analyze_sublinear` | O(log n) coverage analysis | | ||
| | `quality_assess` | Quality gate evaluation | | ||
| | `memory_store` | Store patterns with namespace + persist | | ||
| | `memory_query` | Query patterns by namespace/pattern | | ||
| | `security_scan_comprehensive` | SAST/DAST scanning | | ||
|
|
||
| ### Configuration | ||
|
|
||
| - **Enabled Domains**: test-generation, test-execution, coverage-analysis, quality-assessment, defect-intelligence, requirements-validation (+6 more) | ||
| - **Learning**: Enabled (transformer embeddings) | ||
| - **Max Concurrent Agents**: 15 | ||
| - **Background Workers**: pattern-consolidator, routing-accuracy-monitor, coverage-gap-scanner, flaky-test-detector | ||
|
|
||
| ### V3 QE Agents | ||
|
|
||
| QE agents are in `.claude/agents/v3/`. Use with Task tool: | ||
|
|
||
| ```javascript | ||
| Task({ prompt: "Generate tests", subagent_type: "qe-test-architect", run_in_background: true }) | ||
| Task({ prompt: "Find coverage gaps", subagent_type: "qe-coverage-specialist", run_in_background: true }) | ||
| Task({ prompt: "Security audit", subagent_type: "qe-security-scanner", run_in_background: true }) | ||
| ``` | ||
|
|
||
| ### Data Storage | ||
|
|
||
| - **Memory Backend**: `.agentic-qe/memory.db` (SQLite) | ||
| - **Configuration**: `.agentic-qe/config.yaml` | ||
|
|
||
| --- | ||
| *Generated by AQE v3 init - 2026-03-28T08:27:45.923Z* | ||
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CLAUDE.md overwritten with unrelated AQE tooling config
Medium Severity
The original
CLAUDE.md(a project-wide agent instruction file pointing toAGENTS.md) was replaced with 160+ lines of Agentic QE v3 configuration, MCP tool references, and fleet initialization instructions. This is team-specific tooling configuration that overwrites the project's shared agent instructions file and doesn't belong in the repository.