Skip to main content

Attestory

CI PyPI version License: Apache-2.0 Python 3.11+

Make sure your numbers are Attestoried. Local version control, deterministic formula auditing, and semantic diffs for AI-generated Excel (.xlsx), PowerPoint (.pptx), HTML dashboards, and CSV source data.


Why Attestory?

AI workspaces like Claude Cowork and ChatGPT make editing spreadsheets effortless—but they also silently overwrite dynamic formulas (=SUM(...)) with hardcoded numbers, introduce #REF! errors, and create Forecast_v7_FINAL.xlsx chaos across email and Slack.

Attestory creates a lightweight, local-first .attestory/ audit folder right alongside your spreadsheets:

  • Zero Cloud Uploads Required: Structural snapshots are stored locally as Zstandard-compressed Apache Parquet files inside .attestory/.
  • Deterministic Math & Hardcode Audits: Uses openpyxl and DuckDB SQL diffs to catch silent formula-to-hardcode overwrites and Excel formula errors in milliseconds.
  • PowerPoint Semantic Diffs: Extracts slide text, native table cells, and embedded chart values into Zstandard-compressed Parquet snapshots, with DuckDB-powered comparisons between versions.
  • Dashboard & Data Lineage: Audits HTML dashboard KPIs, table cells, and external telemetry references; fingerprints CSV row counts, schemas, null counts, and numeric summaries.
  • Persistent Assertions & Receipts: Configure formula and numeric guardrails in .attestory/rules.yaml, then generate self-contained HTML audit receipts.
  • Native AI Continuity: Drop skills/claude-cowork/SKILL.md into your workspace so Claude Cowork reads saved rules before editing and self-corrects formula mistakes before presenting results.

Visual Proof

See the sample HTML receipt in your browser.

Attestory terminal receipt

Attestory HTML audit receipt

Quickstart

# Run the interactive demo immediately (zero setup required)
uvx attestory demo

# Or install globally with uv / pip
uv tool install attestory
# Or: pip install attestory

# 1. Initialize .attestory/ in your working folder
attestory init

# 2. Audit and snapshot your workbook
attestory commit Q4_Forecast.xlsx -m "Initial baseline"

# 3. After editing in Excel, Claude Cowork, or ChatGPT, commit again to catch silent regressions
attestory commit Q4_Forecast.xlsx -m "Updated November actuals"

# 4. Inspect cell-level formula & value diffs
attestory diff Q4_Forecast.xlsx

# Snapshot and compare a presentation the same way
attestory commit Board_Deck.pptx -m "Initial board deck"
attestory commit Board_Deck.pptx -m "Updated ARR chart"
attestory diff Board_Deck.pptx

# Create a standalone report in .attestory/reports/
attestory report Board_Deck.pptx

# Snapshot and compare source data or an HTML dashboard
attestory commit actuals.csv -m "Approved actuals"
attestory commit executive_dashboard.html -m "Dashboard baseline"
attestory diff actuals.csv

# See the latest health of all tracked files
attestory status

# Automatically snapshot supported files when they are saved (Ctrl+C to stop)
attestory watch

Use attestory watch --recursive to include subdirectories, or tune its save debounce with attestory watch --debounce 1.0.

Rules and cross-file checks

Edit .attestory/rules.yaml to add deterministic assertions. Excel formula and numeric rules are evaluated whenever the workbook is committed. Cross-file checks run when either configured file is committed and compare the latest snapshots available for both files:

must_be_formula:
  - Revenue!B4
assertions:
  - location: Revenue!B4
    min_value: 100000
    description: Total ARR floor
  - location: Revenue!B5
    max_value: 250000
    description: Keep the forecast within approved bounds
cross_file_checks:
  - pptx_file: Board_Deck.pptx
    xlsx_file: Q4_Forecast.xlsx
    slide_num: 2
    element_type: chart
    label: ARR
    location: Revenue!B4
    tolerance: 0.01
    description: Slide 2 ARR chart must match the forecast

Numeric assertions support min_value, max_value, and equals. Cross-file checks can compare any supported snapshots: Excel cells, PowerPoint slide metrics, HTML KPIs, or CSV summary statistics. Existing pptx_file / xlsx_file rules remain supported; generic rules use file_a and file_b with selectors such as metric_a: {column_name: Revenue, label: SUM} and metric_b: {location: Revenue!B4}. Rule violations appear in the terminal receipt, commit history, and changelog.

HTML snapshots parse KPI/metric elements and table cells and flag externally hosted scripts or tracking images for review. CSV snapshots track dataset row counts, column types, null counts, and numeric SUM, AVG, MIN, and MAX values, making source-data drift visible alongside workbook and presentation changes.

ChatGPT Actions

Install and start the local FastAPI bridge with:

pip install "attestory[server]"
attestory serve --host 127.0.0.1 --port 8765

The bridge provides /health, /v1/context, /v1/commit, /v1/diff/{filename}, and /v1/report/{filename} as described in skills/chatgpt-action/openapi.yaml. It is scoped to the current workspace and binds to localhost by default. Do not expose it directly to an untrusted network; ChatGPT Actions need a separately secured HTTPS adapter or tunnel.


License

Apache-2.0

Metadata

Release files for attestory 0.3.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 attestory 0.3.1
File Size Uploaded Provenance Actions
attestory-0.3.1.tar.gz 36.0 kB With provenance Details for attestory-0.3.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for attestory 0.3.1
File Interpreter ABI Platform Actions
attestory-0.3.1-py3-none-any.whl Python 3 none any Details for attestory-0.3.1-py3-none-any.whl

Total release size: 68.8 kB

Release files / attestory-0.3.1.tar.gz

Download URL attestory-0.3.1.tar.gz
Size 36.0 kB
Tags Source
SHA-256 checksum
How to use checksums
6867e090648afdb65971d4c5e63396c00dbd18622b979ee6545a41fea142e99f
BLAKE2b-256 checksum
How to use checksums
2ac2036c89306904125c3abb18d2be5263c2d6d3b4256275a1686287a9fd7e12
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 27, 2026.

Transparency log

Release files / attestory-0.3.1-py3-none-any.whl

Download URL attestory-0.3.1-py3-none-any.whl
Size 32.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6fb291ec72ee662f1405ba0b47ab5551e8d0daf0ffd6e1d603ac95f2fced4581
BLAKE2b-256 checksum
How to use checksums
3dd76b251819013aa17a31370f62bfecc8770fe8bf0a81304396fb58752249f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 27, 2026.

Transparency log

Security for attestory 0.3.1

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for attestory-0.3.1.tar.gz

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 Nov 27, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3.1 This release

2 release files Full provenance

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