You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: update CLAUDE.md to match current implementation
- Fix set -e documentation to describe actual pattern per script type
- Add wiki/ to project structure tree
- Add ARCHITECTURE.md and ENVIRONMENT-SETUP-STRATEGY.md to references
- Remove temporal "now" from configuration section
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CLAUDE.md
+16-3Lines changed: 16 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -469,6 +469,10 @@ act -j ios-plugin-tests
469
469
│ ├── e2e-react-native.sh
470
470
│ ├── e2e-sequential.sh
471
471
│ └── e2e-all.sh
472
+
├── wiki/ # Documentation
473
+
│ ├── guides/ # User guides and cheatsheets
474
+
│ ├── reference/ # CLI, config, and env var references
475
+
│ └── project/ # Architecture and strategy docs
472
476
├── .github/workflows/
473
477
│ ├── pr-checks.yml # Fast PR validation
474
478
│ └── e2e-full.yml # Full E2E tests
@@ -590,7 +594,12 @@ Document public APIs exhaustively in REFERENCE.md files, not in code comments.
590
594
591
595
**Reduce edge cases and unexpected behavior.** Design for the common path. When edge cases arise, validate assumptions early and fail fast rather than adding complex branching logic.
592
596
593
-
**Scripts fail on error.** All shell scripts use `set -euo pipefail` (or `set -eu` for POSIX sh). Functions return 0 on success, non-zero on failure. Avoid `|| true` except in validation functions where warnings shouldn't block execution.
597
+
**Scripts fail on error.** Shell scripts use different strictness levels depending on context:
598
+
- Sourced scripts (lib.sh, core.sh, setup.sh): `set -e` (no `-u` due to Node.js package compatibility issues with unset variables)
Functions return 0 on success, non-zero on failure. Avoid `|| true` except in validation functions where warnings shouldn't block execution.
594
603
595
604
**Validation warns but doesn't block.** User-facing validation commands (like lock file checksum mismatches) should warn with actionable fix commands but never prevent the user from continuing. The validation philosophy is "inform, don't obstruct."
Configuration for both Android and iOS plugins is now managed via environment variables defined in `plugin.json`. These env vars are converted to JSON at runtime for internal use.
828
+
Configuration for both Android and iOS plugins is managed via environment variables defined in `plugin.json`. These env vars are converted to JSON at runtime for internal use.
820
829
821
830
### Android Plugin Environment Variables
822
831
-`ANDROID_DEFAULT_DEVICE` - Default emulator
@@ -850,7 +859,9 @@ Configuration for both Android and iOS plugins is now managed via environment va
0 commit comments