Skip to content
Back to skills

Decisions

ASecurity

Intent management is implemented as `kb intent …` subcommands inside the kb skill, not as a separate skill with its own code.

  • 17 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 29, 2026
developmentsqlexpressgit

Security analysis

A100/100

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

Scanned September 29, 2026

npx -y skills add finos/morphir-scala --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/finos-decisions/badge)](https://www.skillsdirectory.com/skills/finos-decisions)

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
---
type: Decision Record
title: Intent tooling lives in the kb skill
description: "Intent management is implemented as `kb intent …` subcommands inside the kb skill, not as a separate skill with its own code."
state: Accepted
decided: 2026-07-28
tags: [kb, intent, mill, tooling]
status: stable
---

# 0002 — Intent tooling lives in the kb skill

Intent management is implemented as `kb intent …` subcommands inside `.claude/skills/kb/`, not as a separate skill
with its own code. A thin `.claude/skills/intent/SKILL.md` exists for discoverability and documents the lifecycle, but
contains no implementation.

## Why

The intent was a standalone `intent` skill sharing the kb skill's parser and SQLite index — intent records are OKF
concepts, so `KbModel`, `KbStore` and the index already handle them, and building a second parser over the same files
would guarantee the two disagree.

Mill's single-file scripting cannot express that sharing. A script's `//| moduleDeps:` header accepts **sibling
filenames only**: `../kb/KbStore.scala` fails with `ups must be zero`, and `kb/KbStore.scala` fails to parse at the
`/`. This was verified against Mill 1.2.0-RC1, not assumed.

The workarounds were all worse than folding. Symlinking the shared modules breaks on Windows, where git checks
symlinks out as plain text files without developer mode — and this repo ships Windows launchers. Copying the modules
reintroduces the drift the sharing was meant to prevent. Moving every script into a shared parent workspace works,
but leaves both skill directories with no implementation in them.

## Consequences

A future reader will find intent code in a skill called `kb` and reasonably conclude it belongs somewhere else. If
they split it out, they will hit the same `moduleDeps` wall — unless Mill has since gained cross-directory module
dependencies, which is the condition under which this decision should be revisited.

The same reasoning applied unchanged when the decision register was added: `KbDecision.scala` sits beside
`KbIntent.scala` in the same skill for the same reason.

Files in this skill

  • 0001-released-intent-stays-capabilities-are-separate.md2.6 KB
  • 0002-intent-tooling-lives-in-the-kb-skill.md2 KB
  • 0003-two-identifier-schemes-for-intent.md2.4 KB
  • 0004-decision-records-are-a-third-register.md4 KB
  • 0005-bridge-nothing-between-zio-and-kyo.md3.2 KB
  • 0006-runtime-values-are-val-on-kyo-schema.md3.3 KB
  • 0007-runtime-reuses-the-code-model-type-language.md3.2 KB
  • 0008-model-and-naming-are-dependency-constrained-modules.md3.1 KB
  • 0009-expressions-are-expr-values-are-val.md2.9 KB
  • 0010-the-old-runtime-becomes-runtime-classic.md3.1 KB
  • 0011-runtime-closures-retain-parameter-patterns.md2.9 KB
  • 0012-keep-source-metabuild-for-mill-morphir-plugins.md3.8 KB
  • 0013-published-library-families.md5.2 KB
  • 0014-trunk-based-development-on-main.md4 KB
  • 0015-profile-branches-at-the-earliest-capable-stage.md6.8 KB
  • 0016-the-markdown-parser-is-our-own.md4.6 KB
  • 0017-deprecated-ir-formats-are-wire-projections.md4.6 KB
  • 0018-consolidate-the-cli-in-finos-morphir.md4.6 KB
  • index.md5.6 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.

Comments

Loading comments…

Newsletter

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