Skip to content

fix(profile): default profile actually 'standard' (align stale 'pro' default refs)#110

Merged
sgwannabe merged 2 commits intomainfrom
fix/profile-default-stale-docs
Apr 26, 2026
Merged

fix(profile): default profile actually 'standard' (align stale 'pro' default refs)#110
sgwannabe merged 2 commits intomainfrom
fix/profile-default-stale-docs

Conversation

@sgwannabe
Copy link
Copy Markdown
Contributor

Summary

/pf:new was silently spinning up the pro profile (18 previews · 3×5 eng · ~70min) when users expected the standard demo path (9 previews · 2×5 eng · ~25min). User-reported during demo prep.

Root cause

settings.json.pf.defaultProfile has been "standard" since v1.4.0 (LESSON 0.10 — demo-first UX flip). But several markdown / Python files still claimed "pro" as the default. LLM agents reading commands/new.md and ideation-lead.md trust the markdown over the JSON config, so the documented (stale) default won.

Fix

File Change
commands/new.md examples + flag table + comparison table + flow §7 all corrected to standard; explicit "use --profile=pro|max" + PF_PROFILE=pro env-var examples added
agents/ideation/ideation-lead.md L110 profile-resolve doc updated; LESSON 0.10 cross-ref
hooks/cost-regression.py L46-60 docstring + 3 fallback branches "pro""standard" (matches settings.json shipped value)
schemas/pf-profile.schema.json description: "pro (default)" → "standard (default since v1.4)"

Plus an unrelated chore: untrack .claude/scheduled_tasks.lock (accidentally included in first push) + gitignore.

How to opt into pro/max from the start (now documented)

/pf:new "..." --profile=pro
/pf:new "..." --profile=max
PF_PROFILE=pro /pf:new "..."

Side effects

  • bash scripts/verify-plugin.sh → 58 Pass / 0 Fail (unchanged)
  • No advocate boilerplate impact
  • Historical references in LESSONS.md / CHANGELOG.md preserved (they document the flip itself)
  • Fresh /pf:new invocations now hit the documented intended UX

Codex review

Skipped — documentation/string alignment, no behavior change beyond fixing the silent contradiction.

sgwannabe and others added 2 commits April 26, 2026 11:35
…ault

settings.json has shipped pf.defaultProfile: "standard" since v1.4.0
(LESSON 0.10 — demo-first UX flip), but several markdown / Python
files still claimed 'pro' as the default. Because LLM agents reading
commands/new.md and ideation-lead.md trust the markdown over the
JSON config, /pf:new was silently spinning up the pro profile (18
previews · 3×5 eng · ~70min) when users expected the standard demo
path (9 previews · 2×5 eng · ~25min).

Fix:
- commands/new.md: examples row now shows standard as the default
  invocation; flag table corrected; "(기본)" tag moved from pro row
  to standard row in the comparison table; flow text §7 expanded to
  show the full resolution chain (--profile flag → env PF_PROFILE →
  settings.json → final fallback "standard"). Adds explicit
  "use --profile=pro|max for deeper verification" + PF_PROFILE
  env-var example.
- agents/ideation/ideation-lead.md L110: profile-resolve doc updated
  to "standard" + LESSON 0.10 cross-reference.
- hooks/cost-regression.py L46-60: docstring + 3 fallback branches
  ("pro" → "standard"). Now matches settings.json shipped value.
- schemas/pf-profile.schema.json description: "pro (default)" wording
  replaced with "standard (default since v1.4)".

Side effects:
- bash scripts/verify-plugin.sh → 58 Pass / 0 Fail (unchanged)
- No advocate boilerplate impact (lint scope is advocates/P*.md, not
  any of the touched files)
- Historical references in LESSONS.md / CHANGELOG.md preserved
  intentionally (they document the v1.3.0 → v1.4.0 flip itself)
- New users / fresh /pf:new invocations now hit the documented
  intended UX: ~25min standard run by default

How to opt into pro/max from start (now documented in commands/new.md):
  /pf:new "..." --profile=pro
  /pf:new "..." --profile=max
  PF_PROFILE=pro /pf:new "..."

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Accidentally added in the previous commit (Claude Code session lock,
per-process state, not source). Removed from index and gitignored so
future sessions don't re-stage it.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@gemini-code-assist
Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 26, 2026

Warning

Rate limit exceeded

@sgwannabe has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 31 minutes and 31 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 31 minutes and 31 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: c4312bd3-a747-4008-a834-60dc5a38ce16

📥 Commits

Reviewing files that changed from the base of the PR and between f87ab33 and b8713f6.

📒 Files selected for processing (5)
  • .gitignore
  • plugins/preview-forge/agents/ideation/ideation-lead.md
  • plugins/preview-forge/commands/new.md
  • plugins/preview-forge/hooks/cost-regression.py
  • plugins/preview-forge/schemas/pf-profile.schema.json
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/profile-default-stale-docs

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@sgwannabe sgwannabe merged commit 358de64 into main Apr 26, 2026
7 checks passed
@sgwannabe sgwannabe deleted the fix/profile-default-stale-docs branch April 26, 2026 02:36
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