Add deep extractors, reference pages, keyword index; eval 53.3%

- extract-deep.js: mines addon versions, TF configs, script params, helm values, state services
- generate-reference-pages.js: creates operations.md, configuration.md, network-architecture.md
- reference/index.md: keyword-rich topic-to-file routing table
- Enriched CIDR extractor with inline comment capture
- Eval progression: 28.7% -> 33.4% -> 46.7% -> 52.5% -> 53.3%
- NOT_FOUND: 25 -> 20 -> 16 -> 10 -> 11
- Top scores: config-region-code 95%, argo-gen-params 95%, multiple 100%s
- Remaining gap: agent planner (haiku) doesn't consistently follow index routing
This commit is contained in:
Jarvis Prime
2026-03-10 19:01:21 +00:00
parent 0265ec7a60
commit 15fb1a753b
11 changed files with 3940 additions and 254 deletions

87
wiggum-v2-ref-2.log Normal file
View File

@@ -0,0 +1,87 @@
🔁 Ralph Wiggum Loop (V2) — max 3 iterations, target 77%
Benchmark: Confluence Gold Standard (/home/node/.openclaw/workspace/projects/dev-intel-v2/eval-confluence-ref-questions.json)
=== Iteration 1/3 ===
📝 Running V2 pipeline...
Generating prose for subsystem: compute-common...
Generating prose for subsystem: compute-tools...
Generating prose for subsystem: control-core...
Generating prose for subsystem: ipam-core...
Generating prose for subsystem: ipam-tools...
Generating prose for subsystem: network-common...
Generating prose for subsystem: network-core...
Generating prose for subsystem: runtime...
Generating prose for subsystem: root...
Generating prose for 124 contracts...
Agent KB: 12 subsystems, 76 charts
Generated docs in ./foxtrot-docs
- 12 subsystems
- 124 contracts
- 0 flows
📊 Running agent file-browsing eval against Confluence questions...
Using model: claude-haiku-4.5
Agent Eval: 32 machine-audience questions
[1/32] arch-layered-order... 30% (A:1 C:2 P:1 N:2) files:5
[2/32] arch-hub-spoke-ownership... 95% (A:5 C:5 P:4 N:5) files:5
[3/32] arch-aws-regions... 50% (A:2 C:5 P:1 N:2) files:5
[4/32] arch-gcp-shared-vpc-host... 25% (A:0 C:0 P:5 N:0) files:5 [NOT_FOUND]
[5/32] arch-cidr-employee-access... 25% (A:0 C:0 P:5 N:0) files:5 [NOT_FOUND]
[6/32] arch-production-cidr... 25% (A:0 C:0 P:5 N:0) files:5 [NOT_FOUND]
[7/32] dep-runtime-common-horizontal... 95% (A:5 C:5 P:4 N:5) files:5
[8/32] dep-vertical-layers... 25% (A:0 C:0 P:5 N:0) files:5 [NOT_FOUND]
[9/32] dep-create-account-repos... 25% (A:0 C:0 P:5 N:0) files:5 [NOT_FOUND]
[10/32] dep-create-cluster-repos... 25% (A:0 C:0 P:5 N:0) files:5 [NOT_FOUND]
[11/32] dep-compute-common-deps... 40% (A:2 C:2 P:2 N:2) files:5
[12/32] ops-argocd-deployment-flow... 25% (A:0 C:0 P:5 N:0) files:5 [NOT_FOUND]
[13/32] ops-ebf-release-pattern... 25% (A:0 C:0 P:5 N:0) files:5 [NOT_FOUND]
[14/32] ops-rollback-procedure... 25% (A:0 C:0 P:5 N:0) files:5 [NOT_FOUND]
[15/32] ops-branch-cluster-mapping... 25% (A:0 C:0 P:5 N:0) files:5 [NOT_FOUND]
[16/32] ops-jenkins-jobs... 25% (A:0 C:0 P:5 N:0) files:5 [NOT_FOUND]
[17/32] ops-create-cluster-timeout... 25% (A:0 C:0 P:5 N:0) files:5 [NOT_FOUND]
[18/32] config-cloud-resource-naming... 50% (A:2 C:2 P:4 N:2) files:5
[19/32] config-region-code-algorithm... 25% (A:0 C:0 P:5 N:0) files:5 [NOT_FOUND]
[20/32] config-app-config-merge-order... 25% (A:0 C:0 P:5 N:0) files:5 [NOT_FOUND]
[21/32] config-account-creation-product-id... 25% (A:0 C:0 P:5 N:0) files:5 [NOT_FOUND]
[22/32] config-ipam-rds-backup... 25% (A:0 C:0 P:5 N:0) files:4 [NOT_FOUND]
[23/32] config-dev-artifact-naming... 25% (A:0 C:0 P:5 N:0) files:5 [NOT_FOUND]
[24/32] services-tech-stack-orchestration... 40% (A:2 C:2 P:2 N:2) files:5
[25/32] services-state-management... 25% (A:0 C:0 P:5 N:0) files:5 [NOT_FOUND]
[26/32] services-eks-addon-versions... 25% (A:0 C:0 P:5 N:0) files:5 [NOT_FOUND]
[27/32] services-aws-nat-egress-model... 25% (A:0 C:0 P:5 N:0) files:5 [NOT_FOUND]
[28/32] services-ipam-netbox-role... 75% (A:4 C:3 P:4 N:4) files:5
[29/32] contracts-argo-gen-params-required... 25% (A:0 C:0 P:5 N:0) files:5 [NOT_FOUND]
[30/32] contracts-azure-xrd-naming... 25% (A:0 C:0 P:5 N:0) files:5 [NOT_FOUND]
[31/32] contracts-helm-chart-required-values... 25% (A:0 C:0 P:5 N:0) files:5 [NOT_FOUND]
[32/32] contracts-sync-wave-ordering... 15% (A:1 C:1 P:0 N:1) files:5
════════════════════════════════════════════════════════════
AGENT EVAL REPORT
════════════════════════════════════════════════════════════
Overall Score: 33.3%
Accuracy: 0.75/5 Completeness: 0.84/5 Precision: 4.28/5 Navigation: 0.78/5
Not Found: 23/32 (71.9%)
By Category:
architecture: 41.7% (6 questions)
dependencies: 42.0% (5 questions)
operations: 25.0% (6 questions)
configuration: 29.2% (6 questions)
services: 38.0% (5 questions)
contracts: 22.5% (4 questions)
By Difficulty:
easy: 46.0% (10 questions)
medium: 28.8% (17 questions)
hard: 23.0% (5 questions)
Weakest:
[contracts-sync-wave-ordering] 15% — What are the ArgoCD sync wave values and what resource types are deplo... (read: reference/helm/charts/app-common-charts-argocd-apps.md, reference/subsystems/app-common.md, reference/helm/index.md, diagrams/helm-interactions.mmd, reference/system-architecture.md)
[arch-gcp-shared-vpc-host] 25% — What is the default GCP host project used for Shared VPC in network-co... (read: reference/subsystems/network-common.md, reference/helm/charts/network-common-charts-foxtrot-gcp-vpc.md, reference/system-architecture.md, reference/helm/index.md, diagrams/network-common-contracts.mmd)
[arch-cidr-employee-access] 25% — What is the CIDR range for the employee access (bastions) segment on A... (read: reference/system-architecture.md, reference/subsystems/network-core.md, reference/helm/charts/network-common-charts-foxtrot-aws-vpc.md, reference/helm/charts/network-common-charts-foxtrot-gcp-vpc.md, reference/contracts/index.md)
[arch-production-cidr] 25% — What is the CIDR range for production workloads on AWS and on GCP?... (read: reference/subsystems/network-core.md, reference/helm/charts/network-common-charts-foxtrot-aws-vpc.md, reference/helm/charts/network-common-charts-foxtrot-gcp-vpc.md, reference/system-architecture.md, reference/subsystems/network-common.md)
[dep-vertical-layers] 25% — What are the vertical layer dependencies in Foxtrot's architecture?... (read: reference/system-architecture.md, diagrams/system-deps.mmd, reference/subsystems/root.md, reference/subsystems/control-core.md, explanation/change-impact.md)
Full report: /home/node/.openclaw/workspace/projects/dev-intel-v2/eval-wiggum-v2-iter-1.json
🏁 Iteration 1 Score: 33% (Target: 77%)
❌ Below threshold. To iterate, we need a diagnosis and code fix step here.