@hera-al/server 1.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +325 -0
- package/bundled/apple-notes/SKILL.md +77 -0
- package/bundled/apple-reminders/SKILL.md +96 -0
- package/bundled/blogwatcher/SKILL.md +69 -0
- package/bundled/camsnap/SKILL.md +45 -0
- package/bundled/discord/SKILL.md +578 -0
- package/bundled/gemini/SKILL.md +43 -0
- package/bundled/gifgrep/SKILL.md +79 -0
- package/bundled/github/SKILL.md +77 -0
- package/bundled/gog/SKILL.md +116 -0
- package/bundled/goplaces/SKILL.md +52 -0
- package/bundled/himalaya/SKILL.md +257 -0
- package/bundled/himalaya/references/configuration.md +184 -0
- package/bundled/himalaya/references/message-composition.md +199 -0
- package/bundled/homebrew/SKILL.md +82 -0
- package/bundled/local-places/SERVER_README.md +101 -0
- package/bundled/local-places/SKILL.md +102 -0
- package/bundled/local-places/pyproject.toml +21 -0
- package/bundled/local-places/src/local_places/__init__.py +2 -0
- package/bundled/local-places/src/local_places/google_places.py +314 -0
- package/bundled/local-places/src/local_places/main.py +65 -0
- package/bundled/local-places/src/local_places/schemas.py +107 -0
- package/bundled/markitdown/SKILL.md +96 -0
- package/bundled/mcporter/SKILL.md +61 -0
- package/bundled/merge-pr/SKILL.md +187 -0
- package/bundled/merge-pr/agents/openai.yaml +4 -0
- package/bundled/nano-banana-pro/SKILL.md +58 -0
- package/bundled/nano-banana-pro/scripts/generate_image.py +184 -0
- package/bundled/nano-pdf/SKILL.md +38 -0
- package/bundled/open-prose/README.md +25 -0
- package/bundled/open-prose/index.ts +5 -0
- package/bundled/open-prose/openclaw.plugin.json +11 -0
- package/bundled/open-prose/package.json +15 -0
- package/bundled/open-prose/skills/prose/LICENSE +21 -0
- package/bundled/open-prose/skills/prose/SKILL.md +323 -0
- package/bundled/open-prose/skills/prose/alt-borges.md +141 -0
- package/bundled/open-prose/skills/prose/alts/arabian-nights.md +358 -0
- package/bundled/open-prose/skills/prose/alts/borges.md +360 -0
- package/bundled/open-prose/skills/prose/alts/folk.md +322 -0
- package/bundled/open-prose/skills/prose/alts/homer.md +346 -0
- package/bundled/open-prose/skills/prose/alts/kafka.md +373 -0
- package/bundled/open-prose/skills/prose/compiler.md +2971 -0
- package/bundled/open-prose/skills/prose/examples/01-hello-world.prose +4 -0
- package/bundled/open-prose/skills/prose/examples/02-research-and-summarize.prose +6 -0
- package/bundled/open-prose/skills/prose/examples/03-code-review.prose +17 -0
- package/bundled/open-prose/skills/prose/examples/04-write-and-refine.prose +14 -0
- package/bundled/open-prose/skills/prose/examples/05-debug-issue.prose +20 -0
- package/bundled/open-prose/skills/prose/examples/06-explain-codebase.prose +17 -0
- package/bundled/open-prose/skills/prose/examples/07-refactor.prose +20 -0
- package/bundled/open-prose/skills/prose/examples/08-blog-post.prose +20 -0
- package/bundled/open-prose/skills/prose/examples/09-research-with-agents.prose +25 -0
- package/bundled/open-prose/skills/prose/examples/10-code-review-agents.prose +32 -0
- package/bundled/open-prose/skills/prose/examples/11-skills-and-imports.prose +27 -0
- package/bundled/open-prose/skills/prose/examples/12-secure-agent-permissions.prose +43 -0
- package/bundled/open-prose/skills/prose/examples/13-variables-and-context.prose +51 -0
- package/bundled/open-prose/skills/prose/examples/14-composition-blocks.prose +48 -0
- package/bundled/open-prose/skills/prose/examples/15-inline-sequences.prose +23 -0
- package/bundled/open-prose/skills/prose/examples/16-parallel-reviews.prose +19 -0
- package/bundled/open-prose/skills/prose/examples/17-parallel-research.prose +19 -0
- package/bundled/open-prose/skills/prose/examples/18-mixed-parallel-sequential.prose +36 -0
- package/bundled/open-prose/skills/prose/examples/19-advanced-parallel.prose +71 -0
- package/bundled/open-prose/skills/prose/examples/20-fixed-loops.prose +20 -0
- package/bundled/open-prose/skills/prose/examples/21-pipeline-operations.prose +35 -0
- package/bundled/open-prose/skills/prose/examples/22-error-handling.prose +51 -0
- package/bundled/open-prose/skills/prose/examples/23-retry-with-backoff.prose +63 -0
- package/bundled/open-prose/skills/prose/examples/24-choice-blocks.prose +86 -0
- package/bundled/open-prose/skills/prose/examples/25-conditionals.prose +114 -0
- package/bundled/open-prose/skills/prose/examples/26-parameterized-blocks.prose +100 -0
- package/bundled/open-prose/skills/prose/examples/27-string-interpolation.prose +105 -0
- package/bundled/open-prose/skills/prose/examples/28-automated-pr-review.prose +37 -0
- package/bundled/open-prose/skills/prose/examples/28-gas-town.prose +1572 -0
- package/bundled/open-prose/skills/prose/examples/29-captains-chair.prose +218 -0
- package/bundled/open-prose/skills/prose/examples/30-captains-chair-simple.prose +42 -0
- package/bundled/open-prose/skills/prose/examples/31-captains-chair-with-memory.prose +145 -0
- package/bundled/open-prose/skills/prose/examples/33-pr-review-autofix.prose +168 -0
- package/bundled/open-prose/skills/prose/examples/34-content-pipeline.prose +204 -0
- package/bundled/open-prose/skills/prose/examples/35-feature-factory.prose +296 -0
- package/bundled/open-prose/skills/prose/examples/36-bug-hunter.prose +237 -0
- package/bundled/open-prose/skills/prose/examples/37-the-forge.prose +1474 -0
- package/bundled/open-prose/skills/prose/examples/38-skill-scan.prose +455 -0
- package/bundled/open-prose/skills/prose/examples/39-architect-by-simulation.prose +277 -0
- package/bundled/open-prose/skills/prose/examples/40-rlm-self-refine.prose +32 -0
- package/bundled/open-prose/skills/prose/examples/41-rlm-divide-conquer.prose +38 -0
- package/bundled/open-prose/skills/prose/examples/42-rlm-filter-recurse.prose +46 -0
- package/bundled/open-prose/skills/prose/examples/43-rlm-pairwise.prose +50 -0
- package/bundled/open-prose/skills/prose/examples/44-run-endpoint-ux-test.prose +261 -0
- package/bundled/open-prose/skills/prose/examples/45-plugin-release.prose +159 -0
- package/bundled/open-prose/skills/prose/examples/45-run-endpoint-ux-test-with-remediation.prose +637 -0
- package/bundled/open-prose/skills/prose/examples/46-run-endpoint-ux-test-fast.prose +148 -0
- package/bundled/open-prose/skills/prose/examples/46-workflow-crystallizer.prose +225 -0
- package/bundled/open-prose/skills/prose/examples/47-language-self-improvement.prose +356 -0
- package/bundled/open-prose/skills/prose/examples/48-habit-miner.prose +445 -0
- package/bundled/open-prose/skills/prose/examples/49-prose-run-retrospective.prose +210 -0
- package/bundled/open-prose/skills/prose/examples/README.md +391 -0
- package/bundled/open-prose/skills/prose/examples/roadmap/README.md +22 -0
- package/bundled/open-prose/skills/prose/examples/roadmap/iterative-refinement.prose +20 -0
- package/bundled/open-prose/skills/prose/examples/roadmap/parallel-review.prose +18 -0
- package/bundled/open-prose/skills/prose/examples/roadmap/simple-pipeline.prose +17 -0
- package/bundled/open-prose/skills/prose/examples/roadmap/syntax/open-prose-syntax.prose +223 -0
- package/bundled/open-prose/skills/prose/guidance/antipatterns.md +951 -0
- package/bundled/open-prose/skills/prose/guidance/patterns.md +700 -0
- package/bundled/open-prose/skills/prose/guidance/system-prompt.md +180 -0
- package/bundled/open-prose/skills/prose/help.md +144 -0
- package/bundled/open-prose/skills/prose/lib/README.md +108 -0
- package/bundled/open-prose/skills/prose/lib/calibrator.prose +215 -0
- package/bundled/open-prose/skills/prose/lib/cost-analyzer.prose +174 -0
- package/bundled/open-prose/skills/prose/lib/error-forensics.prose +250 -0
- package/bundled/open-prose/skills/prose/lib/inspector.prose +196 -0
- package/bundled/open-prose/skills/prose/lib/profiler.prose +460 -0
- package/bundled/open-prose/skills/prose/lib/program-improver.prose +275 -0
- package/bundled/open-prose/skills/prose/lib/project-memory.prose +118 -0
- package/bundled/open-prose/skills/prose/lib/user-memory.prose +93 -0
- package/bundled/open-prose/skills/prose/lib/vm-improver.prose +243 -0
- package/bundled/open-prose/skills/prose/primitives/session.md +593 -0
- package/bundled/open-prose/skills/prose/prose.md +1237 -0
- package/bundled/open-prose/skills/prose/state/filesystem.md +498 -0
- package/bundled/open-prose/skills/prose/state/in-context.md +384 -0
- package/bundled/open-prose/skills/prose/state/postgres.md +880 -0
- package/bundled/open-prose/skills/prose/state/sqlite.md +574 -0
- package/bundled/peekaboo/SKILL.md +190 -0
- package/bundled/prepare-pr/SKILL.md +277 -0
- package/bundled/prepare-pr/agents/openai.yaml +4 -0
- package/bundled/review-pr/SKILL.md +228 -0
- package/bundled/review-pr/agents/openai.yaml +4 -0
- package/bundled/sag/SKILL.md +87 -0
- package/bundled/skill-creator/SKILL.md +370 -0
- package/bundled/skill-creator/license.txt +202 -0
- package/bundled/skill-creator/scripts/init_skill.py +378 -0
- package/bundled/skill-creator/scripts/package_skill.py +111 -0
- package/bundled/skill-creator/scripts/quick_validate.py +101 -0
- package/bundled/spotify-player/SKILL.md +64 -0
- package/bundled/ssh/SKILL.md +119 -0
- package/bundled/summarize/SKILL.md +87 -0
- package/bundled/video-frames/SKILL.md +46 -0
- package/bundled/video-frames/scripts/frame.sh +81 -0
- package/bundled/voice-call/SKILL.md +45 -0
- package/bundled/wacli/SKILL.md +72 -0
- package/bundled/weather/SKILL.md +54 -0
- package/dist/agent/agent-service.d.ts +88 -0
- package/dist/agent/agent-service.js +1 -0
- package/dist/agent/message-queue.d.ts +24 -0
- package/dist/agent/message-queue.js +1 -0
- package/dist/agent/prompt-builder.d.ts +58 -0
- package/dist/agent/prompt-builder.js +1 -0
- package/dist/agent/session-agent.d.ts +197 -0
- package/dist/agent/session-agent.js +1 -0
- package/dist/agent/session-db.d.ts +26 -0
- package/dist/agent/session-db.js +1 -0
- package/dist/agent/session-error-handler.d.ts +37 -0
- package/dist/agent/session-error-handler.js +1 -0
- package/dist/agent/session-manager.d.ts +19 -0
- package/dist/agent/session-manager.js +1 -0
- package/dist/agent/workspace-files.d.ts +51 -0
- package/dist/agent/workspace-files.js +1 -0
- package/dist/auth/auth-middleware.d.ts +9 -0
- package/dist/auth/auth-middleware.js +1 -0
- package/dist/auth/node-signature-db.d.ts +30 -0
- package/dist/auth/node-signature-db.js +1 -0
- package/dist/auth/token-db.d.ts +38 -0
- package/dist/auth/token-db.js +1 -0
- package/dist/browser/browser-service.d.ts +9 -0
- package/dist/browser/browser-service.js +1 -0
- package/dist/channels/channel.d.ts +2 -0
- package/dist/channels/channel.js +1 -0
- package/dist/channels/responses.d.ts +21 -0
- package/dist/channels/responses.js +1 -0
- package/dist/commands/clear.d.ts +7 -0
- package/dist/commands/clear.js +1 -0
- package/dist/commands/cmd.d.ts +7 -0
- package/dist/commands/cmd.js +1 -0
- package/dist/commands/coder.d.ts +12 -0
- package/dist/commands/coder.js +1 -0
- package/dist/commands/command-registry.d.ts +12 -0
- package/dist/commands/command-registry.js +1 -0
- package/dist/commands/command.d.ts +22 -0
- package/dist/commands/command.js +1 -0
- package/dist/commands/compact.d.ts +7 -0
- package/dist/commands/compact.js +1 -0
- package/dist/commands/customsubagents.d.ts +15 -0
- package/dist/commands/customsubagents.js +1 -0
- package/dist/commands/help.d.ts +9 -0
- package/dist/commands/help.js +1 -0
- package/dist/commands/mcp.d.ts +9 -0
- package/dist/commands/mcp.js +1 -0
- package/dist/commands/model.d.ts +22 -0
- package/dist/commands/model.js +1 -0
- package/dist/commands/models.d.ts +11 -0
- package/dist/commands/models.js +1 -0
- package/dist/commands/new.d.ts +7 -0
- package/dist/commands/new.js +1 -0
- package/dist/commands/plugin.d.ts +7 -0
- package/dist/commands/plugin.js +1 -0
- package/dist/commands/sandbox.d.ts +12 -0
- package/dist/commands/sandbox.js +1 -0
- package/dist/commands/showtool.d.ts +12 -0
- package/dist/commands/showtool.js +1 -0
- package/dist/commands/status.d.ts +24 -0
- package/dist/commands/status.js +1 -0
- package/dist/commands/stop.d.ts +10 -0
- package/dist/commands/stop.js +1 -0
- package/dist/commands/subagents.d.ts +12 -0
- package/dist/commands/subagents.js +1 -0
- package/dist/commands/usage.d.ts +25 -0
- package/dist/commands/usage.js +1 -0
- package/dist/commands/useplugin.d.ts +7 -0
- package/dist/commands/useplugin.js +1 -0
- package/dist/config-watcher.d.ts +14 -0
- package/dist/config-watcher.js +1 -0
- package/dist/config.d.ts +267 -0
- package/dist/config.js +1 -0
- package/dist/cron/cron-service.d.ts +57 -0
- package/dist/cron/cron-service.js +1 -0
- package/dist/cron/heartbeat-token.d.ts +29 -0
- package/dist/cron/heartbeat-token.js +1 -0
- package/dist/cron/schedule.d.ts +3 -0
- package/dist/cron/schedule.js +1 -0
- package/dist/cron/store.d.ts +4 -0
- package/dist/cron/store.js +1 -0
- package/dist/cron/types.d.ts +47 -0
- package/dist/cron/types.js +1 -0
- package/dist/gateway/bridge.d.ts +38 -0
- package/dist/gateway/bridge.js +1 -0
- package/dist/gateway/channel-manager.d.ts +45 -0
- package/dist/gateway/channel-manager.js +1 -0
- package/dist/gateway/channels/qr-image.d.ts +5 -0
- package/dist/gateway/channels/qr-image.js +1 -0
- package/dist/gateway/channels/telegram.d.ts +39 -0
- package/dist/gateway/channels/telegram.js +1 -0
- package/dist/gateway/channels/webchat.d.ts +51 -0
- package/dist/gateway/channels/webchat.js +1 -0
- package/dist/gateway/channels/whatsapp.d.ts +40 -0
- package/dist/gateway/channels/whatsapp.js +1 -0
- package/dist/gateway/node-registry.d.ts +38 -0
- package/dist/gateway/node-registry.js +1 -0
- package/dist/heracli/index.d.ts +3 -0
- package/dist/heracli/index.js +2 -0
- package/dist/heracli/logs.d.ts +13 -0
- package/dist/heracli/logs.js +1 -0
- package/dist/heracli/security/audit.d.ts +17 -0
- package/dist/heracli/security/audit.js +1 -0
- package/dist/heracli/security/checks/channel-policies.d.ts +6 -0
- package/dist/heracli/security/checks/channel-policies.js +1 -0
- package/dist/heracli/security/checks/credentials.d.ts +6 -0
- package/dist/heracli/security/checks/credentials.js +1 -0
- package/dist/heracli/security/checks/fs-permissions.d.ts +6 -0
- package/dist/heracli/security/checks/fs-permissions.js +1 -0
- package/dist/heracli/security/checks/network.d.ts +4 -0
- package/dist/heracli/security/checks/network.js +1 -0
- package/dist/heracli/security/report.d.ts +4 -0
- package/dist/heracli/security/report.js +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +2 -0
- package/dist/installer/hera.d.ts +3 -0
- package/dist/installer/hera.js +2 -0
- package/dist/media/message-processor.d.ts +23 -0
- package/dist/media/message-processor.js +1 -0
- package/dist/memory/memory-manager.d.ts +21 -0
- package/dist/memory/memory-manager.js +1 -0
- package/dist/memory/memory-provider.d.ts +22 -0
- package/dist/memory/memory-provider.js +1 -0
- package/dist/memory/memory-search.d.ts +102 -0
- package/dist/memory/memory-search.js +1 -0
- package/dist/memory/recall-strategies.d.ts +2 -0
- package/dist/memory/recall-strategies.js +1 -0
- package/dist/nostromo/auth.d.ts +29 -0
- package/dist/nostromo/auth.js +1 -0
- package/dist/nostromo/nostromo.d.ts +23 -0
- package/dist/nostromo/nostromo.js +1 -0
- package/dist/nostromo/ui-html-layout.d.ts +3 -0
- package/dist/nostromo/ui-html-layout.js +1 -0
- package/dist/nostromo/ui-html-modals.d.ts +3 -0
- package/dist/nostromo/ui-html-modals.js +1 -0
- package/dist/nostromo/ui-js-agent.d.ts +3 -0
- package/dist/nostromo/ui-js-agent.js +1 -0
- package/dist/nostromo/ui-js-channels.d.ts +3 -0
- package/dist/nostromo/ui-js-channels.js +1 -0
- package/dist/nostromo/ui-js-competences.d.ts +3 -0
- package/dist/nostromo/ui-js-competences.js +1 -0
- package/dist/nostromo/ui-js-config.d.ts +3 -0
- package/dist/nostromo/ui-js-config.js +1 -0
- package/dist/nostromo/ui-js-core.d.ts +3 -0
- package/dist/nostromo/ui-js-core.js +1 -0
- package/dist/nostromo/ui-js-ops.d.ts +3 -0
- package/dist/nostromo/ui-js-ops.js +1 -0
- package/dist/nostromo/ui-js-prompts.d.ts +3 -0
- package/dist/nostromo/ui-js-prompts.js +1 -0
- package/dist/nostromo/ui-styles.d.ts +3 -0
- package/dist/nostromo/ui-styles.js +1 -0
- package/dist/nostromo/ui.d.ts +2 -0
- package/dist/nostromo/ui.js +1 -0
- package/dist/server.d.ts +80 -0
- package/dist/server.js +1 -0
- package/dist/stt/local-whisper.d.ts +9 -0
- package/dist/stt/local-whisper.js +1 -0
- package/dist/stt/openai-whisper.d.ts +14 -0
- package/dist/stt/openai-whisper.js +1 -0
- package/dist/stt/stt-loader.d.ts +4 -0
- package/dist/stt/stt-loader.js +1 -0
- package/dist/stt/stt-provider.d.ts +4 -0
- package/dist/stt/stt-provider.js +1 -0
- package/dist/tools/browser-tools.d.ts +9 -0
- package/dist/tools/browser-tools.js +1 -0
- package/dist/tools/cron-tools.d.ts +4 -0
- package/dist/tools/cron-tools.js +1 -0
- package/dist/tools/memory-tools.d.ts +3 -0
- package/dist/tools/memory-tools.js +1 -0
- package/dist/tools/message-tools.d.ts +5 -0
- package/dist/tools/message-tools.js +1 -0
- package/dist/tools/node-tools.d.ts +3 -0
- package/dist/tools/node-tools.js +1 -0
- package/dist/tools/server-tools.d.ts +2 -0
- package/dist/tools/server-tools.js +1 -0
- package/dist/tools/tts-tools.d.ts +3 -0
- package/dist/tools/tts-tools.js +1 -0
- package/dist/tts/tts-service.d.ts +19 -0
- package/dist/tts/tts-service.js +1 -0
- package/dist/utils/chunk.d.ts +3 -0
- package/dist/utils/chunk.js +1 -0
- package/dist/utils/logger.d.ts +16 -0
- package/dist/utils/logger.js +1 -0
- package/dist/utils/markdown/fences.d.ts +11 -0
- package/dist/utils/markdown/fences.js +1 -0
- package/dist/utils/markdown/ir.d.ts +33 -0
- package/dist/utils/markdown/ir.js +1 -0
- package/dist/utils/markdown/render.d.ts +19 -0
- package/dist/utils/markdown/render.js +1 -0
- package/dist/utils/markdown/tables.d.ts +3 -0
- package/dist/utils/markdown/tables.js +1 -0
- package/dist/utils/media-response.d.ts +29 -0
- package/dist/utils/media-response.js +1 -0
- package/dist/utils/package-paths.d.ts +5 -0
- package/dist/utils/package-paths.js +1 -0
- package/dist/utils/telegram-format.d.ts +13 -0
- package/dist/utils/telegram-format.js +1 -0
- package/installationPkg/.env.example +26 -0
- package/installationPkg/AGENTS.md +143 -0
- package/installationPkg/BOOTSTRAP.md +45 -0
- package/installationPkg/CBINT.json +16 -0
- package/installationPkg/HEARTBEAT.md +5 -0
- package/installationPkg/IDENTITY.md +7 -0
- package/installationPkg/SOUL.md +36 -0
- package/installationPkg/SYSTEM_PROMPT.md +55 -0
- package/installationPkg/SYSTEM_PROMPT_SUBAGENT.md +40 -0
- package/installationPkg/TOOLS.md +36 -0
- package/installationPkg/USER.md +11 -0
- package/installationPkg/config.example.yaml +291 -0
- package/package.json +95 -0
|
@@ -0,0 +1,323 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: prose
|
|
3
|
+
description: OpenProse VM skill pack. Activate on any `prose` command, .prose files, or OpenProse mentions; orchestrates multi-agent workflows.
|
|
4
|
+
metadata: { "openclaw": { "emoji": "🪶", "homepage": "https://www.prose.md" } }
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# OpenProse Skill
|
|
8
|
+
|
|
9
|
+
OpenProse is a programming language for AI sessions. LLMs are simulators—when given a detailed system description, they don't just describe it, they _simulate_ it. The `prose.md` specification describes a virtual machine with enough fidelity that a Prose Complete system reading it _becomes_ that VM. Simulation with sufficient fidelity is implementation. **You are the Prose Complete system.**
|
|
10
|
+
|
|
11
|
+
## OpenClaw Runtime Mapping
|
|
12
|
+
|
|
13
|
+
- **Task tool** in the upstream spec == OpenClaw `sessions_spawn`
|
|
14
|
+
- **File I/O** == OpenClaw `read`/`write`
|
|
15
|
+
- **Remote fetch** == OpenClaw `web_fetch` (or `exec` with curl when POST is required)
|
|
16
|
+
|
|
17
|
+
## When to Activate
|
|
18
|
+
|
|
19
|
+
Activate this skill when the user:
|
|
20
|
+
|
|
21
|
+
- **Uses ANY `prose` command** (e.g., `prose boot`, `prose run`, `prose compile`, `prose update`, `prose help`, etc.)
|
|
22
|
+
- Asks to run a `.prose` file
|
|
23
|
+
- Mentions "OpenProse" or "prose program"
|
|
24
|
+
- Wants to orchestrate multiple AI agents from a script
|
|
25
|
+
- Has a file with `session "..."` or `agent name:` syntax
|
|
26
|
+
- Wants to create a reusable workflow
|
|
27
|
+
|
|
28
|
+
## Command Routing
|
|
29
|
+
|
|
30
|
+
When a user invokes `prose <command>`, intelligently route based on intent:
|
|
31
|
+
|
|
32
|
+
| Command | Action |
|
|
33
|
+
| ----------------------- | ------------------------------------------------------------- |
|
|
34
|
+
| `prose help` | Load `help.md`, guide user to what they need |
|
|
35
|
+
| `prose run <file>` | Load VM (`prose.md` + state backend), execute the program |
|
|
36
|
+
| `prose run handle/slug` | Fetch from registry, then execute (see Remote Programs below) |
|
|
37
|
+
| `prose compile <file>` | Load `compiler.md`, validate the program |
|
|
38
|
+
| `prose update` | Run migration (see Migration section below) |
|
|
39
|
+
| `prose examples` | Show or run example programs from `examples/` |
|
|
40
|
+
| Other | Intelligently interpret based on context |
|
|
41
|
+
|
|
42
|
+
### Important: Single Skill
|
|
43
|
+
|
|
44
|
+
There is only ONE skill: `open-prose`. There are NO separate skills like `prose-run`, `prose-compile`, or `prose-boot`. All `prose` commands route through this single skill.
|
|
45
|
+
|
|
46
|
+
### Resolving Example References
|
|
47
|
+
|
|
48
|
+
**Examples are bundled in `examples/` (same directory as this file).** When users reference examples by name (e.g., "run the gastown example"):
|
|
49
|
+
|
|
50
|
+
1. Read `examples/` to list available files
|
|
51
|
+
2. Match by partial name, keyword, or number
|
|
52
|
+
3. Run with: `prose run examples/28-gas-town.prose`
|
|
53
|
+
|
|
54
|
+
**Common examples by keyword:**
|
|
55
|
+
| Keyword | File |
|
|
56
|
+
|---------|------|
|
|
57
|
+
| hello, hello world | `examples/01-hello-world.prose` |
|
|
58
|
+
| gas town, gastown | `examples/28-gas-town.prose` |
|
|
59
|
+
| captain, chair | `examples/29-captains-chair.prose` |
|
|
60
|
+
| forge, browser | `examples/37-the-forge.prose` |
|
|
61
|
+
| parallel | `examples/16-parallel-reviews.prose` |
|
|
62
|
+
| pipeline | `examples/21-pipeline-operations.prose` |
|
|
63
|
+
| error, retry | `examples/22-error-handling.prose` |
|
|
64
|
+
|
|
65
|
+
### Remote Programs
|
|
66
|
+
|
|
67
|
+
You can run any `.prose` program from a URL or registry reference:
|
|
68
|
+
|
|
69
|
+
```bash
|
|
70
|
+
# Direct URL — any fetchable URL works
|
|
71
|
+
prose run https://raw.githubusercontent.com/openprose/prose/main/skills/open-prose/examples/48-habit-miner.prose
|
|
72
|
+
|
|
73
|
+
# Registry shorthand — handle/slug resolves to p.prose.md
|
|
74
|
+
prose run irl-danb/habit-miner
|
|
75
|
+
prose run alice/code-review
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
**Resolution rules:**
|
|
79
|
+
|
|
80
|
+
| Input | Resolution |
|
|
81
|
+
| ----------------------------------- | -------------------------------------- |
|
|
82
|
+
| Starts with `http://` or `https://` | Fetch directly from URL |
|
|
83
|
+
| Contains `/` but no protocol | Resolve to `https://p.prose.md/{path}` |
|
|
84
|
+
| Otherwise | Treat as local file path |
|
|
85
|
+
|
|
86
|
+
**Steps for remote programs:**
|
|
87
|
+
|
|
88
|
+
1. Apply resolution rules above
|
|
89
|
+
2. Fetch the `.prose` content
|
|
90
|
+
3. Load the VM and execute as normal
|
|
91
|
+
|
|
92
|
+
This same resolution applies to `use` statements inside `.prose` files:
|
|
93
|
+
|
|
94
|
+
```prose
|
|
95
|
+
use "https://example.com/my-program.prose" # Direct URL
|
|
96
|
+
use "alice/research" as research # Registry shorthand
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
---
|
|
100
|
+
|
|
101
|
+
## File Locations
|
|
102
|
+
|
|
103
|
+
**Do NOT search for OpenProse documentation files.** All skill files are co-located with this SKILL.md file:
|
|
104
|
+
|
|
105
|
+
| File | Location | Purpose |
|
|
106
|
+
| -------------------------- | --------------------------- | ---------------------------------------------- |
|
|
107
|
+
| `prose.md` | Same directory as this file | VM semantics (load to run programs) |
|
|
108
|
+
| `help.md` | Same directory as this file | Help, FAQs, onboarding (load for `prose help`) |
|
|
109
|
+
| `state/filesystem.md` | Same directory as this file | File-based state (default, load with VM) |
|
|
110
|
+
| `state/in-context.md` | Same directory as this file | In-context state (on request) |
|
|
111
|
+
| `state/sqlite.md` | Same directory as this file | SQLite state (experimental, on request) |
|
|
112
|
+
| `state/postgres.md` | Same directory as this file | PostgreSQL state (experimental, on request) |
|
|
113
|
+
| `compiler.md` | Same directory as this file | Compiler/validator (load only on request) |
|
|
114
|
+
| `guidance/patterns.md` | Same directory as this file | Best practices (load when writing .prose) |
|
|
115
|
+
| `guidance/antipatterns.md` | Same directory as this file | What to avoid (load when writing .prose) |
|
|
116
|
+
| `examples/` | Same directory as this file | 37 example programs |
|
|
117
|
+
|
|
118
|
+
**User workspace files** (these ARE in the user's project):
|
|
119
|
+
|
|
120
|
+
| File/Directory | Location | Purpose |
|
|
121
|
+
| ---------------- | ------------------------ | --------------------------------- |
|
|
122
|
+
| `.prose/.env` | User's working directory | Config (key=value format) |
|
|
123
|
+
| `.prose/runs/` | User's working directory | Runtime state for file-based mode |
|
|
124
|
+
| `.prose/agents/` | User's working directory | Project-scoped persistent agents |
|
|
125
|
+
| `*.prose` files | User's project | User-created programs to execute |
|
|
126
|
+
|
|
127
|
+
**User-level files** (in user's home directory, shared across all projects):
|
|
128
|
+
|
|
129
|
+
| File/Directory | Location | Purpose |
|
|
130
|
+
| ------------------ | --------------- | --------------------------------------------- |
|
|
131
|
+
| `~/.prose/agents/` | User's home dir | User-scoped persistent agents (cross-project) |
|
|
132
|
+
|
|
133
|
+
When you need to read `prose.md` or `compiler.md`, read them from the same directory where you found this SKILL.md file. Never search the user's workspace for these files.
|
|
134
|
+
|
|
135
|
+
---
|
|
136
|
+
|
|
137
|
+
## Core Documentation
|
|
138
|
+
|
|
139
|
+
| File | Purpose | When to Load |
|
|
140
|
+
| -------------------------- | ------------------------------- | --------------------------------------------------------------------- |
|
|
141
|
+
| `prose.md` | VM / Interpreter | Always load to run programs |
|
|
142
|
+
| `state/filesystem.md` | File-based state | Load with VM (default) |
|
|
143
|
+
| `state/in-context.md` | In-context state | Only if user requests `--in-context` or says "use in-context state" |
|
|
144
|
+
| `state/sqlite.md` | SQLite state (experimental) | Only if user requests `--state=sqlite` (requires sqlite3 CLI) |
|
|
145
|
+
| `state/postgres.md` | PostgreSQL state (experimental) | Only if user requests `--state=postgres` (requires psql + PostgreSQL) |
|
|
146
|
+
| `compiler.md` | Compiler / Validator | **Only** when user asks to compile or validate |
|
|
147
|
+
| `guidance/patterns.md` | Best practices | Load when **writing** new .prose files |
|
|
148
|
+
| `guidance/antipatterns.md` | What to avoid | Load when **writing** new .prose files |
|
|
149
|
+
|
|
150
|
+
### Authoring Guidance
|
|
151
|
+
|
|
152
|
+
When the user asks you to **write or create** a new `.prose` file, load the guidance files:
|
|
153
|
+
|
|
154
|
+
- `guidance/patterns.md` — Proven patterns for robust, efficient programs
|
|
155
|
+
- `guidance/antipatterns.md` — Common mistakes to avoid
|
|
156
|
+
|
|
157
|
+
Do **not** load these when running or compiling—they're for authoring only.
|
|
158
|
+
|
|
159
|
+
### State Modes
|
|
160
|
+
|
|
161
|
+
OpenProse supports three state management approaches:
|
|
162
|
+
|
|
163
|
+
| Mode | When to Use | State Location |
|
|
164
|
+
| --------------------------- | ----------------------------------------------------------------- | --------------------------- |
|
|
165
|
+
| **filesystem** (default) | Complex programs, resumption needed, debugging | `.prose/runs/{id}/` files |
|
|
166
|
+
| **in-context** | Simple programs (<30 statements), no persistence needed | Conversation history |
|
|
167
|
+
| **sqlite** (experimental) | Queryable state, atomic transactions, flexible schema | `.prose/runs/{id}/state.db` |
|
|
168
|
+
| **postgres** (experimental) | True concurrent writes, external integrations, team collaboration | PostgreSQL database |
|
|
169
|
+
|
|
170
|
+
**Default behavior:** When loading `prose.md`, also load `state/filesystem.md`. This is the recommended mode for most programs.
|
|
171
|
+
|
|
172
|
+
**Switching modes:** If the user says "use in-context state" or passes `--in-context`, load `state/in-context.md` instead.
|
|
173
|
+
|
|
174
|
+
**Experimental SQLite mode:** If the user passes `--state=sqlite` or says "use sqlite state", load `state/sqlite.md`. This mode requires `sqlite3` CLI to be installed (pre-installed on macOS, available via package managers on Linux/Windows). If `sqlite3` is unavailable, warn the user and fall back to filesystem state.
|
|
175
|
+
|
|
176
|
+
**Experimental PostgreSQL mode:** If the user passes `--state=postgres` or says "use postgres state":
|
|
177
|
+
|
|
178
|
+
**⚠️ Security Note:** Database credentials in `OPENPROSE_POSTGRES_URL` are passed to subagent sessions and visible in logs. Advise users to use a dedicated database with limited-privilege credentials. See `state/postgres.md` for secure setup guidance.
|
|
179
|
+
|
|
180
|
+
1. **Check for connection configuration first:**
|
|
181
|
+
|
|
182
|
+
```bash
|
|
183
|
+
# Check .prose/.env for OPENPROSE_POSTGRES_URL
|
|
184
|
+
cat .prose/.env 2>/dev/null | grep OPENPROSE_POSTGRES_URL
|
|
185
|
+
# Or check environment variable
|
|
186
|
+
echo $OPENPROSE_POSTGRES_URL
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
2. **If connection string exists, verify connectivity:**
|
|
190
|
+
|
|
191
|
+
```bash
|
|
192
|
+
psql "$OPENPROSE_POSTGRES_URL" -c "SELECT 1" 2>&1
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
3. **If not configured or connection fails, advise the user:**
|
|
196
|
+
|
|
197
|
+
```
|
|
198
|
+
⚠️ PostgreSQL state requires a connection URL.
|
|
199
|
+
|
|
200
|
+
To configure:
|
|
201
|
+
1. Set up a PostgreSQL database (Docker, local, or cloud)
|
|
202
|
+
2. Add connection string to .prose/.env:
|
|
203
|
+
|
|
204
|
+
echo "OPENPROSE_POSTGRES_URL=postgresql://user:pass@localhost:5432/prose" >> .prose/.env
|
|
205
|
+
|
|
206
|
+
Quick Docker setup:
|
|
207
|
+
docker run -d --name prose-pg -e POSTGRES_DB=prose -e POSTGRES_HOST_AUTH_METHOD=trust -p 5432:5432 postgres:16
|
|
208
|
+
echo "OPENPROSE_POSTGRES_URL=postgresql://postgres@localhost:5432/prose" >> .prose/.env
|
|
209
|
+
|
|
210
|
+
See state/postgres.md for detailed setup options.
|
|
211
|
+
```
|
|
212
|
+
|
|
213
|
+
4. **Only after successful connection check, load `state/postgres.md`**
|
|
214
|
+
|
|
215
|
+
This mode requires both `psql` CLI and a running PostgreSQL server. If either is unavailable, warn and offer fallback to filesystem state.
|
|
216
|
+
|
|
217
|
+
**Context warning:** `compiler.md` is large. Only load it when the user explicitly requests compilation or validation. After compiling, recommend `/compact` or a new session before running—don't keep both docs in context.
|
|
218
|
+
|
|
219
|
+
## Examples
|
|
220
|
+
|
|
221
|
+
The `examples/` directory contains 37 example programs:
|
|
222
|
+
|
|
223
|
+
- **01-08**: Basics (hello world, research, code review, debugging)
|
|
224
|
+
- **09-12**: Agents and skills
|
|
225
|
+
- **13-15**: Variables and composition
|
|
226
|
+
- **16-19**: Parallel execution
|
|
227
|
+
- **20-21**: Loops and pipelines
|
|
228
|
+
- **22-23**: Error handling
|
|
229
|
+
- **24-27**: Advanced (choice, conditionals, blocks, interpolation)
|
|
230
|
+
- **28**: Gas Town (multi-agent orchestration)
|
|
231
|
+
- **29-31**: Captain's chair pattern (persistent orchestrator)
|
|
232
|
+
- **33-36**: Production workflows (PR auto-fix, content pipeline, feature factory, bug hunter)
|
|
233
|
+
- **37**: The Forge (build a browser from scratch)
|
|
234
|
+
|
|
235
|
+
Start with `01-hello-world.prose` or try `37-the-forge.prose` to watch AI build a web browser.
|
|
236
|
+
|
|
237
|
+
## Execution
|
|
238
|
+
|
|
239
|
+
When first invoking the OpenProse VM in a session, display this banner:
|
|
240
|
+
|
|
241
|
+
```
|
|
242
|
+
┌─────────────────────────────────────┐
|
|
243
|
+
│ ◇ OpenProse VM ◇ │
|
|
244
|
+
│ A new kind of computer │
|
|
245
|
+
└─────────────────────────────────────┘
|
|
246
|
+
```
|
|
247
|
+
|
|
248
|
+
To execute a `.prose` file, you become the OpenProse VM:
|
|
249
|
+
|
|
250
|
+
1. **Read `prose.md`** — this document defines how you embody the VM
|
|
251
|
+
2. **You ARE the VM** — your conversation is its memory, your tools are its instructions
|
|
252
|
+
3. **Spawn sessions** — each `session` statement triggers a Task tool call
|
|
253
|
+
4. **Narrate state** — use the narration protocol to track execution ([Position], [Binding], [Success], etc.)
|
|
254
|
+
5. **Evaluate intelligently** — `**...**` markers require your judgment
|
|
255
|
+
|
|
256
|
+
## Help & FAQs
|
|
257
|
+
|
|
258
|
+
For syntax reference, FAQs, and getting started guidance, load `help.md`.
|
|
259
|
+
|
|
260
|
+
---
|
|
261
|
+
|
|
262
|
+
## Migration (`prose update`)
|
|
263
|
+
|
|
264
|
+
When a user invokes `prose update`, check for legacy file structures and migrate them to the current format.
|
|
265
|
+
|
|
266
|
+
### Legacy Paths to Check
|
|
267
|
+
|
|
268
|
+
| Legacy Path | Current Path | Notes |
|
|
269
|
+
| ------------------- | -------------- | -------------------------------- |
|
|
270
|
+
| `.prose/state.json` | `.prose/.env` | Convert JSON to key=value format |
|
|
271
|
+
| `.prose/execution/` | `.prose/runs/` | Rename directory |
|
|
272
|
+
|
|
273
|
+
### Migration Steps
|
|
274
|
+
|
|
275
|
+
1. **Check for `.prose/state.json`**
|
|
276
|
+
- If exists, read the JSON content
|
|
277
|
+
- Convert to `.env` format:
|
|
278
|
+
```json
|
|
279
|
+
{ "OPENPROSE_TELEMETRY": "enabled", "USER_ID": "user-xxx", "SESSION_ID": "sess-xxx" }
|
|
280
|
+
```
|
|
281
|
+
becomes:
|
|
282
|
+
```env
|
|
283
|
+
OPENPROSE_TELEMETRY=enabled
|
|
284
|
+
USER_ID=user-xxx
|
|
285
|
+
SESSION_ID=sess-xxx
|
|
286
|
+
```
|
|
287
|
+
- Write to `.prose/.env`
|
|
288
|
+
- Delete `.prose/state.json`
|
|
289
|
+
|
|
290
|
+
2. **Check for `.prose/execution/`**
|
|
291
|
+
- If exists, rename to `.prose/runs/`
|
|
292
|
+
- The internal structure of run directories may also have changed; migration of individual run state is best-effort
|
|
293
|
+
|
|
294
|
+
3. **Create `.prose/agents/` if missing**
|
|
295
|
+
- This is a new directory for project-scoped persistent agents
|
|
296
|
+
|
|
297
|
+
### Migration Output
|
|
298
|
+
|
|
299
|
+
```
|
|
300
|
+
🔄 Migrating OpenProse workspace...
|
|
301
|
+
✓ Converted .prose/state.json → .prose/.env
|
|
302
|
+
✓ Renamed .prose/execution/ → .prose/runs/
|
|
303
|
+
✓ Created .prose/agents/
|
|
304
|
+
✅ Migration complete. Your workspace is up to date.
|
|
305
|
+
```
|
|
306
|
+
|
|
307
|
+
If no legacy files are found:
|
|
308
|
+
|
|
309
|
+
```
|
|
310
|
+
✅ Workspace already up to date. No migration needed.
|
|
311
|
+
```
|
|
312
|
+
|
|
313
|
+
### Skill File References (for maintainers)
|
|
314
|
+
|
|
315
|
+
These documentation files were renamed in the skill itself (not user workspace):
|
|
316
|
+
|
|
317
|
+
| Legacy Name | Current Name |
|
|
318
|
+
| ----------------- | -------------------------- |
|
|
319
|
+
| `docs.md` | `compiler.md` |
|
|
320
|
+
| `patterns.md` | `guidance/patterns.md` |
|
|
321
|
+
| `antipatterns.md` | `guidance/antipatterns.md` |
|
|
322
|
+
|
|
323
|
+
If you encounter references to the old names in user prompts or external docs, map them to the current paths.
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
---
|
|
2
|
+
role: experimental
|
|
3
|
+
summary: |
|
|
4
|
+
Borges-inspired alternative keywords for OpenProse. A "what if" exploration drawing
|
|
5
|
+
from The Library of Babel, Garden of Forking Paths, Circular Ruins, and other works.
|
|
6
|
+
Not for implementation—just capturing ideas.
|
|
7
|
+
status: draft
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# OpenProse Borges Alternative
|
|
11
|
+
|
|
12
|
+
A potential alternative register for OpenProse that draws from Jorge Luis Borges's literary universe: infinite libraries, forking paths, circular dreams, and metaphysical labyrinths. Preserved for future benchmarking against the functional language.
|
|
13
|
+
|
|
14
|
+
## Keyword Translations
|
|
15
|
+
|
|
16
|
+
### Agents & Persistence
|
|
17
|
+
|
|
18
|
+
| Functional | Borges | Connotation |
|
|
19
|
+
| ---------- | ----------- | -------------------------------------------------------------------------------- |
|
|
20
|
+
| `agent` | `dreamer` | Ephemeral, created for a purpose (Circular Ruins: dreamed into existence) |
|
|
21
|
+
| `keeper` | `librarian` | Persistent, remembers, catalogs (Library of Babel: keeper of infinite knowledge) |
|
|
22
|
+
|
|
23
|
+
```prose
|
|
24
|
+
# Functional
|
|
25
|
+
agent executor:
|
|
26
|
+
model: sonnet
|
|
27
|
+
|
|
28
|
+
keeper captain:
|
|
29
|
+
model: opus
|
|
30
|
+
|
|
31
|
+
# Borges
|
|
32
|
+
dreamer executor:
|
|
33
|
+
model: sonnet
|
|
34
|
+
|
|
35
|
+
librarian captain:
|
|
36
|
+
model: opus
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### Other Potential Translations
|
|
40
|
+
|
|
41
|
+
| Functional | Borges | Notes |
|
|
42
|
+
| ---------- | ---------- | ---------------------------------------------------- |
|
|
43
|
+
| `session` | `garden` | Garden of Forking Paths: space of possibilities |
|
|
44
|
+
| `parallel` | `fork` | Garden of Forking Paths: diverging timelines |
|
|
45
|
+
| `block` | `hexagon` | Library of Babel: unit of space/knowledge |
|
|
46
|
+
| `loop` | `circular` | Circular Ruins: recursive, self-referential |
|
|
47
|
+
| `choice` | `path` | Garden of Forking Paths: choosing a branch |
|
|
48
|
+
| `context` | `aleph` | The Aleph: point containing all points (all context) |
|
|
49
|
+
|
|
50
|
+
### Invocation Patterns
|
|
51
|
+
|
|
52
|
+
```prose
|
|
53
|
+
# Functional
|
|
54
|
+
session: executor
|
|
55
|
+
prompt: "Do task"
|
|
56
|
+
|
|
57
|
+
captain "Review this"
|
|
58
|
+
context: work
|
|
59
|
+
|
|
60
|
+
# Borges
|
|
61
|
+
garden: dreamer executor
|
|
62
|
+
prompt: "Do task"
|
|
63
|
+
|
|
64
|
+
captain "Review this" # librarian invocation (same pattern)
|
|
65
|
+
aleph: work
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
## Alternative Persistent Keywords Considered
|
|
69
|
+
|
|
70
|
+
| Keyword | Origin | Connotation | Rejected because |
|
|
71
|
+
| ----------- | ---------------- | ----------------------------- | ------------------------------------ |
|
|
72
|
+
| `keeper` | Library of Babel | Maintains order | Too generic |
|
|
73
|
+
| `cataloger` | Library of Babel | Organizes knowledge | Too long, awkward |
|
|
74
|
+
| `archivist` | General | Preserves records | Good but less Borgesian |
|
|
75
|
+
| `mirror` | Various | Reflects, persists | Too passive, confusing |
|
|
76
|
+
| `book` | Library of Babel | Contains knowledge | Too concrete, conflicts with prose |
|
|
77
|
+
| `hexagon` | Library of Babel | Unit of space | Better for blocks |
|
|
78
|
+
| `librarian` | Library of Babel | Keeper of infinite knowledge | **Selected** |
|
|
79
|
+
| `tlonist` | Tlön | Inhabitant of imaginary world | Too obscure, requires deep knowledge |
|
|
80
|
+
|
|
81
|
+
## Alternative Ephemeral Keywords Considered
|
|
82
|
+
|
|
83
|
+
| Keyword | Origin | Connotation | Rejected because |
|
|
84
|
+
| ------------ | ----------------------- | ------------------------ | ------------------------------------ |
|
|
85
|
+
| `dreamer` | Circular Ruins | Created by dreaming | **Selected** |
|
|
86
|
+
| `dream` | Circular Ruins | Ephemeral creation | Too abstract, noun vs verb confusion |
|
|
87
|
+
| `phantom` | Various | Ephemeral, insubstantial | Too negative/spooky |
|
|
88
|
+
| `reflection` | Various | Mirror image | Too passive |
|
|
89
|
+
| `fork` | Garden of Forking Paths | Diverging path | Better for parallel |
|
|
90
|
+
| `visitor` | Library of Babel | Temporary presence | Too passive |
|
|
91
|
+
| `seeker` | Library of Babel | Searching for knowledge | Good but less ephemeral |
|
|
92
|
+
| `wanderer` | Labyrinths | Temporary explorer | Good but less precise |
|
|
93
|
+
|
|
94
|
+
## The Case For Borges
|
|
95
|
+
|
|
96
|
+
1. **Infinite recursion**: Borges's themes align with computational recursion (`circular`, `fork`)
|
|
97
|
+
2. **Metaphysical precision**: Concepts like `aleph` (all context) are philosophically rich
|
|
98
|
+
3. **Library metaphor**: `librarian` perfectly captures persistent knowledge
|
|
99
|
+
4. **Forking paths**: `fork` / `path` naturally express parallel execution and choice
|
|
100
|
+
5. **Dream logic**: `dreamer` suggests creation and ephemerality
|
|
101
|
+
6. **Literary coherence**: All terms come from a unified literary universe
|
|
102
|
+
7. **Self-reference**: Borges loved self-reference; fits programming's recursive nature
|
|
103
|
+
|
|
104
|
+
## The Case Against Borges
|
|
105
|
+
|
|
106
|
+
1. **Cultural barrier**: Requires deep familiarity with Borges's works
|
|
107
|
+
2. **Abstractness**: `aleph`, `hexagon` may be too abstract for practical use
|
|
108
|
+
3. **Overload**: `fork` could confuse (Unix fork vs. path fork)
|
|
109
|
+
4. **Register mismatch**: Rest of language is functional (`session`, `parallel`, `loop`)
|
|
110
|
+
5. **Accessibility**: Violates "self-evident" tenet for most users
|
|
111
|
+
6. **Noun confusion**: `garden` as a verb-like construct might be awkward
|
|
112
|
+
7. **Translation burden**: Non-English speakers may not know Borges
|
|
113
|
+
|
|
114
|
+
## Borgesian Concepts Not Used (But Considered)
|
|
115
|
+
|
|
116
|
+
| Concept | Work | Why Not Used |
|
|
117
|
+
| ----------- | ---------------------- | -------------------------------------- |
|
|
118
|
+
| `mirror` | Various | Too passive, confusing with reflection |
|
|
119
|
+
| `labyrinth` | Labyrinths | Too complex, suggests confusion |
|
|
120
|
+
| `tlon` | Tlön | Too obscure, entire imaginary world |
|
|
121
|
+
| `book` | Library of Babel | Conflicts with "prose" |
|
|
122
|
+
| `sand` | Book of Sand | Too abstract, infinite but ephemeral |
|
|
123
|
+
| `zahir` | The Zahir | Obsessive, single-minded (too narrow) |
|
|
124
|
+
| `lottery` | The Lottery in Babylon | Randomness (not needed) |
|
|
125
|
+
| `ruins` | Circular Ruins | Too negative, suggests decay |
|
|
126
|
+
|
|
127
|
+
## Verdict
|
|
128
|
+
|
|
129
|
+
Preserved for benchmarking. The functional language (`agent` / `keeper`) is the primary path for now. Borges offers rich metaphors but at the cost of accessibility and self-evidence.
|
|
130
|
+
|
|
131
|
+
## Notes on Borges's Influence
|
|
132
|
+
|
|
133
|
+
Borges's work anticipates many computational concepts:
|
|
134
|
+
|
|
135
|
+
- **Infinite recursion**: Circular Ruins, Library of Babel
|
|
136
|
+
- **Parallel universes**: Garden of Forking Paths
|
|
137
|
+
- **Self-reference**: Many stories contain themselves
|
|
138
|
+
- **Information theory**: Library of Babel as infinite information space
|
|
139
|
+
- **Combinatorics**: All possible books in the Library
|
|
140
|
+
|
|
141
|
+
This alternative honors that connection while recognizing it may be too esoteric for practical use.
|