一键导入
adding-syscall
Use when working on add syscall; provides the FinnOS-specific adding a syscall workflow and evidence gates.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when working on add syscall; provides the FinnOS-specific adding a syscall workflow and evidence gates.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when working on arm64, aarch64, AAVMF; provides the FinnOS-specific arm64 platform development workflow and evidence gates.
Use when working on toolchain, OVMF, AAVMF; provides the FinnOS-specific build environment management workflow and evidence gates.
Use when working on build script, target profile, image; provides the FinnOS-specific build orchestration workflow and evidence gates.
Use when working on CI, GitHub Actions, required check; provides the FinnOS-specific ci maintenance workflow and evidence gates.
Use when working on architecture abstraction, platform interface, parity; provides the FinnOS-specific cross-architecture design workflow and evidence gates.
Use when working on status, completion percentage, verified; provides the FinnOS-specific evidence and status reporting workflow and evidence gates.
| name | adding-syscall |
| title | Adding a Syscall |
| version | 1 |
| status | active |
| owners | [] |
| triggers | ["add syscall"] |
| prerequisites | ["syscall-development","capability-privilege-review","unsafe-rust-low-level-safety","test-strategy","agent-handoff"] |
| related_docs | ["ROADMAP.md","docs/architecture/processes.md"] |
| category | Execution workflows |
| conditional_skills | [] |
| implementation_gates | ["Cannot execute until user isolation and architecture entry paths exist."] |
| related_milestones | ["M2 Core Kernel"] |
| last_verified | {"base_commit":"d21a477","date":"2026-07-16","worktree_dirty":true,"context":"base commit plus uncommitted audit and agent-system worktree"} |
| description | Use when working on add syscall; provides the FinnOS-specific adding a syscall workflow and evidence gates. |
adding-syscall (Execution workflows; skill maturity: planning-gated).
Add one reviewed semantic operation across ABI, architecture entries, rights, user memory, wrappers, tests, and docs.
Use for requests mentioning add syscall, or when a dependency points to this skill. Load only after repository entry and before design or implementation.
Cannot execute until user isolation and architecture entry paths exist. Do not load it only because a future FinnOS document mentions the subsystem.
syscall-developmentcapability-privilege-reviewunsafe-rust-low-level-safetytest-strategyagent-handoffRead the full prerequisite closure in topological dependency order. If one cannot be satisfied, move the task to Blocked or Deferred; do not omit the dependency.
Conditional skills:
Implementation gates are roadmap/runtime conditions, not additional documents to load automatically:
ROADMAP.mddocs/architecture/processes.mdRe-read implementation and tests referenced by those documents. The documents establish intent/status boundaries, not runtime proof.
No syscall table or userspace exists; this workflow is gated.
Registry verification used base commit d21a477 plus the dirty worktree context "base commit plus uncommitted audit and agent-system worktree" on 2026-07-16. This is not an integrated-revision claim. Reverify after HEAD, active PRs, or relevant source changes.
git status, recent history, active related issue/PR, and selected roadmap item.An evidence-backed adding a syscall result with scoped artifacts, tests, documentation, and handoff. Include acceptance evidence, residual limitations, and next dependency rather than only code.
./tools/finn check
Run commands from the repository root. A command listed here is a baseline/gate, not evidence that absent future functionality has a runnable target.
State shared semantics explicitly; isolate x86-64 and ARM64 mechanisms.
State guest architecture separately from host architecture and emulator model. Maintain a parity row for changed semantics and document intentional differences.
Preserve the boundary described by the current state: No syscall table or userspace exists; this workflow is gated. Apply .agents/checklists/pre-change.md; for kernel, driver, security, architecture, or UI work also apply the matching checklist.
Make Document compatibility/restart/error behavior observable with a negative case, then run the narrow and aggregate gates. Do not permanently hard-code test counts; counts belong to dated evidence reports.
Update the canonical behavior/status document, relevant architecture/reference material, test/build instructions, limitations, and this skill registry if any command, gate, or current-context statement changes.
Prove operation belongs in kernel ABI before relying on downstream assumptions.Use .agents/templates/handoff-template.md. Include objective, starting/final Git state, task state, skills used, files, exact commands/results, evidence classification, docs/status changes, unknowns, blockers, risks, next action, and next skills. Distinguish locally verified worktree changes from integrated behavior.
Request: "Work on add syscall." Correct response: begin by prove operation belongs in kernel abi, then assign reviewed version/number, and require evidence for document compatibility/restart/error behavior before changing status. Incorrect response: create a plausible subsystem scaffold and mark the roadmap item complete because it compiles.
Canonical source: .agents/scripts/skill_registry.py. Increment version for material policy/workflow/gate changes, update last_verified only after reinspection, run python3 .agents/scripts/render_skills.py, review generated diffs, then run python3 .agents/scripts/validate.py --all. Follow .agents/GOVERNANCE.md; never hand-edit generated skills.