diff --git a/NEXT_SESSION.md b/NEXT_SESSION.md index a128b10b..91fcc76f 100644 --- a/NEXT_SESSION.md +++ b/NEXT_SESSION.md @@ -1,8 +1,10 @@ # Next Session Startup - Tractatus Project +**⚠️ OUTDATED**: This document is from 2025-10-06 and describes Phase 1 (47.6% complete). The project is now at **Phase 3 Complete** as of 2025-10-10. See SESSION-HANDOFF-2025-10-09-PHASE-4-PREP.md and PHASE-4-PREPARATION-CHECKLIST.md for current status. + **Last Session:** 2025-10-06 **Project:** Tractatus AI Safety Framework Website -**Status:** Foundation Complete, Ready for Feature Development +**Status:** ~~Foundation Complete, Ready for Feature Development~~ **Phase 3 Complete, Ready for Phase 5 Research** --- diff --git a/public/about.html b/public/about.html index 58d65cde..48818b18 100644 --- a/public/about.html +++ b/public/about.html @@ -47,17 +47,17 @@

Our Mission

-

+

The Tractatus Framework exists to address a fundamental problem in AI safety: current approaches rely on training, fine-tuning, and corporate governance—all of which can fail, drift, or be overridden. We propose safety through architecture.

-

+

Inspired by Ludwig Wittgenstein's Tractatus Logico-Philosophicus, our framework recognizes that some domains—values, ethics, cultural context, human agency—cannot be systematized. What cannot be systematized must not be automated. AI systems should have structural constraints that prevent them from crossing these boundaries.

-
+
"Whereof one cannot speak, thereof one must be silent."
— Ludwig Wittgenstein, Tractatus (§7)
-

+

Applied to AI: "What cannot be systematized must not be automated."

@@ -107,7 +107,7 @@

How It Works

-

+

The Tractatus Framework consists of five integrated components that work together to enforce structural safety:

@@ -160,13 +160,13 @@

Origin Story

-

+

The Tractatus Framework emerged from real-world AI failures experienced during extended Claude Code sessions. The "27027 incident"—where AI's training patterns immediately overrode an explicit instruction (user said "port 27027", AI used "port 27017")—revealed that traditional safety approaches were insufficient. This wasn't forgetting; it was pattern recognition bias autocorrecting the user.

-

+

After documenting multiple failure modes (pattern recognition bias, values drift, silent degradation), we recognized a pattern: AI systems lacked structural constraints. They could theoretically "learn" safety, but in practice their training patterns overrode explicit instructions, and the problem gets worse as capabilities increase.

-

+

The solution wasn't better training—it was architecture. Drawing inspiration from Wittgenstein's insight that some things lie beyond the limits of language (and thus systematization), we built a framework that enforces boundaries through structure, not aspiration.

@@ -176,24 +176,24 @@

License & Contribution

-

+

The Tractatus Framework is open source under the Apache License 2.0. We encourage:

-
    +
    • Academic research and validation studies
    • Implementation in production AI systems
    • Submission of failure case studies
    • Theoretical extensions and improvements
    • Community collaboration and knowledge sharing
    -

    +

    The framework is intentionally permissive because AI safety benefits from transparency and collective improvement, not proprietary control.

    -

    Why Apache 2.0?

    -

    +

    Why Apache 2.0?

    +

    We chose Apache 2.0 over MIT because it provides:

    -
      +
      • Patent Protection: Explicit patent grant protects users from patent litigation by contributors
      • Contributor Clarity: Clear terms for how contributions are licensed
      • Permissive Use: Like MIT, allows commercial use and inclusion in proprietary products
      • @@ -220,8 +220,8 @@ For Implementers - - For Advocates + + For Leaders
@@ -233,16 +233,19 @@

Tractatus Framework

-

+

Preserving human agency through architectural constraints, not aspirational goals.

+

+ research@agenticgovernance.digital +

@@ -264,7 +267,7 @@
-

Phase 1 Development - Local Prototype | Built with Claude Code

+

Safety Through Structure, Not Aspiration | Built with Claude Code

© 2025 Tractatus AI Safety Framework. Licensed under Apache License 2.0. Read our values.

diff --git a/tests/integration/api.documents.test.js b/tests/integration/api.documents.test.js index e210f840..ad071206 100644 --- a/tests/integration/api.documents.test.js +++ b/tests/integration/api.documents.test.js @@ -18,6 +18,17 @@ describe('Documents API Integration Tests', () => { beforeAll(async () => { connection = await MongoClient.connect(config.mongodb.uri); db = connection.db(config.mongodb.db); + + // Ensure text index exists for search functionality + const indexes = await db.collection('documents').indexes(); + const hasTextIndex = indexes.some(idx => idx.name === 'search_index_text'); + + if (!hasTextIndex) { + await db.collection('documents').createIndex( + { search_index: 'text', title: 'text', 'metadata.tags': 'text' }, + { name: 'search_index_text', weights: { title: 10, search_index: 5, 'metadata.tags': 1 } } + ); + } }); // Clean up test data