@punks/cli 2.3.2 → 2.3.3
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/dist/BASELINE_CHANGELOG.md +40 -0
- package/dist/CHANGELOG.md +26 -0
- package/dist/index.js +194 -220
- package/dist/skills/agnostic/cli/dp-cli/SKILL.md +1 -12
- package/dist/skills/agnostic/cli/dp-cli/references/commands.md +22 -18
- package/dist/skills/agnostic/cli/dp-cli/references/post-command-flow.md +15 -19
- package/dist/skills/agnostic/quality/review/SKILL.md +89 -0
- package/dist/skills/agnostic/research/parallel-research/SKILL.md +5 -2
- package/dist/skills/frameworks/expo/add-app-clip/SKILL.md +280 -0
- package/dist/skills/frameworks/expo/add-app-clip/agents/openai.yaml +4 -0
- package/dist/skills/frameworks/expo/add-app-clip/references/native-module.md +96 -0
- package/dist/skills/frameworks/expo/building-native-ui/SKILL.md +377 -0
- package/dist/skills/frameworks/expo/building-native-ui/agents/openai.yaml +4 -0
- package/dist/skills/frameworks/expo/building-native-ui/references/animations.md +220 -0
- package/dist/skills/frameworks/expo/building-native-ui/references/controls.md +270 -0
- package/dist/skills/frameworks/expo/building-native-ui/references/form-sheet.md +253 -0
- package/dist/skills/frameworks/expo/building-native-ui/references/gradients.md +106 -0
- package/dist/skills/frameworks/expo/building-native-ui/references/icons.md +213 -0
- package/dist/skills/frameworks/expo/building-native-ui/references/media.md +198 -0
- package/dist/skills/frameworks/expo/building-native-ui/references/route-structure.md +229 -0
- package/dist/skills/frameworks/expo/building-native-ui/references/search.md +248 -0
- package/dist/skills/frameworks/expo/building-native-ui/references/storage.md +121 -0
- package/dist/skills/frameworks/expo/building-native-ui/references/tabs.md +433 -0
- package/dist/skills/frameworks/expo/building-native-ui/references/toolbar-and-headers.md +284 -0
- package/dist/skills/frameworks/expo/building-native-ui/references/visual-effects.md +197 -0
- package/dist/skills/frameworks/expo/building-native-ui/references/webgpu-three.md +605 -0
- package/dist/skills/frameworks/expo/building-native-ui/references/zoom-transitions.md +158 -0
- package/dist/skills/frameworks/expo/eas-simulator/SKILL.md +154 -0
- package/dist/skills/frameworks/expo/eas-simulator/references/controllers.md +67 -0
- package/dist/skills/frameworks/expo/eas-simulator/references/run-your-app.md +185 -0
- package/dist/skills/frameworks/expo/eas-simulator/references/troubleshooting.md +38 -0
- package/dist/skills/frameworks/expo/eas-update-insights/SKILL.md +228 -0
- package/dist/skills/frameworks/expo/eas-update-insights/agents/openai.yaml +4 -0
- package/dist/skills/frameworks/expo/eas-update-insights/references/channel-insights-schema.md +47 -0
- package/dist/skills/frameworks/expo/eas-update-insights/references/update-insights-schema.md +69 -0
- package/dist/skills/frameworks/expo/expo-api-routes/SKILL.md +368 -0
- package/dist/skills/frameworks/expo/expo-api-routes/agents/openai.yaml +4 -0
- package/dist/skills/frameworks/expo/expo-brownfield/SKILL.md +54 -0
- package/dist/skills/frameworks/expo/expo-brownfield/agents/openai.yaml +4 -0
- package/dist/skills/frameworks/expo/expo-brownfield/references/brownfield-integrated.md +526 -0
- package/dist/skills/frameworks/expo/expo-brownfield/references/brownfield-isolated.md +402 -0
- package/dist/skills/frameworks/expo/expo-brownfield/references/comparison.md +63 -0
- package/dist/skills/frameworks/expo/expo-brownfield/references/troubleshooting.md +88 -0
- package/dist/skills/frameworks/expo/expo-cicd-workflows/SKILL.md +92 -0
- package/dist/skills/frameworks/expo/expo-cicd-workflows/agents/openai.yaml +4 -0
- package/dist/skills/frameworks/expo/expo-cicd-workflows/scripts/fetch.js +109 -0
- package/dist/skills/frameworks/expo/expo-cicd-workflows/scripts/package.json +11 -0
- package/dist/skills/frameworks/expo/expo-cicd-workflows/scripts/validate.js +84 -0
- package/dist/skills/frameworks/expo/expo-deployment/SKILL.md +167 -0
- package/dist/skills/frameworks/expo/expo-deployment/agents/openai.yaml +4 -0
- package/dist/skills/frameworks/expo/expo-deployment/references/app-store-metadata.md +497 -0
- package/dist/skills/frameworks/expo/expo-deployment/references/ios-app-store.md +371 -0
- package/dist/skills/frameworks/expo/expo-deployment/references/play-store.md +246 -0
- package/dist/skills/frameworks/expo/expo-deployment/references/testflight.md +58 -0
- package/dist/skills/frameworks/expo/expo-deployment/references/workflows.md +160 -0
- package/dist/skills/frameworks/expo/expo-dev-client/SKILL.md +172 -0
- package/dist/skills/frameworks/expo/expo-dev-client/agents/openai.yaml +4 -0
- package/dist/skills/frameworks/expo/expo-examples/SKILL.md +97 -0
- package/dist/skills/frameworks/expo/expo-examples/references/catalog.md +105 -0
- package/dist/skills/frameworks/expo/expo-module/SKILL.md +141 -0
- package/dist/skills/frameworks/expo/expo-module/agents/openai.yaml +4 -0
- package/dist/skills/frameworks/expo/expo-module/references/config-plugin.md +90 -0
- package/dist/skills/frameworks/expo/expo-module/references/create-expo-module.md +206 -0
- package/dist/skills/frameworks/expo/expo-module/references/lifecycle.md +127 -0
- package/dist/skills/frameworks/expo/expo-module/references/module-config.md +48 -0
- package/dist/skills/frameworks/expo/expo-module/references/native-module.md +286 -0
- package/dist/skills/frameworks/expo/expo-module/references/native-view.md +171 -0
- package/dist/skills/frameworks/expo/expo-observe/SKILL.md +29 -0
- package/dist/skills/frameworks/expo/expo-observe/references/metrics.md +47 -0
- package/dist/skills/frameworks/expo/expo-observe/references/queries.md +342 -0
- package/dist/skills/frameworks/expo/expo-observe/references/setup.md +255 -0
- package/dist/skills/frameworks/expo/expo-skill-eval/SKILL.md +314 -0
- package/dist/skills/frameworks/expo/expo-skill-eval/agents/visual-grader.md +52 -0
- package/dist/skills/frameworks/expo/expo-skill-eval/references/design-rubric.md +45 -0
- package/dist/skills/frameworks/expo/expo-skill-eval/references/runtime-matrix.md +33 -0
- package/dist/skills/frameworks/expo/expo-skill-eval/scripts/check-static.sh +64 -0
- package/dist/skills/frameworks/expo/expo-skill-eval/scripts/clean-fixture.sh +56 -0
- package/dist/skills/frameworks/expo/expo-skill-eval/scripts/generate_viewer.py +450 -0
- package/dist/skills/frameworks/expo/expo-skill-eval/scripts/latest-sdk.sh +46 -0
- package/dist/skills/frameworks/expo/expo-skill-eval/scripts/make-fixture.sh +95 -0
- package/dist/skills/frameworks/expo/expo-skill-eval/scripts/make-workspace.sh +31 -0
- package/dist/skills/frameworks/expo/expo-skill-eval/scripts/snapshot-android.sh +284 -0
- package/dist/skills/frameworks/expo/expo-skill-eval/scripts/snapshot-ios.sh +132 -0
- package/dist/skills/frameworks/expo/expo-skill-eval/scripts/snapshot-web.sh +61 -0
- package/dist/skills/frameworks/expo/expo-tailwind-setup/SKILL.md +480 -0
- package/dist/skills/frameworks/expo/expo-tailwind-setup/agents/openai.yaml +4 -0
- package/dist/skills/frameworks/expo/expo-ui/SKILL.md +47 -0
- package/dist/skills/frameworks/expo/expo-ui/agents/openai.yaml +4 -0
- package/dist/skills/frameworks/expo/expo-ui/references/drop-in-replacements.md +27 -0
- package/dist/skills/frameworks/expo/expo-ui/references/jetpack-compose.md +73 -0
- package/dist/skills/frameworks/expo/expo-ui/references/swift-ui.md +73 -0
- package/dist/skills/frameworks/expo/expo-ui/references/universal.md +73 -0
- package/dist/skills/frameworks/expo/expo-ui/scripts/list-components.js +193 -0
- package/dist/skills/frameworks/expo/native-data-fetching/SKILL.md +505 -0
- package/dist/skills/frameworks/expo/native-data-fetching/agents/openai.yaml +4 -0
- package/dist/skills/frameworks/expo/native-data-fetching/references/expo-router-loaders.md +341 -0
- package/dist/skills/frameworks/expo/upgrading-expo/SKILL.md +134 -0
- package/dist/skills/frameworks/expo/upgrading-expo/agents/openai.yaml +4 -0
- package/dist/skills/frameworks/expo/upgrading-expo/references/expo-av-to-audio.md +132 -0
- package/dist/skills/frameworks/expo/upgrading-expo/references/expo-av-to-video.md +160 -0
- package/dist/skills/frameworks/expo/upgrading-expo/references/native-tabs.md +124 -0
- package/dist/skills/frameworks/expo/upgrading-expo/references/new-architecture.md +79 -0
- package/dist/skills/frameworks/expo/upgrading-expo/references/react-19.md +79 -0
- package/dist/skills/frameworks/expo/upgrading-expo/references/react-compiler.md +59 -0
- package/dist/skills/frameworks/expo/upgrading-expo/references/react-navigation-to-expo-router.md +61 -0
- package/dist/skills/frameworks/expo/use-dom/SKILL.md +417 -0
- package/dist/skills/frameworks/expo/use-dom/agents/openai.yaml +4 -0
- package/dist/skills/frameworks/expo/web-to-native/SKILL.md +83 -0
- package/dist/skills/frameworks/expo/web-to-native/references/false-friends.md +119 -0
- package/dist/skills/frameworks/expo/web-to-native/references/native-patterns.md +39 -0
- package/dist/skills/frameworks/expo/web-to-native/references/run-as-goal.md +48 -0
- package/dist/skills/frameworks/expo/web-to-native/references/verify-on-device.md +45 -0
- package/dist/skills/phases/review-phase/REFERENCE.md +36 -3
- package/dist/skills/phases/review-phase/SKILL.md +18 -11
- package/package.json +1 -1
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# Run the migration as a goal loop
|
|
2
|
+
|
|
3
|
+
Disclosed reference for [`web-to-native`](../SKILL.md) — the recommended way to drive the whole migration. The migration is a repeat-until-done loop (assess → nativize each screen → verify → check off), which is exactly the shape of a **goal loop**: a single objective re-injected every turn until the worklist is empty. This file carries a ready-shaped, migration-specific objective — and, crucially, the objective **re-reads this skill every iteration**, so the loop keeps following the playbook (and self-bootstraps the assess step if no worklist exists yet).
|
|
4
|
+
|
|
5
|
+
Use it in one of two modes depending on the agent you're running.
|
|
6
|
+
|
|
7
|
+
## Mode A — the agent can run a goal loop
|
|
8
|
+
|
|
9
|
+
Harnesses with a goal/loop command (Claude Code `/goal`, Codex CLI, or any harness of the same shape) can drive this themselves. Fill the template below and hand it to that command — the loop re-runs it until `migration-progress.md` has no unchecked nativize-now items.
|
|
10
|
+
|
|
11
|
+
## Mode B — the agent can't loop itself
|
|
12
|
+
|
|
13
|
+
Write the filled-in objective to `migration-goal.md` in the project, then give the user the one-line instruction to launch it (e.g. *"run your agent's goal loop with the objective in `migration-goal.md`"*). The objective is plain text and portable, so the user runs it in whatever harness they have.
|
|
14
|
+
|
|
15
|
+
## The objective (template)
|
|
16
|
+
|
|
17
|
+
Fill the two `<…>` slots, then run or hand off verbatim. It is written to survive re-injection — it restates its own worklist, direction, and stop condition every turn.
|
|
18
|
+
|
|
19
|
+
```
|
|
20
|
+
Goal: migrate <APP NAME> from web to a native Expo app by following the web-to-native skill, one screen per iteration, until done.
|
|
21
|
+
|
|
22
|
+
Each iteration, FIRST re-read the playbook — plugins/expo/skills/web-to-native/SKILL.md (and its references) — then:
|
|
23
|
+
1. If migration-progress.md doesn't exist yet, do the skill's step 1 (Assess) to
|
|
24
|
+
create the worklist, then stop. Otherwise open it and take the top unchecked
|
|
25
|
+
item under "nativize-now"; if none are left unresolved (every nativize-now is
|
|
26
|
+
done or blocked), STOP and summarize what shipped + what's blocked and why.
|
|
27
|
+
2. Redesign that screen native per the skill's step 4 — reach for @expo/ui FIRST
|
|
28
|
+
(real SwiftUI/Compose), then building-native-ui (NativeTabs, large titles);
|
|
29
|
+
RN primitives only for custom layouts. NEVER a webview port.
|
|
30
|
+
Use references/native-patterns.md (UX patterns) and references/false-friends.md
|
|
31
|
+
(idioms). Match the web screen's content and behavior.
|
|
32
|
+
3. Verify per references/verify-on-device.md: compare the running web original
|
|
33
|
+
(browser agent) against the native screen (simulator / argent) — content and
|
|
34
|
+
behavior parity, NOT pixels (it should look more native). If it's off for reasons
|
|
35
|
+
IN the code, fix it this iteration. If it's blocked by something OUTSIDE the code
|
|
36
|
+
(missing backend/auth/data, or a secret you can't supply), don't loop — mark it
|
|
37
|
+
blocked in step 4 and move on.
|
|
38
|
+
4. Check the item off in migration-progress.md, appending one line:
|
|
39
|
+
"<screen> — done", or "<screen> — blocked: <reason> — needs <what would unlock>".
|
|
40
|
+
Either way the item is resolved; never revisit a blocked one.
|
|
41
|
+
|
|
42
|
+
Rules: one screen per pass; the app builds green each iteration; @expo/ui before RN primitives; never touch "nativize-later" items.
|
|
43
|
+
Base API URL for native (no relative paths): <EXPO_PUBLIC_API_URL>
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## Why a pre-shaped objective
|
|
47
|
+
|
|
48
|
+
The objective is filled in for this migration — worklist, redesign rules, and self-verification path already wired to the skill's references — so you can launch the loop without authoring one from scratch. Tailor the `<…>` slots and direction when a specific migration needs more than the template covers.
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# Verify a migrated screen against the running web app
|
|
2
|
+
|
|
3
|
+
Disclosed reference for [`web-to-native`](../SKILL.md), steps 3–4. Verification means **running both apps and comparing the same screen** — the native port beside the web original. A clean compile or a green `expo export` proves nothing — a screen can build and still render blank or mis-render. This parity check is the gate the strangle loop runs each iteration.
|
|
4
|
+
|
|
5
|
+
Two agents drive it, and this skill is **opinionated**: it requires both and installs them rather than falling back to manual screenshots.
|
|
6
|
+
|
|
7
|
+
- **Web side — `agent-browser`** (vercel-labs, a Rust browser CLI): `open <url>`, `snapshot --json` (accessibility tree with refs), `screenshot <path>`, `read` (rendered DOM/text).
|
|
8
|
+
- **Native side — `argent`** (`@swmansion/argent`): drives the simulator — `describe` (a11y tree), `debugger-component-tree` (RN tree), `gesture-tap`/`keyboard`, `flow` to record a check and replay it each pass. Invoke as `argent run <tool> --udid <udid>` (get the udid from `argent run list-devices`).
|
|
9
|
+
|
|
10
|
+
## Setup — install if missing (don't skip, don't fall back to manual)
|
|
11
|
+
|
|
12
|
+
Check both are on PATH; if either is absent, ask the user, then install before proceeding:
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
which agent-browser || (npm i -g agent-browser && agent-browser install) # web agent (+ its Chrome)
|
|
16
|
+
which argent || npm i -g @swmansion/argent # device agent
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## The workflow
|
|
20
|
+
|
|
21
|
+
**A. Capture the web original** with agent-browser — the source of truth for parity. Run the web app (its `pnpm dev` server, or the **deployed URL** if local setup needs DB/auth env), then:
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
agent-browser open "<web-url>/<route>?<params>"
|
|
25
|
+
agent-browser snapshot --json # structure to diff
|
|
26
|
+
agent-browser screenshot web.png # visual reference
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
**Tip:** capture web baselines for every screen once, up front, then diff against them instead of re-opening the web app each iteration.
|
|
30
|
+
|
|
31
|
+
**B. Capture the native screen** (iOS shown via `simctl`; Android note below):
|
|
32
|
+
1. Run the app: `npx expo start --ios` (Expo Go). On **SDK 56+ both `@expo/ui` and DOM components run in Expo Go** — no dev build, no `react-native-webview` to install; reach for a dev build (the `expo-dev-client` skill) only for *custom* native modules. Stale-bundle trap: a CI-mode Metro + cached Expo Go can show an old build — terminate Expo Go and add `--clear` if a change doesn't appear.
|
|
33
|
+
2. Boot a sim: `xcrun simctl boot <udid>` (`xcrun simctl list devices available`); `open -a Simulator`.
|
|
34
|
+
3. Open the route: deep-link `xcrun simctl openurl booted "exp://<lan-ip>:8081/--/<route>?<params>"`, or argent `launch-app` + `gesture-tap`.
|
|
35
|
+
4. Capture: `xcrun simctl io booted screenshot native.png`, or `argent run describe --udid <udid>` for structure.
|
|
36
|
+
|
|
37
|
+
> **Android:** `simctl` / `expo run:ios` are iOS-only. Use an Android emulator + `adb` — `adb exec-out screencap -p > native.png`, `adb shell am start -a android.intent.action.VIEW -d "<deep-link>"`, `adb shell screenrecord` for motion — or `npx expo run:android` for a dev build.
|
|
38
|
+
|
|
39
|
+
**C. Compare** the two for the same route — layout, content, behavior. Diff the structures (agent-browser `snapshot` against argent `describe` / `debugger-component-tree`), not just pixels. Pass only on parity: same data, and params passed into a DOM webview must produce the same result.
|
|
40
|
+
|
|
41
|
+
**Feel needs motion, not a still.** For a nativized screen with transitions, gestures, or haptics, a screenshot can't catch a janky push or wrong easing — capture a short recording (iOS `xcrun simctl io booted recordVideo feel.mov`; Android `adb shell screenrecord`; or an argent flow) and confirm it moves like a native app (see `native-patterns.md` → Feel).
|
|
42
|
+
|
|
43
|
+
## What "pass" looks like
|
|
44
|
+
- **DOM-shelled screen (step 3):** the web UI renders inside the native header/shell; params from the native route drive it the same as on web.
|
|
45
|
+
- **Nativized screen (step 4):** native primitives only, no webview; matches the web original screen.
|
|
@@ -35,12 +35,19 @@ For PR review, use the actual PR base branch. Do not assume trunk.
|
|
|
35
35
|
|
|
36
36
|
## Runtime And Lenses
|
|
37
37
|
|
|
38
|
-
|
|
39
|
-
and
|
|
40
|
-
|
|
38
|
+
Start review flow with `review`. It pins the fixed point, discovers
|
|
39
|
+
Spec and Standards sources, carries baseline code smells, and keeps Standards
|
|
40
|
+
findings separate from Spec findings. Use that frame for delegated review
|
|
41
|
+
prompts, `autoreview` context, and final aggregation.
|
|
42
|
+
|
|
43
|
+
`autoreview` remains the core structured review runtime. Capture the exact
|
|
44
|
+
command and manually verify accepted findings against source, docs, scoped
|
|
45
|
+
skills, and dependency contracts.
|
|
41
46
|
|
|
42
47
|
Mandatory lenses:
|
|
43
48
|
|
|
49
|
+
- `review`: two-axis Standards versus Spec wrapper, fixed diff, and
|
|
50
|
+
separate aggregation.
|
|
44
51
|
- `simplify`: clarity, avoidable complexity, unnecessary abstraction, derivable
|
|
45
52
|
state, naming, and scope creep.
|
|
46
53
|
- `improve-codebase-architecture`: boundary friction, shallow modules, module
|
|
@@ -68,6 +75,31 @@ a blocking finding unless the task has an explicit valid `reason_not_testable`.
|
|
|
68
75
|
Reject `reason_not_testable` when the only reason is forgotten RED; the delivery
|
|
69
76
|
owner must recover with public-result RED and GREEN evidence.
|
|
70
77
|
|
|
78
|
+
## Requirements Grill Wrapper Review
|
|
79
|
+
|
|
80
|
+
When reviewed spec, plan, phase, or wrapper claims to use
|
|
81
|
+
`requirements-grill` or design-phase grill, review that wrapper against
|
|
82
|
+
the `requirements-grill` inner flow, not just its outer handoff.
|
|
83
|
+
|
|
84
|
+
Check:
|
|
85
|
+
|
|
86
|
+
- Serious grill sessions pair `references/grilling-flow.md` with
|
|
87
|
+
`references/artifact-output.md`.
|
|
88
|
+
- Routed grill log/status artifacts are created or updated when grilling
|
|
89
|
+
decisions, branches, parked scope, percentages, glossary, axioms, or
|
|
90
|
+
ambiguities change.
|
|
91
|
+
- Glossary, axiom, and status updates preserve current meaning while the
|
|
92
|
+
log records accepted decisions and superseded decisions.
|
|
93
|
+
- Added or renamed wiki grill artifacts update routed metadata/bookkeeping:
|
|
94
|
+
`content/docs/project/grilling/meta.json`, section index when missing,
|
|
95
|
+
and wiki `log.md` when the repo maintains one.
|
|
96
|
+
- Downstream handoff evidence exists as applicable: wiki synthesis,
|
|
97
|
+
backlog/user stories, spec, or phase handoff carrying closed decisions
|
|
98
|
+
and parked/open branches.
|
|
99
|
+
|
|
100
|
+
Missing inner-flow or durable-artifact evidence is a review finding when
|
|
101
|
+
the wrapper promised grill behavior.
|
|
102
|
+
|
|
71
103
|
## Findings Policy
|
|
72
104
|
|
|
73
105
|
Prioritize bugs, regressions, broken contracts, missing validation, unsafe
|
|
@@ -98,6 +130,7 @@ Then include:
|
|
|
98
130
|
- open questions or assumptions
|
|
99
131
|
- validation run and result
|
|
100
132
|
- exact `autoreview` command and clean/accepted-findings result
|
|
133
|
+
- fixed point, Spec source or skipped reason, Standards sources
|
|
101
134
|
- scoped `AGENTS.md` files and mandatory scoped skills checked
|
|
102
135
|
- short summary after findings
|
|
103
136
|
- mode: standalone readonly review or delivery-owned review
|
|
@@ -3,8 +3,8 @@ name: review-phase
|
|
|
3
3
|
description: >-
|
|
4
4
|
Run a findings-first readonly review phase with explicit entry gates,
|
|
5
5
|
delegated lenses, artifacts, and validation. Use for review-only goals,
|
|
6
|
-
manual reviews, PRs, merged branches, external edits, suspicious code, or
|
|
7
|
-
|
|
6
|
+
manual reviews, PRs, merged branches, external edits, suspicious code, or the
|
|
7
|
+
mandatory review wrapper inside delivery-phase.
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# Review Phase
|
|
@@ -12,7 +12,8 @@ description: >-
|
|
|
12
12
|
Readonly findings-first review. Standalone mode reports findings only; delivery
|
|
13
13
|
mode hands findings back to the owning phase for fixes.
|
|
14
14
|
|
|
15
|
-
Load [REFERENCE.md](REFERENCE.md) before running review tools.
|
|
15
|
+
Load [REFERENCE.md](REFERENCE.md) before running review tools. Start with
|
|
16
|
+
`review` to frame fixed-point diff, Standards axis, and Spec axis.
|
|
16
17
|
|
|
17
18
|
## Contract
|
|
18
19
|
|
|
@@ -21,10 +22,13 @@ Load [REFERENCE.md](REFERENCE.md) before running review tools.
|
|
|
21
22
|
- Default scope is PR changes, highlighted diffs, supplied code portions, or
|
|
22
23
|
certain paths/domains. Full-codebase scan only when no PR is open and no
|
|
23
24
|
certain scope exists, or when the user explicitly asks.
|
|
24
|
-
- Pass
|
|
25
|
+
- Pass bounded scope to inner `autoreview`, ClawPatch-backed review, and
|
|
25
26
|
delegated readonly checks.
|
|
26
27
|
- Apply relevant `AGENTS.md` guidance and scoped skills for reviewed paths.
|
|
28
|
+
- Use `review` as the review-flow wrapper; keep axes separate.
|
|
27
29
|
- Use `autoreview` as the core structured review runtime.
|
|
30
|
+
- If target claims `requirements-grill` or design-phase grill, inspect
|
|
31
|
+
`requirements-grill` inner flow and durable-artifact evidence.
|
|
28
32
|
|
|
29
33
|
## Steps
|
|
30
34
|
|
|
@@ -32,15 +36,18 @@ Load [REFERENCE.md](REFERENCE.md) before running review tools.
|
|
|
32
36
|
2. If scope is ambiguous, ask one clarifying question.
|
|
33
37
|
3. Gather evidence: status, diff/range/PR metadata, tests, docs, local guidance,
|
|
34
38
|
and exact files/commands consulted.
|
|
35
|
-
4.
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
6.
|
|
39
|
-
|
|
39
|
+
4. Apply `review`: pin fixed point, find Spec and Standards sources,
|
|
40
|
+
and prepare separate Standards/Spec review prompts.
|
|
41
|
+
5. Run `autoreview` on the bounded target and manually verify accepted findings.
|
|
42
|
+
6. Apply mandatory lenses: `simplify`, `improve-codebase-architecture`, and
|
|
43
|
+
applicable scoped skills, claimed grill-wrapper checks.
|
|
44
|
+
7. Run safe readonly validation that matches the target.
|
|
45
|
+
8. Report findings-first; standalone mode stops, delivery mode returns findings
|
|
40
46
|
to the owning phase.
|
|
41
47
|
|
|
42
48
|
## Output
|
|
43
49
|
|
|
44
50
|
Lead with findings by severity. Include references, impact, evidence,
|
|
45
|
-
recommended action, validation, exact review command,
|
|
46
|
-
residual risk,
|
|
51
|
+
recommended action, validation, exact review command, fixed point, Spec source
|
|
52
|
+
or skipped reason, Standards sources, scoped guidance checked, residual risk,
|
|
53
|
+
and mode.
|