Commit Graph
1104 Commits
Author SHA1 Message Date
haelyra 21d0c33c69 Merge reviewed PR #2857: Django Celery on-commit delivery guidance
# Conflicts:
#	manifests/context-packs/skill-triggers@1.json
2026-11-16 22:01:04 -05:00
haelyra aed665c89a Merge reviewed PR #2729: stable skill-stocktake ordering (carried from #2729)
# Conflicts:
#	manifests/context-packs/skill-triggers@1.json
2026-11-16 22:00:43 -05:00
haelyraanderic0891230 04fa58ae57 docs(browser-qa): fix the claude-in-chrome MCP tool prefix
The Integration section named the Chrome tools `mChild__claude-in-chrome__*`,
which matches no real tool, so readers following it would look for tools that
do not exist. Use the real `mcp__claude-in-chrome__*` prefix in the English
skill and the zh-CN mirror, and rebind the skill-triggers registry digest for
the changed skill source.

Carried forward from the browser-qa correction in #2492.

Co-authored-by: eric0891230 <eric0891230@gmail.com>
2026-11-16 21:11:01 -05:00
haelyraandNathan Oliver 6875b2aa0c fix(skill-stocktake): keep sorted inventory order past nine skills
scan.sh and quick-diff.sh name each per-skill record "$i.json" and merge
them with a "$tmpdir"/*.json glob. The glob sorts names as text, so once a
scan finds ten or more skills 10.json lands before 2.json and the output
no longer follows the NUL-sorted discovery order. Zero-pad the record
names so glob order matches insertion order, and pin both scripts with a
twelve-skill regression test. Rebind the skill-triggers registry digest
for the changed skill sources.

Carried forward from the ordering fix in #2729.

Co-authored-by: Nathan Oliver <nathan.oliver@emecogroup.com>
2026-11-16 21:04:35 -05:00
haelyra d1a413f00c Merge branch 'main' into branch-fix-django-celery-delivery-guidance 2026-11-16 20:59:29 -05:00
haelyra e2e48476b6 docs(skills): document Django on-commit test contract for Celery
Add a TestCase example that uses captureOnCommitCallbacks(execute=True)
and asserts the Celery delay call, note the pytest-django fixture and
when TransactionTestCase is appropriate, wrap the eager-mode request
example so post-commit dispatch actually runs, mention
apply_async_on_commit(), and pin the examples in the skill test.
2026-11-16 20:59:29 -05:00
haelyra 5031dd4793 fix: preserve explicit slide counts and readable viewport limits 2026-11-16 13:38:09 -05:00
haelyra dcc3f08c4c Merge remote-tracking branch 'origin/pr-3907' into stewardship/20261116 2026-11-16 13:37:58 -05:00
haelyra 597d103e90 Merge remote-tracking branch 'origin/pr-3423' into stewardship/20261116
# Conflicts:
#	.claude-plugin/marketplace.json
#	.claude-plugin/plugin.json
#	.gemini/GEMINI.md
#	AGENTS.md
#	README.md
#	README.zh-CN.md
#	SOUL.md
#	docs/tr/AGENTS.md
#	docs/zh-CN/AGENTS.md
#	docs/zh-CN/README.md
#	manifests/context-packs/skill-triggers@1.json
2026-11-16 13:37:29 -05:00
haelyra 40327476c4 fix: harden review fixtures and isolate audit verification metadata 2026-11-16 13:35:34 -05:00
haelyra 778d03df44 Merge remote-tracking branch 'origin/pr-3891' into stewardship/20261116
# Conflicts:
#	manifests/context-packs/skill-triggers@1.json
2026-11-16 13:25:04 -05:00
haelyra f2f3375838 Merge remote-tracking branch 'origin/pr-3921' into stewardship/20261116
# Conflicts:
#	manifests/context-packs/skill-triggers@1.json
2026-11-16 13:24:32 -05:00
haelyra 1b44d3d723 fix: reconcile reviewed migration and async test followups 2026-11-16 13:23:22 -05:00
haelyra 3ac95006e4 Merge remote-tracking branch 'origin/pr-3920' into stewardship/20261116 2026-11-16 13:22:46 -05:00
haelyra 8dce8f32c8 Merge remote-tracking branch 'origin/pr-3919' into stewardship/20261116 2026-11-16 13:22:41 -05:00
haelyra f8f5552b2c Merge remote-tracking branch 'origin/pr-3925' into stewardship/20261116
# Conflicts:
#	manifests/context-packs/skill-triggers@1.json
#	skills/ck/commands/save.mjs
2026-11-16 13:22:31 -05:00
haelyra 028c1b682a Merge remote-tracking branch 'origin/pr-3923' into stewardship/20261116
# Conflicts:
#	manifests/context-packs/skill-triggers@1.json
2026-11-16 13:22:17 -05:00
adityajai119 08a167573b fix(ck): keep v1 contexts and null sessions from being overwritten by init
A registered v1 project has CONTEXT.md but no context.json; init wrote
an empty history over that CONTEXT.md. Stop and point to /ck:migrate
while CONTEXT.md is still there, and only start fresh when neither file
exists. A context whose sessions array holds a null entry passed the
guard, then renderContextMd threw after context.json was rewritten; now
every session entry must be an object before anything is written.
Rebind the skill triggers manifest to the new registry digest.

Refs #3922
2026-11-12 00:19:23 +05:30
adityajai119 4707a2fb55 fix(ck): mark only the registration the commands use in list
With both spellings of a folder registered, list marked both rows as
the current project while save and resume use only the exact one. Pass
the key findProject() selects to renderListTable(), which compares it
exactly again. Rebind the skill triggers manifest to the new registry
digest.

Refs #3924
2026-11-12 00:05:02 +05:30
adityajai119 fb6b26eafc fix(ck): also refuse a context.json that is not a ck context
A context.json that parses but has no sessions array (for example a
JSON array at the root) passed the guard, and init wrote an empty
context over it. Require a sessions array before reusing the context.
Rebind the skill triggers manifest to the new registry digest.

Refs #3922
2026-11-12 00:02:23 +05:30
adityajai119 3ecdcac3b4 fix(ck): refuse to re-initialize over an unreadable context
When a registered project's context.json exists but cannot be parsed,
loadContext() returns null and init wrote a fresh context over the file,
destroying history that could still be recovered by hand. Stop with a
message and leave the files alone instead.

Tests: forgetting a project renamed by init leaves no context directory
behind, and init over an unreadable context.json exits 1 without
touching it. Rebind the skill triggers manifest to the new registry
digest.

Refs #3922
2026-11-11 23:50:17 +05:30
adityajai119 a99d5bd1ee fix(ck): compare Windows project paths without letter case
Windows paths are case-insensitive, so C:/Work/App and c:\work\app name
the same folder. Add samePath(), which lowercases resolved paths on
win32 only, and use it for the registry lookup, the list marker and the
resume cd hint. The SessionStart hook now uses findProject() instead of
indexing the registry with a key that may be undefined.

Tests: the Git Bash registration is found from PowerShell and from a
lower-case path (init, save, list, resume with the saved session,
SessionStart); resume and forget act on the exact registration when
both spellings exist; SessionStart ignores a registration that does not
match. Rebind the skill triggers manifest to the new registry digest.

Refs #3924
2026-11-11 23:47:25 +05:30
adityajai119 7aebf1f2e2 fix(ck): find a project from either Windows path form
projects.json is keyed by PWD or process.cwd(), and lookups compared
that string exactly. On Windows, Git Bash passes C:/... and PowerShell
gives C:\..., so a folder registered from one shell was unknown in the
other and init registered it a second time. Match registrations by
exact key first, then by resolved path, in save, init, resume, list and
the SessionStart hook, and rebind the skill triggers manifest to the
new registry digest.

Fixes #3924
2026-11-11 23:39:39 +05:30
adityajai119 71737c8c38 fix(ck): keep saved sessions when a registered project is initialized again
save.mjs --init wrote a new context with sessions: [] and a fresh
createdAt over the existing one, so running /ck:init again in a
registered folder deleted its session history. Carry both over from the
registered context, keep its context directory when the name changes,
and update only the project details. Rebind the skill triggers manifest
to the new registry digest.

Fixes #3922
2026-11-11 23:35:33 +05:30
yuhoyuho 322e347a86 fix(gateguard): gate DROP DATABASE, DROP SCHEMA and ALTER TABLE ... DROP COLUMN
DESTRUCTIVE_SQL matched only DROP TABLE, DELETE FROM and TRUNCATE.
`psql -c "DROP DATABASE prod"`, `DROP SCHEMA public CASCADE` and
`ALTER TABLE users DROP COLUMN email` went to the routine gate instead
of the destructive gate, even though each loses at least as much data
as DROP TABLE.

Add DROP DATABASE, DROP SCHEMA and an ALTER TABLE ... DROP COLUMN arm
to the phrase check. The DROP COLUMN arm stops at `;` so it never
matches across two statements. It requires the COLUMN keyword so
ALTER COLUMN ... DROP DEFAULT / DROP NOT NULL stay passive. Existing
literal and quote stripping keeps SQL strings, commit messages and
echo mentions passive.

Update the gateguard trigger list (en, ja-JP, zh-CN) and rebind the
skill-triggers registry digest for the SKILL.md body edit. Skill
descriptions and triggers are unchanged.
2026-11-12 01:08:39 +09:00
yuhoyuho 9a6e1d881a fix(skills): make column rename rollout preserve concurrent writes 2026-11-12 00:46:16 +09:00
yuhoyuho 3d99184af7 fix(skills): correct PostgreSQL ADD COLUMN migration guidance 2026-11-12 00:37:44 +09:00
Abdulrehman Satkut 1b87fb3f43 fix(frontend-slides): enforce length confirmation and add single-slide architecture mode (#3896) 2026-11-11 17:55:47 +05:30
Rockwell Windsor Rice 92a2328e91 fix(rails-security): exempt the session actions from verify_authorized
- SessionsController inherits ApplicationController's after_action
  :verify_authorized but never calls authorize, so sign-in and sign-out raised
  Pundit::AuthorizationNotPerformedError after running instead of redirecting
- Shows the explicit skip_after_action beside the callback that needs it
2026-11-08 16:38:53 -06:00
Rockwell Windsor Rice cd322b5bea fix(rails-security): verify upload bytes where they are actually stored
- blob.content_type is derived via Marcel::MimeType.for, which keeps the
  client's declared type when the bytes match no known magic; opaque bytes
  declared image/png are stored as image/png with identified? true
- Active Storage uploads on save, so a model validation runs before the bytes
  exist; the example now uploads explicitly, verifies the stored bytes, and
  attaches only what passed
- Covers both entry points — create_and_upload! for form uploads, find_signed!
  for direct uploads — and fails closed when the object is missing or pending
- Regenerates the skill-triggers registry digest, which covers skill content
2026-11-08 14:00:01 -06:00
Rockwell Windsor Rice adfffc0ca8 docs(rails-security): explain the direct-upload guard and name its auth 2026-11-08 09:15:30 -06:00
Rockwell Windsor Rice 0edcf37ff5 docs(rails-security): guard the direct-upload route in the example 2026-11-08 09:15:30 -06:00
Rockwell Windsor Rice 4857f82ff0 docs(rails-security): add the direct-upload route to the Active Storage example 2026-11-08 09:15:30 -06:00
Rockwell Windsor Rice 577bb2bc3a docs(rails-security): note draw_routes removes every default Active Storage route 2026-11-08 09:15:30 -06:00
Rockwell Windsor Rice bc2dc43848 docs(rails-security): add the route for the authorized file controller 2026-11-08 09:15:30 -06:00
Rockwell Windsor Rice 66a434cbc6 docs(rails-security): require draw_routes = false alongside the authorized controller 2026-11-08 09:15:30 -06:00
Rockwell Windsor Rice 06d6015ac6 docs(rails-security): note that the webhook dedupe key needs a signed payload id 2026-11-08 09:15:30 -06:00
Rockwell Windsor Rice b2cb041764 fix(rails-security): name the stable Active Storage paths in serving guidance
- rails_blob_url and url_for(attachment) are permanent references that redirect
  to a short-lived service URL, so the file stays reachable past the expiry
- Serves user-scoped files from a controller that authorizes each request
  before redirecting to a short-lived private-service URL
2026-11-08 09:15:30 -06:00
Rockwell Windsor Rice 36dedf4646 fix(rails-security): take the webhook replay key from the signed payload
- The HMAC covers the request body, not the headers, so deduplicating on
  X-Delivery-Id let a replay vary that header and queue the work again
- Uses the event id parsed from the signed body as the dedupe key
2026-11-08 09:15:30 -06:00
Rockwell Windsor Rice 4b8da913be fix(rails-security): cover extension and storage destination in upload guidance
- rules/ruby/security.md calls for content type, extension, size, and storage
  destination; the example and checklist covered only detected type and size
- Adds an extension allowlist, a private-service attachment with signed URLs,
  and updates the verification checklist to match
2026-11-08 09:15:30 -06:00
Rockwell Windsor Rice cf9488ddf1 fix(rails-security): dedupe webhook deliveries against replay
- Signature verification proves authenticity, not freshness; an identical
  signed delivery queued another job, repeating any non-idempotent effect
- Records the provider's delivery id behind a unique index and returns early
  once processed, and notes that perform must be idempotent for retries
2026-11-08 09:15:30 -06:00
Rockwell Windsor Rice e2aee760ff docs(rails-security): restrict assume_ssl to an HTTPS-enforcing proxy 2026-11-08 09:15:30 -06:00
Rockwell Windsor Rice da713084fc feat(rails-security): add Rails security skill
Adds a rails-security skill covering production configuration,
authentication and session rotation, authorization, strong parameters,
SQL injection, XSS and output escaping, CSRF, file uploads, API security,
credentials, untrusted boundaries, and dependency scanning.

Fills the Rails gap alongside the existing laravel-security, django-security,
and springboot-security framework skills. Defers decisions to
rules/ruby/security.md and focuses on the how, per the rules-vs-skills split.

Registers skills/rails-security in the framework-language install module,
agent.yaml, the package.json files list, the ruby entry in
config/project-stack-mappings.json, and the plugin and marketplace manifests.
Adds the reciprocal skill reference to rules/ruby/security.md, matching how
the python, php, and java security rules point at their framework skills.

Updates the catalog count to 294 across the documented surfaces, and bumps
registryDigest and coverage.skills in the skill-triggers context pack by hand:
scripts/dev/generate-skill-triggers.js requires Codex auth to regenerate, and
no new triggers are introduced, so triggersDigest is unchanged.
2026-11-08 09:15:21 -06:00
Emad e26803e890 docs(skills): clarify verified progress in existing-issue handoffs 2026-11-07 16:15:13 +02:00
haelyra 1ba265069d docs: require Pod identity evidence before diagnosing churn 2026-11-05 23:44:17 -05:00
haelyra 2d1e64b359 Merge reviewed PR #3673
# Conflicts:
#	skills/skill-comply/prompts/scenario_generator.md
#	skills/skill-comply/scripts/runner.py
2026-11-05 23:38:56 -05:00
haelyra d97367cf76 fix: reconcile reviewed skills, manifests, and dependency locks 2026-11-05 23:38:04 -05:00
haelyra 5cc41acbe7 Merge reviewed PR #3823
# Conflicts:
#	manifests/context-packs/skill-triggers@1.json
2026-11-05 23:29:31 -05:00
haelyra 4ea363ecf1 Merge reviewed PR #3743
# Conflicts:
#	.claude-plugin/marketplace.json
#	.claude-plugin/plugin.json
#	.gemini/GEMINI.md
#	AGENTS.md
#	README.md
#	README.zh-CN.md
#	SOUL.md
#	docs/tr/AGENTS.md
#	docs/zh-CN/AGENTS.md
#	docs/zh-CN/README.md
#	manifests/context-packs/skill-triggers@1.json
#	manifests/install-modules.json
2026-11-05 23:29:20 -05:00
haelyra cacb79b243 Merge reviewed PR #3869 2026-11-05 23:28:21 -05:00