Compare commits

..

No commits in common. "76e835d9367c4d2a9abe8903199f08a39c2376d0" and "d2b361420b6ede7b860a4206ebcdd47ef65c9cc1" have entirely different histories.

10 changed files with 6 additions and 43 deletions

View File

@ -131,9 +131,6 @@ let d = import "../ontology/defaults/core.ncl" in
level = 'Practice, level = 'Practice,
description = "Migration system for onboarding existing projects into the ontoref protocol. Provides .ontology/ stub templates, .ontoref/config.ncl template, scripts/ontoref thin wrapper, and the adopt_ontoref mode+form+script that wire everything up idempotently.", description = "Migration system for onboarding existing projects into the ontoref protocol. Provides .ontology/ stub templates, .ontoref/config.ncl template, scripts/ontoref thin wrapper, and the adopt_ontoref mode+form+script that wire everything up idempotently.",
artifact_paths = [ artifact_paths = [
"ontoref",
"justfile",
"justfiles/ci.just",
"templates/ontology/", "templates/ontology/",
"templates/ontoref-config.ncl", "templates/ontoref-config.ncl",
"templates/scripts-ontoref", "templates/scripts-ontoref",
@ -165,7 +162,6 @@ let d = import "../ontology/defaults/core.ncl" in
"crates/ontoref-daemon/src/ui/qa_ncl.rs", "crates/ontoref-daemon/src/ui/qa_ncl.rs",
"crates/ontoref-daemon/src/ui/drift_watcher.rs", "crates/ontoref-daemon/src/ui/drift_watcher.rs",
"crates/ontoref-daemon/src/mcp/mod.rs", "crates/ontoref-daemon/src/mcp/mod.rs",
"justfiles/ci.just",
], ],
}, },

View File

@ -25,7 +25,7 @@ let d = import "../ontology/defaults/state.ncl" in
to = "protocol-stable", to = "protocol-stable",
condition = "ADR-001 accepted, ontoref.dev published, at least two external projects consuming the protocol.", condition = "ADR-001 accepted, ontoref.dev published, at least two external projects consuming the protocol.",
catalyst = "First external adoption.", catalyst = "First external adoption.",
blocker = "ontoref.dev not yet published; no external consumers yet. Entry point UX fixed (no-args usage message, bash set -u safety).", blocker = "ontoref.dev not yet published; no external consumers yet.",
horizon = 'Months, horizon = 'Months,
}, },
], ],

View File

@ -14,7 +14,7 @@
path = ".ontoref/logs", path = ".ontoref/logs",
rotation = "daily", rotation = "daily",
compress = false, compress = false,
archive = ".ontoref/logs-archive", archive = ".ontoref/logs/archive",
max_files = 7, max_files = 7,
}, },

View File

@ -36,6 +36,3 @@
{"ts":"2026-03-12T20:46:12+0000","author":"unknown","actor":"developer","level":"read","action":"sync diff"} {"ts":"2026-03-12T20:46:12+0000","author":"unknown","actor":"developer","level":"read","action":"sync diff"}
{"ts":"2026-03-12T20:47:05+0000","author":"unknown","actor":"developer","level":"read","action":"sync scan"} {"ts":"2026-03-12T20:47:05+0000","author":"unknown","actor":"developer","level":"read","action":"sync scan"}
{"ts":"2026-03-12T20:47:09+0000","author":"unknown","actor":"developer","level":"read","action":"sync diff"} {"ts":"2026-03-12T20:47:09+0000","author":"unknown","actor":"developer","level":"read","action":"sync diff"}
test
{"ts":"2026-03-13T00:39:33+0000","author":"unknown","actor":"agent","level":"read","action":"adr list"}
{"ts":"2026-03-13T00:40:00+0000","author":"unknown","actor":"developer","level":"read","action":"adr list"}

View File

@ -1,4 +0,0 @@
import 'justfiles/ci.just'
default:
@just --list

View File

@ -184,23 +184,6 @@ hooks-run-all:
@echo "🪝 Running pre-commit on all files..." @echo "🪝 Running pre-commit on all files..."
pre-commit run --all-files pre-commit run --all-files
# ==============================================================================
# Install
# ==============================================================================
# Build ontoref-daemon with default features (db,nats,ui,mcp) and install to ~/.local/bin
install-daemon:
#!/usr/bin/env bash
set -euo pipefail
echo "Building ontoref-daemon (features: db nats ui mcp)..."
cargo build --release -p ontoref-daemon
dest="${HOME}/.local/bin/ontoref-daemon"
mkdir -p "${HOME}/.local/bin"
cp target/release/ontoref-daemon "${dest}"
chmod +x "${dest}"
echo "Installed: ${dest}"
"${dest}" --version 2>/dev/null || true
# ============================================================================== # ==============================================================================
# Utility Commands # Utility Commands
# ============================================================================== # ==============================================================================

1
justfiles/rust-axum Symbolic link
View File

@ -0,0 +1 @@
/Users/Akasha/Tools/dev-system/languages/rust/just-modules/axum

1
justfiles/rust-cargo Symbolic link
View File

@ -0,0 +1 @@
/Users/Akasha/Tools/dev-system/languages/rust/just-modules/cargo

1
justfiles/rust-leptos Symbolic link
View File

@ -0,0 +1 @@
/Users/Akasha/Tools/dev-system/languages/rust/just-modules/leptos

14
ontoref
View File

@ -247,23 +247,11 @@ if [[ "${ENV_ONLY}" -eq 1 ]]; then
return 0 2>/dev/null || exit 0 return 0 2>/dev/null || exit 0
fi fi
# ── No-args usage ─────────────────────────────────────────────────────────────
if [[ "${#REMAINING_ARGS[@]}" -eq 0 ]]; then
_caller="$(basename "$0")"
echo ""
echo " ${_caller}"
echo " Usage: ./${_caller} <command> [options]"
echo ""
echo " Use './${_caller} help' for available commands"
echo ""
exit 0
fi
# ── Rewrite help flags ──────────────────────────────────────────────────────── # ── Rewrite help flags ────────────────────────────────────────────────────────
# Transform --help, -help, -h anywhere in args into: help <preceding-args> # Transform --help, -help, -h anywhere in args into: help <preceding-args>
_has_help=0 _has_help=0
_non_help_args=() _non_help_args=()
for _a in "${REMAINING_ARGS[@]+"${REMAINING_ARGS[@]}"}"; do for _a in "${REMAINING_ARGS[@]}"; do
case "${_a}" in case "${_a}" in
--help|-help|-h) _has_help=1 ;; --help|-help|-h) _has_help=1 ;;
*) _non_help_args+=("${_a}") ;; *) _non_help_args+=("${_a}") ;;