11 Commits

Author SHA1 Message Date
gravermistakes
42ef321c4c
Add Gen.03 organ-systems core: Ada Medium, Soul/Tarot, trust boundary, Hermes MCP bridge
Implements the Gen.03 organ-systems body in SPARK/Ada (Jorvik, No_Exceptions):

- Shared types (mafiabot_types): Bounded_Text, Operation_Status, Organ_Id,
  Provenance_Tag, fixed-point drive/ratio/cost/axis types.
- Config loader: SPARK-safe flat key-value parser (no heap/exceptions/finalization).
- Trust boundary: blocklist substring matching, provenance enforcement,
  tick-based rate limiting, Trust_Guard protected object.
- Soul / Silicon Dawn Tarot: 56-card alphabet, Celtic Cross spread, Big-3
  identity anchors. The cross accretes from the cognitive loops (2 cards per
  layer at steps 6/9/13, stave of 4 at step 17) rather than being drawn whole.
- Sessions: Soul_State is now keyed by (uid, channel, server). Each session
  has its own card pool, cross, and output counter; the Big-3 identity is
  global. A formed cross is held for the session (or 17 outputs, whichever is
  longer). Two users on two channels never share a deck or a cross.
- Ada Medium: 23-step forward-only inference cycle wiring the cognitive loops,
  Celtic Cross injection, and outbound trust screening per session.
- Hermes MCP stdio bridge: JSON-RPC over stdin/stdout (initialize, tools/list,
  tools/call), SOUL.md generation, verbatim id echo. SPARK_Mode Off for I/O;
  trust checks run in proven code first.
- Main driver: organ init -> SOUL.md publish -> MCP serve loop.
- Tests: soul, trust, cycle (session formation/isolation), config.

Fixes an orchestrator bug where step 1 advanced onto Phase_Input after Reset,
failing every cycle.

Note: requires GNAT/Alire to build; no Ada toolchain in this environment, so
compilation and gnatprove must run in CI.
2026-06-09 21:50:50 +00:00
gravermistakes
ca3e1c4441
Update alire.toml
:t
2026-05-30 21:37:30 -07:00
gravermistakes
01d8a45c05
Merge pull request #3 from SHOGGOTH-SECTOR/claude/mafiabot-core-setup-W0hUe
Scaffold mafiabot_core module stubs Just getting vague skeletalz first
2026-05-30 17:28:04 -07:00
Claude
3918ed1c1a
Add Alire build setup and populate Engine package
- alire.toml rewritten to valid schema ([[depends-on]], real build-switch
  values); restrictions moved to gnat.adc
- gnat.adc: project-wide Jorvik profile, No_Exceptions, No_Implicit_Dynamic_Code,
  SPARK_Mode On
- mafiabot_core.gpr: source dirs, mains, global config pragmas
- Engine: drop the caller-side precondition race on Transition_State; guard moved
  into the protected body with illegal transitions forcing Fault_Halt
- Empty stubs (economy/sockets/exploits): drop Elaborate_Body so they no longer
  compile until implemented
2026-05-31 00:25:30 +00:00
Claude
d1e4eec578
Scaffold mafiabot_core module stubs
Add assumption-free skeletons for the modules documented in the README:
empty Engine/Economy/Sockets/Exploits packages, null-body Mafiabot and
Engine_Tests procedures, and a placeholder config/config.yaml.
2026-05-31 00:08:43 +00:00
gravermistakes
2b81a9f1cc
Update README with project directory structure
Added project structure and directory details to README.

Signed-off-by: gravermistakes <250037217+gravermistakes@users.noreply.github.com>
2026-05-30 16:57:25 -07:00
gravermistakes
6c39c9088c
Delete mafiabot_core.gpr
Signed-off-by: gravermistakes <250037217+gravermistakes@users.noreply.github.com>
2026-05-30 16:55:43 -07:00
gravermistakes
5953ccf828
Delete mafiabot.adb
Signed-off-by: gravermistakes <250037217+gravermistakes@users.noreply.github.com>
2026-05-30 16:55:10 -07:00
gravermistakes
0884181bfb
Merge pull request #1 from SHOGGOTH-SECTOR/claude/hopeful-curie-XVds1
Move mafiabot files from the-library-of-alexandria
2026-05-30 15:25:30 -07:00
Claude
4bb96661b8
Move mafiabot files from the-library-of-alexandria
- Add mafiabot_core.gpr (Ada project configuration)
- Add mafiabot.adb (main procedure)
2026-05-30 22:24:08 +00:00
gravermistakes
3b4b2fe4c3
Initial commit 2026-05-30 12:59:56 -07:00