anonymousnomad/covert-coder/aide-academy-phase-a3-exercise-engine

Claude Code and agent skill by anonymousnomad/covert-coder

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Install

npx vskill@latest install anonymousnomad/covert-coder/aide-academy-phase-a3-exercise-engine

SKILL.md

The same SKILL.md was published earlier as anonymousnomad/covert-coder/aide-academy-phase-a3-exercise-engine.

Academy Phase A3 — Exercise Execution Engine v2

What

Replace the one-liner check regex ((python|node|git) -c/-e/--version only) with real exercise execution: each lesson declares exercise files + a hidden test suite in the course bundle; checks run learner code from a per-lesson workspace via process-manager with timeouts and output caps.

Why

The current allowlisted one-liner cannot assess actual code, which blocks every meaningful programming lesson. Process execution infrastructure already exists and is proven (bounded task runner, clean tree-kill) — reuse it rather than inventing a second runner.

Code Plan

  • Course JSON v2 schema: lessons[].exercise = { files: [{name, stub}], tests: {runner: 'node'|'python', entry: 'tests/test_lesson.js', hidden: true}, timeoutMs }. Courses ship as directories (course.json + exercises/) instead of single JSON; loader migrates v1 silently.
  • academy/exercise-engine.mjs: materialize lesson workspace under <workspace>/.aide/academy/<courseId>/<lessonId>/ (learner edits via existing file routes — full editor integration for free); runCheck() copies hidden tests in, executes via process-manager (execFile path with 30s default timeout, 64KB buffer caps), returns structured pass/fail + failing-test names (never test source).
  • Check result → A1 recordAttempt; hint escalation counters live here.
  • Route: POST /api/tutor/check extended (same envelope, richer payload). Contracts regen.

Dependencies

process-manager (spawn/kill/execFile, ESRCH-safe), file-routes (learner edits), A1 state, contracts pipeline. Doctrine: AST/exec closed-loop verification (generate→verify→correct) from CLAUDE.md principles.

Threat Matrix

ThreatControl
Arbitrary code executionlearner code confined to academy workspace dir; process-manager timeout + kill-tree; no network env vars stripped where feasible
Test theft/tamperinghidden tests copied in at run time, deleted after; never listed by workspace routes (dotdir exclusion already enforced)
Resource abuse (fork bombs, huge output)timeout hard-cap, maxBuffer cap (existing), single active run per lesson
Path escape via crafted filenamesall paths resolved+contained (reuse file-route containment asserts)
False passexit code + test-runner result both required; parse failure = fail-closed

Issues / Bugs Watchlist

  • Windows EBUSY on cleanup after child exit — reuse dap-contract retry pattern.
  • Node test runner vs python pytest: pick ONE runner per language v1 (node:assert script, python: plain assert script) — no framework deps.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Grok Build (Cursor)
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/anonymousnomad/covert-coder/aide-academy-phase-a3-exercise-engine/badge)](https://verified-skill.com/skills/anonymousnomad/covert-coder/aide-academy-phase-a3-exercise-engine)

Something wrong with this skill or its page? Tell us.