Repository navigation
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: blocked before merge. Reviewed September 4, 2026, 3:49 AM ET / 07:49 UTC. ClawSweeper reviewWhat this changesReject local and Git skill installs before copying when the root SKILL.md fails the existing discovery metadata or size requirements. Merge readiness⛔ Blocked before merge - 5 items remain The fix remains necessary on current main and v2026.8.2. The previous warning-callback finding is resolved; one minor recovery-message defect remains. Priority: P2 Review scores
Verification
How this fits togetherThe skills installer copies local or Git sources into workspace or shared skill directories. Discovery then reads their metadata to make usable skills available to agents. flowchart TD
A[Local directory or Git repository] --> B[Resolve install target and configuration]
B --> C[Read bounded root skill metadata]
C --> D{Root is loadable?}
D -->|No| E[Report installation error]
D -->|Yes| F[Apply install policy and copy]
F --> G[Discover installed skill]
Before merge
Findings
Agent review detailsSecurityNone. PR surfaceSource +16, Tests +60. Total +76 across 3 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Copy recommended automerge instructionTechnical reviewBest possible solution: Keep root-only preflight, fold actionable rejection diagnostics into the existing reader, and preserve slug selection, installed state, and warning acknowledgement. Do we have a high-confidence way to reproduce the issue? Yes, from source: current main can copy the linked report’s unfenced skill and report success although discovery rejects it. No executable reproduction was run during this read-only review. Is this the best way to solve the issue? Yes, validation belongs at the shared local/Git installation boundary and should reuse discovery’s reader; automatic skills.entries registration would not repair malformed metadata. The rejection message needs a small correction. Full review comments:
Overall correctness: patch is correct AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 0d2169fdabc4. LabelsLabel changes:
Label justifications:
EvidenceAcceptance criteria:
What I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (5 earlier review cycles)
|
1e0245d to
2d2a31d
Compare
2d2a31d to
93d95c1
Compare
…capture (#1190) Production terminal recordings (openclaw/openclaw#122341 run 32025434010) showed ffmpeg capturing frames while the growth probe demanded strictly increasing sizes between one-second samples, which VP9's bursty muxer never guarantees. The recorder is now accepted once any payload is written, VP9 encodes with realtime deadline tuning so hosted runners hold the frame rate, and the workflow assertion learns the xfonts-base dependency added in #1188.
93d95c1 to
1e7c98d
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
This assigned pull request has been automatically marked as stale after being open for 27 days. |
|
Closing due to inactivity. |
Closes #122298
What Problem This Solves
Local-directory and Git skill installs could report success even when normal discovery would later skip the installed root
SKILL.mdbecause its frontmatter was invalid, its description was empty, or the file exceeded the configured discovery byte limit.What Changed
SKILL.mdbefore copying, using the existing boundary-safe frontmatter reader.skills.limits.maxSkillFileBytesduring that validation.main'sonInstallPolicyWarningcallback through both local and Git source-install paths.The validator intentionally does not enumerate nested child skills. An invalid root cannot be replaced by a valid nested skill, so third-party Git sources do not turn this single-root preflight into an unbounded directory scan.
Compatibility Rebase
The branch was rebased onto
82d2c992a25bc38336e1a5d49e1ef15d03798f19and the conflict was resolved in favor of the current warning-acknowledgement contract. Both interactive and noninteractive callback-propagation cases remain covered by the current CLI tests. The two subsequentmaincommits throughcbcbb005fdcf4c8c38770b65957b7f8b6527a1e4do not touch this PR's files.Evidence (exact head
1e7c98df6db83dcf65caa32d1a5fa088aa4951e3)node scripts/run-vitest.mjs src/skills/lifecycle/source-install.test.ts --testNamePattern="^(?!.*reports ).*$"— 12 passed, 2 skipped. The two excluded pre-existing Git policy cases require restrictive parent-directory permissions unavailable in this Windows checkout; the full file otherwise failed only those two environment checks.node scripts/run-vitest.mjs src/cli/skills-cli.commands.test.ts— 141 passed, including interactive and noninteractive install-policy warning callback propagation.node scripts/run-vitest.mjs src/skills/loading/skill-root-discovery.test.ts --testNamePattern="maxSkillFileBytes"— 2 passed, 25 skipped.oxfmt --check— passed.oxlint— passed.git diff upstream/main...HEAD --check— passed.AI-assisted: implemented and reviewed with Codex.