@ericrisco/rsc 4.1.11 → 4.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/manifest.json +6 -6
- package/package.json +2 -1
- package/scripts/lib/prompt-audit.js +110 -0
- package/scripts/lib/review-ledger.js +14 -3
- package/scripts/prompt-audit.js +48 -0
- package/scripts/rsc.js +4 -2
- package/skills/ads/SKILL.md +7 -7
- package/skills/agent-safety/SKILL.md +1 -1
- package/skills/asdd/SKILL.md +2 -2
- package/skills/asdd/references/model-routing.md +5 -5
- package/skills/astro/SKILL.md +1 -1
- package/skills/astro/scripts/verify.sh +1 -1
- package/skills/author-skill/SKILL.md +5 -5
- package/skills/author-skill/references/eval-authoring.md +6 -7
- package/skills/automation-flows/SKILL.md +1 -1
- package/skills/building-agents/SKILL.md +17 -12
- package/skills/building-agents/references/agent-loops-and-harness.md +3 -2
- package/skills/building-agents/references/evals-and-observability.md +7 -5
- package/skills/building-agents/references/provider-abstraction.md +31 -30
- package/skills/chrome-extension/SKILL.md +1 -1
- package/skills/cold-outreach/SKILL.md +1 -1
- package/skills/cold-outreach/references/templates.md +7 -3
- package/skills/compliance/SKILL.md +8 -8
- package/skills/compliance/evals/README.md +1 -1
- package/skills/compliance/evals/cases.yaml +2 -2
- package/skills/compliance/references/frameworks.md +7 -7
- package/skills/content-engine/SKILL.md +1 -1
- package/skills/cost-tracking/SKILL.md +29 -21
- package/skills/cost-tracking/references/pricing-tables.md +6 -5
- package/skills/course-builder/SKILL.md +4 -3
- package/skills/course-builder/references/outcomes-and-blooms.md +1 -1
- package/skills/course-storytelling/SKILL.md +1 -1
- package/skills/course-storytelling/references/concept-landing-recipe.md +1 -1
- package/skills/csharp-dotnet/SKILL.md +2 -2
- package/skills/data-policy/SKILL.md +1 -1
- package/skills/db-migrations/SKILL.md +6 -5
- package/skills/deep-learning/SKILL.md +2 -2
- package/skills/deployment/SKILL.md +1 -1
- package/skills/deployment/references/dockerfiles-by-stack.md +1 -1
- package/skills/design/engine/RUN.md +1 -1
- package/skills/django/SKILL.md +1 -1
- package/skills/docker/SKILL.md +1 -1
- package/skills/document-processing/SKILL.md +2 -1
- package/skills/electron/SKILL.md +2 -1
- package/skills/email-connector/SKILL.md +2 -1
- package/skills/email-deliverability/SKILL.md +2 -2
- package/skills/embeddings-search/SKILL.md +3 -3
- package/skills/error-handling/SKILL.md +4 -2
- package/skills/expo/SKILL.md +1 -1
- package/skills/fable-operator/SKILL.md +2 -2
- package/skills/fal/SKILL.md +1 -1
- package/skills/fastapi/SKILL.md +18 -9
- package/skills/fastapi/references/database.md +19 -10
- package/skills/finance-ops/SKILL.md +1 -1
- package/skills/firebase/SKILL.md +1 -1
- package/skills/flutter/SKILL.md +1 -1
- package/skills/forecasting/SKILL.md +1 -1
- package/skills/forecasting/references/accuracy-and-backtesting.md +1 -1
- package/skills/forecasting/references/methods-cheatsheet.md +3 -3
- package/skills/ftd/SKILL.md +2 -3
- package/skills/fundraising/references/funnel-math.md +1 -1
- package/skills/gamedev-multiplayer/SKILL.md +2 -2
- package/skills/gamedev-multiplayer/references/unity-and-unreal-netcode.md +4 -4
- package/skills/gamedev-pathing/SKILL.md +1 -1
- package/skills/gamedev-physics/SKILL.md +3 -2
- package/skills/gamedev-physics/references/character-controllers.md +1 -1
- package/skills/gamedev-shaders/SKILL.md +2 -4
- package/skills/gamedev-shipping/SKILL.md +8 -5
- package/skills/gamedev-shipping/references/mobile-and-desktop.md +7 -3
- package/skills/gcp-essentials/SKILL.md +11 -8
- package/skills/gcp-essentials/references/networking-and-sql.md +4 -4
- package/skills/gdpr-privacy/references/dpa-and-transfers.md +1 -1
- package/skills/git-workflow/SKILL.md +3 -3
- package/skills/github-actions/SKILL.md +12 -12
- package/skills/github-actions/evals/cases.yaml +1 -1
- package/skills/github-actions/references/caching-and-matrix.md +5 -5
- package/skills/github-actions/references/oidc-deploys.md +4 -4
- package/skills/go/SKILL.md +3 -3
- package/skills/google-workspace/SKILL.md +15 -11
- package/skills/google-workspace/references/api-recipes.md +2 -2
- package/skills/google-workspace/references/auth-setup.md +1 -1
- package/skills/harness/SKILL.md +4 -3
- package/skills/harness/references/daily-curation-automation.md +1 -1
- package/skills/harness/references/providers.yaml +4 -4
- package/skills/harness/references/wiki-protocol.md +2 -1
- package/skills/hetzner/SKILL.md +13 -12
- package/skills/hetzner/references/cloud-init.md +4 -2
- package/skills/hetzner/references/plans-and-locations.md +15 -14
- package/skills/hiring/SKILL.md +3 -3
- package/skills/htmx/SKILL.md +4 -4
- package/skills/htmx/references/server-contract.md +2 -2
- package/skills/huggingface/SKILL.md +15 -15
- package/skills/huggingface/evals/cases.yaml +1 -1
- package/skills/huggingface/references/endpoints-and-spaces.md +5 -3
- package/skills/huggingface/references/hub-and-cli.md +4 -4
- package/skills/huggingface/references/inference-providers.md +1 -1
- package/skills/huggingface/scripts/verify.sh +3 -2
- package/skills/implement/SKILL.md +3 -3
- package/skills/init/SKILL.md +2 -3
- package/skills/init/references/accompaniment-and-profile.md +1 -1
- package/skills/init/references/recommend-skills.md +9 -9
- package/skills/instagram-api/SKILL.md +9 -9
- package/skills/instagram-api/evals/cases.yaml +1 -1
- package/skills/instagram-api/references/insights-metrics.md +1 -1
- package/skills/instagram-api/references/publish-reel.md +8 -7
- package/skills/invoicing/SKILL.md +8 -7
- package/skills/java/SKILL.md +3 -2
- package/skills/knowledge-ops/SKILL.md +3 -4
- package/skills/knowledge-ops/references/gardening-playbook.md +3 -3
- package/skills/kotlin-android/SKILL.md +10 -3
- package/skills/kotlin-android/references/gradle-setup.md +1 -4
- package/skills/landing-copy/SKILL.md +1 -1
- package/skills/laravel/SKILL.md +11 -11
- package/skills/lead-gen/SKILL.md +3 -3
- package/skills/linkedin-api/SKILL.md +3 -3
- package/skills/linkedin-api/evals/cases.yaml +1 -1
- package/skills/linkedin-api/references/api-reference.md +3 -3
- package/skills/linkedin-content/SKILL.md +1 -1
- package/skills/linkedin-outreach/SKILL.md +4 -4
- package/skills/linkedin-strategy/SKILL.md +2 -2
- package/skills/llm-pipeline/SKILL.md +2 -2
- package/skills/llm-pipeline/references/litellm-router.md +3 -3
- package/skills/logistics-ops/SKILL.md +6 -1
- package/skills/marketing/SKILL.md +1 -1
- package/skills/marketing/references/seo-geo.md +2 -2
- package/skills/mongodb/SKILL.md +3 -2
- package/skills/mongodb/references/aggregation.md +3 -2
- package/skills/mysql/SKILL.md +1 -1
- package/skills/mysql/references/mysql-vs-mariadb.md +1 -1
- package/skills/n8n/SKILL.md +1 -1
- package/skills/nextjs/SKILL.md +1 -1
- package/skills/observability/SKILL.md +1 -1
- package/skills/observability/references/instrumentation-recipes.md +1 -1
- package/skills/ollama/SKILL.md +1 -1
- package/skills/open-weights/SKILL.md +3 -4
- package/skills/orient/SKILL.md +4 -3
- package/skills/parallel/SKILL.md +1 -1
- package/skills/planetscale/SKILL.md +3 -3
- package/skills/planetscale/references/no-foreign-keys.md +3 -3
- package/skills/postgresdb/SKILL.md +4 -4
- package/skills/presentations/SKILL.md +1 -1
- package/skills/prompt-engineering/SKILL.md +6 -6
- package/skills/prompt-engineering/evals/cases.yaml +2 -2
- package/skills/prompt-engineering/references/output-contracts.md +18 -23
- package/skills/rag/references/pipeline.md +7 -5
- package/skills/review/SKILL.md +5 -5
- package/skills/roast-me/prompts/compute.md +5 -5
- package/skills/roast-me/prompts/roast.md +2 -2
- package/skills/sdd-init/SKILL.md +3 -3
- package/skills/ship/SKILL.md +7 -9
- package/skills/shopify/SKILL.md +6 -6
- package/skills/shopify/references/apps-graphql.md +3 -3
- package/skills/skill-scout/SKILL.md +1 -1
- package/skills/specify/SKILL.md +3 -3
- package/skills/specify/references/eliciting-requirements.md +3 -3
- package/skills/structured-extraction/SKILL.md +7 -3
- package/skills/structured-extraction/references/providers.md +8 -5
- package/skills/svelte/SKILL.md +1 -1
- package/skills/swift-ios/SKILL.md +4 -4
- package/skills/tasks/SKILL.md +1 -1
- package/skills/tauri/SKILL.md +4 -3
- package/skills/terms-conditions/SKILL.md +2 -2
- package/skills/translation-l10n/SKILL.md +2 -1
- package/skills/typescript/SKILL.md +67 -19
- package/skills/typescript/evals/README.md +3 -3
- package/skills/typescript/evals/cases.yaml +4 -1
- package/skills/typescript/references/build-and-monorepo.md +82 -26
- package/skills/typescript/references/type-system.md +15 -4
- package/skills/typescript/scripts/verify.sh +20 -10
- package/skills/unslop/SKILL.md +1 -1
- package/skills/ux/SKILL.md +1 -1
- package/skills/vercel/SKILL.md +3 -2
- package/skills/vercel/references/vercel-json.md +8 -5
- package/skills/verify/SKILL.md +3 -3
- package/skills/vllm/SKILL.md +4 -2
- package/skills/vue-nuxt/SKILL.md +5 -5
- package/skills/webhooks/SKILL.md +10 -1
- package/skills/worktrees/SKILL.md +10 -8
- package/skills/youtube-ideation/SKILL.md +1 -1
- package/targets/agents.js +26 -17
- package/targets/asdd-gate.mjs +9 -1
- package/targets/commands.js +7 -7
package/targets/asdd-gate.mjs
CHANGED
|
@@ -449,12 +449,20 @@ export function branchCheck(
|
|
|
449
449
|
reviewedStill(repo, sha, trunk, sello, cfg, tip || 'HEAD'),
|
|
450
450
|
);
|
|
451
451
|
if (best >= required) return null;
|
|
452
|
+
// A child repo keeps its evidence in the workspace; the panel must name the child's commit.
|
|
453
|
+
// Forward slashes, and single quotes around anything unusual: the line is meant to be pasted
|
|
454
|
+
// into a shell, and a directory named after a branch may hold `$()`, `;` or a backtick.
|
|
455
|
+
const at = relative(evidence, repo).split('\\').join('/');
|
|
456
|
+
const repoFlag =
|
|
457
|
+
evidence === repo
|
|
458
|
+
? ''
|
|
459
|
+
: ` --repo ${/^[\w./-]+$/.test(at) ? at : `'${at.replace(/'/g, "'\\''")}'`}`;
|
|
452
460
|
return (
|
|
453
461
|
`Branch "${branch}" is risk tier 2 and its spec passes, but no review panel of ${required} lens(es) is recorded for it` +
|
|
454
462
|
`${best ? ` (largest still valid: ${best})` : ''}. Tier 2 is reviewed by the full panel, not by one reviewer, and a panel covers ` +
|
|
455
463
|
'the commit it was recorded on: code committed after it needs the panel again (the record is self-attested, like the sello). ' +
|
|
456
464
|
`Recover: run the ${required} fresh-context refuters (correctness, security, tests) on the branch, then record it — ` +
|
|
457
|
-
`\`npx @ericrisco/rsc review ledger panel ${slugs[0]}/closing --lenses correctness,security,tests\` — and push again. ` +
|
|
465
|
+
`\`npx @ericrisco/rsc review ledger panel ${slugs[0]}/closing --lenses correctness,security,tests${repoFlag}\` (run from ${evidence === repo ? 'the repository' : 'the workspace root'}) — and push again. ` +
|
|
458
466
|
'To turn this gate off for the project: create `.rsc/.no-asdd-gate`.'
|
|
459
467
|
);
|
|
460
468
|
}
|
package/targets/commands.js
CHANGED
|
@@ -44,24 +44,24 @@ const FIXED_COMMANDS = Object.freeze([
|
|
|
44
44
|
{
|
|
45
45
|
name: 'checkpoint', kind: 'capability', backing: 'sello',
|
|
46
46
|
description: 'Freeze the current candidate for review and seal it only after the required lenses approve.',
|
|
47
|
-
body: `
|
|
47
|
+
body: `Checkpoint: {{ARGS}}\nRun \`npx @ericrisco/rsc sello freeze\`, complete the required review, then run \`sello approve\` only with the observed lenses. Do not treat freeze as approval.`,
|
|
48
48
|
},
|
|
49
49
|
skillCommand('harness-audit', 'harness'),
|
|
50
50
|
skillCommand('security-audit', 'security-audit'),
|
|
51
51
|
{
|
|
52
|
-
name: 'learn', kind: 'memory', backing: 'memory
|
|
52
|
+
name: 'learn', kind: 'memory', backing: 'rsc memory learn',
|
|
53
53
|
description: 'Propose one local lesson; saving still requires individual explicit approval.',
|
|
54
|
-
body: `
|
|
54
|
+
body: `For exactly one proposed lesson: {{ARGS}}\nAfter individual explicit approval, run \`npx @ericrisco/rsc memory learn\` with its text, evidence, scope, confidence and \`--approve\`. Without that approval, write nothing.`,
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
|
-
name: 'save-session', kind: 'memory', backing: 'memory
|
|
57
|
+
name: 'save-session', kind: 'memory', backing: 'rsc memory save',
|
|
58
58
|
description: 'Force a local deterministic session checkpoint.',
|
|
59
|
-
body: `
|
|
59
|
+
body: `With the current local session identifiers: {{ARGS}}\nRun \`npx @ericrisco/rsc memory save --session <id>\`. Persist only allowed git and SDD ledger metadata; never include conversation or file content.`,
|
|
60
60
|
},
|
|
61
61
|
{
|
|
62
|
-
name: 'resume-session', kind: 'memory', backing: 'memory
|
|
62
|
+
name: 'resume-session', kind: 'memory', backing: 'rsc memory resume',
|
|
63
63
|
description: 'Read the bounded local continuation record for this branch and worktree.',
|
|
64
|
-
body: `
|
|
64
|
+
body: `For the current branch and worktree: {{ARGS}}\nRun \`npx @ericrisco/rsc memory resume\`. Label a nearby branch result as nearby; never merge it silently into the exact continuation.`,
|
|
65
65
|
},
|
|
66
66
|
]);
|
|
67
67
|
|