singularity-forge/Makefile
Mikael Hugo d33e30e885 feat(notifications): NOTICE_KIND enum, schema v2 dedup, sf-db cleanup
- notification-store: schema v2 — repeatCount/lastTs merge for non-blocking
  notices; NOTICE_KIND enum (SYSTEM_NOTICE, TOOL_NOTICE, BLOCKING_NOTICE,
  USER_VISIBLE) for renderer classification without message parsing
- sf-db: remove gate_runs and audit_events tables (replaced by uok audit.js
  and trace-writer); schema reduced by ~370 lines
- notify-interceptor: tag auto-mode system notices with NOTICE_KIND.SYSTEM_NOTICE
- auto-prompts, guided-flow, system-context: use NOTICE_KIND on emit calls
- cli-status: expanded headless status surface + test coverage
- headless-types: new status fields
- Makefile/justfile: dev workflow improvements
- record-promoter, requirement-promoter: minor cleanup
- sf-db-migration tests: updated for dropped tables
- uok-gate-runner, uok-metrics, uok-outcome, uok-status tests: updated

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-10 20:13:58 +02:00

56 lines
1.3 KiB
Makefile

SHELL := /usr/bin/env bash
.DEFAULT_GOAL := help
.PHONY: help install build build-core copy-resources test typecheck lint lint-fix native native-pkg clean sf
help:
@printf "Available targets:\n"
@printf " install Install workspace dependencies\n"
@printf " build Full build (core + web)\n"
@printf " build-core Core build including copy-resources\n"
@printf " copy-resources Rebuild dist/resources/extensions (sf extension bundles)\n"
@printf " test Run test suite\n"
@printf " typecheck Typecheck extensions/project tsconfigs\n"
@printf " lint Lint (alias for npm run lint)\n"
@printf " lint-fix Lint with autofix\n"
@printf " native Compile rust-engine (npm run build:native)\n"
@printf " native-pkg Build @singularity-forge/native workspace (npm run build:native-pkg)\n"
@printf " clean Remove dist/\n"
@printf " sf Run SF from source (ARGS='status --help')\n"
install:
npm install
build:
npm run build
build-core:
npm run build:core
copy-resources:
npm run copy-resources
test:
npm test
typecheck:
npm run typecheck:extensions
lint:
npm run lint
lint-fix:
npm run lint:fix
native:
npm run build:native
native-pkg:
npm run build:native-pkg
clean:
rm -rf dist dist-test
sf:
./bin/sf-from-source $(ARGS)