GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - mattbv/plumbline: Governed, bitemporal reconciliation between a codebase and the documentation that describes it. Built on Ontolith.

BranchesTags
Open more actions menu

Latest commit

 

History

29 Commits
29 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
docs
docs
 
 
evaluation
evaluation
 
 
src/plumbline
src/plumbline
 
 
tests
tests
 
 
.gitignore
.gitignore
 
 
.pre-commit-config.yaml
.pre-commit-config.yaml
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
SECURITY.md
SECURITY.md
 
 
pyproject.toml
pyproject.toml
 
 
uv.lock
uv.lock
 
 

Repository files navigation

Plumbline

Governed, bitemporal reconciliation between a codebase and the documentation that describes it. Built on Ontolith.

Plumbline ingests a repository's source code and its documentation (docstrings, README, docs/, CHANGELOG, GitHub wiki) into an Ontolith knowledge base. Every documented statement that can be checked against code becomes a provenanced assertion. Code changing over time is recorded as supersession — expected, no review needed. Documentation disagreeing with code, or with other documentation, becomes a flagged contradiction, routed to a human. Nothing is silently overwritten; nothing is auto-resolved.

Status

🚧 Pre-Alpha. What works today, checked end to end against a real Ontolith knowledge base:

  • plumb ingest replays a Git repository's history into a knowledge base, resumably and read-only: static analysis of Python source (symbols, signatures, deprecation, namespace closure), claims read from Python docstrings (Google, NumPy, Sphinx), and a drift projector that states the code's value in the same slot as each documented claim.
  • plumb drift lists the resulting open contradictions, strongest first.

What does not exist yet: README, docs-page and CHANGELOG importers (so today it finds docstring drift only), CLI/env/project facts, the review and resolution workflow, GitHub integration, and plumb explain / as-of / blame / check. See the Implementation Plan, the full product spec, and the first run on a real repository.

Why

See the PRD for the full problem statement. In short: code changes are enforced (tests fail); doc changes aren't. The same fact lives in many places (a signature, its docstring, a README table, a changelog entry), and a PR updates one or two of them. Drift is invisible until it costs something. Plumbline makes documentation drift a first-class, governed, auditable thing — using Ontolith's own conflict-routing and provenance model as the actual mechanism, not a bolted-on diff tool.

Quick start

# Clone
git clone https://github.com/mattbv/plumbline.git
cd plumbline

# Install (requires Python >=3.11 and uv: https://github.com/astral-sh/uv)
uv sync --all-extras

# Run the test suite
uv run pytest

# Replay a repository's history into a knowledge base (the repository is only read)
uv run plumb ingest --repo /path/to/your/repo --kb /tmp/plumbline.db

# See what the docs and the code disagree about
uv run plumb drift --kb /tmp/plumbline.db

Or, to keep the configuration and knowledge base inside a project, run uv run plumb init --admin [email protected] there first, then plumb ingest and plumb drift.

Architecture

Plumbline follows the same ports-and-adapters (hexagonal) architecture Ontolith itself uses, enforced by an import-linter contract:

src/plumbline/
ā”œā”€ā”€ domain/        # Pure logic: the aspect catalog, canonicalization,
│                   # anchor URIs, dispositions. No I/O, no Ontolith import.
ā”œā”€ā”€ application/    # Use cases, depending only on abstract ports.
│   ā”œā”€ā”€ ports.py     # RepoReader, CodeImporter, DocImporter, KnowledgeBase,
│   │                 # ReviewSurface — Protocols, not concrete classes.
│   └── use_cases/
ā”œā”€ā”€ adapters/       # Concrete implementations: the real Ontolith-backed
│                    # knowledge base, the schema, Git access, extractors.
└── interfaces/
    └── cli.py       # `plumb` — the CLI entrypoint.

The core modeling decision (see ADR-0001): code history lives on time_varying Ontolith properties; reconciliation lives on one static slot per checkable fact. Drift detection is Ontolith's own static conflict routing — there is no separate diffing engine.

Documentation

  • Product Requirements Document
  • Implementation Plan
  • Architecture Decision Records
  • Contributing

License

Apache-2.0 — see LICENSE.

About

Governed, bitemporal reconciliation between a codebase and the documentation that describes it. Built on Ontolith.

Topics

bitemporaldeveloper-toolsdocumentationdocumentation-driftknowledge-graphontolithprovenancepython

Resources

Readme
Apache-2.0 license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800Ɨ600. No cookies required.