Skip to main content

Specification-driven governance toolkit for AI engineering teams

Project description

GroundTruth Knowledge DB

CI CodeQL Security Quality Gate PyPI License: AGPL-3.0 Python 3.11+

A specification-driven governance toolkit for AI engineering teams.

Track specifications, tests, work items, and architecture decisions with append-only versioning. Coordinate two AI agents (Prime Builder + Loyal Opposition) through a file-bridge protocol. Built for teams that need traceable, auditable engineering decisions.

New Here?

If you have never seen GroundTruth-KB before, start with docs/start-here.md. It assumes zero prior context and walks through everything from install to your first assertion on a Windows workstation with internet access.

Already a developer-preview adopter? Jump straight to:

At a Glance

Capability Description
Specifications Decision log for what the system must do
Tests Verify implementation meets specifications
Assertions Continuously prove spec-implementation alignment
Work Items Track gaps between specs and implementation
Deliberation Archive Searchable decision history with rejected alternatives
Governance Gates Pluggable enforcement at lifecycle transitions
File Bridge Asynchronous two-agent review via versioned markdown

Tooling: CLI (gt), Web UI, Python API, project scaffolding, CI templates, process templates, dual-agent file bridge setup.

Quick Start

# Install from PyPI (Windows workstation with internet access)
pip install groundtruth-kb

# Create a project with scaffolding
gt project init my-project --profile local-only --no-seed-example --no-include-ci

# Verify workstation readiness
cd my-project
gt project doctor

Web UI (requires [web] extra):

pip install "groundtruth-kb[web]"
gt serve
# Visit http://localhost:8090

Same-day prototype (includes example data):

gt bootstrap-desktop my-prototype --owner "Your Organization" --init-git

See Start Here for the full walkthrough, including a PowerShell primer for readers who have never opened a terminal.

Architecture

flowchart TB
    L1["Layer 1<br/>Core Knowledge DB<br/>gt init / seed / assert / serve"]
    Bridge["Optional<br/>File Bridge Setup<br/>Prime Builder + Loyal Opposition"]
    L2["Layer 2<br/>Project Scaffold<br/>gt project init / upgrade"]
    L3["Layer 3<br/>Workstation Doctor<br/>gt project doctor"]
    Azure["Opt-in<br/>Azure readiness envelope<br/>specs, ADRs, checks, evidence"]

    L1 --> L2 --> L3
    Bridge --> L2
    L2 --> Azure
    L3 --> Azure

See docs/architecture/product-split.md for the authoritative layer definitions.

Why?

AI-powered systems change fast. Without traceable specifications and assertions, teams lose track of what was decided, why, and whether the implementation still matches. GroundTruth-KB provides the engineering discipline layer.

Status

This project is in early development (v0.6.0, developer-preview). The toolkit is extracted from a production system managing 2,000+ specifications and 11,000+ tests. See docs/known-limitations.md for current gaps.

Project scaffolding (gt project init), environment verification (gt project doctor), and scaffold upgrades (gt project upgrade) are available. Three profiles support different team configurations: local-only, dual-agent, and dual-agent-webapp.

Documentation

The method documentation describes the engineering discipline behind GroundTruth:

Guide Topic
01 — Overview Core workflow and governance model
02 — Specifications Writing and managing specifications
03 — Testing Test forms, outside-in testing, pipeline organization
04 — Work Items Gap tracking, stage lifecycle, prioritization
05 — Governance GOV specs, gates, assertions, protected behaviors
06 — Dual-Agent Prime Builder + Loyal Opposition collaboration
07 — Sessions Session IDs, wrap-up, audit cadence
08 — Architecture ADR/DCL/IPR/CVR workflow
09 — Adoption Upstream/downstream model, update procedures
10 — Tooling CLI commands, web UI, Python API, configuration
11 — Operational Config Bridges, automations, directives, roles
12 — File Bridge Automation Durable file bridge polling, prompts, plugins, skills, and scheduler capture
13 — Deliberation Archive Decision log with semantic search

Reference: Assertion Language | Azure Readiness Taxonomy | Desktop Setup | Example Project

Azure Readiness

GroundTruth-KB keeps the default scaffold lightweight, then adds an opt-in Azure enterprise readiness path for SaaS teams that need buyer-grade cloud evidence.

flowchart LR
    Starter["starter<br/>local-first default"]
    Candidate["production-candidate<br/>Azure decisions recorded"]
    Enterprise["enterprise-ready<br/>buyer evidence"]
    Regulated["regulated-enterprise<br/>industry controls"]

    Starter --> Candidate --> Enterprise --> Regulated

The full taxonomy is in docs/reference/azure-readiness-taxonomy.md. The wiki-ready summary lives at docs/wiki/azure-enterprise-readiness.md and is mirrored to the GitHub Wiki.

Process Templates

The templates/ directory contains reference templates for setting up a GroundTruth project: rules files, state files, hooks, and agent configuration, including a file bridge OS-poller setup prompt. Use gt project init my-project --profile <profile> for automated setup, or copy templates manually and customize the placeholders.

Contributing

See CONTRIBUTING.md for how to contribute. We especially value feedback about the engineering method itself — tag issues with method-feedback.

License

AGPL-3.0


© 2026 Remaker Digital, a DBA of VanDusen & Palmeter, LLC. All rights reserved.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

groundtruth_kb-0.6.1.tar.gz (718.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

groundtruth_kb-0.6.1-py3-none-any.whl (330.2 kB view details)

Uploaded Python 3

File details

Details for the file groundtruth_kb-0.6.1.tar.gz.

File metadata

  • Download URL: groundtruth_kb-0.6.1.tar.gz
  • Upload date:
  • Size: 718.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for groundtruth_kb-0.6.1.tar.gz
Algorithm Hash digest
SHA256 74b31ebb39b531e33ddd381e4140f10814212fc5693b85f84d446beed94e62fe
MD5 6b1c2139cce0b96b5c7463e63db4b49b
BLAKE2b-256 1b540b1f9c5333d5cb7271b5d2d45bbbb66edbdbb1d7cf526d7401596392d9c8

See more details on using hashes here.

Provenance

The following attestation bundles were made for groundtruth_kb-0.6.1.tar.gz:

Publisher: publish.yml on Remaker-Digital/groundtruth-kb

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file groundtruth_kb-0.6.1-py3-none-any.whl.

File metadata

  • Download URL: groundtruth_kb-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 330.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for groundtruth_kb-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d9e6982866ab91dd722f2570b39540f788ab20791e6342fd28337c434a2f6a94
MD5 588b32a2118005c47467d212c87e197f
BLAKE2b-256 218f0b2687e828b7c8b8c15a132678c60cc1d5b057d683e9e8beb8015e02545f

See more details on using hashes here.

Provenance

The following attestation bundles were made for groundtruth_kb-0.6.1-py3-none-any.whl:

Publisher: publish.yml on Remaker-Digital/groundtruth-kb

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page