Compare commits
No commits in common. "76e835d9367c4d2a9abe8903199f08a39c2376d0" and "d2b361420b6ede7b860a4206ebcdd47ef65c9cc1" have entirely different histories.
76e835d936
...
d2b361420b
@ -131,9 +131,6 @@ let d = import "../ontology/defaults/core.ncl" in
|
||||
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.",
|
||||
artifact_paths = [
|
||||
"ontoref",
|
||||
"justfile",
|
||||
"justfiles/ci.just",
|
||||
"templates/ontology/",
|
||||
"templates/ontoref-config.ncl",
|
||||
"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/drift_watcher.rs",
|
||||
"crates/ontoref-daemon/src/mcp/mod.rs",
|
||||
"justfiles/ci.just",
|
||||
],
|
||||
},
|
||||
|
||||
|
||||
@ -25,7 +25,7 @@ let d = import "../ontology/defaults/state.ncl" in
|
||||
to = "protocol-stable",
|
||||
condition = "ADR-001 accepted, ontoref.dev published, at least two external projects consuming the protocol.",
|
||||
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,
|
||||
},
|
||||
],
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
path = ".ontoref/logs",
|
||||
rotation = "daily",
|
||||
compress = false,
|
||||
archive = ".ontoref/logs-archive",
|
||||
archive = ".ontoref/logs/archive",
|
||||
max_files = 7,
|
||||
},
|
||||
|
||||
|
||||
@ -36,6 +36,3 @@
|
||||
{"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: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"}
|
||||
|
||||
@ -184,23 +184,6 @@ hooks-run-all:
|
||||
@echo "πͺ Running pre-commit on 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
|
||||
# ==============================================================================
|
||||
|
||||
1
justfiles/rust-axum
Symbolic link
1
justfiles/rust-axum
Symbolic link
@ -0,0 +1 @@
|
||||
/Users/Akasha/Tools/dev-system/languages/rust/just-modules/axum
|
||||
1
justfiles/rust-cargo
Symbolic link
1
justfiles/rust-cargo
Symbolic link
@ -0,0 +1 @@
|
||||
/Users/Akasha/Tools/dev-system/languages/rust/just-modules/cargo
|
||||
1
justfiles/rust-leptos
Symbolic link
1
justfiles/rust-leptos
Symbolic link
@ -0,0 +1 @@
|
||||
/Users/Akasha/Tools/dev-system/languages/rust/just-modules/leptos
|
||||
14
ontoref
14
ontoref
@ -247,23 +247,11 @@ if [[ "${ENV_ONLY}" -eq 1 ]]; then
|
||||
return 0 2>/dev/null || exit 0
|
||||
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 ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
||||
# Transform --help, -help, -h anywhere in args into: help <preceding-args>
|
||||
_has_help=0
|
||||
_non_help_args=()
|
||||
for _a in "${REMAINING_ARGS[@]+"${REMAINING_ARGS[@]}"}"; do
|
||||
for _a in "${REMAINING_ARGS[@]}"; do
|
||||
case "${_a}" in
|
||||
--help|-help|-h) _has_help=1 ;;
|
||||
*) _non_help_args+=("${_a}") ;;
|
||||
|
||||
Loadingβ¦
x
Reference in New Issue
Block a user