Skip to content

Rename stub flags NATEMPLATE_STUB_* -> NATIVEAPPTEMPLATE_STUB_*#45

Merged
dadachi merged 1 commit intomainfrom
stub-flags-canonical-stem
May 2, 2026
Merged

Rename stub flags NATEMPLATE_STUB_* -> NATIVEAPPTEMPLATE_STUB_*#45
dadachi merged 1 commit intomainfrom
stub-flags-canonical-stem

Conversation

@dadachi
Copy link
Copy Markdown
Contributor

@dadachi dadachi commented May 2, 2026

Summary

Final piece of the post-#30 canonical-stem cleanup. PR #30 normalized NATEMPLATE_API/IOS/ANDROIDNATIVEAPPTEMPLATE_API/IOS/ANDROID. The stub flags were left on the abbreviated stem; this PR brings them in line.

Renames

Before After
NATEMPLATE_STUB_ALL NATIVEAPPTEMPLATE_STUB_ALL
NATEMPLATE_STUB_<AGENT> NATIVEAPPTEMPLATE_STUB_<AGENT>

Touch points (4 files, lockstep change)

  • package.json — test script env var
  • src/stub.ts — env var lookups (both _ALL and per-agent)
  • src/agents/planner.ts — trace message wording

(docs-private/PLAN.md updated locally; gitignored, not in this diff.)

User-side follow-up

Re-export NATIVEAPPTEMPLATE_STUB_* in any local shells / scripts that previously used the abbreviated form. The old name is now a no-op.

Test plan

  • npm run ci — 16/16 green. The test script now sets the renamed flag, so existing stub-mode tests continue to be stubbed — no behavior change.

🤖 Generated with Claude Code

Final piece of the post-#30 canonical-stem cleanup. PR #30 normalized
NATEMPLATE_API/IOS/ANDROID -> NATIVEAPPTEMPLATE_API/IOS/ANDROID.
The stub flags were left on the abbreviated stem; this PR brings
them in line.

Renames:
  NATEMPLATE_STUB_ALL    -> NATIVEAPPTEMPLATE_STUB_ALL
  NATEMPLATE_STUB_<AGENT> -> NATIVEAPPTEMPLATE_STUB_<AGENT>

Touch points (4 files, lockstep change):
  - package.json — test script env var
  - src/stub.ts — env var lookups (both ALL and per-agent)
  - src/agents/planner.ts — trace message wording

Tests: 16/16 npm run ci green (the test script now sets the
renamed flag, so existing stub-mode tests continue to be stubbed
as before — no behavior change).

User-side follow-up: re-export NATIVEAPPTEMPLATE_STUB_* in any
local shells / scripts that previously used the abbreviated form.
The old name is now a no-op.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@dadachi dadachi merged commit ecab0d6 into main May 2, 2026
1 check passed
@dadachi dadachi deleted the stub-flags-canonical-stem branch May 2, 2026 23:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant