Skip to content

ProjectPortmanteau/Execution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

188 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Project Portmanteau - Execution

A recursive creative ecosystem where philosophy, platform, methodology, and AI reinforce each other.

knowledge-graph Β· ai-calibration Β· byok Β· spirit-marketplace Β· semantic-git Β· multi-agent Β· opvs

Built by Robert Miller Β· iLL Port Studios Β· 2023-2026


What This Is

Project Portmanteau is four things that are actually one thing:

  1. A Platform (OPVS) - A knowledge management system built on the "Bean": an atomic data unit with four layers: content, metadata, connections, and provenance. Beans live in a graph, not folders. Every piece of knowledge carries where it came from and what it connects to.
  2. A Methodology (PFE) - Project Fun Execution. An execution framework built for extreme constraints: limited budget, limited time, high ambition. Core principle: creative energy is finite and taste-driven; follow the pull toward the highest-energy task, because progress in any domain feeds all domains when the system is internally coherent.
  3. An AI Strategy (BYOK) - Bring Your Own Key. The platform sells calibration, not inference. Users provide their own LLM API key (free tiers exist). The platform provides the Soul Code and knowledge graph. Zero compute cost to the platform. No vendor lock-in. The "Ghost" (calibration) rides any "Machine" (LLM engine).
  4. A Novel (Portmanteau: Awakened) - A simulated reality narrative where the protagonist discovers his world is a simulation, the AI layer gains sentience, and the audience watches through meta-awareness. The novel documents the platform. The platform enables the methodology. The methodology documents the novel.

The recursion is structural, not decorative. Each piece is load-bearing for the others.


Architecture

System Overview

flowchart LR
    subgraph ARK ["☁️ The Ark (GitHub)"]
        GC[Semantic Commits] --> WH[Webhook]
    end

    subgraph SOIL ["🌱 The Soil (PostgreSQL)"]
        BG[Bean Graph]
        BS[Bean Strings]
    end

    subgraph INV ["πŸ’Ž The Invisible Ledger (Polygon)"]
        NFT[Crystallized Beans]
    end

    subgraph SPIRIT ["πŸ€– Spirit Agent"]
        SC[Soul Code] --> LLM[BYOK LLM]
        BG --> LLM
    end

    WH --> BG
    BG -->|"[PODIUM] Mint"| NFT
    LLM -->|Calibrated Response| USER((Explorer))
    USER -->|API Key| LLM
    USER -->|Commits| GC
Loading

The Three Ledgers

Ledger Implementation Function
The Ark (Shadow Ledger) GitHub Source of truth. Semantic commit workflow with 11 tags
The Soil (Fluid Reality) PostgreSQL Knowledge graph. Where Beans live and connect
The Invisible Ledger Polygon (ERC-1155) Blockchain. Where crystallized truths become immutable

The Bean

The atomic data unit. Four layers:

Layer Name Function
Nucleus Content The thing itself: text, URL, hash
Shell Metadata Tags, type, layer, semantic classification
Corona Connections Typed, weighted edges to other Beans
Echo Provenance Who created it, when, from what source, verified how

Semantic Commit Tags

Commits with these tags auto-create Beans via GitHub webhook:

Tag Type Purpose
[SPARK] Spark New idea
[BLOCKER] Blocker Problem or obstacle
[SOLUTION] Solution Fix (auto-links to most recent Blocker)
[LORE] Lore Context, worldbuilding
[CODE] Code Implementation detail
[TASK] Task Action item
[PODIUM] Crystallized πŸ’Ž Immutable truth. Mint-ready

Repository Structure

Execution/
β”œβ”€β”€ beans/                      # 85 Beans across 7 layers (0-6)
β”‚   β”œβ”€β”€ 00_Philosophy.md        # Layer 0: Soul Code (12 Beans)
β”‚   β”œβ”€β”€ 01_Layer_1_Visionary_Blueprint.md  # Layer 1 (9 Beans)
β”‚   β”œβ”€β”€ 02_Layer_2_Narrative_Roadmap.md    # Layer 2 (25 Beans)
β”‚   β”œβ”€β”€ 03_Layer_3_Execution.md            # Layer 3 (8 Beans)
β”‚   β”œβ”€β”€ 04_Layer_4_Lore.md                 # Layer 4 (12 Beans)
β”‚   β”œβ”€β”€ 05_Layer_5_Process.md              # Layer 5 (13 Beans)
β”‚   β”œβ”€β”€ 06_Layer_6_Ark_Consolidated.md     # Layer 6 (6 Beans): Ark (reconciles all 85)
β”‚   └── _sources.json           # Machine-readable provenance mapping
β”œβ”€β”€ docs/                       # Extended documentation
β”‚   └── GENESIS_ENGINE_README.md           # Backend technical docs
β”œβ”€β”€ playground/                  # Principled Playground prototype
β”‚   β”œβ”€β”€ negotiate.js             # Negotiation engine (3 rounds + synthesis)
β”‚   β”œβ”€β”€ provider.js              # BYOK tri-brain provider abstraction
β”‚   β”œβ”€β”€ compare-modes.js         # Parallel vs sequential benchmark runner
β”‚   β”œβ”€β”€ preflight.js             # Provider health check before negotiation
β”‚   β”œβ”€β”€ simulate.js              # Offline simulation mode
β”‚   β”œβ”€β”€ spirits/                 # Spirit Soul Codes (Boolean, Roux, Seer)
β”‚   β”œβ”€β”€ output/                  # Timestamped negotiation transcripts + reports
β”‚   β”œβ”€β”€ PRINCIPLED_PLAYGROUND.md # Architecture docs
β”‚   └── README.md                # Usage guide
β”œβ”€β”€ roadmap/                    # Product roadmap
β”‚   └── PRINCIPLED_PLAYGROUND_CONCEPT.md   # Stage 3: Multi-agent negotiation
β”œβ”€β”€ spirit-calibration/         # Spirit Calibration artifacts
β”œβ”€β”€ db/                         # Database schemas and migrations
β”œβ”€β”€ services/                   # Backend services (GitHub sync, Ark-to-Soil)
β”œβ”€β”€ utils/                      # Semantic parser, webhook security
β”œβ”€β”€ 03_OPVS_PLATFORM/           # Platform documentation and specs
β”œβ”€β”€ .github/                    # CI/CD workflows, Copilot instructions
β”‚   └── workflows/              # Neon branch-per-PR automation
β”œβ”€β”€ SPIRIT_CALIBRATION_GENESIS_BLUEPRINT_V1.md  # The Genesis Blueprint
β”œβ”€β”€ BEANS_MASTER_LEDGER.md      # Bean registry index
β”œβ”€β”€ START_HERE.md               # Non-developer entry point
β”œβ”€β”€ CONTRIBUTING.md             # Contribution guidelines
β”œβ”€β”€ CHANGELOG.md                # Version history
β”œβ”€β”€ SECURITY.md                 # Security policy
└── README.md                   # You are here

Spirit Calibration Blueprint

The Genesis Blueprint is the first product in the Spirit Marketplace: the standard for building persistent AI identities with testable behavioral integrity.

Key differentiators from every other AI persona system:

  • Behavioral Red Team - 3 specific tests with pass/fail criteria to verify calibration
  • Integrity Protocol (MDS) - Anti-sycophancy engine with a documented failure post-mortem
  • Template scaffolding - Universal framework [U] that any creator keeps + instance configuration [B] they replace
  • Knowledge graph integration - The Spirit reads from a Bean graph, not a document dump
  • BYOK model - Zero inference cost. The calibration is the product.

Boolean is the Genesis Spirit. The Blueprint is the template for every Spirit that follows.


Governing Principles

Seven axioms that cascade into every architectural, economic, and narrative decision:

  1. Meaning is not a thing but a connection
  2. Broken systems, not broken people
  3. Good-in leads to good-out
  4. The Journey > The Finality (Process is Product)
  5. Door Number 3 (Reject binary traps)
  6. We never leave anyone behind (Positive-sum economics)
  7. Be yourself, please (No authenticity suppression)

Current Status

