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
-
Clone this repository:
git clone <your-repository-url> cd <repository-folder>
-
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6959b9dbfaed3f570712fdd30453ac3e156dd4dcaa2197a9bed0ab87d1043d88
|
|
| MD5 |
71b6fa6de87b23fece8d2b9049ae2de3
|
|
| BLAKE2b-256 |
395953d167db9186426c2868f080d926f5e6afdcef433a3456682cf15d2e118a
|
Provenance
The following attestation bundles were made for spirallogic-0.1.0.tar.gz:
Publisher:
publish-spirallogic.yml on TheFortThatHolds/spirallogic
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
spirallogic-0.1.0.tar.gz -
Subject digest:
6959b9dbfaed3f570712fdd30453ac3e156dd4dcaa2197a9bed0ab87d1043d88 - Sigstore transparency entry: 686505534
- Sigstore integration time:
-
Permalink:
TheFortThatHolds/spirallogic@bdc64b4ab41d9a1ecba452dfe010a7f8c8f90393 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/TheFortThatHolds
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-spirallogic.yml@bdc64b4ab41d9a1ecba452dfe010a7f8c8f90393 -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
13866c1200aefbb6e3118fa34d3d1dccefc7735d25daf9fe793341c7aefb9724
|
|
| MD5 |
32207a6762f09abb283048c4d77a8b86
|
|
| BLAKE2b-256 |
c31c45acc6e3fd677a10ce31df69c7c6c5ccdc2d3a0a15ee7f7813dc95bdd9ac
|
Provenance
The following attestation bundles were made for spirallogic-0.1.0-py3-none-any.whl:
Publisher:
publish-spirallogic.yml on TheFortThatHolds/spirallogic
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
spirallogic-0.1.0-py3-none-any.whl -
Subject digest:
13866c1200aefbb6e3118fa34d3d1dccefc7735d25daf9fe793341c7aefb9724 - Sigstore transparency entry: 686505634
- Sigstore integration time:
-
Permalink:
TheFortThatHolds/spirallogic@bdc64b4ab41d9a1ecba452dfe010a7f8c8f90393 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/TheFortThatHolds
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-spirallogic.yml@bdc64b4ab41d9a1ecba452dfe010a7f8c8f90393 -
Trigger Event:
push
-
Statement type: