How icurfer/ic-praxis works
ic-praxis is a scaffold and local CLI for agent-friendly project practices: it captures decisions, supports task workflows, and turns lessons into commit-time enforcement. The principal workflow is selecting a harness profile, then using its task commands to check development work or reconcile infrastructure tasks; ADR commands are available across profiles. The README also documents the constitution, four-stage docs, shared memory, verification skill, and optional CI gate. Harness source is sampled; those broader scaffold capabilities are documented but their runtime links are not fully shown.
Main entry points: check-conventions.sh Convention checks · main.mjs Profile and command router · development.mjs Development tasks · praxis.mjs Praxis command
Components 18
Harness CLI
- Praxis command
templates/harness/bin/praxis.mjs - Profile and command router
templates/harness/src/main.mjs - Profile selection
templates/harness/src/main.mjs
Task Workflows
- Development tasks
templates/harness/src/development.mjs - Infrastructure tasks
templates/harness/src/infrastructure.mjs - Bounded check runner
templates/harness/src/run.mjs - Task records and state
templates/harness/src/development.mjs - Operations records and index
templates/harness/src/infrastructure.mjs
Project Knowledge
- Decision records
templates/harness/src/adr.mjs - Agent constitution
templates/CLAUDE.md - Four-stage docs
templates/docs - Shared memory
templates/.claude/memory - Verify skill
templates/.claude/skills/verify-app/SKILL.md
Commit Enforcement
- Pre-commit hook
templates/.githooks/pre-commit - Convention checks
templates/scripts/check-conventions.sh - Optional CI gate
templates/.github/workflows/praxis-gate.yml
Other components
- Developer or agent
- Git commit
Connections 18
- Developer or agent → Praxis command: runs commands
- Praxis command → Profile and command router: invokes
templates/harness/bin/praxis.mjs - Profile and command router → Profile selection: selects profile
templates/harness/src/main.mjs - Profile and command router → Development tasks: dispatches
templates/harness/src/main.mjs - Profile and command router → Infrastructure tasks: dispatches
templates/harness/src/main.mjs - Profile and command router → Decision records: dispatches
templates/harness/src/main.mjs - Development tasks → Bounded check runner: runs checks
templates/harness/src/development.mjs - Development tasks → Task records and state: reads and writes
templates/harness/src/development.mjs - Infrastructure tasks → Operations records and index: reads and writes
templates/harness/src/infrastructure.mjs - Bounded check runner → Developer or agent: reports results
templates/harness/src/run.mjs - Git commit → Pre-commit hook: triggers
README.md - Pre-commit hook → Convention checks: runs checks
README.md - Convention checks → Git commit: blocks or permits
README.md - Optional CI gate → Convention checks: repeats checks
README.md - Agent constitution → Convention checks: rules become gates
README.md - Four-stage docs → Convention checks: rules become gates
README.md - Shared memory → Agent constitution: informs rules
README.md - Verify skill → Convention checks: verifies changes
README.md