mantis-patch
Generates minimal security fixes using transactional isolation (shadow directories or file backups), applies patches, and verifies them. Use when security findings are successfully reproduced and need patches applied and verified. Don't use for initial vulnerability research or reproduction payload generation.
- License 许可
- CC-BY-4.0
- 最近更新
- 2026-11-14
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- mantis-patch
- license
- CC-BY-4.0
- metadata
- { "author": "AEOS", "version": "1.0.0", "owner_agent": "codenavi-agent" }
- description
- Generates minimal security fixes using transactional isolation (shadow directories or file backups), applies patches, and verifies them. Use when security findings are successfully reproduced and need patches applied and verified. Don't use for initial vulnerability research or reproduction payload generation.
02 资源文件 39
- 参考文档evaluation/HONEST_EVALUATOR.md717 B
- 参考文档knowledge/ANTI_FORGETTING.md143 B
- 参考文档knowledge/CONTINUOUS_LEARNING.md143 B
- 参考文档knowledge/KNOWLEDGE_PROMOTION.md228 B
- 参考文档knowledge/KNOWLEDGE.md138 B
- 参考文档knowledge/NEGATIVE_KNOWLEDGE.md142 B
- 参考文档knowledge/POSITIVE_KNOWLEDGE.md122 B
- 参考文档knowledge/TOKEN_EFFICIENCY.md142 B
- 参考文档MANIFEST.json3.6 KB
- 参考文档memory/DECISIONS.md85 B
- 参考文档memory/EXECUTIONS.md96 B
- 参考文档memory/FAILURES.md64 B
- 参考文档memory/LESSONS.md62 B
- 参考文档memory/OPEN_RISKS.md67 B
- 参考文档memory/PATTERNS.md59 B
- 参考文档references/instructions/01-purpose-and-contract.md1016 B
- 参考文档references/instructions/02-1-identity.md204 B
- 参考文档references/instructions/03-2-mission.md461 B
- 参考文档references/instructions/04-3-activation.md284 B
- 参考文档references/instructions/05-4-non-activation.md280 B
- 参考文档references/instructions/06-5-scope.md327 B
- 参考文档references/instructions/07-6-inputs.md245 B
- 参考文档references/instructions/08-7-outputs.md335 B
- 参考文档references/instructions/09-8-workflow.md607 B
- 参考文档references/instructions/10-9-evidence.md282 B
- 参考文档references/instructions/11-10-prompt-contract.md610 B
- 参考文档references/instructions/12-11-agent-knowledge-layers.md738 B
- 参考文档references/instructions/13-12-honest-evaluator.md512 B
- 参考文档references/instructions/14-13-stop-conditions.md318 B
- 参考文档references/instructions/15-14-completion.md360 B
- 参考文档references/instructions/INDEX.md1.2 KB
- 参考文档references/lenses/retained/legacy-contract.md784 B
- 参考文档references/ORIGINAL_SKILL.md45.6 KB
- 参考文档references/package-notes.md561 B
- 参考文档references/patch_rebasing.md2.8 KB
- 参考文档references/provenance.md531 B
- 参考文档references/usage-and-verification.md1.1 KB
- 参考文档schemas/output.schema.json627 B
- 参考文档templates/OUTPUT.template.md163 B
03 SKILL.md 正文
mantis-patch
Governance: CodENavi Full Workspace v2. Skill of codenavi-agent; inherit AGENTS.md.
Lifecycle: BRIEFING → RECON → PLAN → EXECUTE → VERIFY → DEBRIEF.
Source roles/workers are internal lenses. Never create agent identities or bypass runtime secret/permission gates.
Mission
Generates minimal security fixes using transactional isolation (shadow directories or file backups), applies patches, and verifies them. Use when security findings are successfully reproduced and need patches applied and verified. Don't use for initial vulnerability research or reproduction payload generation.
Workflow and module routing
Read the contract/input/security modules before tools; then follow the applicable procedure in the original order. Load optional modes only when their scope applies.
-
- Purpose and contract — before acting on this contract.
-
- 1. Identity — before acting on this contract.
-
- 2. Mission — before acting on this contract.
-
- 3. Activation — when this domain or mode is in scope.
-
- 4. Non-activation — when this domain or mode is in scope.
-
- 5. Scope — before acting on this contract.
-
- 6. Inputs — before acting on this contract.
-
- 7. Outputs — before acting on this contract.
-
- 8. Workflow — at this step of execution.
-
- 9. Evidence — when this domain or mode is in scope.
-
- 10. Prompt contract — before acting on this contract.
-
- 11. Agent knowledge layers — when this domain or mode is in scope.
-
- 12. Honest evaluator — when this domain or mode is in scope.
-
- 13. Stop conditions — when an input, tool or check fails.
-
- 14. Completion — before claiming completion.
Boundaries and result
Use only tools actually available for the authorized task. Keep secrets in runtime providers. Missing evidence, inputs or permissions blocks the affected action. Return the domain output with source pointers, executed checks and remaining uncertainty; never claim an unexecuted check passed.
Provenance and source freshness: provenance.
Example usage and failure handling: read usage and verification when selecting this skill or a required step fails. Read ORIGINAL_SKILL.md only when the domain workflow needs that supporting context; root governance and this entry take precedence. Read package-notes.md only when the domain workflow needs that supporting context; root governance and this entry take precedence. Read patch_rebasing.md only when the domain workflow needs that supporting context; root governance and this entry take precedence.
04 同仓库更多 Skills
workspace-brain
Operate the CodENavi workspace brain MCP and CLI — cloud DeepSeek RAG, disk corpus at WORKSPACE_BRAIN_ROOT, Jev URL curation, and event logging for Cursor/Codex/OpenCode/Claude. Use when ingesting repo knowledge, asking the brain, mapping web seeds, or recording AI-driven file changes. Do NOT use for local Ollama RAG or storing API keys in git.
workbench-profile-resolver
Provide enterprise-grade capability for `workbench-profile-resolver` inside AEOS v1.1. Use when the user requests workbench profile resolver or invokes workbench-profile-resolver. Do NOT use for unrelated tools or unapproved remote writes.
wordpress-expert
Staff-level WordPress engineering super-skill for one-shot site mapping, clean-code AI-assisted project creation/modification, the complete installed plugin universe, governed remote wp-admin operations, themes/blocks/layout, third-party integrations and production-safe changes. Use when the user requests wordpress expert or invokes wordpress-expert. Do NOT use for unrelated languages, domains or production deployment.
whatsapp-simulator
Generate synthetic WhatsApp-style conversation fixtures for testing conversational systems, support flows and automation. Use when the user requests whatsapp simulator or invokes whatsapp-simulator. Do NOT use for unrelated tools or unapproved remote writes.
web-quality-audit
Assimilated TLC/web-quality multi-area audit. Review performance, accessibility, SEO and best practices in one pass. Triggers: audit my site, review web quality, check page quality, optimize my website across areas. Do not use for a single-area job (core-web-vitals, ai-seo, best-practices, perf-lighthouse).
voiceai
Provide an evidence-backed voice interface for AEOS. Activating this skill is treated as explicit current-session consent for `voiceai` to record user audio or transcribe audio from user-authorized audio/video media within the declared scope. The skill can: Use when the user requests voiceai or invokes voiceai. Do NOT use for unrelated tools or unapproved remote writes.