Skip to content

Docs: consolidate documentation and streamline README - #11

Merged
EmergentMonk merged 13 commits into
mainfrom
cleanup/docs-structure
Sep 29, 2026
Merged

EmergentMonk merged 13 commits into
mainfrom
cleanup/docs-structure

Conversation

@EmergentMonk

@EmergentMonk EmergentMonk commented Sep 29, 2026 •

Copy link
Copy Markdown
Member

Summary

Repository documentation cleanup before returning to the roadmap.

  • moves every root Markdown specification except README.md, README4AIs.md, and AGENTS.md into /docs
  • leaves the root Markdown surface intentionally minimal
  • adds /docs/README.md as a documentation index
  • adds /docs/GETTING_STARTED.md for a fast clone → record → finalize → verify → package path
  • adds /docs/INSTRUCTIONS.md for deeper CLI/MCP/UI/adapter/verification usage
  • rewrites the root README as a concise project landing page
  • adds live CI badges plus factual version, determinism, verification, custody, platform, and license badges
  • updates architecture/roadmap paths to reflect the new repository layout
  • repairs docs-sensitive GitHub Actions path filters after the moves
  • preserves README4AIs.md and AGENTS.md at repository root

Root Markdown after cleanup

AGENTS.md
README.md
README4AIs.md

plus the root LICENSE, code directories, .github, and .gitignore.

