Skip to content

Repository files navigation

KAOS

Flagship Framework

Knowledge Acquisition Operating System

Transforming chaos into governed knowledge.

KAOS (Knowledge Acquisition Operating System) is an AI-assisted framework for transforming fragmented information into governed, structured knowledge through repeatable acquisition workflows, human approval gates, provenance tracking, and canonical data modeling.

This repository contains KAOS v1.0.0, the approved public release package prepared for controlled publication.

What KAOS Is

KAOS is a general knowledge engineering methodology for teams that need to turn fragmented source material into structured, governed knowledge. It defines lifecycle stages, skill contracts, artifacts, approval gates, status and decision models, provenance expectations, and validation boundaries.

KAOS can prepare governed knowledge for:

  • RAG
  • search
  • analytics
  • APIs
  • knowledge graphs
  • recommendation systems
  • structured data products
  • internal knowledge bases
  • AI applications

The Problem KAOS Solves

Knowledge work often starts with inconsistent source surfaces, duplicate records, conflicting claims, unclear ownership, and undocumented transformations. KAOS creates a repeatable path for discovering knowledge objects, reconciling them against a governed baseline, deciding what should become canonical, preserving provenance, and validating structured outputs.

Design Principles

KAOS follows eight design principles:

  • AI accelerates; humans decide.
  • Canonical knowledge is governed.
  • Provenance is preserved.
  • Source conflict is preserved, not silently flattened.
  • Acquisition is repeatable.
  • Approval boundaries are explicit.
  • Downstream outputs must be reproducible.
  • The framework is implementation-agnostic.

See docs/DESIGN_PRINCIPLES.md.

Lifecycle Architecture

The explanatory architecture narrative is:

Acquire -> Understand -> Govern -> Plan -> Authorize -> Implement -> Verify -> Certify -> Close

The formal KAOS lifecycle remains the 12-stage sequence documented in docs/KNOWLEDGE_ACQUISITION_LIFECYCLE.md.

The 12 KAOS Skills

  1. Source Boundary Audit
  2. Acquisition Strategy
  3. Knowledge Inventory
  4. Baseline Reconciliation
  5. Editorial Triage
  6. Canonical Readiness Review
  7. Implementation Planning
  8. Implementation Approval
  9. Structured Data Implementation
  10. Post-Implementation Review
  11. Source Certification
  12. Source Completion

Frozen skill files live in skills/. They are 1.0.0 and Approved.

Core Concepts

  • Source boundary: the controlled scope of source material.
  • Knowledge object: a source-discovered item that may require classification.
  • Canonical entity: a governed structured object approved for downstream use.
  • Non-canonical source record: a retained source record that supports traceability without canonical inclusion.
  • Provenance: the preserved origin, relationship, transformation, conflict, and decision history.
  • Retrieval exposure: whether structured knowledge may be visible to downstream retrieval systems.

Outputs and Downstream Uses

KAOS produces auditable artifacts, source manifests, canonical entity decisions, provenance records, validation results, certification outcomes, and final completion records. It does not require a specific database, model, vector store, programming language, cloud provider, or orchestration platform.

Northstar Knowledge Catalog Example

The fictional Northstar Knowledge Catalog demonstrates a small, public-safe acquisition scenario with product, policy, course, service, and research records from five fictional source surfaces. It includes duplicate handling, alias preservation, variant handling, canonical proposals, approved canonical entities, non-canonical source records, provenance, conflicts, retrieval-exposure decisions, and downstream readiness notes. See examples/northstar-knowledge-catalog/.

The example demonstrates readiness for downstream indexing or retrieval. It does not implement a working RAG system, search engine, database, or orchestrator.

Repository Structure

core/                 KAOS Core specification
skills/               Approved KAOS skill contracts
docs/                 Public framework documentation
artifact-templates/   Deferred artifact templates
source-profiles/      Generic profile template and fictional source profile
orchestrator/         Orchestrator boundary documentation
examples/             Fictional public examples
schemas/              KAOS validation schemas
scripts/              KAOS validation scripts
tests/                KAOS validation notes

Getting Started

Start with docs/KAOS_OVERVIEW.md, then read the lifecycle, skills, artifact catalog, and status model. Use the Northstar example to see how the concepts fit together.

Validation Scripts

KAOS validation scripts live in scripts/.

  • validate-skills.mjs checks the expected KAOS 1.0.0 skill set, metadata values, lifecycle routing, approval gates, status values, decision values, required sections, and artifact producer ownership. It is not a general-purpose YAML parser or JSON Schema validation engine.
  • scan-forbidden-terms.mjs checks a maintained set of known private-reference and secret-like risks. It cannot guarantee the absence of all confidential, proprietary, or domain-specific content.
  • validate-links.mjs checks local Markdown file links inside the workspace. It does not validate anchors, external URLs, generated files, or semantic correctness.

Human Governance Model

KAOS is AI-assisted, not fully automated. AI may help discover, compare, draft, classify, and validate. Human approval gates remain authoritative for governance decisions.

Project Status

KAOS v1.0.0 is approved for controlled public repository migration. Publication remains a separate release workflow.

Roadmap

See ROADMAP.md for directional release planning.

Contributing

See CONTRIBUTING.md.

Citation

Citation metadata is available in CITATION.cff.

License

SPDX-License-Identifier: Apache-2.0

KAOS is licensed under the Apache License 2.0. See LICENSE.

About

KAOS (Knowledge Acquisition Operating System) is an AI-assisted framework for transforming fragmented information into governed, structured knowledge through repeatable acquisition workflows, human approval gates, provenance tracking, and canonical data modeling.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages