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. Built for teams that need traceable, auditable engineering decisions.

At a Glance

Capability Description
Specifications Decision log for what the system must do
Tests Verify implementation meets specifications
Work Items Track gaps between specs and implementation
Architecture Decisions ADR/DCL workflow for cross-cutting choices
Assertions Continuously verify spec-implementation alignment
Governance Gates Pluggable enforcement at lifecycle transitions

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

Architecture

Layer 3: Workstation Doctor    gt project doctor
Layer 2: Project Scaffold      gt project init / upgrade
Layer 1: Core Knowledge DB     gt init / seed / assert / serve
         File Bridge Setup     dual-agent coordination templates [optional]

See the product architecture for details.

Quick Start

# Install from PyPI
pip install groundtruth-kb

# Create a project with scaffolding
gt project init my-project --owner "Your Organization" --init-git

# Inspect the seeded knowledge base
gt --config my-project/groundtruth.toml summary

# Run assertions
gt --config my-project/groundtruth.toml assert

Web UI (requires [web] extra):

pip install "groundtruth-kb[web]"
gt --config my-project/groundtruth.toml serve
# Visit http://localhost:8090

Same-day prototype (includes example data):

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

Quick Evaluation Path

  1. Start Here — install, create a project, and run your first assertion
  2. Your First Specification — write a spec, link a test, and verify it
  3. Dual-Agent Setup — add the Loyal Opposition and configure the file bridge
  4. Day in the Life — see what a full development day looks like

New to GroundTruth? Read The User Journey to see what building a product with GroundTruth looks like end-to-end. Then follow the getting started guide for a 10-step technical walkthrough.

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 provides the engineering discipline layer.

Status

This project is in early development. The toolkit is extracted from a production system managing 2,000+ specifications and 11,000+ tests.

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

Reference: Assertion Language | Desktop Setup | Example Project

Getting Started

New to GroundTruth? The getting started guide walks you through setting up the core toolkit: install, init, first spec, first test, assertions, web UI, templates, and CI/CD — in 10 steps.

For a same-day client workstation setup, start with the desktop setup guide.

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.0.tar.gz (532.4 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.0-py3-none-any.whl (298.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: groundtruth_kb-0.6.0.tar.gz
  • Upload date:
  • Size: 532.4 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.0.tar.gz
Algorithm Hash digest
SHA256 fa1c116d46140050621b1993dfd838110f8b611e47be0de2bff804cbf2638522
MD5 ded39e575ba675bf2028aa54aa371c99
BLAKE2b-256 907895a9e6c597984d60ec1816ddd6749368d7b5b4a7b991b0e0faa318cee304

See more details on using hashes here.

Provenance

The following attestation bundles were made for groundtruth_kb-0.6.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: groundtruth_kb-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 298.8 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 848b90d05810b515118807320bfd7bd0d827427331ee0b464685059b0fb1a372
MD5 453218a75fa99abd55c1a53d23a1e586
BLAKE2b-256 873e9c4e6b7ac40a4bd6089eeeb262d885ebfb3c98d3a8bbd530f96c3cad8c21

See more details on using hashes here.

Provenance

The following attestation bundles were made for groundtruth_kb-0.6.0-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