Files
Dragan Spiridonov 7f01310556 fix(adr-093): aqe init + skill evals + settings routing use new models
New user projects created via aqe init will now receive the post-ADR-093
model set (Opus 4.7 / Sonnet 4.6 / Haiku 4.5) instead of retiring IDs.

* src/init/kiro-installer.ts: 4 hardcoded model fallbacks updated.
  claude-sonnet-4 → claude-sonnet-4-6 (default + priority=critical),
  claude-opus-4 → claude-opus-4-7 (opus-detected path),
  claude-haiku-4 → claude-haiku-4-5 (haiku-detected path).
  Affects: runtime agent transformation, default QE agent template
  (writeDefaultQEAgent).
* src/init/init-wizard-steps.ts, src/init/phases/12-verification.ts:
  generated aqe.yaml advisor block comment updated to
  anthropic/claude-opus-4.7 so wizard-produced configs point to the
  right advisor model out of the box.
* .claude/settings.json:188-189: claudeFlow.modelPreferences
  default claude-opus-4-5-20251101 → claude-opus-4-7,
  routing claude-3-5-haiku-20241022 → claude-haiku-4-5-20251001.
* Skill eval YAMLs (both .claude/ and assets/ copies):
  api-testing-patterns, contract-testing, database-testing,
  testability-scoring — models_to_test list updated from
  claude-sonnet-4 / claude-3-haiku to claude-sonnet-4-6 / claude-haiku-4-5.
* Skill eval schemas (3 copies: .claude, assets, docs):
  skill-eval.schema.json enum extended with claude-opus-4-7,
  claude-sonnet-4-6, claude-haiku-4-5 as accepted values. Old
  entries retained for backward compat with existing eval files.
* Sample outputs (3 copies): modelUsed field updated to
  claude-sonnet-4-6.
* a11y-ally SKILL.md code example (both .claude and assets):
  model: 'claude-sonnet-4-20250514' → 'claude-sonnet-4-6' (this was
  caught by Commit 2's sweep; landed here for audit completeness).

Verification:
* 0 tsc errors
* 392/392 init module tests pass
* npm run build: CLI + MCP bundles rebuilt clean

Not re-running aqe init against a real fixture in this commit —
minimal+non-interactive mode doesn't materialize integration files
(kiro/opencode); full wizard-mode verification deferred until after
PR opens and a maintainer runs init smoke.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-17 13:40:14 +00:00

74 lines
2.2 KiB
JSON

{
"$schema": "https://agentic-qe.dev/schemas/skill-output-template.json",
"skillName": "sample-skill",
"version": "1.0.0",
"timestamp": "2026-02-02T12:00:00Z",
"status": "success",
"trustTier": 2,
"output": {
"summary": "Sample skill execution completed successfully. This is a demonstration output for validator self-testing.",
"findings": [
{
"id": "FINDING-001",
"title": "Sample Finding",
"description": "This is a sample finding to demonstrate the output structure. In a real skill, this would contain actual analysis results.",
"severity": "medium",
"category": "demonstration",
"location": {
"file": "src/example.ts",
"line": 42
},
"evidence": "Example code snippet showing the issue"
},
{
"id": "FINDING-002",
"title": "Another Sample Finding",
"description": "A second sample finding showing multiple findings can exist.",
"severity": "low",
"category": "demonstration"
}
],
"recommendations": [
{
"id": "REC-001",
"title": "Implement Best Practice",
"description": "Consider implementing this best practice to improve code quality.",
"priority": "medium",
"effort": "low",
"relatedFindings": ["FINDING-001"]
}
],
"metrics": {
"totalIssues": 2,
"criticalCount": 0,
"highCount": 0,
"mediumCount": 1,
"lowCount": 1,
"score": 85.5,
"passRate": 0.95
},
"artifacts": [
{
"type": "report",
"path": "reports/sample-report.html",
"format": "html",
"description": "Detailed HTML report with findings"
}
]
},
"metadata": {
"executionTimeMs": 1250,
"toolsUsed": ["eslint", "typescript", "custom-analyzer"],
"agentId": "qe-test-architect",
"modelUsed": "claude-sonnet-4-6",
"inputHash": "sha256:abc123def456",
"parentTaskId": "task-789"
},
"validation": {
"schemaValid": true,
"contentValid": true,
"confidence": 0.95,
"warnings": []
}
}