Skip to content

[codex] Harden pubpunk target-instance contract guards#37

Draft
t3chn wants to merge 3 commits intomainfrom
codex/pubpunk-target-instance-guards
Draft

[codex] Harden pubpunk target-instance contract guards#37
t3chn wants to merge 3 commits intomainfrom
codex/pubpunk-target-instance-guards

Conversation

@t3chn
Copy link
Copy Markdown
Contributor

@t3chn t3chn commented Apr 14, 2026

Summary

  • harden pubpunk drafter prompt normalization so target-instance bounded slices do not inherit init/bootstrap scaffold semantics from Do not modify ... init behavior
  • align adapter context-pack and required-symbol extraction so do not modify is treated the same as other negative clauses during target ranking and explicit symbol checks
  • add exact regressions for pubpunk target-instance draft normalization and target-loader symbol anchoring

Why

Target-instance contracts were being misclassified or semantically defocused because negation parsing was inconsistent across drafter, context-pack, and execution symbol guards.

Impact

  • core-only target-instance contracts stay bounded to crates/pubpunk-core/src/lib.rs
  • init/bootstrap scaffold noise is pruned from drafted contracts
  • target-loader slices keep focusing on TargetInstanceConfig and load_target_instances instead of forbidden symbols like validate_report

Issue ID: N/A

Test Plan

  • cargo test -p punk-adapters
  • cargo test -p punk-orch pubpunk_

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant