Skip to main content

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.

Metadata

Release files for groundtruth-kb 0.6.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for groundtruth-kb 0.6.1
File Size Uploaded
groundtruth_kb-0.6.1.tar.gz 718.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for groundtruth-kb 0.6.1
File Interpreter ABI Platform
groundtruth_kb-0.6.1-py3-none-any.whl Python 3 none any Details

Total release size: 1.0 MB

Release files / groundtruth_kb-0.6.1.tar.gz

Download URL groundtruth_kb-0.6.1.tar.gz
Size 718.3 kB
Tags Source
SHA-256 checksum
How to use checksums
74b31ebb39b531e33ddd381e4140f10814212fc5693b85f84d446beed94e62fe
BLAKE2b-256 checksum
How to use checksums
1b540b1f9c5333d5cb7271b5d2d45bbbb66edbdbb1d7cf526d7401596392d9c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 18, 2026.

Transparency log

Release files / groundtruth_kb-0.6.1-py3-none-any.whl

Download URL groundtruth_kb-0.6.1-py3-none-any.whl
Size 330.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d9e6982866ab91dd722f2570b39540f788ab20791e6342fd28337c434a2f6a94
BLAKE2b-256 checksum
How to use checksums
218f0b2687e828b7c8b8c15a132678c60cc1d5b057d683e9e8beb8015e02545f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 18, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.6.1 This release

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page