KeiSeiKit-1.0/_primitives/_rust
Parfii-bot baf54250a9 fix(substrate): dangling handoffs + atomar manifest fill-out + validator extension
Group F — manifest, capability, role, and assembler cleanup (post-audit 2026-05-02).

Dangling handoff targets stripped:
- validator.toml: removed handoffs to physics-deriver, patent-compliance
- code-implementer.toml: removed physics-deriver handoff
- architect.toml: removed physics-deriver
- ml-implementer.toml: removed physics-deriver, fixed "multi-node multi-node" typo
- ml-researcher.toml: removed physics-deriver, patent-researcher
- researcher.toml: removed patent-researcher
None of those manifest files exist in _manifests/. Comments added explaining
the removal date for future re-authoring.

Validator extension (_assembler):
- src/validator.rs: extended validate() with check_handoff_targets — every
                     [[handoff]].target must point to existing _manifests/<name>.toml.
                     Future dangling handoffs blocked at validate time.
- src/validator_tests.rs (new, 133 LOC): unit tests for handoff-target check.
- tests/fixtures/_manifests/: added valid stubs for previously-missing manifests
                                (architect, critic, security-auditor, validator,
                                ml-implementer, ml-researcher, infra-implementer)
                                so existing fixtures pass the new validator gate.
- tests/snapshots/: insta snapshots updated for researcher + code-implementer.

Atomar manifest fill-out (replaced stock copy-paste with domain-specific):
- code-implementer-typescript: Drizzle/Zod/Next.js semantics
- code-implementer-go: mesh networking, embedded servers
- code-implementer-swift: SwiftUI, SPM, macOS menubar
- code-implementer-python: RULE 0.2 exception language
- code-implementer-flutter: Riverpod, Clean Architecture
- infra-implementer-cicd/iac/container/secrets: tool-specific bans + scopes
- researcher-web/code: output_extra_fields fixed (was code-implementer copy-paste
                        "Largest file LOC", "Tests pass count" — now sources cited /
                        evidence grade / gaps section)

Capability schema completeness:
- policy/no-git-ops + quality/cargo-check-green: added stage = "runtime"
- 8 capabilities: added explicit parents = [] (was missing/inconsistent)

Role schema:
- _roles/auditor.toml + merger.toml: added [taxonomy] + [lineage] (was missing)
- _roles/explorer.toml: added comment that "Explore" is the canonical Claude Code
                          subagent type (case-sensitive)

Reference path cleanup (manifest references):
- critic.toml: ~/.claude/skills/architecture-rules/... -> path:user-skills/...
- researcher.toml: stripped ~/.claude/agents/validator.md (machine-local)

Misc:
- frontend-validator.toml: renumbered duplicate step 6 -> step 7

kei-registry test fixture suppression:
- tests/fixtures/{atom-sample,fake-kit,mini-kit}/.kei-registry-ignore (3 new files)
- DNA-INDEX.md was inflating atom count by ~10% from test fixture rows; ignore-file
  hooks ready, kei-registry walker implementation is a follow-up.

