Private
Public Access
feat(directives): harvest 3 directives from tier3-worker.md §17.9 (import/aliasing/from_dict bans)
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
# ban_repeated_from_dict — v1
|
||||
|
||||
**Why this iteration:** Lifted verbatim from `.opencode/commands/mma-tier3-worker.md:44` (the current canonical source). The plan referenced `conductor/code_styleguides/python.md` §17.9c (lines 364-443) but that section no longer exists in python.md after a 2026-06-27 refactor — the §17.9 content was moved into the agent role prompts (this file). This v1 is the baseline encoding — the imperative-ban style currently in production.
|
||||
Future variants will test alternative encodings (rationale-first, before/after, tabular) against this baseline.
|
||||
|
||||
**Source:** `.opencode/commands/mma-tier3-worker.md:44` (originally `conductor/code_styleguides/python.md` §17.9c, drift-corrected)
|
||||
|
||||
---
|
||||
|
||||
- Repeated `.from_dict()` calls in the same expression (cache the result or promote the type)
|
||||
Reference in New Issue
Block a user