Skip to content

Latest commit

 

History

History
119 lines (93 loc) · 4.55 KB

File metadata and controls

119 lines (93 loc) · 4.55 KB

Tabellio Workflow Model

Tabellio turns an agentic coding run into a GitHub-bound context packet and, when wanted, a reviewable pull request packet.

Core Objects

Object Role
Task source Why the work started: issue, chat request, ticket, prompt, or manual request
Runtime Human, CI process, coding agent, or mixed toolchain that produced the change
Repository store Contract for commit resolution, diffs, worktrees, notes, merge previews, and safe ref updates
Workspace Isolated Git worktree assigned to one agent run
Context packet Integrity-protected binding between task, actor, exact commits, changed files, checkpoints, and merge preview
Evidence envelope JSON record of Git state, changed files, commands, checks, approvals, side-effect policy, and artifacts
Acceptance contract Committed outcomes, invariants, forbidden outcomes, risk, and required validator types
Validator evidence Bounded metrics, cost telemetry, and immutable artifact references emitted by one product validator
External action policy Default-deny policy for deploys, migrations, infra, DNS, billing, secrets, provider reads, and destructive actions
Pull request Human review surface for the diff plus evidence summary
Stack Ordered PR chain for larger changes
Merge queue Optional final validation point before main

Tooling Layers

Layer Example Tooling Role
Git substrate Standard Git CLI and bare repositories Stores repositories, branches, commits, and patch state
Session ledger Entire; Git notes only for migration Preserves checkpoint and agent-run context for later review
Evidence gate Tabellio Validates commands, checks, changed files, approvals, and side-effect policy
Stacked review git-spice Keeps related GitHub pull requests small, ordered, and reviewable
Agent review Codex review Adds optional diff and evidence review by an agent

Standard Flow

task
  -> resolve immutable base commit
  -> isolated worktree and agent branch
  -> small commits and mandatory Entire checkpoint metadata
  -> deterministic and product-validity checks
  -> context packet
  -> read-only merge preview
  -> evidence envelope
  -> evidence validation
  -> external-action check
  -> optional compare-and-swap target ref update
  -> optional pull request
  -> review
  -> merge

Review Packet

Each PR should expose:

  • task source
  • changed files
  • commands run
  • checks passed, failed, skipped, or pending
  • required approvals
  • external actions attempted or blocked
  • evidence artifact path

The context packet is usable without a pull request. GitHub is the review and code-distribution surface; Tabellio's evidence remains independently verifiable.

Raw evidence is not automatically a correctness claim. A typed validation decision proves that the exact committed evidence met the committed thresholds. Human review still owns product judgment outside the declared contract.

Stack Discipline

Use stacked PRs when a task contains separate concepts:

  • schema or substrate
  • validator script
  • workflow wiring
  • UI or docs
  • eval coverage

Each PR should explain only its own change. Avoid one evidence envelope that tries to justify a whole roadmap.

External Action Discipline

Default posture: no external side effects without explicit approval.

Protected classes:

Class Examples
deployment Production deploy, hosting mutation
database migration Schema or data mutation
infrastructure change Cloud resource mutation
DNS or hosting change DNS update, host config update
billing or live-money Paid resource change, transaction
credentialed provider read API call using private credentials
secret-value read Reading or logging secret values
destructive workspace action File deletion, force push, history rewrite

The workflow can document planned side effects before approval. It should not execute them.

Reviewer Checklist

  • Does the task source match the diff?
  • Are changed files listed?
  • Did required commands run?
  • Are skipped commands explained?
  • Does the policy still default to deny?
  • Did any protected action happen without approval?
  • Is the PR small enough to review?
  • Is evidence current for the final PR state?

Extension Points

Future versions can add:

  • signed evidence
  • SLSA provenance export
  • in-toto link metadata
  • OpenTelemetry spans
  • path-based validator policy selection
  • automated git-spice submission and merge orchestration for GitHub
  • GitHub merge queue metadata