一键导入
adding-userspace-service
Use when working on add service, userspace daemon; provides the FinnOS-specific adding a userspace service workflow and evidence gates.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when working on add service, userspace daemon; provides the FinnOS-specific adding a userspace service 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-userspace-service |
| title | Adding a Userspace Service |
| version | 1 |
| status | active |
| owners | [] |
| triggers | ["add service","userspace daemon"] |
| prerequisites | ["task-planning","capability-privilege-review","logging-diagnostics","reliability-fault-injection","agent-handoff"] |
| related_docs | ["docs/architecture/processes.md","docs/architecture/ipc.md"] |
| category | Execution workflows |
| conditional_skills | ["init-service-management","ipc-capabilities"] |
| implementation_gates | ["Requires init, runtime, IPC, and process isolation."] |
| related_milestones | ["M3 Userspace Foundation","M4 Devices and Storage"] |
| 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 service, userspace daemon; provides the FinnOS-specific adding a userspace service workflow and evidence gates. |
adding-userspace-service (Execution workflows; skill maturity: planning-gated).
Define one service's responsibility, capabilities, IPC, lifecycle, diagnostics, recovery, security, and tests.
Use for requests mentioning add service, userspace daemon, or when a dependency points to this skill. Load only after repository entry and before design or implementation.
Requires init, runtime, IPC, and process isolation. Do not load it only because a future FinnOS document mentions the subsystem.
task-planningcapability-privilege-reviewlogging-diagnosticsreliability-fault-injectionagent-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:
docs/architecture/processes.mddocs/architecture/ipc.mdRe-read implementation and tests referenced by those documents. The documents establish intent/status boundaries, not runtime proof.
No userspace service manager or IPC exists.
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 userspace service 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 userspace service manager or IPC exists. Apply .agents/checklists/pre-change.md; for kernel, driver, security, architecture, or UI work also apply the matching checklist.
Make Test restart, malformed requests, quotas, and docs 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.
Keep responsibility narrow 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 service." Correct response: begin by keep responsibility narrow, then declare least capabilities and versioned ipc, and require evidence for test restart, malformed requests, quotas, and docs 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.