conductor(state): record scavenge pass phase_5 + s_1..s_6 tasks (15 new directives, 81 total)

This commit is contained in:
ed
2026-07-04 00:20:29 -04:00
parent b2ebe25d71
commit 6664086968
@@ -8,7 +8,7 @@
track_id = "directive_hotswap_harness_20260627"
name = "Directive Hot-Swap Harness (OpenCode Directive Presets)"
status = "active"
current_phase = 4
current_phase = 5
last_updated = "2026-07-02"
[blocked_by]
@@ -24,6 +24,7 @@ phase_1 = { status = "completed", checkpointsha = "ce0564fe", name = "Directive
phase_2 = { status = "completed", checkpointsha = "6ba4bdd", name = "Baseline Preset + Role-Prompt Bootstrap (8 steps: preset + 5 role-prompt warm with: updates)" }
phase_3 = { status = "completed", checkpointsha = "c9f30abf", name = "Verification + End-of-Track (4 steps: dir structure verify + manual LLM verify + report + commit)" }
phase_4 = { status = "completed", checkpointsha = "465433e0", name = "Directive Library Expansion (scope A back-fill + 15 new directives + aggregation script)" }
phase_5 = { status = "completed", checkpointsha = "b2ebe25d", name = "Scavenge Pass (15 new directives from MMA_Support + nagent_review + intent_dsl_survey + handoffs)" }
[tasks]
# Phase 1: directive harvest
@@ -67,20 +68,30 @@ t4_11 = { status = "completed", commit_sha = "9d3222dd", description = "E.3 Writ
t4_12 = { status = "completed", commit_sha = "465433e0", description = "E.4 Update current_baseline preset with 15 new directives (total 66; alphabetical order preserved)" }
t4_13 = { status = "completed", commit_sha = "8ef66e02", description = "E.5 Update state.toml with task records e_1..e_4 and phase_4 entry; archive throwaway expansion helpers under scripts/tier2/artifacts/" }
t5_1 = { status = "completed", commit_sha = "PENDING", description = "Every v1.md starts with an explicit '# <rule-statement>' header (63 back-filled in 8 batches; 3 already-titled: chroma_cache_path, config_state_owner, workspace_paths). New pytest test asserts the header on all 66." }
# Phase 5: scavenge pass — directive library expansion from unread markdown
# Per user directive 2026-07-02: "can markdown you haven't read yet to make sure you scavanged all possible directives buried in this codebase. Ignore most tracks except the intent based dsl track and the nagent track."
s_1 = { status = "completed", commit_sha = "bea5d6b1", description = "Scavenge batch 1/3: 5 directives from docs/MMA_Support/ — tier1_orchestrator_no_implementation, tier3_worker_amnesia, tier4_qa_compressed_fix, token_firewall_prevents_bloat, stub_before_implement" }
s_2 = { status = "completed", commit_sha = "ebca201d", description = "Scavenge batch 2/3: 5 directives from conductor/tracks/nagent_review_20260608/ — subagent_returns_artifact_not_transcript, parse_failure_visible_to_conversation, state_visible_at_the_right_layer, file_id_stable_across_rename, decompose_or_isolate_never_offload" }
s_3 = { status = "completed", commit_sha = "883f7ec5", description = "Scavenge batch 3/3: 5 directives from intent_dsl_survey + handoffs — intent_signal_postfix_not_xml, pipeline_immediate_mode_no_object, dsl_uses_first_class_spans_for_errors, search_all_call_sites_after_signature_change, run_full_tier_after_phase_refactor" }
s_4 = { status = "completed", commit_sha = "9656bf2e", description = "Update current_baseline preset with 15 new directives alphabetically interleaved (total 81); updated Notes section to track three harvest passes" }
s_5 = { status = "completed", commit_sha = "PENDING", description = "Update state.toml with s_1..s_4 task records + phase_5 entry; commit atomically with this file" }
s_6 = { status = "completed", commit_sha = "b2ebe25d", description = "Add tests/test_scavenge_directives_lift.py: 79 parametrized cases verifying the 15 new directives have v1.md + meta.md, headings, sections, preset references; plus 5 aggregate tests for total count >= 81" }
[verification]
phase_1_complete = true
phase_2_complete = true
phase_3_complete = true # §3.1 + §3.3 + §3.4 done; §3.2 deferred to user
phase_4_complete = true # scope A back-fill + 15 new directives + aggregation script + preset update
directive_count = 66
back_fill_meta_md_count = 66 # every v1.md (51 back-filled + 15 new) has a corresponding meta.md
phase_5_complete = true # scavenge pass — 15 new directives from MMA_Support + nagent_review + intent_dsl_survey + handoffs + test + preset update
directive_count = 81
back_fill_meta_md_count = 81 # every v1.md (51 + 15 + 15) has a corresponding meta.md
preset_exists = true
role_prompts_updated = true # the 5 .warm.md duplicates exist; originals are intact as rollback
end_of_track_report_exists = true
manual_verification_deferred = true # §3.2 deferred to user
aggregation_script_exists = true # scripts/aggregate_directives.py
aggregation_tests_pass = true # 5 tests in tests/test_aggregate_directives.py
aggregation_tests_pass = true # 15 tests in tests/test_aggregate_directives.py (original 5 + 10 added during Phase 4 back-fill)
scavenge_lift_tests_pass = true # 79 tests in tests/test_scavenge_directives_lift.py
[campaign_context]
campaign_name = "Directive Encoding Campaign (Campaign A)"
@@ -107,4 +118,18 @@ titles_back_filled = 63
already_titled = 3 # chroma_cache_path, config_state_owner, workspace_paths (top-level '# ' heading already present)
batches = 8 # 8 back-fill commits (~8 files each) + 1 test/state commit
test_added = "tests/test_aggregate_directives.py::test_every_v1_has_top_level_heading (+ test_v1_heading_is_not_meta_provenance_format)"
aggregation_pollution_preserved = true # scripts/aggregate_directives.py output has no meta.md leakage after header back-fill
aggregation_pollution_preserved = true # scripts/aggregate_directives.py output has no meta.md leakage after header back-fill
[scavenge_20260702]
# Phase 5 scavenge pass: directive library expansion from unread markdown.
# Per user directive 2026-07-02: "can markdown you haven't read yet to make sure you scavanged all possible directives buried in this codebase."
# Scope: docs/MMA_Support/, docs/handoffs/, docs/ideation/, docs/superpowers/{specs,plans}/, docs/reports/ (recursing except code_path_audit/ + license_cve_audit/), docs/type_registry/, docs/transcripts/, docs/Readme.md, docs/smoke_test_*.md, conductor/todos/, conductor/tracks/intent_dsl_survey_20260612/, conductor/tracks/nagent_review_20260608/.
# Out of scope: other conductor/tracks/<other>/ (the user said "ignore most tracks except the intent based dsl track and the nagent track"); conductor/archive/; this track's own history.
directives_before = 66
directives_after = 81
new_directives_count = 15
new_directive_sources = "docs/MMA_Support/ (5), conductor/tracks/nagent_review_20260608/ (5), conductor/tracks/intent_dsl_survey_20260612/ + docs/handoffs/ (5)"
cap_applied = 30 # user cap was ~30; lifted 15 (strongest, most actionable, most general-purpose)
skipped_categories = ["Implementation-specific tactical notes", "Historical commentary without an actionable current rule", "Content about the manual-slop app's specific UI/feature", "Rules that conflict with existing 66 directives"]
commits = 4 # 3 directive batches + 1 preset update + 1 test = 5 total; counted as 4 directive-related commits + 1 test commit
test_added = "tests/test_scavenge_directives_lift.py (79 parametrized cases + 5 aggregate tests)"