Private
Public Access
Campaign: address the parent code_path_audit_20260607 Finding 1 (CRITICAL)
Metadata 4.01e22 effective codepaths via 3 SSDL techniques.
3 children, sequential, with budget gates:
1. metadata_nil_sentinel_20260624 (>= 10% drop): introduce
NIL_METADATA sentinel + migrate 6 nil-check functions.
2. metadata_generational_handle_20260624 (>= 20% drop,
BLOCKED_BY 1): wrap Metadata in (index, generation) handle;
collapse lifetime branches to 1 lookup + 1 cmp.
3. metadata_field_cache_20260624 (>= 30% drop, BLOCKED_BY 2):
MetadataFieldCache keyed by (handle.index, field_name);
123 string-keyed entry.get('key', default) sites become
cache lookups.
Each child has its own spec/plan/metadata/state. Budget gate
after each child: re-measure effective codepaths; if drop < threshold,
PAUSE the campaign and report to user.
End-of-campaign TRACK_COMPLETION captures the cumulative reduction
vs the 4.01e22 baseline. Deferred follow-up: apply the same
3 SSDL primitives to the 4 other dict[str, Any] aliases
(FileItem, CommsLogEntry, HistoryMessage, ToolDefinition, ToolCall).
16 files committed: 4 directories x 4 files each (spec, plan,
metadata, state).
44 lines
1.6 KiB
TOML
44 lines
1.6 KiB
TOML
# Track state for metadata_field_cache_20260624
|
|
# Child 3 of metadata_ssdl_defusing_20260624 campaign.
|
|
# 3 phases, 3 tasks. BLOCKED_BY children 1 and 2.
|
|
|
|
[meta]
|
|
track_id = "metadata_field_cache_20260624"
|
|
name = "Child 3: Metadata Field Cache"
|
|
status = "active"
|
|
current_phase = 0
|
|
last_updated = "2026-06-24"
|
|
|
|
[parent]
|
|
parent_campaign = "metadata_ssdl_defusing_20260624"
|
|
|
|
[blocked_by]
|
|
code_path_audit_20260607 = "shipped"
|
|
metadata_nil_sentinel_20260624 = "shipped"
|
|
metadata_generational_handle_20260624 = "shipped"
|
|
|
|
[blocks]
|
|
# This child blocks nothing within the campaign (it's the last child)
|
|
|
|
[phases]
|
|
phase_1 = { status = "pending", checkpointsha = "", name = "Behavioral Test" }
|
|
phase_2 = { status = "pending", checkpointsha = "", name = "Implementation (Cache + 123 migrations)" }
|
|
phase_3 = { status = "pending", checkpointsha = "", name = "Verification + Budget Gate + Campaign SHIPPED" }
|
|
|
|
[tasks]
|
|
t1_1 = { status = "pending", commit_sha = "", description = "Write tests/test_metadata_field_cache.py with 4 tests (red)" }
|
|
t2_1 = { status = "pending", commit_sha = "", description = "Add MetadataFieldCache + migrate 123 field-access sites" }
|
|
t3_1 = { status = "pending", commit_sha = "", description = "Run all 6 VCs; capture budget gate; write child TRACK_COMPLETION; write campaign TRACK_COMPLETION; update both state.toml + tracks.md" }
|
|
|
|
[verification]
|
|
vc1_field_cache_exists = false
|
|
vc2_production_uses_cache = false
|
|
vc3_behavioral_test_passes = false
|
|
vc4_budget_gate_met = false
|
|
vc5_full_test_suite_green = false
|
|
vc6_audit_gates_clean = false
|
|
|
|
[budget_gate]
|
|
baseline = "post_child_2_measurement"
|
|
expected_drop_pct = 30
|
|
post_child_3_measurement = null |