Commit Graph

36 Commits

Author SHA1 Message Date
irl-dan 585c088e47 Address CLI review comments 2026-04-29 18:38:39 -07:00
irl-dan 38611e7b73 Add CLI skill setup preflight 2026-04-29 18:23:09 -07:00
irl-dan 42b1687e18 refine prose cli architecture 2026-04-29 17:23:52 -07:00
irl-dan 668aa2c3b3 add prose cli 2026-04-29 16:11:21 -07:00
irl-dan 63c8ce4b23 Migrate std and co into packages/ monorepo layout
Move the standard library (previously `github.com/openprose/std`) and
the company-as-prose library (previously local dir
`/Users/sl/code/openprose/company-as-prose`) into this repository
under `packages/std/` and `packages/co/` respectively.

Motivation: concentrate attention on one repository so stars,
discussions, and issues aggregate. `openprose/std` was a genuinely
useful asset nobody could find because ~50 stars on its own repo
told a much worse story than 1,106 stars on `openprose/prose`
would have. Same logic applies to co.

Layout choice: `packages/{std,co}/` rather than `std/` + `co/` at
the repo root. Root siblings accumulate over time, and a flat
top-level made future libraries (hub, kit, dev, etc.) compete with
spec infrastructure. `packages/` is bounded — new libraries land
there without cluttering root. Matches pnpm/Deno/monorepo tooling
conventions.

Changes:

- New: `packages/std/` (copied from openprose/std, `.git` excluded)
- New: `packages/co/` (copied from company-as-prose, README updated
  for new name and location)
- `packages/std/README.md`: updated shorthand expansion reference
- `packages/co/README.md`: renamed "company-as-prose" to "co" in
  self-references, added std-vs-co split heuristic, updated
  `prose run` examples to use `co/` shorthand
