Skip to content
sandraschiPublic

About

[ALPHA] Stigmergic app factory - blueprints to native apps. Implements the Storytold craft-app harness - see storytold/artcraft.

Topics

Resources

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

AppCraft

License: MIT OR Apache-2.0 Rust 1.90+ MCP stdio ArtCraft harness

AppCraft is the autonomous stigmergic application factory for the sandraschi fleet. It synthesizes local-first, zero-runtime-tax native desktop and web applications from structured domain blueprints (powered by DatabaseCraft).

Install

Tell Claude, Cursor, Antigravity, or OpenCode: Install appcraft from github sandraschi.

powershell -NoProfile -ExecutionPolicy Bypass -File scripts\install-craft.ps1

Installs the Windows app and the CLI (Start Menu shortcut, CLI on the user PATH). -RegisterClients also registers the MCP exe with the IDEs that are installed. -Clients cursor,claude-desktop limits that list. -Mcpb installs the Claude Desktop extension bundle.

Key Architecture

  • Stigmergic Coordination: Decentralized environment-mediated task routing (_stigmergy_ledger).
  • Zero-Runtime-Tax: Standalone single-binary .exe packaging with embedded SQLite B-Tree transactional storage.
  • Universal 3-Tier ArtCraft Standard:
    • crates/appcraft-core: Universal Command Bus (Command::dispatch).
    • crates/appcraft-templates: Architecture starter stacks (Desktop egui, FastAPI React, Axum Webview).
    • crates/appcraft-mcp: Hand-rolled line-delimited MCP stdio server + CLI (appcraft-cli).
    • crates/appcraft-app: Native immediate-mode Studio IDE (appcraft).
  • Standard Control Port: 14115.

Status — does today / next week / non-goals

Does today: 4-crate workspace (templates as a crate), dispatch wired to DatabaseCraft blueprints; surgery blueprint → 6 tables + 12 ledger tasks, proven by test (3 fns); stigmergy ledger; 3 surfaces. Templates are manifests without bodies; CompileArtifact is a receipt stub (see hub assessment — honest, not finished).

Next week: template bodies v1 (desktop_egui CRUD skeleton + golden tree test); honest compile (real cargo build or rename); generate bohr-ordination + smoke + recipe.

Non-goals: factory generates files, doesn't host a platform; no second template before the first compiles.

Lineage — the Storytold craft-app pattern

Storytold ArtCraft (storytold/artcraft — "the IDE for artists") was the starting point. The 16 craft apps in the Storytold stable each ship one binary that is both the human CLI and the agent MCP server (stdio), headless-first, with run.json + report artifacts. That modus operandi and harness is what this repo implements; the code here is independent, the pattern is shared.

About

[ALPHA] Stigmergic app factory - blueprints to native apps. Implements the Storytold craft-app harness - see storytold/artcraft.

Topics

Resources

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages