2.4 KiB
Context Strategy
1. Default Strategy
The main orchestrator should not process the full source in one context.
Use:
main session -> source registration and orchestration
whole-source gestalt reviewer -> full-source high-context structure review
worker thread -> bounded range processing
file handoff -> durable cross-session state
The whole-source gestalt reviewer is a real sub-session participant, not the main session. It exists to preserve the overall shape of coherent long discussions before range workers begin.
2. Whole-Source Gestalt Rule
For coherent discussion drafts that fit inside a high-context participant, run a whole-source gestalt pass before segmentation.
The pass must judge:
- whether the source is one coherent topic or several loosely related topics
- the global topic portrait
- the main structural layers
- core tensions and governing questions
- model-evolution lines
- likely parent/child/tool/case/action-layer distinctions
- risks that chunk-first workers may flatten into false peer topics
If the source is too large or not coherent enough for one gestalt pass, record the exception and use a small number of macro-range gestalt passes before worker segmentation.
3. Range Order
1. H1 rounds: R01, R02, R03
2. H2 sections when a round is too large
3. source block batches when a section is too large
4. Worker Input
Each worker gets:
- thread-start packet
- participant invocation packet
- exact source range
- accepted whole-source gestalt summary or recorded exception
- output path
- forbidden actions
- return packet template
Workers should use the gestalt summary as orientation. They may challenge it with local evidence, but they must explicitly mark the challenge and cite the source range.
5. Worker Output
Each worker writes:
- participant output file
- execution or returned-output record
- thread-return packet
- unresolved issue list, if needed
6. Main Session Reading Rule
The main session reads worker summaries and indexes first. It reads source excerpts only for verification or repair.
The main session may read the accepted whole-source gestalt output because it is a participant result with a record. It must not replace that result with its own informal full-source judgment.
7. Continuation Rule
Create a continuation handoff after each major pass or before any expected context pressure.