Validation performed before opening

  • all 17 /docs/*.md local links resolved
  • root README local links resolved
  • no affected workflow retained a stale root documentation path

Summary by Sourcery

Consolidate project documentation under docs/ and streamline the root README while keeping repository links and CI path filters aligned with the new layout.

New Features:

  • Add a documentation index and dedicated getting-started and detailed usage guides under docs/.
  • Add live CI, version, roadmap, determinism, verification, custody, platform, and license badges to the root landing page.

Bug Fixes:

  • Update GitHub Actions documentation path filters to trigger correctly after the documentation move.

Enhancements:

  • Consolidate detailed Markdown specifications under docs/ while preserving README.md, README4AIs.md, and AGENTS.md at the repository root.
  • Rewrite the root README as a concise project overview with lifecycle, architecture, status, boundaries, and documentation links.
  • Update architecture and roadmap references for the new documentation layout.

CI:

  • Repair documentation-sensitive workflow path filters across adapters, CLI, custody, MCP, Ollama, packaging, storage, UI, and verification workflows.

Documentation:

  • Reorganize repository documentation and add a navigable documentation index, quick-start walkthrough, and comprehensive interface guide.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry @EmergentMonk, you've used your own review budget of 250,000 diff characters for the last 7 days.

You can request another review in 4 days and 7 hours by commenting @sourcery-ai review. Upgrade to get a review now.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
🔒 Security Review ✅ Completed 2026-09-29T12:43:38.109496Z ccf990c PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@sourcery-ai

sourcery-ai Bot commented Sep 29, 2026

Copy link
Copy Markdown

Reviewer's Guide

This documentation-only cleanup reorganizes detailed Markdown specifications into docs/, introduces indexed quick-start and usage documentation, streamlines the root README with current project/status navigation and badges, updates architecture and roadmap references, and synchronizes GitHub Actions path filters with the new layout.

Sequence diagram for the documented quick-start provenance workflow

sequenceDiagram
    actor Operator
    participant CLI as provenance CLI
    participant Store as Evidence Store
    participant Custody as Custody Ledger
    participant Verifier as Independent Verifier
    participant Package as Forensic Package

    Operator->>CLI: record
    CLI->>Store: persist evidence
    CLI->>Custody: append custody
    Operator->>CLI: finalize
    CLI->>Store: create finalized snapshot
    Operator->>CLI: verify
    CLI->>Verifier: verify_bundle
    Verifier-->>CLI: integrity report
    Operator->>CLI: package
    CLI->>Package: create portable package
Loading

File-Level Changes

Change Details Files
Consolidate detailed project documentation under a dedicated docs directory while preserving a minimal root Markdown surface.
  • Move subsystem specifications and project context documents into docs/.
  • Add a documentation index, quick-start walkthrough, and expanded usage guide.
  • Update internal documentation links and repository-tree references for the new paths.
  • Keep README4AIs.md and AGENTS.md at the repository root.
README.md
ARCHITECTURE.md → docs/ARCHITECTURE.md
ROADMAP.md → docs/ROADMAP.md
docs/README.md
docs/GETTING_STARTED.md
docs/INSTRUCTIONS.md
docs/*.md
Replace the large root README with a concise landing page focused on project capabilities, workflow, status, and navigation.
  • Add quick lifecycle and CLI record/finalize/verify/package examples.
  • Add CI, version, roadmap, determinism, verification, custody, platform, and license badges.
  • Summarize architecture, Phase 11 status, Phase 12 roadmap, boundaries, and documentation links.
  • Retain links to root contributor and machine guidance.
README.md
Repair CI documentation path filters so documentation changes continue to trigger the relevant workflows after relocation.
  • Replace stale root specification paths with docs/ paths across subsystem workflows.
  • Update both push and pull-request filters where applicable.
  • Cover adapter, CLI, custody, MCP, Ollama, package, store, UI, and verification workflows.
.github/workflows/adapters.yml
.github/workflows/cli.yml
.github/workflows/custody.yml
.github/workflows/mcp.yml
.github/workflows/ollama.yml
.github/workflows/package.yml
.github/workflows/store.yml
.github/workflows/ui.yml
.github/workflows/verify.yml

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@EmergentMonk

Copy link
Copy Markdown
Member Author

@copilot Please Review this exact SHA ccf990c against the existing contract. Report only actionable correctness defects, with a minimal reproduction, expected versus actual behavior, and affected lines. State whether each reproduction was executed or statically inferred. Don’t repeat fixed findings without a new failing case. Keep architectural suggestions separate and non-blocking.

Copilot AI commented Sep 29, 2026

Copy link
Copy Markdown
Contributor

@copilot Please Review this exact SHA ccf990c against the existing contract. Report only actionable correctness defects, with a minimal reproduction, expecte...

Reviewed ccf990c00fe777e3a9b57ac64dafee4b32a30567 against the pre-move documentation and current tree. One actionable defect: docs/ARCHITECTURE.md:32–45 still lists INVARIANTS.md, DONORS.md, and LINEAGE.md alongside root files without their new docs/ paths; README.md is now ambiguous because docs/README.md is a different document. Minimal reproduction (executed): check those names against the repository root and docs/: the three specifications exist only under docs/, while README.md exists in both places with different contents. Expected: these references identify the actual normative/context documents unambiguously. Actual: a reader resolving the list from the root cannot find the three specifications; resolving it relative to the architecture file cannot find AGENTS.md or README4AIs.md and gets the documentation index instead of the project README. This was correct before the files moved. No other actionable correctness defects found. The guide’s record → finalize → verify → package sequence and independent package verification were executed successfully; Markdown links resolved and CI’s CLI job at this SHA passed. No architectural suggestions.

Copy link
Copy Markdown
Member Author

@copilot Please Review this exact SHA 820ca89 against the existing contract. Report only actionable correctness defects, with a minimal reproduction, expected versus actual behavior, and affected lines. State whether each reproduction was executed or statically inferred. Don’t repeat fixed findings without a new failing case. Keep architectural suggestions separate and non-blocking.

Copilot AI commented Sep 29, 2026

Copy link
Copy Markdown
Contributor

@copilot Please Review this exact SHA 820ca89 against the existing contract. Report only actionable correctness defects, with a minimal reproduction, expected versus a...

Reviewed exact SHA 820ca89a5427ff8770e037b100afd49f045f88f4: no new actionable correctness defects found. The earlier docs/ARCHITECTURE.md:32–45 finding is fixed—its links at lines 34–42 resolve to the intended root and docs/ documents (executed path/link checks); git diff --check passed (executed). CI’s CLI job for this SHA passed build, Rust tests, and terminal integration tests (CI logs inspected). No production behavior changed, so there is no failing reproduction or affected defect line to report. No architectural suggestions.

@EmergentMonk
EmergentMonk merged commit 97db549 into main Sep 29, 2026
13 checks passed
@EmergentMonk
EmergentMonk deleted the cleanup/docs-structure branch September 29, 2026 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants