Skip to content

Latest commit

 

History

History
58 lines (41 loc) · 3.71 KB

File metadata and controls

58 lines (41 loc) · 3.71 KB
category wiki-concept
updated 2026-05-31
tags
plg
compiler
reference

Prompt Logic Gates (PLG) - Wiki Index

Welcome to the Prompt Logic Gates (PLG) internal knowledge base. This wiki serves as the compiled, structured synthesis of all engineering research, visual programming components, semantic compiler engines, and execution workflows for the PLG IDE.


🗺️ Core Concepts

  • [Overview] - Executive summary of the Prompt Logic Gates concept, semantic prompt compilation philosophy, and design vision.
  • [Context Memory] - Detailed specifications of the Visual Context Memory Node, topological sorting, and exact-term constraints.
  • [Workflows] - Structural guide on constructing prompt circuits, routing inputs, resolving gate traces, and troubleshooting logic graphs.

⚙️ Reference & Engine

  • [Architecture] - In-depth guide to the core React Flow layout, node state binders, stage tracing, topological sorting algorithms, and reactive sync states.
  • [Nodes Reference] - Complete API-grade layout documentation of all visual flow node elements, data bindings, execution logic, and port handle definitions.
  • [Compiler Engine] - Detailed specifications of the semantic parsing rules, categorical term dictionaries, overlap scoring formulas, baseline conflicts, and LLM gate prompts.
  • [Priority Manager] - Conceptual design of the multi-domain priority router and domain-specific classification schema.

📜 Logs & History

  • [Timeline Log] - Append-only chronological history ledger tracking all research ingests, compiler feature releases, and system updates.

🛠️ Wiki Status

Note

This wiki is designed to be auto-maintained by LLM agents acting in collaboration with developers. Periodically execute a /lint check to verify that all relative paths, node definitions, and compiler rules remain structurally sound.


📖 Full Documentation Suite

A comprehensive 10-page documentation suite is available in the documentation/ directory:

  • [README] - Documentation entry point and project overview.
  • [Getting Started] - Installation, setup, and first compilation.
  • [How It Works] - Architecture, data flow, and compilation pipeline.
  • [Nodes Guide] - Every node explained with handles, fields, and usage examples.
  • [Compiler Engine] - Semantic categories, conflict matrix, scoring formula, and AI prompts.
  • [UI Reference] - Top bar, palette, canvas, inspector, and settings modal.
  • [Workflows & Tutorials] - 6 step-by-step circuit building guides.
  • [API & AI Integration] - Multi-provider configuration and CORS proxy.
  • [Project Structure] - File tree and code architecture.
  • [Design System] - CSS tokens, colors, typography, and component styling.
  • [Developer Setup] - Local environment installation, prerequisites, cloning, and running the Vite server.
  • [Coding Standards] - Pure-CSS guidelines, custom HSL theme tokens, React Flow bindings, and compiler sorting algorithms.
  • [LLM Agent Automation] - Ingest/refine ledger logging protocols and copy-pasteable prompts to auto-document features using AI.