Repository navigation
docs(perl-security): drop nonexistent perlcritic policies - #3571
jwcastillo wants to merge 1 commit into
Conversation
Perl::Critic has no InputOutput::RequireThreeArgOpen or Modules::RequireTaintChecking policy. perlcritic warns that they are not installed and ignores them. Two-arg open is already covered by InputOutput::ProhibitTwoArgOpen in the same profile. Regenerated pi/core. Signed-off-by: Wen <jwcastillo@gmail.com>
ECC Tools / Security EvidenceCommit: Security evidence gate passed (success) No security-sensitive scanner-evidence gap detected. Mode: enforce Scanned 3 changed file(s). No missing scanner-evidence signal was detected. Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
ECC Tools / PR Risk TaxonomyCommit: PR taxonomy review recommended (neutral) Detected 5 PR taxonomy bucket(s): Harness Drift, Install Manifest Integrity, Reference Set Validation, Skill Quality, Agent Config Review. Scanned 3 changed file(s). Roadmap taxonomy buckets: Harness DriftHarness-facing changes can drift across Claude Code, Codex, OpenCode, and shared adapter surfaces. Signals:
Paths:
Install Manifest IntegrityInstall manifests, plugin metadata, and shipped skills should stay synchronized with user-facing setup guidance. Signals:
Paths:
Reference Set ValidationAI, analyzer, skill, agent, command, and harness guidance changes should be compared against a maintained eval, golden trace, benchmark, or reference set. Signals:
Paths:
Skill QualitySkill, agent, command, and rule guidance should carry examples, triggers, validation, or reference evidence. Signals:
Paths:
Agent Config ReviewAgent, command, skill, MCP, and local instruction changes should be reviewed as executable agent configuration. Signals:
Paths:
Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
ECC Tools / Reference Set ReadinessCommit: Reference set readiness gaps detected (neutral) Reference evidence present for 0/7 areas (0%) across 3 changed file(s). This check is based on files changed in this PR. Repository-level readiness is still reported by
Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
ECC Tools / Hosted Promotion ReadinessCommit: Hosted promotion readiness passed (success) No hosted promotion evidence gaps detected across 3 changed file(s); 0 corpus scenarios had matching evidence. This check compares PR file changes against the evaluator/RAG promotion corpus in No evaluator corpus scenarios matched this PR. Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📜 Recent review details
📝 Summary
Merge Risk: ⚪ Minimal · up to
|
[Low impact] Safe to merge. No issues requiring changes were found.
|
|
Thank you for removing nonexistent perlcritic policies from Perl guidance. We carried your contribution into #3654 with attribution and the related follow-up fixes. That integration merged as e494799, and the resulting main passed CI, CodeQL, and Supply-Chain Watch. I’m closing this source PR as delivered. We appreciate your work and hope you’ll keep contributing. |
What Changed
skills/perl-security/SKILL.md, "perlcritic Security Policies": removed the[InputOutput::RequireThreeArgOpen]and[Modules::RequireTaintChecking]stanzas from the sample.perlcriticrc.pi/core/skills/perl-security/SKILL.md: regenerated withnode scripts/build-pi-core.js.manifests/context-packs/skill-triggers@1.json:registryDigestrefreshed (the digest covers skill content).Why This Change
Perl::Critic has no policy with either name:
With the default
-profile-strictness(warn), perlcritic only warns that a profile names a policy that is not installed, and the stanza does nothing (https://metacpan.org/pod/Perl::Critic,-profile-strictness). So the sample suggests two checks that never run. With--profile-strictness fatalit would stop.Two-arg
openis already enforced by[InputOutput::ProhibitTwoArgOpen]in the same profile (https://metacpan.org/pod/Perl::Critic::Policy::InputOutput::ProhibitTwoArgOpen). I found no taint-mode policy in core Perl::Critic (no file in its source tree has "taint" in the path), so I removed that stanza without a replacement. The other policies in the sample (RequireCheckedSyscalls,ProhibitStringyEval,ProhibitBacktickOperators,ProhibitBarewordFileHandles) exist.Translations:
docs/ja-JP/skills/perl-securityanddocs/zh-CN/skills/perl-securityhave the same two stanzas. I did not edit the translations; they need the same deletion.Testing Done
node tests/run-all.js). Not fully: see the full-suite note below.Run on this branch (Node 24.15.0):
npm run test:validators: pass. This includesvalidate-skills,validate-context-profiles,catalog:checkandcommand-registry:check.node scripts/build-pi-core.js --check: pass ("pi/core is up to date").npx markdownlinton the changed.mdfiles: pass.tests/scripts/build-pi-core.test.jstests/pi/pi-package-manifest.test.jstests/docs/kiro-steering-inclusion.test.jstests/ci/agent-instruction-safety.test.jstests/ci/secret-curl-flags.test.jstests/lib/context-selection.test.jstests/skills/desk-pattern-skills.test.jstests/scripts/npm-publish-surface.test.jstests/ci/context-profiles.test.jsnpm test: I ran it once on unmodifiedmain(b92f181) and once with all six of my doc PRs applied together. I did not run it on each branch separately.main: 11 test files fail in this environment.main; two of themainfailures passed in the second run.integration/hooks,lib/dry-runand similar. I did not diagnose them.perlcriticis not installed here, so I did not run the sample profile. The policy names were checked against the Perl::Critic source tree linked above.Type of Change
fix:Bug fixfeat:New featurerefactor:Code refactoringdocs:Documentationtest:Testschore:Maintenance/toolingci:CI/CD changesSecurity & Quality Checklist
Documentation
Prepared with Claude Code; I reviewed and tested the change.