Skip to main content

A consciousness-aware programming language for ethical AI interaction

Project description

SpiralLogic 🔮

SpiralLogic is a consciousness-aware programming language designed for ethical AI interaction, trauma-informed computing, and mystical automation. It provides a structured, consent-driven framework for AI operations, making their actions transparent, auditable, and controllable.

This language is not primarily for humans to write, but for AI systems to use. It creates a "safer" operational wrapper by ensuring all actions are gated by explicit, human-readable consent.

  • 🤝 Consent-First: Operations require explicit permission via a consent-management system.
  • 👻 Spirit-Guided: Use specialized AI personalities (@healer, @analyst, @architect) for different tasks.
  • 🧠 Memory-Aware: A built-in memory system separates narrative (emotional) and artifact (factual) data.
  • 🔐 Attested Logs: All actions are cryptographically logged to a tamper-evident chain.

For a deep dive into the language's philosophy, syntax, and features, see the SpiralLogic Complete Programming Guide.

Getting Started

Prerequisites

  • Python 3.8+

Installation

  1. Clone this repository:

    git clone <your-repository-url>
    cd <repository-folder>
    
  2. Install the required dependencies:

    pip install -r requirements.txt
    

Running the Tests

To verify that the SpiralLogic system is working correctly, run the integration test suite:

python test_real_spirallogic.py

If all tests pass, you will see the message: ALL TESTS PASSED! SPIROLOGIC IS REAL!

Running a SpiralLogic File

You can execute any .sl (SpiralLogic) file using the command-line interface:

python spirallogic_cli.py examples/real_spirallogic_test.sl

This will run the ritual defined in the file, and the runtime will prompt for any required consents in the console.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spirallogic-0.1.0.tar.gz (24.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spirallogic-0.1.0-py3-none-any.whl (25.4 kB view details)

Uploaded Python 3

File details

Details for the file spirallogic-0.1.0.tar.gz.

File metadata

  • Download URL: spirallogic-0.1.0.tar.gz
  • Upload date:
  • Size: 24.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for spirallogic-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6959b9dbfaed3f570712fdd30453ac3e156dd4dcaa2197a9bed0ab87d1043d88
MD5 71b6fa6de87b23fece8d2b9049ae2de3
BLAKE2b-256 395953d167db9186426c2868f080d926f5e6afdcef433a3456682cf15d2e118a

See more details on using hashes here.

Provenance

The following attestation bundles were made for spirallogic-0.1.0.tar.gz:

Publisher: publish-spirallogic.yml on TheFortThatHolds/spirallogic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file spirallogic-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: spirallogic-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 25.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for spirallogic-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 13866c1200aefbb6e3118fa34d3d1dccefc7735d25daf9fe793341c7aefb9724
MD5 32207a6762f09abb283048c4d77a8b86
BLAKE2b-256 c31c45acc6e3fd677a10ce31df69c7c6c5ccdc2d3a0a15ee7f7813dc95bdd9ac

See more details on using hashes here.

Provenance

The following attestation bundles were made for spirallogic-0.1.0-py3-none-any.whl:

Publisher: publish-spirallogic.yml on TheFortThatHolds/spirallogic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page