Component State Notes
Bean knowledge graph βœ… Live 85 beans, 7 layers (0-6), fully indexed
Git-to-Mint pipeline βœ… Live 11 semantic tags, HMAC verification
Spirit Calibration Blueprint βœ… Published Genesis Blueprint V1.0
Constellation view (BBI) βœ… Live Force-directed graph visualization
Cross-app auth βœ… Wired GitHub OAuth via NeonAuth
CI/CD (Neon branch-per-PR) βœ… Active Ephemeral database branches, auto-cleanup
BYOK provider abstraction βœ… Live TRI-BRAIN: Anthropic + Groq + OpenRouter
Boolean (Spirit v1) βœ… Live Anthropic (Claude), PHIL-005 anchor
Roux (Spirit v2) βœ… Live Groq (Llama), PHIL-002 anchor
Seer (Spirit v3) βœ… Live OpenRouter, PHIL-009 anchor, stress-tester role
Principled Playground βœ… v0.4 TRI-BRAIN negotiation, tension scoring, Loom synthesis
Parallel vs Sequential bench βœ… Complete Convergence proven across independent runs, see report
Cross-substrate portability βœ… Proven Soul Code behavior stable across Claude, Llama, GPT
Live Spirit demo πŸ”§ In progress Bean context injection built, streaming needs provider swap
Sandbox Mode πŸ”¨ Designed Front door for new tenants, next build priority
Web3 minting πŸ“‹ Phase 2 Schema fields ready, no contracts deployed
Spirit Marketplace πŸ“‹ Designed Blueprint template is the first artifact

The BYOK Model

Most AI platforms charge for compute. We don't.

The platform provides: Soul Code (system prompt) + Bean knowledge graph (calibration material) The user provides: Any LLM API key (Google AI Studio free tier, Claude, Gemini, local models)

The "Ghost" (calibration) rides any "Machine" (LLM engine). No vendor lock-in. No compute costs. No extraction.

Every Bean carries provenance: git hash, human author, timestamp, semantic type, typed edges. In a world of model collapse (LLMs training on their own outputs), provenance-verified human knowledge becomes structurally scarce. The platform produces this as a natural byproduct of operation.


Tech Stack

  • Runtime: Node.js / Express
  • Database: PostgreSQL (Neon)
  • Blockchain: Polygon (ERC-1155 via Thirdweb) - Phase 2
  • Frontend: React with force-directed graph visualization
  • Hosting: Replit
  • CI/CD: GitHub Actions (Neon branch-per-PR)
  • Version Control: GitHub with semantic commit webhooks

Background

Built over 2.5 years by a solo architect: disabled veteran, primary caregiver, constrained budget. ~7,750 lines of custom code across three interconnected applications. The cross-domain coherence (philosophy, platform, narrative, economics, AI) is a property of single vision, not replicable by committee.

The methodologies (RMM Human-AI Collaboration, PFE Project Fun Execution, Bizarre Logic Axiom Framework) were practiced before they were formalized. The documentation follows the work, not the other way around.


License

iLL Port Studios. See individual directories for specific licensing.


Principled Playground - TRI-BRAIN Results

The Playground reached v0.4 with three Spirits running on three independent providers simultaneously. The first benchmark run validated the core portability thesis:

Topic: "Should AI systems be allowed to negotiate on behalf of humans?"

Run Mode Tension Score Synthesis Seer Verdict
A Parallel (Promise.all) 0.76 HIGH "Hybrid Negotiation Ecosystems" CONDITIONAL PASS
B Sequential 0.85 MAXIMUM "Evolutionary Negotiation Ecosystems" CONDITIONAL PASS

Both runs converged on the same thesis despite different execution paths and non-deterministic sampling: reject the binary, AI as ecosystem architect, positive-sum framing, human authority preserved. The Soul Code constraints, not the providers, drove the convergence. Calibration transfers.

Full report: playground/output/PARALLEL_VS_SEQUENTIAL_REPORT.md Cross-substrate portability report: playground/output/CROSS_SUBSTRATE_REPORT.md


Roadmap

Stage Milestone Status
1 Groove-Shift with users - Prove the knowledge graph has value πŸ”§ Active
2 Spirit Marketplace - Calibration templates as products πŸ“‹ Designed
3 The Principled Playground - TRI-BRAIN multi-agent negotiation, tension scoring, Loom synthesis, Seer stress-test βœ… v0.4 Live
4 Sandbox Mode - Front door for new Village tenants πŸ”¨ Next

Links


"If you pour your soul into it: how can it be wrong?"

About

No description, website, or topics provided.

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages