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>
The context registry digest covers the target list, so adding the
mistral-vibe target on current main changes it. The trigger phrases are
unchanged; only registryDigest is updated so validate-context-profiles
accepts the manifest.
The django-celery references link to docs.celeryq.dev, which the pi/core
safety scan rejects as a non-allowlisted host. Allow the documentation
host and regenerate pi/core so the shipped skill matches its source.
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>
Resolve conflicts with grok target and repair source-root changes:
keep both antigravity-home and grok targets, combine main's repair
source root with the PR's trusted-root selection, and rebind the
skill-trigger registry digest to the merged install registry.
- 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
- 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
- laravel-security, django-security, and springboot-security all live in the
security module; rails-security was registered under framework-language
- Installs selecting the security profile or capability:security received the
other framework security skills but not the Rails guidance
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.
A JWT with a short claims segment such as e30 ({}) matched neither the
full JWT branch nor the cut-tail branch and was saved as is. The payload
segment now only needs one character.
A generic sk- key followed by "-" or "_" failed its lookahead and was
skipped whole. It is now redacted to the end of the token. Branch names
like sk-learn-upgrade stay readable because they have fewer than 20
alphanumerics after the prefix.
Adds a test that the two pattern copies in observe.sh are identical and
that they run in linear time on 300 KB of adversarial input (#2278).
With a label in front, as in secret=-----BEGIN RSA PRIVATE KEY-----, the
keyword matcher replaced only "-----BEGIN" and the PEM pattern could no
longer find its opening marker, so the key body was persisted. This was
already the case on main. Move the PEM pattern into _PEM_RE and run it
first in both the observation path and the parse-error fallback.
Running the shape patterns first left suffixes visible: in
password=sk-...<dot>suffix or token=ghp_.../suffix the shape match stopped
at the separator and the inserted "[REDACTED]" kept the keyword matcher
from covering the rest.
Go back to keyword-first and drop the 256-char cap on the keyword value
instead. Its class is disjoint from the separators, so it can run to the
end of the token in linear time. A long labeled key, a labeled password
that starts with a shaped token, and a labeled JWT cut inside a long
payload are now redacted whole.
_SECRET_RE stops after 256 value chars. With it first, a longer
keyword-labeled key such as OPENAI_API_KEY=sk-proj-... lost its prefix
and the shape pattern could no longer see the rest, so the tail was
persisted. Running _SECRET_VALUE_RE first fixes both the observation
path and the parse-error fallback; "[REDACTED]" is outside the keyword
value class, so the second pass leaves it alone.
The sk- and JWT branches capped their token classes at 512 and 1024
chars, so a longer value was only partly replaced. Their classes do not
overlap with the separators, so they can run to the end of the token
and still match in linear time.
The end-of-text match for a key or JWT cut by truncation moves to its
own pattern, applied only when the capture was actually shortened.
Short output that happens to end in "sk-learn" or a one-segment eyJ
blob stays readable.
Observations are cut to 5000 chars (2000 in the parse-error fallback)
before scrubbing. A JWT cut inside its payload lost its second dot and a
key cut short of 20 body chars missed the length floor, so the remaining
header, claims or key prefix were persisted. Accept a match that runs to
the end of the capture, the same way the PEM and DSN branches do.
Tests cover both cuts in string output, structured output and the
parse-error fallback, and compare the JWT and Bash cases against their
exact expected values.
- Add the config-health skill: a read-only monitor for hook wiring, rule references, and rule staleness; every mode exits 0.
- Ship its own SessionStart hook asset so installing the module registers the monitor; keep PreToolUse opt-in.
- Keep one install-state record per hook source, so hooks-runtime and config-health can share settings.json and uninstall removes both.
- Split the monitor into a CLI entry plus constants, paths, and scan modules; split scan_command and the hook contract suite. All files are under 800 lines and no function body reaches 50 lines.