diff --git a/.lore.md b/.lore.md index 14443f438..0284095bb 100644 --- a/.lore.md +++ b/.lore.md @@ -579,6 +579,9 @@ * **Run full test suite plus lint after every code change**: After implementing or modifying code, the user consistently expects a verification cycle consisting of: (1) running the test suite to confirm all tests pass and noting any expected error messages, (2) running the lint check to confirm no issues, and (3) often a typecheck on modified files. Test output is reviewed carefully — expected warnings (skipped files, unsupported formats, Sentry CLI auth warnings) are explicitly called out as non-blocking, while actual failures are investigated. The assistant should proactively run lint and tests after changes, report pass/fail counts with timing, distinguish expected vs unexpected warnings, and suggest logical next steps (typecheck, commit, push) once verification is green. + +* **sentry project create: only colon forms valid — space forms removed entirely**: For \`sentry project create\`, only TWO valid input forms exist (PR #1191, \`fix/project-create-multiple\`): 1. \`proj:platform...\` — no-org colon form (org auto-detected; canonical/preferred — enables batch creation) 2. \`org/proj:platform...\` — with-org colon form Space-separated forms (\`proj platform\`, \`org/proj platform\`) are INVALID and removed entirely. Colon form preferred because it enables chaining: \`web:node api:python worker:node\`. Spaces are never valid in slugs — \`looksLikeDisplayName()\` uses space presence as display-name signal. Key implementation details: \`buildPlatformError()\` always shows only colon form in error messages. \`parsePairedProjectSpec()\` error: \`"must use \:\ syntax"\`. \`parseProjectSpecs()\` legacy two-positional branch removed entirely. Completions: bare positional never gets space-separated platform completions. \`teamAutoCreateSlug\` fix (commit \`13727f266\`): searches whole batch for first non-empty slug via \`parsed.map(p => slugify(p.name)).find(slug => slug !== "")\` — prevents one empty-slug name from blocking team auto-create for the entire batch. \`generate-skill-markdown.ts\` (NEW script): exports \`extractCommandPathFromHeading(heading)\` and \`matchExampleToCommand()\`, extracted from \`generate-skill.ts\` to fix a heading-parsing regex that broke on the new \`[/]\` bracket prefix and to make the parsing logic independently unit-testable. + * **Strict PR merge-readiness workflow**: Drive every PR to a clean merge-ready state: branch, commit with .lore.md, push, then wait for CI and bot reviews. Rebase onto latest main and resolve conflicts; take HEAD for auto-generated .lore.md. Investigate CI failures by reading logs and conflict categories before fixing. Resolve every inline review thread (Bugbot, Seer, Warden): verify against current code, reply to stale/false positives, then resolve. Run full local verification (install, typecheck, lint, build, tests) and confirm required CI checks pass. After CI turns green, re-fetch PR state before merging — auto-merge may already have merged; verify merge commit has one parent. Final sweep for new comments, then squash-merge only when mergeStateStatus=CLEAN.