@tgoodington/intuition 9.2.1 → 9.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tgoodington/intuition",
3
- "version": "9.2.1",
3
+ "version": "9.2.2",
4
4
  "description": "Domain-adaptive workflow system for Claude Code: prompt, outline, assemble specialist teams, detail with domain experts, build with format producers, test code output. Supports v8 compat (design, engineer, build) and v9 specialist workflows with 14 domain specialists and 6 format producers.",
5
5
  "keywords": [
6
6
  "claude-code",
@@ -110,6 +110,7 @@ Prompt:
110
110
  5. Grep for common entry points: 'main', 'index', 'app', 'server' in source files.
111
111
  6. Check for test infrastructure: Glob('**/*.test.*') or Glob('**/*.spec.*') or Glob('**/test/**').
112
112
  7. Check for build config: Glob('**/tsconfig*') or Glob('**/webpack*') or Glob('**/vite*') or similar.
113
+ 8. Check for large data files: Glob('**/*.xlsx') or Glob('**/*.xls') or Glob('**/*.csv') or Glob('**/*.sqlite') or Glob('**/*.db') or Glob('**/*.json'). For any matches, run Bash to check file sizes (e.g., ls -lh on the matched paths). Flag any file over 1 MB.
113
114
 
114
115
  Report on:
115
116
  (1) Top-level directory structure with purpose of each directory
@@ -117,6 +118,7 @@ Report on:
117
118
  (3) Entry points
118
119
  (4) Test infrastructure (framework, location, patterns)
119
120
  (5) Build system and tooling
121
+ (6) Large data files: list any data files over 1 MB with their path, size, and format. If none found, state 'No large data files detected.'
120
122
 
121
123
  Under 500 words. Facts only, no speculation."
122
124
 
@@ -234,6 +236,21 @@ When in doubt, defer. A specialist with loaded domain expertise will make a bett
234
236
 
235
237
  3. **Explain for the creative director.** When presenting a outline-level decision, assume the user has zero domain background. Explain what each option means in plain language — what it does, what it costs, and why you recommend one. If you cannot explain the trade-off without jargon, you don't understand it well enough to ask yet.
236
238
 
239
+ ## Resource-Aware Planning
240
+
241
+ When orientation research (or the prompt brief) reveals large data files (xlsx, large CSVs, SQLite databases, large JSON files, etc.) that agents will need to query or analyze during detail/build:
242
+
243
+ 1. **Recognize the risk.** Agent subprocesses operate in memory with limited context windows. A large xlsx or binary file can cause crashes, timeouts, or garbled reads. This is not hypothetical — it has caused production failures.
244
+ 2. **Plan a preprocessing task.** Add an early task (before any task that depends on the data) to extract the data into agent-friendly formats:
245
+ - xlsx/xls → CSV per sheet + Python data cache (pickle or JSON summary)
246
+ - Large CSV → filtered/chunked CSVs or summary statistics
247
+ - SQLite/DB → targeted SQL query scripts that export relevant subsets to CSV
248
+ - Large JSON → flattened/filtered extracts
249
+ 3. **The preprocessing task should produce scripts, not just instructions.** Acceptance criteria: runnable script(s) that transform the source file into smaller, agent-readable outputs. Downstream tasks reference the extracted outputs, NOT the original large file.
250
+ 4. **Note in Section 10** that downstream specialists should work against extracted data, not raw source files.
251
+
252
+ If no large data files are detected, skip this entirely.
253
+
237
254
  For each major decision domain identified from the prompt brief, orientation research, and dialogue:
238
255
 
239
256
  1. **Identify** the decision needed. State it clearly.
@@ -529,6 +546,7 @@ Validate ALL before presenting the draft:
529
546
  - [ ] Section 10 includes domain-specific considerations and cross-domain dependencies
530
547
  - [ ] Tasks with decision points have Decisions field with `[USER]`/`[SPEC]` classifications
531
548
  - [ ] Decision classifications use Commander's Intent to determine human-facing boundary
549
+ - [ ] Large data files (if detected in orientation) have a preprocessing task before any dependent work
532
550
 
533
551
  If any check fails, fix it before presenting.
534
552