docs(audit): run v2 audit against real src/ - 13 profiles + 4 rollups
13 aggregate profiles (10 real + 3 candidate placeholders) + 4 top-level rollups. Per the spec, the 3 candidate aggregates (ToolSpec, ChatMessage, ProviderHistory) are forward-compat placeholders for any_type_componentization_20260621 (NOT on master); the audit's report includes them with is_candidate: True.
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
\ AggregateProfile: "ChatMessage"
|
||||
\ generated 2026-06-22 by src.code_path_audit v2
|
||||
|
||||
\ === aggregate_kind ===
|
||||
"candidate_dataclass" kind
|
||||
|
||||
\ === memory_dim ===
|
||||
"discussion" mem-dim
|
||||
|
||||
\ === producers (0 items) ===
|
||||
|
||||
\ === consumers (0 items) ===
|
||||
|
||||
\ === access_pattern ===
|
||||
"mixed" access-pattern
|
||||
|
||||
\ === access_pattern_evidence (0 items) ===
|
||||
|
||||
\ === frequency ===
|
||||
"unknown" frequency
|
||||
|
||||
\ === frequency_evidence (0 items) ===
|
||||
|
||||
\ === result_coverage ===
|
||||
0 0 0 0 result-coverage
|
||||
|
||||
\ === type_alias_coverage ===
|
||||
0 0 0 type-alias-coverage
|
||||
|
||||
\ === cross_audit_findings ===
|
||||
5 cross-audit-findings
|
||||
|
||||
\ === decomposition_cost ===
|
||||
0 0 0 "insufficient_data" "candidate aggregate; would be detected after any_type_componentization_20260621 merges" nil 0 false decomp-cost
|
||||
|
||||
\ === optimization_candidates (0 items) ===
|
||||
|
||||
\ === is_candidate ===
|
||||
true is-candidate
|
||||
@@ -0,0 +1,49 @@
|
||||
# Aggregate Profile: ChatMessage
|
||||
|
||||
**Aggregate kind:** candidate_dataclass
|
||||
**Memory dim:** discussion
|
||||
**Is candidate:** True
|
||||
|
||||
## Pipeline summary
|
||||
|
||||
- Producers: 0
|
||||
- Consumers: 0
|
||||
|
||||
## Access pattern
|
||||
|
||||
**Dominant pattern:** mixed
|
||||
**Evidence count:** 0
|
||||
|
||||
## Frequency
|
||||
|
||||
**Dominant frequency:** unknown
|
||||
**Evidence count:** 0
|
||||
|
||||
## Result coverage
|
||||
|
||||
**Summary:**
|
||||
|
||||
## Type alias coverage
|
||||
|
||||
**Summary:**
|
||||
|
||||
## Cross-audit findings
|
||||
|
||||
| Audit script | Site count | Example | Note |
|
||||
|---|---|---|---|
|
||||
|
||||
## Decomposition cost
|
||||
|
||||
**Current cost estimate:** 0 us
|
||||
**Componentize savings:** 0 us
|
||||
**Unify savings:** 0 us
|
||||
**Recommended direction:** insufficient_data
|
||||
**Rationale:** candidate aggregate; would be detected after any_type_componentization_20260621 merges
|
||||
|
||||
## Optimization candidates
|
||||
|
||||
_(none)_
|
||||
|
||||
## Verdict
|
||||
|
||||
candidate aggregate; would be detected after any_type_componentization_20260621 merges
|
||||
@@ -0,0 +1,12 @@
|
||||
Metadata: ChatMessage
|
||||
|- kind: candidate_dataclass
|
||||
|- memory_dim: discussion
|
||||
|- producers: [0]
|
||||
|- consumers: [0]
|
||||
|- access_pattern: mixed
|
||||
|- frequency: unknown
|
||||
|- result_coverage:
|
||||
|- type_alias_coverage:
|
||||
|- cross_audit_findings: 0 findings
|
||||
|- decomposition_cost: insufficient_data (0 us)
|
||||
|- optimization_candidates: [0]
|
||||
@@ -0,0 +1,39 @@
|
||||
\ AggregateProfile: "CommsLog"
|
||||
\ generated 2026-06-22 by src.code_path_audit v2
|
||||
|
||||
\ === aggregate_kind ===
|
||||
"typealias" kind
|
||||
|
||||
\ === memory_dim ===
|
||||
"discussion" mem-dim
|
||||
|
||||
\ === producers (0 items) ===
|
||||
|
||||
\ === consumers (0 items) ===
|
||||
|
||||
\ === access_pattern ===
|
||||
"whole_struct" access-pattern
|
||||
|
||||
\ === access_pattern_evidence (0 items) ===
|
||||
|
||||
\ === frequency ===
|
||||
"per_turn" frequency
|
||||
|
||||
\ === frequency_evidence (0 items) ===
|
||||
|
||||
\ === result_coverage ===
|
||||
0 0 0 0 result-coverage
|
||||
|
||||
\ === type_alias_coverage ===
|
||||
0 0 0 type-alias-coverage
|
||||
|
||||
\ === cross_audit_findings ===
|
||||
5 cross-audit-findings
|
||||
|
||||
\ === decomposition_cost ===
|
||||
0 0 0 "hold" "no data" nil 0 false decomp-cost
|
||||
|
||||
\ === optimization_candidates (0 items) ===
|
||||
|
||||
\ === is_candidate ===
|
||||
false is-candidate
|
||||
@@ -0,0 +1,49 @@
|
||||
# Aggregate Profile: CommsLog
|
||||
|
||||
**Aggregate kind:** typealias
|
||||
**Memory dim:** discussion
|
||||
**Is candidate:** False
|
||||
|
||||
## Pipeline summary
|
||||
|
||||
- Producers: 0
|
||||
- Consumers: 0
|
||||
|
||||
## Access pattern
|
||||
|
||||
**Dominant pattern:** whole_struct
|
||||
**Evidence count:** 0
|
||||
|
||||
## Frequency
|
||||
|
||||
**Dominant frequency:** per_turn
|
||||
**Evidence count:** 0
|
||||
|
||||
## Result coverage
|
||||
|
||||
**Summary:**
|
||||
|
||||
## Type alias coverage
|
||||
|
||||
**Summary:**
|
||||
|
||||
## Cross-audit findings
|
||||
|
||||
| Audit script | Site count | Example | Note |
|
||||
|---|---|---|---|
|
||||
|
||||
## Decomposition cost
|
||||
|
||||
**Current cost estimate:** 0 us
|
||||
**Componentize savings:** 0 us
|
||||
**Unify savings:** 0 us
|
||||
**Recommended direction:** hold
|
||||
**Rationale:** no data
|
||||
|
||||
## Optimization candidates
|
||||
|
||||
_(none)_
|
||||
|
||||
## Verdict
|
||||
|
||||
no data
|
||||
@@ -0,0 +1,12 @@
|
||||
Metadata: CommsLog
|
||||
|- kind: typealias
|
||||
|- memory_dim: discussion
|
||||
|- producers: [0]
|
||||
|- consumers: [0]
|
||||
|- access_pattern: whole_struct
|
||||
|- frequency: per_turn
|
||||
|- result_coverage:
|
||||
|- type_alias_coverage:
|
||||
|- cross_audit_findings: 0 findings
|
||||
|- decomposition_cost: hold (0 us)
|
||||
|- optimization_candidates: [0]
|
||||
@@ -0,0 +1,39 @@
|
||||
\ AggregateProfile: "CommsLogEntry"
|
||||
\ generated 2026-06-22 by src.code_path_audit v2
|
||||
|
||||
\ === aggregate_kind ===
|
||||
"typealias" kind
|
||||
|
||||
\ === memory_dim ===
|
||||
"discussion" mem-dim
|
||||
|
||||
\ === producers (0 items) ===
|
||||
|
||||
\ === consumers (0 items) ===
|
||||
|
||||
\ === access_pattern ===
|
||||
"whole_struct" access-pattern
|
||||
|
||||
\ === access_pattern_evidence (0 items) ===
|
||||
|
||||
\ === frequency ===
|
||||
"per_turn" frequency
|
||||
|
||||
\ === frequency_evidence (0 items) ===
|
||||
|
||||
\ === result_coverage ===
|
||||
0 0 0 0 result-coverage
|
||||
|
||||
\ === type_alias_coverage ===
|
||||
0 0 0 type-alias-coverage
|
||||
|
||||
\ === cross_audit_findings ===
|
||||
5 cross-audit-findings
|
||||
|
||||
\ === decomposition_cost ===
|
||||
0 0 0 "hold" "no data" nil 0 false decomp-cost
|
||||
|
||||
\ === optimization_candidates (0 items) ===
|
||||
|
||||
\ === is_candidate ===
|
||||
false is-candidate
|
||||
@@ -0,0 +1,49 @@
|
||||
# Aggregate Profile: CommsLogEntry
|
||||
|
||||
**Aggregate kind:** typealias
|
||||
**Memory dim:** discussion
|
||||
**Is candidate:** False
|
||||
|
||||
## Pipeline summary
|
||||
|
||||
- Producers: 0
|
||||
- Consumers: 0
|
||||
|
||||
## Access pattern
|
||||
|
||||
**Dominant pattern:** whole_struct
|
||||
**Evidence count:** 0
|
||||
|
||||
## Frequency
|
||||
|
||||
**Dominant frequency:** per_turn
|
||||
**Evidence count:** 0
|
||||
|
||||
## Result coverage
|
||||
|
||||
**Summary:**
|
||||
|
||||
## Type alias coverage
|
||||
|
||||
**Summary:**
|
||||
|
||||
## Cross-audit findings
|
||||
|
||||
| Audit script | Site count | Example | Note |
|
||||
|---|---|---|---|
|
||||
|
||||
## Decomposition cost
|
||||
|
||||
**Current cost estimate:** 0 us
|
||||
**Componentize savings:** 0 us
|
||||
**Unify savings:** 0 us
|
||||
**Recommended direction:** hold
|
||||
**Rationale:** no data
|
||||
|
||||
## Optimization candidates
|
||||
|
||||
_(none)_
|
||||
|
||||
## Verdict
|
||||
|
||||
no data
|
||||
@@ -0,0 +1,12 @@
|
||||
Metadata: CommsLogEntry
|
||||
|- kind: typealias
|
||||
|- memory_dim: discussion
|
||||
|- producers: [0]
|
||||
|- consumers: [0]
|
||||
|- access_pattern: whole_struct
|
||||
|- frequency: per_turn
|
||||
|- result_coverage:
|
||||
|- type_alias_coverage:
|
||||
|- cross_audit_findings: 0 findings
|
||||
|- decomposition_cost: hold (0 us)
|
||||
|- optimization_candidates: [0]
|
||||
@@ -0,0 +1,39 @@
|
||||
\ AggregateProfile: "FileItem"
|
||||
\ generated 2026-06-22 by src.code_path_audit v2
|
||||
|
||||
\ === aggregate_kind ===
|
||||
"typealias" kind
|
||||
|
||||
\ === memory_dim ===
|
||||
"curation" mem-dim
|
||||
|
||||
\ === producers (0 items) ===
|
||||
|
||||
\ === consumers (0 items) ===
|
||||
|
||||
\ === access_pattern ===
|
||||
"whole_struct" access-pattern
|
||||
|
||||
\ === access_pattern_evidence (0 items) ===
|
||||
|
||||
\ === frequency ===
|
||||
"per_turn" frequency
|
||||
|
||||
\ === frequency_evidence (0 items) ===
|
||||
|
||||
\ === result_coverage ===
|
||||
0 0 0 0 result-coverage
|
||||
|
||||
\ === type_alias_coverage ===
|
||||
0 0 0 type-alias-coverage
|
||||
|
||||
\ === cross_audit_findings ===
|
||||
5 cross-audit-findings
|
||||
|
||||
\ === decomposition_cost ===
|
||||
0 0 0 "hold" "no data" nil 0 false decomp-cost
|
||||
|
||||
\ === optimization_candidates (0 items) ===
|
||||
|
||||
\ === is_candidate ===
|
||||
false is-candidate
|
||||
@@ -0,0 +1,49 @@
|
||||
# Aggregate Profile: FileItem
|
||||
|
||||
**Aggregate kind:** typealias
|
||||
**Memory dim:** curation
|
||||
**Is candidate:** False
|
||||
|
||||
## Pipeline summary
|
||||
|
||||
- Producers: 0
|
||||
- Consumers: 0
|
||||
|
||||
## Access pattern
|
||||
|
||||
**Dominant pattern:** whole_struct
|
||||
**Evidence count:** 0
|
||||
|
||||
## Frequency
|
||||
|
||||
**Dominant frequency:** per_turn
|
||||
**Evidence count:** 0
|
||||
|
||||
## Result coverage
|
||||
|
||||
**Summary:**
|
||||
|
||||
## Type alias coverage
|
||||
|
||||
**Summary:**
|
||||
|
||||
## Cross-audit findings
|
||||
|
||||
| Audit script | Site count | Example | Note |
|
||||
|---|---|---|---|
|
||||
|
||||
## Decomposition cost
|
||||
|
||||
**Current cost estimate:** 0 us
|
||||
**Componentize savings:** 0 us
|
||||
**Unify savings:** 0 us
|
||||
**Recommended direction:** hold
|
||||
**Rationale:** no data
|
||||
|
||||
## Optimization candidates
|
||||
|
||||
_(none)_
|
||||
|
||||
## Verdict
|
||||
|
||||
no data
|
||||
@@ -0,0 +1,12 @@
|
||||
Metadata: FileItem
|
||||
|- kind: typealias
|
||||
|- memory_dim: curation
|
||||
|- producers: [0]
|
||||
|- consumers: [0]
|
||||
|- access_pattern: whole_struct
|
||||
|- frequency: per_turn
|
||||
|- result_coverage:
|
||||
|- type_alias_coverage:
|
||||
|- cross_audit_findings: 0 findings
|
||||
|- decomposition_cost: hold (0 us)
|
||||
|- optimization_candidates: [0]
|
||||
@@ -0,0 +1,42 @@
|
||||
\ AggregateProfile: "FileItems"
|
||||
\ generated 2026-06-22 by src.code_path_audit v2
|
||||
|
||||
\ === aggregate_kind ===
|
||||
"typealias" kind
|
||||
|
||||
\ === memory_dim ===
|
||||
"curation" mem-dim
|
||||
|
||||
\ === producers (0 items) ===
|
||||
|
||||
\ === consumers (3 items) ===
|
||||
"src.ai_client._build_file_diff_text" "src\ai_client.py" 0 "consumer" fn-ref
|
||||
"src.ai_client._reread_file_items_result" "src\ai_client.py" 0 "consumer" fn-ref
|
||||
"src.ai_client._build_file_context_text" "src\ai_client.py" 0 "consumer" fn-ref
|
||||
|
||||
\ === access_pattern ===
|
||||
"whole_struct" access-pattern
|
||||
|
||||
\ === access_pattern_evidence (0 items) ===
|
||||
|
||||
\ === frequency ===
|
||||
"per_turn" frequency
|
||||
|
||||
\ === frequency_evidence (0 items) ===
|
||||
|
||||
\ === result_coverage ===
|
||||
0 0 3 0 result-coverage
|
||||
|
||||
\ === type_alias_coverage ===
|
||||
0 0 0 type-alias-coverage
|
||||
|
||||
\ === cross_audit_findings ===
|
||||
5 cross-audit-findings
|
||||
|
||||
\ === decomposition_cost ===
|
||||
0 0 0 "hold" "no data" nil 0 false decomp-cost
|
||||
|
||||
\ === optimization_candidates (0 items) ===
|
||||
|
||||
\ === is_candidate ===
|
||||
false is-candidate
|
||||
@@ -0,0 +1,49 @@
|
||||
# Aggregate Profile: FileItems
|
||||
|
||||
**Aggregate kind:** typealias
|
||||
**Memory dim:** curation
|
||||
**Is candidate:** False
|
||||
|
||||
## Pipeline summary
|
||||
|
||||
- Producers: 0
|
||||
- Consumers: 3
|
||||
|
||||
## Access pattern
|
||||
|
||||
**Dominant pattern:** whole_struct
|
||||
**Evidence count:** 0
|
||||
|
||||
## Frequency
|
||||
|
||||
**Dominant frequency:** per_turn
|
||||
**Evidence count:** 0
|
||||
|
||||
## Result coverage
|
||||
|
||||
**Summary:**
|
||||
|
||||
## Type alias coverage
|
||||
|
||||
**Summary:**
|
||||
|
||||
## Cross-audit findings
|
||||
|
||||
| Audit script | Site count | Example | Note |
|
||||
|---|---|---|---|
|
||||
|
||||
## Decomposition cost
|
||||
|
||||
**Current cost estimate:** 0 us
|
||||
**Componentize savings:** 0 us
|
||||
**Unify savings:** 0 us
|
||||
**Recommended direction:** hold
|
||||
**Rationale:** no data
|
||||
|
||||
## Optimization candidates
|
||||
|
||||
_(none)_
|
||||
|
||||
## Verdict
|
||||
|
||||
no data
|
||||
@@ -0,0 +1,15 @@
|
||||
Metadata: FileItems
|
||||
|- kind: typealias
|
||||
|- memory_dim: curation
|
||||
|- producers: [0]
|
||||
|- consumers: [3]
|
||||
| |- src.ai_client._build_file_diff_text (consumer)
|
||||
| |- src.ai_client._reread_file_items_result (consumer)
|
||||
| |- src.ai_client._build_file_context_text (consumer)
|
||||
|- access_pattern: whole_struct
|
||||
|- frequency: per_turn
|
||||
|- result_coverage:
|
||||
|- type_alias_coverage:
|
||||
|- cross_audit_findings: 0 findings
|
||||
|- decomposition_cost: hold (0 us)
|
||||
|- optimization_candidates: [0]
|
||||
@@ -0,0 +1,39 @@
|
||||
\ AggregateProfile: "History"
|
||||
\ generated 2026-06-22 by src.code_path_audit v2
|
||||
|
||||
\ === aggregate_kind ===
|
||||
"typealias" kind
|
||||
|
||||
\ === memory_dim ===
|
||||
"discussion" mem-dim
|
||||
|
||||
\ === producers (0 items) ===
|
||||
|
||||
\ === consumers (0 items) ===
|
||||
|
||||
\ === access_pattern ===
|
||||
"whole_struct" access-pattern
|
||||
|
||||
\ === access_pattern_evidence (0 items) ===
|
||||
|
||||
\ === frequency ===
|
||||
"per_turn" frequency
|
||||
|
||||
\ === frequency_evidence (0 items) ===
|
||||
|
||||
\ === result_coverage ===
|
||||
0 0 0 0 result-coverage
|
||||
|
||||
\ === type_alias_coverage ===
|
||||
0 0 0 type-alias-coverage
|
||||
|
||||
\ === cross_audit_findings ===
|
||||
5 cross-audit-findings
|
||||
|
||||
\ === decomposition_cost ===
|
||||
0 0 0 "hold" "no data" nil 0 false decomp-cost
|
||||
|
||||
\ === optimization_candidates (0 items) ===
|
||||
|
||||
\ === is_candidate ===
|
||||
false is-candidate
|
||||
@@ -0,0 +1,49 @@
|
||||
# Aggregate Profile: History
|
||||
|
||||
**Aggregate kind:** typealias
|
||||
**Memory dim:** discussion
|
||||
**Is candidate:** False
|
||||
|
||||
## Pipeline summary
|
||||
|
||||
- Producers: 0
|
||||
- Consumers: 0
|
||||
|
||||
## Access pattern
|
||||
|
||||
**Dominant pattern:** whole_struct
|
||||
**Evidence count:** 0
|
||||
|
||||
## Frequency
|
||||
|
||||
**Dominant frequency:** per_turn
|
||||
**Evidence count:** 0
|
||||
|
||||
## Result coverage
|
||||
|
||||
**Summary:**
|
||||
|
||||
## Type alias coverage
|
||||
|
||||
**Summary:**
|
||||
|
||||
## Cross-audit findings
|
||||
|
||||
| Audit script | Site count | Example | Note |
|
||||
|---|---|---|---|
|
||||
|
||||
## Decomposition cost
|
||||
|
||||
**Current cost estimate:** 0 us
|
||||
**Componentize savings:** 0 us
|
||||
**Unify savings:** 0 us
|
||||
**Recommended direction:** hold
|
||||
**Rationale:** no data
|
||||
|
||||
## Optimization candidates
|
||||
|
||||
_(none)_
|
||||
|
||||
## Verdict
|
||||
|
||||
no data
|
||||
@@ -0,0 +1,12 @@
|
||||
Metadata: History
|
||||
|- kind: typealias
|
||||
|- memory_dim: discussion
|
||||
|- producers: [0]
|
||||
|- consumers: [0]
|
||||
|- access_pattern: whole_struct
|
||||
|- frequency: per_turn
|
||||
|- result_coverage:
|
||||
|- type_alias_coverage:
|
||||
|- cross_audit_findings: 0 findings
|
||||
|- decomposition_cost: hold (0 us)
|
||||
|- optimization_candidates: [0]
|
||||
@@ -0,0 +1,41 @@
|
||||
\ AggregateProfile: "HistoryMessage"
|
||||
\ generated 2026-06-22 by src.code_path_audit v2
|
||||
|
||||
\ === aggregate_kind ===
|
||||
"typealias" kind
|
||||
|
||||
\ === memory_dim ===
|
||||
"discussion" mem-dim
|
||||
|
||||
\ === producers (0 items) ===
|
||||
|
||||
\ === consumers (2 items) ===
|
||||
"src.provider_state.append" "src\provider_state.py" 0 "consumer" fn-ref
|
||||
"src.provider_state.replace_all" "src\provider_state.py" 0 "consumer" fn-ref
|
||||
|
||||
\ === access_pattern ===
|
||||
"whole_struct" access-pattern
|
||||
|
||||
\ === access_pattern_evidence (0 items) ===
|
||||
|
||||
\ === frequency ===
|
||||
"per_turn" frequency
|
||||
|
||||
\ === frequency_evidence (0 items) ===
|
||||
|
||||
\ === result_coverage ===
|
||||
0 0 2 0 result-coverage
|
||||
|
||||
\ === type_alias_coverage ===
|
||||
0 0 0 type-alias-coverage
|
||||
|
||||
\ === cross_audit_findings ===
|
||||
5 cross-audit-findings
|
||||
|
||||
\ === decomposition_cost ===
|
||||
0 0 0 "hold" "no data" nil 0 false decomp-cost
|
||||
|
||||
\ === optimization_candidates (0 items) ===
|
||||
|
||||
\ === is_candidate ===
|
||||
false is-candidate
|
||||
@@ -0,0 +1,49 @@
|
||||
# Aggregate Profile: HistoryMessage
|
||||
|
||||
**Aggregate kind:** typealias
|
||||
**Memory dim:** discussion
|
||||
**Is candidate:** False
|
||||
|
||||
## Pipeline summary
|
||||
|
||||
- Producers: 0
|
||||
- Consumers: 2
|
||||
|
||||
## Access pattern
|
||||
|
||||
**Dominant pattern:** whole_struct
|
||||
**Evidence count:** 0
|
||||
|
||||
## Frequency
|
||||
|
||||
**Dominant frequency:** per_turn
|
||||
**Evidence count:** 0
|
||||
|
||||
## Result coverage
|
||||
|
||||
**Summary:**
|
||||
|
||||
## Type alias coverage
|
||||
|
||||
**Summary:**
|
||||
|
||||
## Cross-audit findings
|
||||
|
||||
| Audit script | Site count | Example | Note |
|
||||
|---|---|---|---|
|
||||
|
||||
## Decomposition cost
|
||||
|
||||
**Current cost estimate:** 0 us
|
||||
**Componentize savings:** 0 us
|
||||
**Unify savings:** 0 us
|
||||
**Recommended direction:** hold
|
||||
**Rationale:** no data
|
||||
|
||||
## Optimization candidates
|
||||
|
||||
_(none)_
|
||||
|
||||
## Verdict
|
||||
|
||||
no data
|
||||
@@ -0,0 +1,14 @@
|
||||
Metadata: HistoryMessage
|
||||
|- kind: typealias
|
||||
|- memory_dim: discussion
|
||||
|- producers: [0]
|
||||
|- consumers: [2]
|
||||
| |- src.provider_state.append (consumer)
|
||||
| |- src.provider_state.replace_all (consumer)
|
||||
|- access_pattern: whole_struct
|
||||
|- frequency: per_turn
|
||||
|- result_coverage:
|
||||
|- type_alias_coverage:
|
||||
|- cross_audit_findings: 0 findings
|
||||
|- decomposition_cost: hold (0 us)
|
||||
|- optimization_candidates: [0]
|
||||
@@ -0,0 +1,151 @@
|
||||
\ AggregateProfile: "Metadata"
|
||||
\ generated 2026-06-22 by src.code_path_audit v2
|
||||
|
||||
\ === aggregate_kind ===
|
||||
"typealias" kind
|
||||
|
||||
\ === memory_dim ===
|
||||
"discussion" mem-dim
|
||||
|
||||
\ === producers (77 items) ===
|
||||
"src.project_manager.load_history" "src\project_manager.py" 0 "producer" fn-ref
|
||||
"src.api_hook_client.get_context_state" "src\api_hook_client.py" 0 "producer" fn-ref
|
||||
"src.api_hook_client.get_gui_state" "src\api_hook_client.py" 0 "producer" fn-ref
|
||||
"src.ai_client.get_token_stats" "src\ai_client.py" 0 "producer" fn-ref
|
||||
"src.api_hook_client.get_io_pool_status" "src\api_hook_client.py" 0 "producer" fn-ref
|
||||
"src.ai_client._add_bleed_derived" "src\ai_client.py" 0 "producer" fn-ref
|
||||
"src.app_controller.get_performance" "src\app_controller.py" 0 "producer" fn-ref
|
||||
"src.api_hook_client.set_value" "src\api_hook_client.py" 0 "producer" fn-ref
|
||||
"src.api_hook_client.get_warmup_wait" "src\api_hook_client.py" 0 "producer" fn-ref
|
||||
"src.ai_client._parse_tool_args_result" "src\ai_client.py" 0 "producer" fn-ref
|
||||
"src.project_manager.load_project" "src\project_manager.py" 0 "producer" fn-ref
|
||||
"src.app_controller._api_get_performance" "src\app_controller.py" 0 "producer" fn-ref
|
||||
"src.api_hook_client.right_click" "src\api_hook_client.py" 0 "producer" fn-ref
|
||||
"src.app_controller._api_get_api_session" "src\app_controller.py" 0 "producer" fn-ref
|
||||
"src.api_hook_client.get_project_switch_status" "src\api_hook_client.py" 0 "producer" fn-ref
|
||||
"src.api_hook_client.post_session" "src\api_hook_client.py" 0 "producer" fn-ref
|
||||
"src.app_controller.get_context" "src\app_controller.py" 0 "producer" fn-ref
|
||||
"src.api_hook_client.get_project" "src\api_hook_client.py" 0 "producer" fn-ref
|
||||
"src.api_hook_client.push_event" "src\api_hook_client.py" 0 "producer" fn-ref
|
||||
"src.app_controller.wait" "src\app_controller.py" 0 "producer" fn-ref
|
||||
"src.app_controller.get_session" "src\app_controller.py" 0 "producer" fn-ref
|
||||
"src.app_controller.token_stats" "src\app_controller.py" 0 "producer" fn-ref
|
||||
"src.api_hook_client.post_gui" "src\api_hook_client.py" 0 "producer" fn-ref
|
||||
"src.api_hook_client.get_status" "src\api_hook_client.py" 0 "producer" fn-ref
|
||||
"src.app_controller._api_get_session" "src\app_controller.py" 0 "producer" fn-ref
|
||||
"src.api_hook_client.get_mma_workers" "src\api_hook_client.py" 0 "producer" fn-ref
|
||||
"src.project_manager.default_project" "src\project_manager.py" 0 "producer" fn-ref
|
||||
"src.project_manager.flat_config" "src\project_manager.py" 0 "producer" fn-ref
|
||||
"src.api_hook_client.get_performance" "src\api_hook_client.py" 0 "producer" fn-ref
|
||||
"src.api_hook_client.apply_patch" "src\api_hook_client.py" 0 "producer" fn-ref
|
||||
"src.api_hook_client.select_list_item" "src\api_hook_client.py" 0 "producer" fn-ref
|
||||
"src.app_controller.get_gui_state" "src\app_controller.py" 0 "producer" fn-ref
|
||||
"src.api_hook_client.get_mma_status" "src\api_hook_client.py" 0 "producer" fn-ref
|
||||
"src.ai_client._load_credentials" "src\ai_client.py" 0 "producer" fn-ref
|
||||
"src.api_hook_client.get_financial_metrics" "src\api_hook_client.py" 0 "producer" fn-ref
|
||||
"src.app_controller._api_get_mma_status" "src\app_controller.py" 0 "producer" fn-ref
|
||||
"src.app_controller.get_api_project" "src\app_controller.py" 0 "producer" fn-ref
|
||||
"src.app_controller._offload_entry_payload" "src\app_controller.py" 0 "producer" fn-ref
|
||||
"src.api_hook_client.drag" "src\api_hook_client.py" 0 "producer" fn-ref
|
||||
"src.ai_client._send_cli_round_result" "src\ai_client.py" 0 "producer" fn-ref
|
||||
"src.project_manager.migrate_from_legacy_config" "src\project_manager.py" 0 "producer" fn-ref
|
||||
"src.api_hook_client.get_startup_timeline" "src\api_hook_client.py" 0 "producer" fn-ref
|
||||
"src.project_manager.str_to_entry" "src\project_manager.py" 0 "producer" fn-ref
|
||||
"src.api_hook_client.click" "src\api_hook_client.py" 0 "producer" fn-ref
|
||||
"src.app_controller.get_api_session" "src\app_controller.py" 0 "producer" fn-ref
|
||||
"src.api_hook_client.trigger_patch" "src\api_hook_client.py" 0 "producer" fn-ref
|
||||
"src.app_controller.get_diagnostics" "src\app_controller.py" 0 "producer" fn-ref
|
||||
"src.api_hook_client.select_tab" "src\api_hook_client.py" 0 "producer" fn-ref
|
||||
"src.api_hook_client.get_warmup_status" "src\api_hook_client.py" 0 "producer" fn-ref
|
||||
"src.models._load_config_from_disk" "src\models.py" 0 "producer" fn-ref
|
||||
"src.project_manager.default_discussion" "src\project_manager.py" 0 "producer" fn-ref
|
||||
"src.ai_client._dashscope_call" "src\ai_client.py" 0 "producer" fn-ref
|
||||
"src.api_hook_client.get_patch_status" "src\api_hook_client.py" 0 "producer" fn-ref
|
||||
"src.app_controller._api_get_api_project" "src\app_controller.py" 0 "producer" fn-ref
|
||||
"src.api_hook_client.post_project" "src\api_hook_client.py" 0 "producer" fn-ref
|
||||
"src.app_controller.get_mma_status" "src\app_controller.py" 0 "producer" fn-ref
|
||||
"src.app_controller.generate" "src\app_controller.py" 0 "producer" fn-ref
|
||||
"src.api_hook_client.get_gui_diagnostics" "src\api_hook_client.py" 0 "producer" fn-ref
|
||||
"src.ai_client._content_block_to_dict" "src\ai_client.py" 0 "producer" fn-ref
|
||||
"src.ai_client.ollama_chat" "src\ai_client.py" 0 "producer" fn-ref
|
||||
"src.app_controller.get_session_insights" "src\app_controller.py" 0 "producer" fn-ref
|
||||
"src.app_controller.load_config" "src\app_controller.py" 0 "producer" fn-ref
|
||||
"src.app_controller._api_token_stats" "src\app_controller.py" 0 "producer" fn-ref
|
||||
"src.api_hook_client.reject_patch" "src\api_hook_client.py" 0 "producer" fn-ref
|
||||
"src.api_hook_client.wait_for_project_switch" "src\api_hook_client.py" 0 "producer" fn-ref
|
||||
"src.app_controller._api_get_gui_state" "src\app_controller.py" 0 "producer" fn-ref
|
||||
"src.api_hook_client.get_node_status" "src\api_hook_client.py" 0 "producer" fn-ref
|
||||
"src.app_controller.status" "src\app_controller.py" 0 "producer" fn-ref
|
||||
"src.app_controller._api_status" "src\app_controller.py" 0 "producer" fn-ref
|
||||
"src.app_controller._api_generate" "src\app_controller.py" 0 "producer" fn-ref
|
||||
"src.app_controller._api_get_context" "src\app_controller.py" 0 "producer" fn-ref
|
||||
"src.models.to_dict" "src\models.py" 0 "producer" fn-ref
|
||||
"src.api_hook_client.get_session" "src\api_hook_client.py" 0 "producer" fn-ref
|
||||
"src.app_controller._api_get_diagnostics" "src\app_controller.py" 0 "producer" fn-ref
|
||||
"src.api_hook_client.get_gui_health" "src\api_hook_client.py" 0 "producer" fn-ref
|
||||
"src.api_hook_client.get_system_telemetry" "src\api_hook_client.py" 0 "producer" fn-ref
|
||||
"src.ai_client.get_gemini_cache_stats" "src\ai_client.py" 0 "producer" fn-ref
|
||||
|
||||
\ === consumers (35 items) ===
|
||||
"src.ai_client._dashscope_call" "src\ai_client.py" 0 "consumer" fn-ref
|
||||
"src.ai_client._strip_stale_file_refreshes" "src\ai_client.py" 0 "consumer" fn-ref
|
||||
"src.project_manager.format_discussion" "src\project_manager.py" 0 "consumer" fn-ref
|
||||
"src.aggregate.build_markdown_no_history" "src\aggregate.py" 0 "consumer" fn-ref
|
||||
"src.ai_client._invalidate_token_estimate" "src\ai_client.py" 0 "consumer" fn-ref
|
||||
"src.app_controller._offload_entry_payload" "src\app_controller.py" 0 "consumer" fn-ref
|
||||
"src.project_manager.save_project" "src\project_manager.py" 0 "consumer" fn-ref
|
||||
"src.aggregate.run" "src\aggregate.py" 0 "consumer" fn-ref
|
||||
"src.app_controller._on_comms_entry" "src\app_controller.py" 0 "consumer" fn-ref
|
||||
"src.ai_client._pre_dispatch" "src\ai_client.py" 0 "consumer" fn-ref
|
||||
"src.ai_client._add_history_cache_breakpoint" "src\ai_client.py" 0 "consumer" fn-ref
|
||||
"src.models.from_dict" "src\models.py" 0 "consumer" fn-ref
|
||||
"src.project_manager.migrate_from_legacy_config" "src\project_manager.py" 0 "consumer" fn-ref
|
||||
"src.models._save_config_to_disk" "src\models.py" 0 "consumer" fn-ref
|
||||
"src.ai_client._execute_single_tool_call_async" "src\ai_client.py" 0 "consumer" fn-ref
|
||||
"src.ai_client.ollama_chat" "src\ai_client.py" 0 "consumer" fn-ref
|
||||
"src.ai_client._add_bleed_derived" "src\ai_client.py" 0 "consumer" fn-ref
|
||||
"src.app_controller._start_track_logic" "src\app_controller.py" 0 "consumer" fn-ref
|
||||
"src.ai_client._estimate_prompt_tokens" "src\ai_client.py" 0 "consumer" fn-ref
|
||||
"src.ai_client._repair_anthropic_history" "src\ai_client.py" 0 "consumer" fn-ref
|
||||
"src.ai_client._append_comms" "src\ai_client.py" 0 "consumer" fn-ref
|
||||
"src.ai_client._strip_cache_controls" "src\ai_client.py" 0 "consumer" fn-ref
|
||||
"src.ai_client._repair_deepseek_history" "src\ai_client.py" 0 "consumer" fn-ref
|
||||
"src.ai_client._estimate_message_tokens" "src\ai_client.py" 0 "consumer" fn-ref
|
||||
"src.aggregate.build_tier3_context" "src\aggregate.py" 0 "consumer" fn-ref
|
||||
"src.project_manager.entry_to_str" "src\project_manager.py" 0 "consumer" fn-ref
|
||||
"src.project_manager.flat_config" "src\project_manager.py" 0 "consumer" fn-ref
|
||||
"src.ai_client._trim_anthropic_history" "src\ai_client.py" 0 "consumer" fn-ref
|
||||
"src.app_controller._refresh_api_metrics" "src\app_controller.py" 0 "consumer" fn-ref
|
||||
"src.ai_client._repair_minimax_history" "src\ai_client.py" 0 "consumer" fn-ref
|
||||
"src.aggregate.build_markdown_from_items" "src\aggregate.py" 0 "consumer" fn-ref
|
||||
"src.app_controller._start_track_logic_result" "src\app_controller.py" 0 "consumer" fn-ref
|
||||
"src.ai_client._strip_private_keys" "src\ai_client.py" 0 "consumer" fn-ref
|
||||
"src.aggregate._build_files_section_from_items" "src\aggregate.py" 0 "consumer" fn-ref
|
||||
"src.ai_client._trim_minimax_history" "src\ai_client.py" 0 "consumer" fn-ref
|
||||
|
||||
\ === access_pattern ===
|
||||
"whole_struct" access-pattern
|
||||
|
||||
\ === access_pattern_evidence (0 items) ===
|
||||
|
||||
\ === frequency ===
|
||||
"per_turn" frequency
|
||||
|
||||
\ === frequency_evidence (0 items) ===
|
||||
|
||||
\ === result_coverage ===
|
||||
77 77 35 0 result-coverage
|
||||
|
||||
\ === type_alias_coverage ===
|
||||
0 0 0 type-alias-coverage
|
||||
|
||||
\ === cross_audit_findings ===
|
||||
5 cross-audit-findings
|
||||
|
||||
\ === decomposition_cost ===
|
||||
0 0 0 "hold" "no data" nil 0 false decomp-cost
|
||||
|
||||
\ === optimization_candidates (0 items) ===
|
||||
|
||||
\ === is_candidate ===
|
||||
false is-candidate
|
||||
@@ -0,0 +1,49 @@
|
||||
# Aggregate Profile: Metadata
|
||||
|
||||
**Aggregate kind:** typealias
|
||||
**Memory dim:** discussion
|
||||
**Is candidate:** False
|
||||
|
||||
## Pipeline summary
|
||||
|
||||
- Producers: 77
|
||||
- Consumers: 35
|
||||
|
||||
## Access pattern
|
||||
|
||||
**Dominant pattern:** whole_struct
|
||||
**Evidence count:** 0
|
||||
|
||||
## Frequency
|
||||
|
||||
**Dominant frequency:** per_turn
|
||||
**Evidence count:** 0
|
||||
|
||||
## Result coverage
|
||||
|
||||
**Summary:**
|
||||
|
||||
## Type alias coverage
|
||||
|
||||
**Summary:**
|
||||
|
||||
## Cross-audit findings
|
||||
|
||||
| Audit script | Site count | Example | Note |
|
||||
|---|---|---|---|
|
||||
|
||||
## Decomposition cost
|
||||
|
||||
**Current cost estimate:** 0 us
|
||||
**Componentize savings:** 0 us
|
||||
**Unify savings:** 0 us
|
||||
**Recommended direction:** hold
|
||||
**Rationale:** no data
|
||||
|
||||
## Optimization candidates
|
||||
|
||||
_(none)_
|
||||
|
||||
## Verdict
|
||||
|
||||
no data
|
||||
@@ -0,0 +1,124 @@
|
||||
Metadata: Metadata
|
||||
|- kind: typealias
|
||||
|- memory_dim: discussion
|
||||
|- producers: [77]
|
||||
| |- src.project_manager.load_history (producer)
|
||||
| |- src.api_hook_client.get_context_state (producer)
|
||||
| |- src.api_hook_client.get_gui_state (producer)
|
||||
| |- src.ai_client.get_token_stats (producer)
|
||||
| |- src.api_hook_client.get_io_pool_status (producer)
|
||||
| |- src.ai_client._add_bleed_derived (producer)
|
||||
| |- src.app_controller.get_performance (producer)
|
||||
| |- src.api_hook_client.set_value (producer)
|
||||
| |- src.api_hook_client.get_warmup_wait (producer)
|
||||
| |- src.ai_client._parse_tool_args_result (producer)
|
||||
| |- src.project_manager.load_project (producer)
|
||||
| |- src.app_controller._api_get_performance (producer)
|
||||
| |- src.api_hook_client.right_click (producer)
|
||||
| |- src.app_controller._api_get_api_session (producer)
|
||||
| |- src.api_hook_client.get_project_switch_status (producer)
|
||||
| |- src.api_hook_client.post_session (producer)
|
||||
| |- src.app_controller.get_context (producer)
|
||||
| |- src.api_hook_client.get_project (producer)
|
||||
| |- src.api_hook_client.push_event (producer)
|
||||
| |- src.app_controller.wait (producer)
|
||||
| |- src.app_controller.get_session (producer)
|
||||
| |- src.app_controller.token_stats (producer)
|
||||
| |- src.api_hook_client.post_gui (producer)
|
||||
| |- src.api_hook_client.get_status (producer)
|
||||
| |- src.app_controller._api_get_session (producer)
|
||||
| |- src.api_hook_client.get_mma_workers (producer)
|
||||
| |- src.project_manager.default_project (producer)
|
||||
| |- src.project_manager.flat_config (producer)
|
||||
| |- src.api_hook_client.get_performance (producer)
|
||||
| |- src.api_hook_client.apply_patch (producer)
|
||||
| |- src.api_hook_client.select_list_item (producer)
|
||||
| |- src.app_controller.get_gui_state (producer)
|
||||
| |- src.api_hook_client.get_mma_status (producer)
|
||||
| |- src.ai_client._load_credentials (producer)
|
||||
| |- src.api_hook_client.get_financial_metrics (producer)
|
||||
| |- src.app_controller._api_get_mma_status (producer)
|
||||
| |- src.app_controller.get_api_project (producer)
|
||||
| |- src.app_controller._offload_entry_payload (producer)
|
||||
| |- src.api_hook_client.drag (producer)
|
||||
| |- src.ai_client._send_cli_round_result (producer)
|
||||
| |- src.project_manager.migrate_from_legacy_config (producer)
|
||||
| |- src.api_hook_client.get_startup_timeline (producer)
|
||||
| |- src.project_manager.str_to_entry (producer)
|
||||
| |- src.api_hook_client.click (producer)
|
||||
| |- src.app_controller.get_api_session (producer)
|
||||
| |- src.api_hook_client.trigger_patch (producer)
|
||||
| |- src.app_controller.get_diagnostics (producer)
|
||||
| |- src.api_hook_client.select_tab (producer)
|
||||
| |- src.api_hook_client.get_warmup_status (producer)
|
||||
| |- src.models._load_config_from_disk (producer)
|
||||
| |- src.project_manager.default_discussion (producer)
|
||||
| |- src.ai_client._dashscope_call (producer)
|
||||
| |- src.api_hook_client.get_patch_status (producer)
|
||||
| |- src.app_controller._api_get_api_project (producer)
|
||||
| |- src.api_hook_client.post_project (producer)
|
||||
| |- src.app_controller.get_mma_status (producer)
|
||||
| |- src.app_controller.generate (producer)
|
||||
| |- src.api_hook_client.get_gui_diagnostics (producer)
|
||||
| |- src.ai_client._content_block_to_dict (producer)
|
||||
| |- src.ai_client.ollama_chat (producer)
|
||||
| |- src.app_controller.get_session_insights (producer)
|
||||
| |- src.app_controller.load_config (producer)
|
||||
| |- src.app_controller._api_token_stats (producer)
|
||||
| |- src.api_hook_client.reject_patch (producer)
|
||||
| |- src.api_hook_client.wait_for_project_switch (producer)
|
||||
| |- src.app_controller._api_get_gui_state (producer)
|
||||
| |- src.api_hook_client.get_node_status (producer)
|
||||
| |- src.app_controller.status (producer)
|
||||
| |- src.app_controller._api_status (producer)
|
||||
| |- src.app_controller._api_generate (producer)
|
||||
| |- src.app_controller._api_get_context (producer)
|
||||
| |- src.models.to_dict (producer)
|
||||
| |- src.api_hook_client.get_session (producer)
|
||||
| |- src.app_controller._api_get_diagnostics (producer)
|
||||
| |- src.api_hook_client.get_gui_health (producer)
|
||||
| |- src.api_hook_client.get_system_telemetry (producer)
|
||||
| |- src.ai_client.get_gemini_cache_stats (producer)
|
||||
|- consumers: [35]
|
||||
| |- src.ai_client._dashscope_call (consumer)
|
||||
| |- src.ai_client._strip_stale_file_refreshes (consumer)
|
||||
| |- src.project_manager.format_discussion (consumer)
|
||||
| |- src.aggregate.build_markdown_no_history (consumer)
|
||||
| |- src.ai_client._invalidate_token_estimate (consumer)
|
||||
| |- src.app_controller._offload_entry_payload (consumer)
|
||||
| |- src.project_manager.save_project (consumer)
|
||||
| |- src.aggregate.run (consumer)
|
||||
| |- src.app_controller._on_comms_entry (consumer)
|
||||
| |- src.ai_client._pre_dispatch (consumer)
|
||||
| |- src.ai_client._add_history_cache_breakpoint (consumer)
|
||||
| |- src.models.from_dict (consumer)
|
||||
| |- src.project_manager.migrate_from_legacy_config (consumer)
|
||||
| |- src.models._save_config_to_disk (consumer)
|
||||
| |- src.ai_client._execute_single_tool_call_async (consumer)
|
||||
| |- src.ai_client.ollama_chat (consumer)
|
||||
| |- src.ai_client._add_bleed_derived (consumer)
|
||||
| |- src.app_controller._start_track_logic (consumer)
|
||||
| |- src.ai_client._estimate_prompt_tokens (consumer)
|
||||
| |- src.ai_client._repair_anthropic_history (consumer)
|
||||
| |- src.ai_client._append_comms (consumer)
|
||||
| |- src.ai_client._strip_cache_controls (consumer)
|
||||
| |- src.ai_client._repair_deepseek_history (consumer)
|
||||
| |- src.ai_client._estimate_message_tokens (consumer)
|
||||
| |- src.aggregate.build_tier3_context (consumer)
|
||||
| |- src.project_manager.entry_to_str (consumer)
|
||||
| |- src.project_manager.flat_config (consumer)
|
||||
| |- src.ai_client._trim_anthropic_history (consumer)
|
||||
| |- src.app_controller._refresh_api_metrics (consumer)
|
||||
| |- src.ai_client._repair_minimax_history (consumer)
|
||||
| |- src.aggregate.build_markdown_from_items (consumer)
|
||||
| |- src.app_controller._start_track_logic_result (consumer)
|
||||
| |- src.ai_client._strip_private_keys (consumer)
|
||||
| |- src.aggregate._build_files_section_from_items (consumer)
|
||||
| |- src.ai_client._trim_minimax_history (consumer)
|
||||
|- access_pattern: whole_struct
|
||||
|- frequency: per_turn
|
||||
|- result_coverage:
|
||||
|- type_alias_coverage:
|
||||
|- cross_audit_findings: 0 findings
|
||||
|- decomposition_cost: hold (0 us)
|
||||
|- optimization_candidates: [0]
|
||||
@@ -0,0 +1,39 @@
|
||||
\ AggregateProfile: "ProviderHistory"
|
||||
\ generated 2026-06-22 by src.code_path_audit v2
|
||||
|
||||
\ === aggregate_kind ===
|
||||
"candidate_dataclass" kind
|
||||
|
||||
\ === memory_dim ===
|
||||
"unknown" mem-dim
|
||||
|
||||
\ === producers (0 items) ===
|
||||
|
||||
\ === consumers (0 items) ===
|
||||
|
||||
\ === access_pattern ===
|
||||
"mixed" access-pattern
|
||||
|
||||
\ === access_pattern_evidence (0 items) ===
|
||||
|
||||
\ === frequency ===
|
||||
"unknown" frequency
|
||||
|
||||
\ === frequency_evidence (0 items) ===
|
||||
|
||||
\ === result_coverage ===
|
||||
0 0 0 0 result-coverage
|
||||
|
||||
\ === type_alias_coverage ===
|
||||
0 0 0 type-alias-coverage
|
||||
|
||||
\ === cross_audit_findings ===
|
||||
5 cross-audit-findings
|
||||
|
||||
\ === decomposition_cost ===
|
||||
0 0 0 "insufficient_data" "candidate aggregate; would be detected after any_type_componentization_20260621 merges" nil 0 false decomp-cost
|
||||
|
||||
\ === optimization_candidates (0 items) ===
|
||||
|
||||
\ === is_candidate ===
|
||||
true is-candidate
|
||||
@@ -0,0 +1,49 @@
|
||||
# Aggregate Profile: ProviderHistory
|
||||
|
||||
**Aggregate kind:** candidate_dataclass
|
||||
**Memory dim:** unknown
|
||||
**Is candidate:** True
|
||||
|
||||
## Pipeline summary
|
||||
|
||||
- Producers: 0
|
||||
- Consumers: 0
|
||||
|
||||
## Access pattern
|
||||
|
||||
**Dominant pattern:** mixed
|
||||
**Evidence count:** 0
|
||||
|
||||
## Frequency
|
||||
|
||||
**Dominant frequency:** unknown
|
||||
**Evidence count:** 0
|
||||
|
||||
## Result coverage
|
||||
|
||||
**Summary:**
|
||||
|
||||
## Type alias coverage
|
||||
|
||||
**Summary:**
|
||||
|
||||
## Cross-audit findings
|
||||
|
||||
| Audit script | Site count | Example | Note |
|
||||
|---|---|---|---|
|
||||
|
||||
## Decomposition cost
|
||||
|
||||
**Current cost estimate:** 0 us
|
||||
**Componentize savings:** 0 us
|
||||
**Unify savings:** 0 us
|
||||
**Recommended direction:** insufficient_data
|
||||
**Rationale:** candidate aggregate; would be detected after any_type_componentization_20260621 merges
|
||||
|
||||
## Optimization candidates
|
||||
|
||||
_(none)_
|
||||
|
||||
## Verdict
|
||||
|
||||
candidate aggregate; would be detected after any_type_componentization_20260621 merges
|
||||
@@ -0,0 +1,12 @@
|
||||
Metadata: ProviderHistory
|
||||
|- kind: candidate_dataclass
|
||||
|- memory_dim: unknown
|
||||
|- producers: [0]
|
||||
|- consumers: [0]
|
||||
|- access_pattern: mixed
|
||||
|- frequency: unknown
|
||||
|- result_coverage:
|
||||
|- type_alias_coverage:
|
||||
|- cross_audit_findings: 0 findings
|
||||
|- decomposition_cost: insufficient_data (0 us)
|
||||
|- optimization_candidates: [0]
|
||||
@@ -0,0 +1,39 @@
|
||||
\ AggregateProfile: "Result"
|
||||
\ generated 2026-06-22 by src.code_path_audit v2
|
||||
|
||||
\ === aggregate_kind ===
|
||||
"typealias" kind
|
||||
|
||||
\ === memory_dim ===
|
||||
"control" mem-dim
|
||||
|
||||
\ === producers (0 items) ===
|
||||
|
||||
\ === consumers (0 items) ===
|
||||
|
||||
\ === access_pattern ===
|
||||
"whole_struct" access-pattern
|
||||
|
||||
\ === access_pattern_evidence (0 items) ===
|
||||
|
||||
\ === frequency ===
|
||||
"per_turn" frequency
|
||||
|
||||
\ === frequency_evidence (0 items) ===
|
||||
|
||||
\ === result_coverage ===
|
||||
0 0 0 0 result-coverage
|
||||
|
||||
\ === type_alias_coverage ===
|
||||
0 0 0 type-alias-coverage
|
||||
|
||||
\ === cross_audit_findings ===
|
||||
5 cross-audit-findings
|
||||
|
||||
\ === decomposition_cost ===
|
||||
0 0 0 "hold" "no data" nil 0 false decomp-cost
|
||||
|
||||
\ === optimization_candidates (0 items) ===
|
||||
|
||||
\ === is_candidate ===
|
||||
false is-candidate
|
||||
@@ -0,0 +1,49 @@
|
||||
# Aggregate Profile: Result
|
||||
|
||||
**Aggregate kind:** typealias
|
||||
**Memory dim:** control
|
||||
**Is candidate:** False
|
||||
|
||||
## Pipeline summary
|
||||
|
||||
- Producers: 0
|
||||
- Consumers: 0
|
||||
|
||||
## Access pattern
|
||||
|
||||
**Dominant pattern:** whole_struct
|
||||
**Evidence count:** 0
|
||||
|
||||
## Frequency
|
||||
|
||||
**Dominant frequency:** per_turn
|
||||
**Evidence count:** 0
|
||||
|
||||
## Result coverage
|
||||
|
||||
**Summary:**
|
||||
|
||||
## Type alias coverage
|
||||
|
||||
**Summary:**
|
||||
|
||||
## Cross-audit findings
|
||||
|
||||
| Audit script | Site count | Example | Note |
|
||||
|---|---|---|---|
|
||||
|
||||
## Decomposition cost
|
||||
|
||||
**Current cost estimate:** 0 us
|
||||
**Componentize savings:** 0 us
|
||||
**Unify savings:** 0 us
|
||||
**Recommended direction:** hold
|
||||
**Rationale:** no data
|
||||
|
||||
## Optimization candidates
|
||||
|
||||
_(none)_
|
||||
|
||||
## Verdict
|
||||
|
||||
no data
|
||||
@@ -0,0 +1,12 @@
|
||||
Metadata: Result
|
||||
|- kind: typealias
|
||||
|- memory_dim: control
|
||||
|- producers: [0]
|
||||
|- consumers: [0]
|
||||
|- access_pattern: whole_struct
|
||||
|- frequency: per_turn
|
||||
|- result_coverage:
|
||||
|- type_alias_coverage:
|
||||
|- cross_audit_findings: 0 findings
|
||||
|- decomposition_cost: hold (0 us)
|
||||
|- optimization_candidates: [0]
|
||||
@@ -0,0 +1,41 @@
|
||||
\ AggregateProfile: "ToolCall"
|
||||
\ generated 2026-06-22 by src.code_path_audit v2
|
||||
|
||||
\ === aggregate_kind ===
|
||||
"typealias" kind
|
||||
|
||||
\ === memory_dim ===
|
||||
"control" mem-dim
|
||||
|
||||
\ === producers (1 items) ===
|
||||
"src.openai_compatible._to_typed_tool_call" "src\openai_compatible.py" 0 "producer" fn-ref
|
||||
|
||||
\ === consumers (1 items) ===
|
||||
"src.openai_compatible._to_dict_tool_call" "src\openai_compatible.py" 0 "consumer" fn-ref
|
||||
|
||||
\ === access_pattern ===
|
||||
"whole_struct" access-pattern
|
||||
|
||||
\ === access_pattern_evidence (0 items) ===
|
||||
|
||||
\ === frequency ===
|
||||
"per_turn" frequency
|
||||
|
||||
\ === frequency_evidence (0 items) ===
|
||||
|
||||
\ === result_coverage ===
|
||||
1 1 1 0 result-coverage
|
||||
|
||||
\ === type_alias_coverage ===
|
||||
0 0 0 type-alias-coverage
|
||||
|
||||
\ === cross_audit_findings ===
|
||||
5 cross-audit-findings
|
||||
|
||||
\ === decomposition_cost ===
|
||||
0 0 0 "hold" "no data" nil 0 false decomp-cost
|
||||
|
||||
\ === optimization_candidates (0 items) ===
|
||||
|
||||
\ === is_candidate ===
|
||||
false is-candidate
|
||||
@@ -0,0 +1,49 @@
|
||||
# Aggregate Profile: ToolCall
|
||||
|
||||
**Aggregate kind:** typealias
|
||||
**Memory dim:** control
|
||||
**Is candidate:** False
|
||||
|
||||
## Pipeline summary
|
||||
|
||||
- Producers: 1
|
||||
- Consumers: 1
|
||||
|
||||
## Access pattern
|
||||
|
||||
**Dominant pattern:** whole_struct
|
||||
**Evidence count:** 0
|
||||
|
||||
## Frequency
|
||||
|
||||
**Dominant frequency:** per_turn
|
||||
**Evidence count:** 0
|
||||
|
||||
## Result coverage
|
||||
|
||||
**Summary:**
|
||||
|
||||
## Type alias coverage
|
||||
|
||||
**Summary:**
|
||||
|
||||
## Cross-audit findings
|
||||
|
||||
| Audit script | Site count | Example | Note |
|
||||
|---|---|---|---|
|
||||
|
||||
## Decomposition cost
|
||||
|
||||
**Current cost estimate:** 0 us
|
||||
**Componentize savings:** 0 us
|
||||
**Unify savings:** 0 us
|
||||
**Recommended direction:** hold
|
||||
**Rationale:** no data
|
||||
|
||||
## Optimization candidates
|
||||
|
||||
_(none)_
|
||||
|
||||
## Verdict
|
||||
|
||||
no data
|
||||
@@ -0,0 +1,14 @@
|
||||
Metadata: ToolCall
|
||||
|- kind: typealias
|
||||
|- memory_dim: control
|
||||
|- producers: [1]
|
||||
| |- src.openai_compatible._to_typed_tool_call (producer)
|
||||
|- consumers: [1]
|
||||
| |- src.openai_compatible._to_dict_tool_call (consumer)
|
||||
|- access_pattern: whole_struct
|
||||
|- frequency: per_turn
|
||||
|- result_coverage:
|
||||
|- type_alias_coverage:
|
||||
|- cross_audit_findings: 0 findings
|
||||
|- decomposition_cost: hold (0 us)
|
||||
|- optimization_candidates: [0]
|
||||
@@ -0,0 +1,39 @@
|
||||
\ AggregateProfile: "ToolDefinition"
|
||||
\ generated 2026-06-22 by src.code_path_audit v2
|
||||
|
||||
\ === aggregate_kind ===
|
||||
"typealias" kind
|
||||
|
||||
\ === memory_dim ===
|
||||
"control" mem-dim
|
||||
|
||||
\ === producers (0 items) ===
|
||||
|
||||
\ === consumers (0 items) ===
|
||||
|
||||
\ === access_pattern ===
|
||||
"whole_struct" access-pattern
|
||||
|
||||
\ === access_pattern_evidence (0 items) ===
|
||||
|
||||
\ === frequency ===
|
||||
"per_turn" frequency
|
||||
|
||||
\ === frequency_evidence (0 items) ===
|
||||
|
||||
\ === result_coverage ===
|
||||
0 0 0 0 result-coverage
|
||||
|
||||
\ === type_alias_coverage ===
|
||||
0 0 0 type-alias-coverage
|
||||
|
||||
\ === cross_audit_findings ===
|
||||
5 cross-audit-findings
|
||||
|
||||
\ === decomposition_cost ===
|
||||
0 0 0 "hold" "no data" nil 0 false decomp-cost
|
||||
|
||||
\ === optimization_candidates (0 items) ===
|
||||
|
||||
\ === is_candidate ===
|
||||
false is-candidate
|
||||
@@ -0,0 +1,49 @@
|
||||
# Aggregate Profile: ToolDefinition
|
||||
|
||||
**Aggregate kind:** typealias
|
||||
**Memory dim:** control
|
||||
**Is candidate:** False
|
||||
|
||||
## Pipeline summary
|
||||
|
||||
- Producers: 0
|
||||
- Consumers: 0
|
||||
|
||||
## Access pattern
|
||||
|
||||
**Dominant pattern:** whole_struct
|
||||
**Evidence count:** 0
|
||||
|
||||
## Frequency
|
||||
|
||||
**Dominant frequency:** per_turn
|
||||
**Evidence count:** 0
|
||||
|
||||
## Result coverage
|
||||
|
||||
**Summary:**
|
||||
|
||||
## Type alias coverage
|
||||
|
||||
**Summary:**
|
||||
|
||||
## Cross-audit findings
|
||||
|
||||
| Audit script | Site count | Example | Note |
|
||||
|---|---|---|---|
|
||||
|
||||
## Decomposition cost
|
||||
|
||||
**Current cost estimate:** 0 us
|
||||
**Componentize savings:** 0 us
|
||||
**Unify savings:** 0 us
|
||||
**Recommended direction:** hold
|
||||
**Rationale:** no data
|
||||
|
||||
## Optimization candidates
|
||||
|
||||
_(none)_
|
||||
|
||||
## Verdict
|
||||
|
||||
no data
|
||||
@@ -0,0 +1,12 @@
|
||||
Metadata: ToolDefinition
|
||||
|- kind: typealias
|
||||
|- memory_dim: control
|
||||
|- producers: [0]
|
||||
|- consumers: [0]
|
||||
|- access_pattern: whole_struct
|
||||
|- frequency: per_turn
|
||||
|- result_coverage:
|
||||
|- type_alias_coverage:
|
||||
|- cross_audit_findings: 0 findings
|
||||
|- decomposition_cost: hold (0 us)
|
||||
|- optimization_candidates: [0]
|
||||
@@ -0,0 +1,39 @@
|
||||
\ AggregateProfile: "ToolSpec"
|
||||
\ generated 2026-06-22 by src.code_path_audit v2
|
||||
|
||||
\ === aggregate_kind ===
|
||||
"candidate_dataclass" kind
|
||||
|
||||
\ === memory_dim ===
|
||||
"unknown" mem-dim
|
||||
|
||||
\ === producers (0 items) ===
|
||||
|
||||
\ === consumers (0 items) ===
|
||||
|
||||
\ === access_pattern ===
|
||||
"mixed" access-pattern
|
||||
|
||||
\ === access_pattern_evidence (0 items) ===
|
||||
|
||||
\ === frequency ===
|
||||
"unknown" frequency
|
||||
|
||||
\ === frequency_evidence (0 items) ===
|
||||
|
||||
\ === result_coverage ===
|
||||
0 0 0 0 result-coverage
|
||||
|
||||
\ === type_alias_coverage ===
|
||||
0 0 0 type-alias-coverage
|
||||
|
||||
\ === cross_audit_findings ===
|
||||
5 cross-audit-findings
|
||||
|
||||
\ === decomposition_cost ===
|
||||
0 0 0 "insufficient_data" "candidate aggregate; would be detected after any_type_componentization_20260621 merges" nil 0 false decomp-cost
|
||||
|
||||
\ === optimization_candidates (0 items) ===
|
||||
|
||||
\ === is_candidate ===
|
||||
true is-candidate
|
||||
@@ -0,0 +1,49 @@
|
||||
# Aggregate Profile: ToolSpec
|
||||
|
||||
**Aggregate kind:** candidate_dataclass
|
||||
**Memory dim:** unknown
|
||||
**Is candidate:** True
|
||||
|
||||
## Pipeline summary
|
||||
|
||||
- Producers: 0
|
||||
- Consumers: 0
|
||||
|
||||
## Access pattern
|
||||
|
||||
**Dominant pattern:** mixed
|
||||
**Evidence count:** 0
|
||||
|
||||
## Frequency
|
||||
|
||||
**Dominant frequency:** unknown
|
||||
**Evidence count:** 0
|
||||
|
||||
## Result coverage
|
||||
|
||||
**Summary:**
|
||||
|
||||
## Type alias coverage
|
||||
|
||||
**Summary:**
|
||||
|
||||
## Cross-audit findings
|
||||
|
||||
| Audit script | Site count | Example | Note |
|
||||
|---|---|---|---|
|
||||
|
||||
## Decomposition cost
|
||||
|
||||
**Current cost estimate:** 0 us
|
||||
**Componentize savings:** 0 us
|
||||
**Unify savings:** 0 us
|
||||
**Recommended direction:** insufficient_data
|
||||
**Rationale:** candidate aggregate; would be detected after any_type_componentization_20260621 merges
|
||||
|
||||
## Optimization candidates
|
||||
|
||||
_(none)_
|
||||
|
||||
## Verdict
|
||||
|
||||
candidate aggregate; would be detected after any_type_componentization_20260621 merges
|
||||
@@ -0,0 +1,12 @@
|
||||
Metadata: ToolSpec
|
||||
|- kind: candidate_dataclass
|
||||
|- memory_dim: unknown
|
||||
|- producers: [0]
|
||||
|- consumers: [0]
|
||||
|- access_pattern: mixed
|
||||
|- frequency: unknown
|
||||
|- result_coverage:
|
||||
|- type_alias_coverage:
|
||||
|- cross_audit_findings: 0 findings
|
||||
|- decomposition_cost: insufficient_data (0 us)
|
||||
|- optimization_candidates: [0]
|
||||
@@ -0,0 +1,7 @@
|
||||
# Candidate Aggregates
|
||||
|
||||
The 3 candidate aggregates (forward-compat placeholders for any_type_componentization_20260621, NOT on master).
|
||||
|
||||
- **ToolSpec**: candidate; would be detected after any_type_componentization_20260621 merges
|
||||
- **ChatMessage**: candidate; would be detected after any_type_componentization_20260621 merges
|
||||
- **ProviderHistory**: candidate; would be detected after any_type_componentization_20260621 merges
|
||||
@@ -0,0 +1,17 @@
|
||||
# Cross-Audit Summary
|
||||
|
||||
| Aggregate | weak_types | exception_handling | optional_in_baseline | config_io | import_graph | total |
|
||||
|---|---|---|---|---|---|---|
|
||||
| Metadata | 0 | 0 | 0 | 0 | 0 | 0 |
|
||||
| FileItem | 0 | 0 | 0 | 0 | 0 | 0 |
|
||||
| FileItems | 0 | 0 | 0 | 0 | 0 | 0 |
|
||||
| CommsLogEntry | 0 | 0 | 0 | 0 | 0 | 0 |
|
||||
| CommsLog | 0 | 0 | 0 | 0 | 0 | 0 |
|
||||
| HistoryMessage | 0 | 0 | 0 | 0 | 0 | 0 |
|
||||
| History | 0 | 0 | 0 | 0 | 0 | 0 |
|
||||
| ToolDefinition | 0 | 0 | 0 | 0 | 0 | 0 |
|
||||
| ToolCall | 0 | 0 | 0 | 0 | 0 | 0 |
|
||||
| Result | 0 | 0 | 0 | 0 | 0 | 0 |
|
||||
| ToolSpec | 0 | 0 | 0 | 0 | 0 | 0 |
|
||||
| ChatMessage | 0 | 0 | 0 | 0 | 0 | 0 |
|
||||
| ProviderHistory | 0 | 0 | 0 | 0 | 0 | 0 |
|
||||
@@ -0,0 +1,6 @@
|
||||
# Decomposition Matrix
|
||||
|
||||
## Top 10 candidates by estimated savings
|
||||
|
||||
| Rank | Aggregate | Direction | Est. savings (us) | Frequency | Effort | Priority |
|
||||
|---|---|---|---|---|---|---|
|
||||
@@ -0,0 +1,26 @@
|
||||
# Code Path & Data Pipeline Audit Summary
|
||||
|
||||
Generated for 13 aggregates
|
||||
|
||||
## 4-mem-dim rollup
|
||||
|
||||
- **control** (3): ToolDefinition, ToolCall, Result
|
||||
- **curation** (2): FileItem, FileItems
|
||||
- **discussion** (6): Metadata, CommsLogEntry, CommsLog, HistoryMessage, History, ChatMessage
|
||||
- **unknown** (2): ToolSpec, ProviderHistory
|
||||
|
||||
## Cross-validation verdict
|
||||
|
||||
- **Metadata**: result_coverage=; type_alias_coverage=
|
||||
- **FileItem**: result_coverage=; type_alias_coverage=
|
||||
- **FileItems**: result_coverage=; type_alias_coverage=
|
||||
- **CommsLogEntry**: result_coverage=; type_alias_coverage=
|
||||
- **CommsLog**: result_coverage=; type_alias_coverage=
|
||||
- **HistoryMessage**: result_coverage=; type_alias_coverage=
|
||||
- **History**: result_coverage=; type_alias_coverage=
|
||||
- **ToolDefinition**: result_coverage=; type_alias_coverage=
|
||||
- **ToolCall**: result_coverage=; type_alias_coverage=
|
||||
- **Result**: result_coverage=; type_alias_coverage=
|
||||
- **ToolSpec**: result_coverage=; type_alias_coverage=
|
||||
- **ChatMessage**: result_coverage=; type_alias_coverage=
|
||||
- **ProviderHistory**: result_coverage=; type_alias_coverage=
|
||||
Reference in New Issue
Block a user