Description
Two UX friction points on fresh install:
auth.toml is created with 644 permissions — should be 600. A warning is shown but no auto-fix.
- No
~/.cora/config.yaml is created on first run — defaults to OpenAI without telling the user.
Expected Behavior
- After writing
auth.toml, auto-chmod to 600
cora init or first cora review should create ~/.cora/config.yaml with sensible defaults
- Show clear setup instructions if no provider is configured
Current Workaround
mkdir -p ~/.cora
chmod 600 ~/.cora/auth.toml
cat > ~/.cora/config.yaml << EOF
provider:
provider: zai
model: glm-5.1
base_url: https://api.z.ai/api/coding/paas/v4
EOF
Description
Two UX friction points on fresh install:
auth.tomlis created with 644 permissions — should be 600. A warning is shown but no auto-fix.~/.cora/config.yamlis created on first run — defaults to OpenAI without telling the user.Expected Behavior
auth.toml, auto-chmod to 600cora initor firstcora reviewshould create~/.cora/config.yamlwith sensible defaultsCurrent Workaround