/ optimize.yaml
optimize.yaml
 1  # optimize.yaml — gnosis harness manifest
 2  # Measures diff parsing + context expansion pipeline performance
 3  
 4  tier: 2
 5  
 6  build_cmd: "npm install --silent"
 7  bench_cmd: "./bench/benchmark.sh"
 8  test_cmd: "true"
 9  
10  metric_name: "diff_parse_pipeline"
11  metric_unit: "ms"
12  metric_regex: "diff_parse_pipeline\\s*:\\s*([\\d.]+)\\s*ms"
13  direction: "lower_is_better"
14  
15  language: "TypeScript"
16  hot_files:
17    - "lib/diff-parse.ts"
18    - "lib/context-builder.ts"
19    - "lib/file-filter.ts"
20    - "lib/highlight.ts"
21  
22  # Policy constraints
23  max_diff_lines: 500
24  timeout_secs: 300
25  forbidden_paths:
26    - "optimize.yaml"
27    - "bench/"
28    - ".github/"
29    - ".gitignore"