
- Add config module from backup (loader, accessor, migration) - Add agent reference cards for token-efficient migration - Add migration knowledge base and instructions - Ready to start systematic config-driven migration
38 lines
685 B
Markdown
38 lines
685 B
Markdown
# Syntax Fix Patterns (Token-Efficient Reference)
|
|
|
|
## Critical Patterns to Fix
|
|
|
|
### 1. Function Call Parentheses
|
|
```nushell
|
|
# BROKEN
|
|
$"(get-provisioning-args)? | default "") "
|
|
|
|
# FIXED
|
|
((get-provisioning-args) | default "")
|
|
```
|
|
|
|
### 2. Command Parentheses
|
|
```nushell
|
|
# BROKEN
|
|
^$"(get-provisioning-name))" -mod server
|
|
|
|
# FIXED
|
|
^(get-provisioning-name) -mod server
|
|
```
|
|
|
|
### 3. Missing Function Calls
|
|
```nushell
|
|
# BROKEN
|
|
let ops = $"(get-provisioning-args)? | default "") "
|
|
|
|
# FIXED
|
|
let ops = ((get-provisioning-args) | default "")
|
|
```
|
|
|
|
## Testing Command
|
|
```bash
|
|
nu --ide-check FILE_PATH
|
|
```
|
|
|
|
## Success Pattern
|
|
All function calls must be wrapped in parentheses when used in expressions. |