arkweb-security-patch-merge
Installation
SKILL.md
ArkWeb Patch Merge
用于 arkweb-security-patch-merge-engineer。
Core Flow
- Resolve the ArkWeb project root from
context.codebase/context.automation.repoPath.context.projectRootis the lightweight workflow output root. - Resolve the input archive from
context.requirements; keep it separate from the project root. - Normalize every patch before scanning or applying it.
- In batch mode, generate the batch plan before applying any issue.
- Determine the target git subrepo before
git apply. - Try
git apply --check, thengit applyorgit apply --3wayas appropriate. - If apply fails because of context drift or missing blobs, enter conflict resolution: perform minimal manual writing inside the issue's allowed files.
- Compute issue-scoped diff, validate
06_merge_result, and only then mark stage status.
Required Scripts
Prefer these scripts over hand-written ad hoc logic: