Home / Reports / 2026-08-12

ie-review: Grok workflow orchestrator

Date
2026-08-12
Context
review
Scope
.grok/workflows/ie-review.rhai (first-cut revision). This report describes that earlier script, not the hardened workflow in this repo. The original line-number references have been removed because they did not match the shipped file; the findings themselves are unchanged.
Intent
Find surprise in the Grok first-cut of /ie-review. Report only. Do not apply fixes.
Stack
rhai (Grok workflow script)
Config
plugin defaults (no .intense/ found)
run_id
none (this workflow does not allocate .intense/runs/<run-id>/)

Lens team

Lens Why it ran
predictability Always-on.
convention Code review. Always-on for this surface.
simplicity Always-on.
experience This workflow always runs all five. Catalog would skip: no user-facing surface.
architecture This workflow always runs all five. Catalog would skip: no Arch pack for rhai.

Findings

P1 – High-impact (normal use)

# File Issue Principle Lens Conf
1 .grok/workflows/ie-review.rhai complete() changes shape; confirmed flips type api-design predictability 100
2 .grok/workflows/ie-review.rhai Merge failure still reports a published path wysiwyg predictability 100
3 .grok/workflows/ie-review.rhai Cap keeps first 16, so later lenses never verify least-astonishment predictability 100
4 .grok/workflows/ie-review.rhai Lens prompts reinvent dispatch instead of using subagent-template.md convention-over-configuration convention 100
5 .grok/workflows/ie-review.rhai Orchestrator never loads config-resolution or .intense defaults convention-over-configuration convention 100
6 .grok/workflows/ie-review.rhai Merge dedupes by file+title and skips Stage 5 policy convention-over-configuration convention 100
7 .grok/workflows/ie-review.rhai Report phase adds a write-capable merge agent and a second write kiss simplicity 75

P2 – Moderate

# File Issue Principle Lens Conf
8 .grok/workflows/ie-review.rhai Dedup by file plus title hides other lenses and lines least-astonishment predictability 100
9 .grok/workflows/ie-review.rhai Verifier rejects vanish with no rejected list error-handling predictability 75
10 .grok/workflows/ie-review.rhai Report-only merge agent still has full write access least-astonishment predictability 75
11 .grok/workflows/ie-review.rhai confirmed count is pre-gate, not what the report keeps wysiwyg predictability 75
12 .grok/workflows/ie-review.rhai Default report path overwrites the last review least-astonishment predictability 100
13 .grok/workflows/ie-review.rhai Default report path ignores stamp-skill two-layer convention convention-over-configuration convention 100
14 .grok/workflows/ie-review.rhai Lens status uses findings instead of report-template skipped/clean convention-over-configuration convention 100

P3 – Minor

# File Issue Principle Lens Conf
15 .grok/workflows/ie-review.rhai Inline lens schema omits findings-schema enums convention-over-configuration convention 75
16 .grok/workflows/ie-review.rhai MAX_FINDINGS=16 is an unpublished drop cap convention-over-configuration convention 100

Tensions

Name the two sides. Do not pick one here.

  1. #4 – Grok parallel(jobs) needs a prompt string and cannot spawn Claude Agent tools, versus the repo rule that every ie-review orchestrator fills subagent-template.md.
  2. #6 – Full Stage 5 in Rhai, versus the documented first-cut skeptic pipeline that does not replace /ie-review.
  3. #7 – KISS (template or one writer in Rhai), versus convention (an LLM can follow report-template.md more closely than a Rhai string).
  4. #9 – Fail-closed verification (drop anything unverified), versus error-handling transparency (show rejects and harness failures).
  5. #10 – Least-astonishment (capability matches “Report only”), versus the product rule that orchestrators publish under docs/intent-engineering/.
  6. #13 – The workflow README documents the fixed default path, versus AGENTS.md two-layer stamp convention that wins on conflict.
  7. #14 – README says five lenses run together (so skip-as-not-selected is unused), versus report-template all-clear rules that treat skipped and clean as different.
  8. #15 – Grok output_schema must be an inline map, versus one findings-schema.json as the only contract.
  9. #16 – Repo ie-review has no drop cap, versus a Grok agent-budget cap that may be required to finish Verify.

Observations

Coverage

Reviewed: .grok/workflows/ie-review.rhai (one file, full read). Detected stack is rhai (Grok workflow script).

Config: defaults (no .intense/ found). Config sources (auto): 3 files (agents = AGENTS.md + CLAUDE.md, copilot = 0, instructions = 0, workflows = .github/workflows/contracts.yml); excluded = 0.

Sampling / remote: none. No untracked paths. No Layer A run dir (this workflow does not write .intense/runs/<run-id>/).

Confidence gate: applied at merge. Drop below 75 unless severity is P0 and confidence is 50+. 16 verified findings presented; 0 dropped by the gate. Workflow confirmed count is pre-gate (see #11).

Per-lens status:

Lens Workflow status Report status Note
predictability findings clean Findings listed above. findings is not a report-template status (see #14).
convention findings clean Findings listed above.
simplicity findings clean Findings listed above.
experience clean clean Analyzed. No user-facing surface. Zero findings after the gate.
architecture clean skipped SKIPPED: no architecture rule pack for rhai. Catalog Arch packs cover rails, python, laravel, express, phoenix, and react only. ruby exists in the catalog but the Arch pack is empty. No matching frameworks/<stack>-architecture.md or patterns/<stack>.yaml.

No selected lens failed.

Verdict

Ready with fixes.

16 findings remain: 7 P1, 7 P2, 2 P3. No P0. No failed lens. Architecture is skipped (no rhai pack). Experience is clean (no UI). Do not treat this as all-clear.

Highest-impact fixes first: one complete() shape (#1), honest publish path (#2), severity-ordered cap or no cap (#3, #16), then Stage 5 merge plus config load (#5, #6) and a read-only merge writer (#7, #10).

Source: docs/intent-engineering/2026-08-12-workflow-ie-review.md