Tests: 59 passed; 0 failed; 1 ignored (pre-existing #[ignore]). cargo check clean.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-02 21:41:16 +08:00
..
firewall-diff KeiSeiKit-public — clean state 2026-05-01 12:09:03 +08:00
frustration-matrix chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-agent-runtime chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-artifact chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-atom-discovery chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-auth feat(auth): JWT verification + OAuth CSRF + PKCE + secret redaction 2026-05-02 21:39:18 +08:00
kei-auth-apple feat(auth): JWT verification + OAuth CSRF + PKCE + secret redaction 2026-05-02 21:39:18 +08:00
kei-auth-google feat(auth): JWT verification + OAuth CSRF + PKCE + secret redaction 2026-05-02 21:39:18 +08:00
kei-auth-magiclink feat(auth): JWT verification + OAuth CSRF + PKCE + secret redaction 2026-05-02 21:39:18 +08:00
kei-auth-webauthn feat(auth): JWT verification + OAuth CSRF + PKCE + secret redaction 2026-05-02 21:39:18 +08:00
kei-backend-daytona chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-brain-view chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-cache chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-capability chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-changelog chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-chat-store chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-compute-baremetal fix(security): RCE allowlist + WebSocket auth + SSH option-injection 2026-05-02 21:40:24 +08:00
kei-compute-digitalocean chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-compute-linode chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-compute-vultr chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-conflict-scan chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-content-store chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-cortex fix(kei-cortex): SSRF + atomic token + body limits + capped reads 2026-05-02 21:39:57 +08:00
kei-cron-scheduler chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-crossdomain chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-curator chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-db-contract chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-decision chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-decompose chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-diff chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-discover chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-dna-index chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-entity-store chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-export-trajectories chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-forge chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-fork chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-frustration-loop KeiSeiKit-public — clean state 2026-05-01 12:09:03 +08:00
kei-gateway chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-gdrive-import chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-git-bitbucket chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-git-forgejo chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-git-gitea chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-git-gitlab chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-graph-check chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-graph-export feat(graph): live runtime DNA viewer — kei-graph-export + lbm-graph-viz adapter 2026-05-02 13:07:21 +08:00
kei-graph-stream fix(security): RCE allowlist + WebSocket auth + SSH option-injection 2026-05-02 21:40:24 +08:00
kei-hibernate chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-import-project KeiSeiKit-public — clean state 2026-05-01 12:09:03 +08:00
kei-leak-matrix KeiSeiKit-public — clean state 2026-05-01 12:09:03 +08:00
kei-ledger chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-ledger-sign chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-llm-bridge-mlx chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-llm-llamacpp KeiSeiKit-public — clean state 2026-05-01 12:09:03 +08:00
kei-llm-mlx chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-llm-ollama chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-llm-router chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-machine-probe chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-mcp chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-memory chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-memory-postgres chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-memory-redis chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-memory-sled chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-memory-sqlite chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-migrate chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-model chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-model-router chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-net-ipsec chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-net-openvpn chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-net-wireguard KeiSeiKit-public — clean state 2026-05-01 12:09:03 +08:00
kei-notify-discord KeiSeiKit-public — clean state 2026-05-01 12:09:03 +08:00
kei-notify-slack KeiSeiKit-public — clean state 2026-05-01 12:09:03 +08:00
kei-notify-sms KeiSeiKit-public — clean state 2026-05-01 12:09:03 +08:00
kei-notify-telegram chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-pet chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-ping chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-pipe chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-projects-index chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-projects-watcher chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-provision chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-prune chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-refactor-engine chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-registry fix(substrate): dangling handoffs + atomar manifest fill-out + validator extension 2026-05-02 21:41:16 +08:00
kei-replay chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-router chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-runtime fix(security): RCE allowlist + WebSocket auth + SSH option-injection 2026-05-02 21:40:24 +08:00
kei-runtime-core feat(auth): JWT verification + OAuth CSRF + PKCE + secret redaction 2026-05-02 21:39:18 +08:00
kei-sage chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-scheduler chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-search-core chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-shared chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-skill-importer chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-skills chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-social-store chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-spawn chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-store chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-svc-systemd chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-task chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-tlog chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-token-tracker KeiSeiKit-public — clean state 2026-05-01 12:09:03 +08:00
kei-tty chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
kei-watch chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
keisei chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
mock-render KeiSeiKit-public — clean state 2026-05-01 12:09:03 +08:00
ssh-check KeiSeiKit-public — clean state 2026-05-01 12:09:03 +08:00
tokens-sync KeiSeiKit-public — clean state 2026-05-01 12:09:03 +08:00
visual-diff KeiSeiKit-public — clean state 2026-05-01 12:09:03 +08:00
.gitignore KeiSeiKit-public — clean state 2026-05-01 12:09:03 +08:00
Cargo.lock chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00
Cargo.toml chore(workspace): SSoT inheritance + version unification 2026-05-02 21:40:46 +08:00