Skip to content
Back to skills

Decisions

ASecurity

Date: 2026-09-06 · Status: accepted

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 24, 2026
ai-agentsrustgit

Security analysis

A100/100

Pro scans all 18 files and shows the line behind each finding

Scanned November 24, 2026

npx -y skills add IBM/TKSfw --skill decisions --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Decisions?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Decisions
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ibm-decisions-tksfw/badge)](https://www.skillsdirectory.com/skills/ibm-decisions-tksfw)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# ADR 0006 — Delegation: decision rules stay in AGENTS.md, mechanics move to `delegate-work`, limits move to hooks

Date: 2026-09-06 · Status: accepted

## Context
After ADR 0003/0004 the § Subagents / § Agent Naming text was 3.5 KB. Reviewing it line by line: most
lines are DECISION rules used at every delegation (check existing agents, one task per agent, disjoint
ownership, no nesting, ≤ 4 parallel, validation in a fresh context, `judge` only for judgement). Five
lines were PROCEDURE used only after the decision (worktree vs work area, cleanup/prune, how to change
models, persist agent files) and two rules relied on model discipline although they are mechanically
checkable (no nested spawns, ≤ 4 parallel).

## Decision
| Choice | Rationale |
|---|---|
| Decision rules stay in AGENTS.md | a skill "for delegation" would load in nearly every non-trivial turn — no context saving, one more hot-path step |
| Procedure moves to the `delegate-work` skill (`references/isolation.md`, `assets/workarea.py`) | needed only once parallel/isolated work is chosen; gets a helper instead of prose (create/list/prune worktrees and work areas, refuse unmerged, `.gitignore` for worktrees) |
| `[delegation] max_parallel_agents` / `deny_nested_spawn` in `models.toml`, enforced by `route_model.py`; `subagent_track.py` on SubagentStart/Stop | the two limits become guarantees; single config file for spawn-time policy |
| Stop hook clears the live set and reports stale isolation | a missed SubagentStop cannot wedge spawns; cleanup omissions become visible |
| `.agents/worktrees/` never watched | worktree copies of framework files must not register as framework edits |

## Consequences
- AGENTS.md shrinks by only ~0.3 KB; the gain is reliability, not budget (§ Subagents remains 12 lines).
- Nested-spawn detection depends on harness payload fields; it is fail-open per field and switchable.
- New hook events require re-trust in Codex `/hooks` after updating.

Files in this skill

  • 0001-repository-layout.md2 KB
  • 0002-model-routing.md2 KB
  • 0003-define-agent-skill.md1.7 KB
  • 0004-neutral-agent-source.md1.9 KB
  • 0005-arming-guard.md1.7 KB
  • 0006-delegate-work-skill.md1.9 KB
  • 0007-activity-plan-skill.md1.8 KB
  • 0008-sessions-ownership-lost-update.md2.8 KB
  • 0009-ks-cli-and-archives.md2.2 KB
  • 0010-partitioned-ledgers.md2.7 KB
  • 0011-ledgers-as-context.md2.8 KB
  • 0012-human-in-the-loop.md2.4 KB
  • 0013-project-layers.md4.8 KB
  • 0014-config-toml-and-routing-tables.md2 KB
  • 0015-session-scoped-routing.md2.2 KB
  • 0016-layer-model-by-name.md2.4 KB
  • 0017-ks-output-conventions.md2.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.