ontoref/reflection/migrations/0004-just-convention.ncl

38 lines
893 B
Text
Raw Normal View History

2026-03-29 00:19:56 +00:00
{
id = "0004",
slug = "just-convention",
description = "Justfile validates against the canonical module convention",
check = {
feat: domain extension system, VCS abstraction, personal/provisioning domains, web subpages Domain extension system (ADR-012): bash-layer dispatch activates repo_kind-conditional CLI domains. install.nu copies domains/ tree; short_alias wrappers generated (personal, prov). ore help and describe capabilities domain-aware. personal domain (PersonalOntology): career skills/talks/publications/positioning, CFP pipeline (Watching→Delivered), opportunities lifecycle, content pipeline, Sessionize integration. Daemon pages: /career, /personal. provisioning domain (DevWorkspace/Mixed): FSM state, next transitions, connections graph, gates, workspace card, capabilities, backlog. Daemon page: /provisioning. VCS abstraction layer (ADR-013): reflection/modules/vcs.nu — uniform jj/git API via filesystem detection (.jj/ vs .git/). opmode.nu and git-event.nu migrated off ^git. reflection/bin/jjw.nu — jj + ontoref + Radicle agent workspace lifecycle. jjw-ncl-merge.nu registered as jj merge tool for .ontology/ NCL conflicts. init-repo.nu for new_project mode. jj/rad not in ontoref requirements — belong in orchestration project manifests. 'Framework RepoKind: ontology/schemas/manifest.ncl gains 'Framework variant; ontoref self-identifies as framework — no domain activates for the protocol itself. Web presence: personal.html and provisioning.html domain subpages. index.html gains "Project Types — Domain Extensions" section with type cards and subpage links. Nav compacted (Arch/Prov labels, solid backdrop-filter background). on+re: vcs-abstraction (adrs: adr-013) and agent-workspace-orchestration Practice nodes; 21 manifest capabilities; state.ncl catalysts updated.
2026-04-07 23:08:29 +01:00
tag = "Grep",
pattern = "project_root\\s*:=",
paths = ["justfile"],
2026-03-29 00:19:56 +00:00
},
instructions = "
Run the validator to see what is missing:
ONTOREF_ACTOR=agent ontoref validate justfile
Fix each violation:
missing required modules (build, test, dev, ci):
Create justfiles/{name}.just with at minimum:
[doc(\"Show {name} help\")]
help:
@just --list
Add to root justfile:
import 'justfiles/{name}.just'
missing required recipes (default, help in root justfile):
default:
@just --list
[doc(\"Show available recipes\")]
help:
@just --list
missing required variables:
project_root := justfile_directory()
Verify:
ONTOREF_ACTOR=agent ontoref validate justfile
",
}