generated from coulomb/repo-seed
Add self-scoping assessment export command
This commit is contained in:
@@ -33,3 +33,18 @@ assessment. Compare the challenger to the golden profile and to the negative
|
||||
seed. Reviewers should be able to choose whether the old result, new result, or
|
||||
neither is better, then store that judgement as a new assessment outcome.
|
||||
|
||||
## Export Command
|
||||
|
||||
Export a completed analysis run as a challenger artifact:
|
||||
|
||||
```bash
|
||||
repo-scoping export-assessment \
|
||||
--repo repo-scoping \
|
||||
--analysis-run 39 \
|
||||
--output docs/self-scoping/assessments/repo-scoping-challenger-run-39.json
|
||||
```
|
||||
|
||||
The command reads an existing registry database and does not clone or scan the
|
||||
target repository. It records the target analysis metadata, candidate graph,
|
||||
approved map at export time, review decisions, fact and content summaries, known
|
||||
regression patterns, and current repo-scoping engine identity.
|
||||
|
||||
@@ -91,94 +91,125 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"content_chunk_summary": {
|
||||
"total": 0,
|
||||
"counts_by_kind": {},
|
||||
"counts_by_source_role": {},
|
||||
"paths": []
|
||||
},
|
||||
"generated_tree": {
|
||||
"abilities": [
|
||||
{
|
||||
"name": "Support Repo Registry",
|
||||
"status": "approved",
|
||||
"primary_class": "repository-intelligence",
|
||||
"source_refs": [],
|
||||
"capabilities": [
|
||||
{
|
||||
"name": "Route LLM Requests Across Providers",
|
||||
"status": "approved",
|
||||
"primary_class": "llm-integration",
|
||||
"source_refs": [],
|
||||
"features": [
|
||||
{
|
||||
"name": "Use Anthropic Models",
|
||||
"type": "integration",
|
||||
"status": "approved",
|
||||
"primary_class": "integration",
|
||||
"location": "multiple files"
|
||||
"location": "multiple files",
|
||||
"source_refs": []
|
||||
},
|
||||
{
|
||||
"name": "Use Claude Models",
|
||||
"type": "integration",
|
||||
"status": "approved",
|
||||
"primary_class": "integration",
|
||||
"location": "multiple files"
|
||||
"location": "multiple files",
|
||||
"source_refs": []
|
||||
},
|
||||
{
|
||||
"name": "Use Gemini Models",
|
||||
"type": "integration",
|
||||
"status": "approved",
|
||||
"primary_class": "integration",
|
||||
"location": "multiple files"
|
||||
"location": "multiple files",
|
||||
"source_refs": []
|
||||
},
|
||||
{
|
||||
"name": "Use OpenAI Models",
|
||||
"type": "integration",
|
||||
"status": "approved",
|
||||
"primary_class": "integration",
|
||||
"location": "multiple files"
|
||||
"location": "multiple files",
|
||||
"source_refs": []
|
||||
},
|
||||
{
|
||||
"name": "Use OpenRouter Models",
|
||||
"type": "integration",
|
||||
"status": "approved",
|
||||
"primary_class": "integration",
|
||||
"location": "multiple files"
|
||||
"location": "multiple files",
|
||||
"source_refs": []
|
||||
},
|
||||
{
|
||||
"name": "Configure LLM Provider Credentials",
|
||||
"type": "configuration",
|
||||
"status": "approved",
|
||||
"primary_class": "configuration",
|
||||
"location": "multiple files"
|
||||
"location": "multiple files",
|
||||
"source_refs": []
|
||||
},
|
||||
{
|
||||
"name": "Maintain LLM Provider Registry",
|
||||
"type": "backend",
|
||||
"status": "approved",
|
||||
"primary_class": "backend",
|
||||
"location": "src/repo_registry/repo_scanning/scanner.py"
|
||||
"location": "src/repo_registry/repo_scanning/scanner.py",
|
||||
"source_refs": []
|
||||
},
|
||||
{
|
||||
"name": "Apply LLM Provider Fallback Policy",
|
||||
"type": "backend",
|
||||
"status": "approved",
|
||||
"primary_class": "backend",
|
||||
"location": "src/repo_registry/repo_scanning/scanner.py"
|
||||
"location": "src/repo_registry/repo_scanning/scanner.py",
|
||||
"source_refs": []
|
||||
},
|
||||
{
|
||||
"name": "HTTP API surface: possible API surface, GET /health, @app.post(, +43 more",
|
||||
"type": "API",
|
||||
"status": "approved",
|
||||
"primary_class": "API",
|
||||
"location": "multiple files"
|
||||
"location": "multiple files",
|
||||
"source_refs": []
|
||||
},
|
||||
{
|
||||
"name": "CLI command surface: CLI command build_parser, CLI command make_service",
|
||||
"type": "CLI",
|
||||
"status": "approved",
|
||||
"primary_class": "CLI",
|
||||
"location": "multiple files"
|
||||
"location": "multiple files",
|
||||
"source_refs": []
|
||||
}
|
||||
]
|
||||
],
|
||||
"evidence": []
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"approved_map": {},
|
||||
"review_decisions": [
|
||||
{
|
||||
"id": 21,
|
||||
"repository_id": 16,
|
||||
"analysis_run_id": 39,
|
||||
"action": "trusted_auto_approve_candidate_graph",
|
||||
"notes": "Trusted auto-populate mode reviewed candidate graph after deterministic candidate generation. Auto-approved 1 safe candidate capability(s); left 0 for review. Approved: Route LLM Requests Across Providers: eligible LLM utility relationship with source support.",
|
||||
"created_at": "2026-05-15 09:28:49"
|
||||
}
|
||||
],
|
||||
"quality_gate_outcomes": [],
|
||||
"known_regression_patterns": [
|
||||
{
|
||||
"id": "RREG-SELF-REG-001",
|
||||
|
||||
Reference in New Issue
Block a user