# Track state for directive_hotswap_harness_20260627 # Initialized by Tier 1 Orchestrator on 2026-06-27. # Implementation delegated to Tier 2 (autonomous) or Tier 3 worker dispatch. # This is Track 1 of Campaign A (Directive Encoding Campaign). [meta] track_id = "directive_hotswap_harness_20260627" name = "Directive Hot-Swap Harness (OpenCode Directive Presets)" status = "active" current_phase = 0 last_updated = "2026-06-27" [blocked_by] # None. Pure documentation/track-artifact work; no code changes, no tests, # zero overlap with any running track. [blocks] directive_encoding_experiments = "planned (future; v2+ variant authoring)" manual_slop_directive_lab = "planned (future; GUI integration)" [phases] phase_1 = { status = "pending", checkpointsha = "", name = "Directive Harvest (10 steps: 48 directives from doc tree into conductor/directives/)" } phase_2 = { status = "pending", checkpointsha = "", name = "Baseline Preset + Role-Prompt Bootstrap (8 steps: preset + 5 role-prompt warm with: updates)" } phase_3 = { status = "pending", checkpointsha = "", name = "Verification + End-of-Track (4 steps: dir structure verify + manual LLM verify + report + commit)" } [tasks] # Phase 1: directive harvest t1_1 = { status = "pending", commit_sha = "", description = "Harvest 17.1-17.7 banned patterns (7 directives: ban_dict_any, ban_any_type, ban_optional_returns, ban_hasattr_dispatch, ban_getattr_dispatch, ban_dict_get_on_known_fields, boundary_layer_exception)" } t1_2 = { status = "pending", commit_sha = "", description = "Harvest 17.9 import/aliasing bans (3 directives: ban_local_imports, ban_prefix_aliasing, ban_repeated_from_dict)" } t1_3 = { status = "pending", commit_sha = "", description = "Harvest error handling conventions (2 directives: result_error_pattern, nil_sentinel_pattern)" } t1_4 = { status = "pending", commit_sha = "", description = "Harvest type/data-structure conventions (3 directives: typed_dataclass_fields, metadata_boundary_type, update boundary_layer_exception)" } t1_5 = { status = "pending", commit_sha = "", description = "Harvest code style directives (5 directives: one_space_indent, no_comments_in_body, no_diagnostic_noise, type_hints_required, sdm_dependency_tags)" } t1_6 = { status = "pending", commit_sha = "", description = "Harvest file/taxonomy conventions (3 directives: file_naming_convention, no_new_src_files_without_permission, large_files_are_fine)" } t1_7 = { status = "pending", commit_sha = "", description = "Harvest process/workflow directives (10 directives: atomic_per_task_commits, tdd_red_green_required, ban_arbitrary_core_mocking, live_gui_poll_not_sleep, batch_verification_not_isolation, git_hard_bans, ban_day_estimates, no_output_filtering, prefer_targeted_tier_runs, mandatory_research_first)" } t1_8 = { status = "pending", commit_sha = "", description = "Harvest process anti-patterns (6 directives: no_skip_markers_as_avoidance, deduction_loop_limit, report_instead_of_fix_ban, scope_creep_track_doc_ban, inherited_cruft_ask_first, verbose_commit_message_ban)" } t1_9 = { status = "pending", commit_sha = "", description = "Harvest GUI/architecture directives (5 directives: imgui_scope_verification, modular_controller_pattern, ui_delegation_for_hot_reload, strict_state_management, comprehensive_logging)" } t1_10 = { status = "pending", commit_sha = "", description = "Harvest feature-flag + RAG + cache + knowledge directives (4 directives: feature_flag_delete_to_turn_off, rag_six_rules, cache_stable_to_volatile, knowledge_harvest_pattern)" } t1_11 = { status = "pending", commit_sha = "", description = "Commit the directive harvest (48 files)" } # Phase 2: baseline preset + role-prompt bootstrap t2_1 = { status = "pending", commit_sha = "", description = "Create conductor/directives/presets/current_baseline.md (48 directives listed)" } t2_2 = { status = "pending", commit_sha = "", description = "Commit the baseline preset" } t2_3 = { status = "pending", commit_sha = "", description = "Update .opencode/agents/tier1-orchestrator.md with warm with: bootstrap" } t2_4 = { status = "pending", commit_sha = "", description = "Update .opencode/agents/tier2-tech-lead.md with warm with: bootstrap" } t2_5 = { status = "pending", commit_sha = "", description = "Update .opencode/agents/tier3-worker.md with warm with: bootstrap" } t2_6 = { status = "pending", commit_sha = "", description = "Update .opencode/agents/tier4-qa.md with warm with: bootstrap" } t2_7 = { status = "pending", commit_sha = "", description = "Update conductor/tier2/agents/tier2-autonomous.md with warm with: bootstrap" } t2_8 = { status = "pending", commit_sha = "", description = "Commit the 5 role-prompt updates" } # Phase 3: verification + end-of-track t3_1 = { status = "pending", commit_sha = "", description = "Verify directory structure (48 dirs, 48 v1.md files, preset exists, 5 role prompts have warm with:)" } t3_2 = { status = "pending", commit_sha = "", description = "Manual verification: does the LLM follow the warm with: instruction?" } t3_3 = { status = "pending", commit_sha = "", description = "Write docs/reports/TRACK_COMPLETION_directive_hotswap_harness_20260627.md" } t3_4 = { status = "pending", commit_sha = "", description = "Commit the end-of-track report" } [verification] phase_1_complete = false phase_2_complete = false phase_3_complete = false directive_count = 48 preset_exists = false role_prompts_updated = false [campaign_context] campaign_name = "Directive Encoding Campaign (Campaign A)" track_1 = "directive_hotswap_harness_20260627 (THIS; harvest + scaffold + baseline preset + role-prompt bootstrap)" track_2 = "directive_encoding_experiments (future; v2+ variant authoring + preset experimentation)" track_3 = "manual_slop_directive_lab (future; GUI integration)" sibling_campaign = "Video Analysis Campaign 2 (Campaign B; 4 new videos; separate track)" cross_campaign_relationship = "Intellectual cross-pollination; no hard dependency."