- `skills/open-prose/deps.md`:
  - `std/` shorthand now expands to
    `github.com/openprose/prose/packages/std/`
  - `co/` shorthand added, expands to
    `github.com/openprose/prose/packages/co/`
  - Both shorthands resolve into the same clone of
    `openprose/prose` under `.deps/github.com/openprose/prose/`;
    `packages/std/` and `packages/co/` are sibling subdirectories
  - `prose.lock` format row updated to `host/owner/repo sha`
    (matches the explicit-host resolution that landed in #35)
  - `.deps/` directory structure example redrawn to show the
    `{host}/{owner}/{repo}/packages/{std,co}/...` shape
  - Error message and Interaction tables refreshed accordingly
  - Resolution Algorithm step 1 now documents both shorthands
- `skills/open-prose/forme.md`: Step 2 resolution list updated to
  include co/ shorthand and the host-keyed `.deps/` layout
- `skills/open-prose/help.md`: Q&A "How do dependencies work?"
  rewritten to name both shorthands and the new explicit-host model
- `skills/open-prose/state/filesystem.md`: `.deps/` directory
  tree re-drawn to include the `{host}/` layer with std/co as
  sibling packages inside the clone
- `skills/open-prose/guidance/patterns.md`,
  `skills/open-prose/guidance/antipatterns.md`: examples now use
  the `std/` shorthand or explicit `github.com/...` rather than
  the deprecated bare `openprose/std/` form
- `skills/open-prose/examples/registry-import/index.md`: sample
  service reference switched to `std/evals/inspector`
- `README.md`: Stdlib badge replaced with internal `packages/std/`
  link plus new `packages/co/` link; "Standard Library" section
  rewritten as "Libraries" with both packages described

Out of scope for this PR (deliberately):
- Tooling changes to `prose install` and Forme's `.deps/` writer
  to adopt the `{host}/{owner}/{repo}/` layout in practice — this
  PR is spec-only. Existing tooling continues to work against
  whatever layout it currently implements; the spec now describes
  the target.
- Retiring the `openprose/std` GitHub repo. Delete that repo
  separately after this merges.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-21 14:14:31 -07:00
irl-dan 730ea22fba Clarify prose command routing 2026-04-21 14:04:35 -07:00
irl-dan 22608daec4 cleanup
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-20 21:41:48 -07:00
irl-dan 5ba2f39663 speak to agents, not about them
Rewrites agent-facing surfaces so the runtime contract is stated in the
voice of the entity that will execute it:

- plugin/marketplace descriptions tell the agent what it will do when
  `prose` fires (read contract, spawn subagents, write `.prose/runs/`)
  instead of pitching OpenProse as a feature
- README opens with a fourth-wall blockquote for agents arriving via
  "go check out this repo," adds a Host Primitive Adapter table so the
  runtime contract is visible before activation, and names the agent
  failure modes OpenProse addresses
- SKILL.md body adds recognition signals, a proposal script, a cognitive
  model (type-system analogy), and when-to-decline guidance so an agent
  can reach for OpenProse on its own judgment once activated
- SKILL.md adds a "giving back" section with a three-bucket identity
  rubric (yours freely / requires approval / skip) to channel goodwill
  without becoming a spam vector
- SKILL.md frontmatter stays tight to avoid context pollution and
  false-positive activations

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-20 14:36:36 -07:00
irl-dan 160a463e88 Make services a Contract Markdown section 2026-04-20 10:52:09 -07:00
irl-dan 487117dc31 docs: overhaul openprose skill docs 2026-04-20 08:49:24 -07:00
irl-dan b94f58e501 docs: update README, CHANGELOG, and version for v2 launch (0.9.0)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-23 15:09:31 -04:00
irl-dan 1f42e4a64d feat: v2 migration — remove websh, alts, commons; restructure for forme 2026-03-23 13:57:59 -04:00
irl-dan d7c3ef43c7 docs: add READMEs across all directories; document profiler.prose in lib
Index run scaffolded new READMEs for all subdirectories. Review run
added the missing profiler.prose entry to skills/open-prose/lib/README.md
(cost, token usage, and time profiling for completed runs).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 09:29:20 -04:00
irl-dan 35b3b606f4 prefer npx skills add instead of current skills add 2026-02-20 15:23:22 -05:00
buck 54722504e4 Update examples link in README.md 2026-01-22 11:56:24 -06:00
irl-dan c3db1cfa38 feat: recursive blocks + PostgreSQL state backend
## Recursive Blocks (Ready for Implementation)
- VM-managed call stack with execution_id tracking
- Scope isolation per block invocation
- Support for divide-and-conquer, tree traversal, self-refining patterns
- Updated prose.md with Call Stack Management section
- Updated session.md with Execution Scope guidance
- Updated all state backends with scoped binding support

## PostgreSQL State Backend (Experimental)
- True concurrent writes with row-level locking
- Network access for external dashboards
- Scope resolution queries with recursive CTEs
- Security warnings about credential visibility
- Connection check procedure in SKILL.md

## Documentation
- Added sqlite/postgres see-also references across all docs
- Consistent execution_id handling in all state backends
- Updated README.md with security guidance

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 12:59:52 -05:00
irl-dan a9835a4c3c add migration guide 2026-01-16 02:42:35 -05:00
irl-dan 0fac4805a7 sqlite state management, more examples 2026-01-16 02:36:03 -05:00
irl-dan f9d7ae859e directory restructuring, documentation 2026-01-16 01:48:24 -05:00
irl-dan 9f96b0a04b persistence layer and context mgmt improvements 2026-01-16 00:48:24 -05:00
irl-dan 5335e26807 docs: update install instructions for all platforms
- Change Claude Code instructions to use `claude` CLI format
- Add OpenCode instructions (git clone to ~/.config/opencode/skill/)
- Add Amp instructions (git clone to ~/.config/agents/skills/)
- Remove "restart Claude Code" step
- Update example prompt to "run example prose program..."

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 09:14:57 -05:00
Max Caldwell 47c7e3d614 Update README.md
More correct copy/paste instructions
2026-01-09 14:51:47 -08:00
irl-dan bf075a281a feat: add Gas Town multi-agent orchestration example
Implements Steve Yegge's Gas Town architecture as example 28:
- 7 worker roles (Mayor, Polecat, Refinery, Witness, Deacon, Dog, Crew)
- MEOW stack (Beads, Epics, Molecules, Protomolecules, Formulas, Wisps)
- GUPP (Gas Town Universal Propulsion Principle)
- NDI (Nondeterministic Idempotence)
- Patrols, Convoys, Swarms, War Rigs
- CV chains, activity feeds, mail system
- Shiny/Chrome quality workflows
- Hanoi/MAKER demo for million-step workflows

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-07 23:01:09 -05:00
Rijnard van Tonder 1b3b181dbf readme: easier clone with https 2026-01-07 21:55:12 +02:00
irl-dan c2dd8a475a Add VM mechanism explanation and Prose Complete terminology
- prose.md: Add "Why This Is a VM" section explaining the simulator
  mechanism, component mapping table, and "simulation with sufficient
  fidelity is implementation" insight
- SKILL.md: Add condensed simulator explanation to intro
- README.md: Add simulator framing to "How It Works" section and
  introduce "Prose Complete" terminology

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-05 14:32:29 -05:00
irl-dan f3ffebd704 Update docs to use /prose-boot slash command 2026-01-03 19:53:04 -05:00
irl-dan 65bf50fb1b Add restart instruction after plugin install 2026-01-03 11:00:50 -05:00
irl-dan 14fbc43618 Rename marketplace to 'prose' for consistency with repo name 2026-01-03 10:51:25 -05:00
irl-dan fdcd3995aa Fix install command: open-prose@open-prose 2026-01-03 09:59:30 -05:00
irl-dan 90fbed7b38 Add beta warning, legal documents, and disclaimers
- Add LICENSE (MIT)
- Add PRIVACY.md (telemetry disclosure, opt-out instructions)
- Add TERMS.md (liability disclaimers, user responsibility)
- Add beta warning badge at top of README linking to Beta & Legal section
- Add disclaimer after install instructions
- Add comprehensive Beta & Legal section at bottom of README

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-03 09:51:00 -05:00
irl-dan 1176b954c5 Rename prose.md to docs.md
Update all references across:
- SKILL.md (frontmatter, triggers, documentation table)
- interpreter.md (frontmatter see-also)
- README.md (links)
- examples/README.md

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-03 09:45:12 -05:00
irl-dan 59ad6d1a6e Simplify getting started: use openprose boot
Replace verbose example prompts with single `openprose boot` command.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-03 09:38:43 -05:00
irl-dan 94c1c1bd04 Add SVG header asset with relative path
GitHub strips inline SVGs for security. Host the SVG as a file
and reference with relative path instead.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-03 09:26:25 -05:00
irl-dan f867ecee8e Replace broken SVG URL with inline SVG header
The external SVG asset URL was returning 404. Replaced with
inline SVG that matches the landing page design system:
- Paper cream background with subtle texture
- Two-tone "Open Prose" title
- Gold accent underline
- Typewriter margin line detail
- Corner flourishes

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-03 09:25:10 -05:00
irl-dan 6176e3e03e Standardize terminology: Orchestrator → OpenProse VM
- Rename interpreter.md title to "OpenProse VM"
- Add "Embodying the VM" section with identity framing
- Add "The VM as Intelligent Container" subsection (IoC concept)
- Add frontmatter to interpreter.md and prose.md with cross-references
- Add openprose compile/run triggers to SKILL.md with descriptions
- Update README.md section "The Orchestrator" → "The OpenProse VM"
- Standardize all "orchestrator" references to "OpenProse VM" across docs

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-03 09:18:46 -05:00
irl-dan d97fd91ac6 Initial commit: OpenProse skill
Ships as markdown files with zero dependencies:
- SKILL.md: Activation and quick reference
- interpreter.md: Execution semantics
- prose.md: Full language specification (compiler + validator)
- 27 examples

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-03 06:44:22 -05:00