feat: confluence benchmark, pattern extractor, agent KB, UX spec
- extract-patterns.js: mines layered arch, ArgoCD appsets, cloud regions, CIDR allocations, naming conventions, sync waves, tech stack from code - agent-kb.js: token-efficient JSON rendering of same doc tree - eval-confluence-ref-questions.json: 32 reference-only benchmark questions - wiggum-v2.sh: Ralph Wiggum loop targeting confluence baseline (77.8%) - docs/human-ux-spec.md: BMad UX designer spec for human doc structure - Eval results: V2 at 28.7% vs confluence 77.8% baseline - Hub/spoke ownership now correctly extracted (95% on that question) - Naming conventions, regions, CIDRs surfaced in system-architecture.md
This commit is contained in:
@@ -15,6 +15,7 @@ const GRAMMARS = {
|
||||
};
|
||||
|
||||
const { extractYaml, extractHcl } = require('./extract-config.js');
|
||||
const { extractTerraform } = require('./extract-terraform.js');
|
||||
|
||||
const EXT_MAP = {
|
||||
'.ts': 'typescript', '.tsx': 'tsx', '.js': 'javascript', '.jsx': 'javascript',
|
||||
@@ -192,7 +193,7 @@ function extract(filePath, repoRoot) {
|
||||
}
|
||||
|
||||
if (lang === 'yaml') return extractYaml(filePath, repoRoot);
|
||||
if (lang === 'hcl') return extractHcl(filePath, repoRoot);
|
||||
if (lang === 'hcl') return extractTerraform(filePath, repoRoot);
|
||||
|
||||
const grammar = GRAMMARS[lang];
|
||||
const adapter = ADAPTERS[lang];
|
||||
|
||||
Reference in New Issue
Block a user