Research / development experiment

Persistent causal investigations

Continue evidence-based causal investigations across independent AI conversations, retaining structured evidence, provenance and revisions.

A live local-development demonstration, performed on November 25, 2026 with synthetic logistics data. This development experiment is separate from the public 0.4.0 app and is not publicly available.

Functional checks completed
4 / 4

All four planned functional checks completed successfully, including retrieval in independent conversations and continuation of the same investigation.

3Conversations
2Evidence entries retained
2Final revision

Author-run development demonstration based on actual client-reported tool results, not an independent audit or a reliability statistic.

Evidence across conversations

The second and third conversations received only the investigation title, not the stored ID or evidence values. Both retrieved the existing record using the connected app.

CONVERSATION A

Create & record

Create revision 0, append rainfall assumption, read revision 1.

Revision 1 · 1 entry
CONVERSATION B

Retrieve & extend

List and get revision 1, append traffic assumption, read revision 2.

Revision 2 · 2 entries
CONVERSATION C

Retrieve again

List and get the same investigation, without supplying stored data.

Revision 2 · 2 entries
MIRA INVESTIGATION STORAGE

Same authenticated owner · same investigation

Revisioned evidence stored outside the conversation. Local SQLite development database.

Final evidence snapshot returned in conversation C
RevisionVariableValueSource typeSource reference
1rain_mm12.5assumptionSynthetic owner-provided pilot value
2traffic_delay_min18assumptionSynthetic traffic scenario

Both values are synthetic assumptions, not measured logistics observations or verified causal effects.

Investigation and computation architecture

Authentication and investigation storage are separate from the existing scientific computation engine.

AI CLIENT

ChatGPT

Conversation, evidence collection, explicit tool selection

IDENTITY PROVIDER

OAuth / Auth0

User authentication, scoped token issuance

↓ Authenticated MCP request via secure tunnel
RESOURCE SERVER

mira Investigation MCP

JWT verification, scope checks, owner-scoped access

↓ Revisioned transactions
PERSISTENT STATE

Investigation storage

Evidence, provenance, revision and write receipts

Conceptual architecture of the local development pilot. Existing causal tools remain stateless and separate; they still require complete explicit inputs. The persistence demonstration did not execute a new causal-discovery or decision calculation.

Experimental protocol

Use the authenticated development connector and synthetic data. The demonstration requires access to the local development backend; the public release cannot execute these storage operations.

CheckActionObserved result
1 · Chat ACreate, append, retrieveRevision 1; rainfall evidence returned
2 · Chat BList, find by title, retrieveSame ID and revision 1
3 · Chat BRetrieve, append with expected revision, retrieveSame ID, revision 2, both entries
4 · Chat CList, find by title, retrieveSame ID, revision 2, identical provenance
Prompt sequence and test inputs
  1. In a new chat, create “Synthetic logistics pilot” with a fresh idempotency key. Append rain_mm = 12.5, source_type assumption, source_ref “Synthetic owner-provided pilot value” using the returned ID and revision. Read the record.
  2. In another chat, explicitly select the app, list investigations and retrieve “Synthetic logistics pilot” by title. Report the actual ID, revision and evidence without using chat history.
  3. In the same chat, explicitly select the app again. Append traffic_delay_min = 18, source_type assumption, source_ref “Synthetic traffic scenario” using a new idempotency key and current revision. Retrieve the record.
  4. In a third chat, explicitly select the app, list and retrieve by title only. Report revision and evidence without modification.
Observed integration limitation: some follow-up turns displayed a message-stream error or reported the tool unavailable. Explicit app selection restored operation. The root cause was not established. The four completed checks are not four error-free first attempts.

Scope and limitations

One authenticated test user, one synthetic record, three conversations. Results are based on actual app execution summaries provided by the author.

Demonstrated

  • Authenticated create, append and read
  • Cross-conversation retrieval
  • Continuation with revisioned evidence and provenance

Still to validate live

  • Token renewal and separate-user isolation
  • Persistence across server restarts and hosted durability
  • Production readiness and client reliability

The separate 0.5.0-dev component is a development preview for the planned 0.5.0 release. These features are not available in the public 0.4.0 app.

Explore the existing causal-discovery benchmark