Skip to content

refactor(catalogue): name the capability kind module in code, folders and commands - #510

Draft
harenome wants to merge 2 commits into
ThinkFlowLab:mainfrom
harenome:refactor/module-name-code
Draft

harenome wants to merge 2 commits into
ThinkFlowLab:mainfrom
harenome:refactor/module-name-code

Conversation

@harenome

Copy link
Copy Markdown
Collaborator

Closes #506

Stacked on #508: review its last commit only.

What

  • In code the kind is module; new module and --family module are the commands.
  • Bundled and new entries live in modules/.
  • Still read: capabilities/ and features/ folders, the older words and commands.
  • Still written: capability in a benchmark's family, API included, a proof's kind, job records, a driver's participant and transcript role; agent/capability.log.
  • Kept: capability.json, capability.py.

Before and after

Before After
add-dialog-before add-dialog-after

Verified

  • A capabilities/ entry loads and fits; a proof fixture saved over it keeps "kind": "capability"; a new version stays in that folder.
  • A Module run records capability and shows it to score.
  • A package capabilities/ entry saves its proof to a user copy.
  • migrate --apply refuses when a modules/ folder appears after the preview.
  • Backend 3320, routes 850. Three fail as on main: test_osworld2_proxy, test_standard_boat, test_standard_run.

Risk

  • Downgrade: an entry created under modules/ must move to capabilities/ for v0.3.0 to find it.
  • Undo: revert.

Agents

  • Claude Code, Fable 5.2
  • Claude Code, Opus 5.5
  • Codex, GPT-6.2-Astra

@harenome harenome added the stacked Based on another branch than main label Nov 30, 2026
@github-actions github-actions Bot added merge conflict Conflicts with its base: merge or rebase it and removed stacked Based on another branch than main labels Nov 30, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge conflict Conflicts with its base: merge or rebase it

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Call the catalogue kind "capability" a Module

1 participant