Skip to content

docs: README, architecture diagram, and demo#15

Merged
div0rce merged 10 commits into
mainfrom
feat/m11-docs-demo
May 29, 2026
Merged

docs: README, architecture diagram, and demo#15
div0rce merged 10 commits into
mainfrom
feat/m11-docs-demo

Conversation

@div0rce

@div0rce div0rce commented May 29, 2026

Copy link
Copy Markdown
Owner

Milestone

M11 — Docs, architecture diagram, demo

Summary

Portfolio-ready documentation. Replaces the M0 placeholders in docs/,
adds a top-level README.md for the GitHub landing page, ships an MIT
LICENSE. Docs-only — no app or infra surface changed.

Definition of Done (per MILESTONES.md)

  • README is complete and accurate; quickstart works from a clean clone.
    Single-page entry point with problem → architecture → features →
    quickstart → evaluation → governance → deployment → limitations →
    roadmap → license. Embeds the rendered architecture PNG. Links every
    sub-doc. The quickstart matches docs/demo.md step-for-step.
  • Architecture diagram committed (source + image). docs/architecture.mmd
    is the LR-layout Mermaid source (76 lines). docs/architecture.png
    (3168×2234) is the committed render via mmdc 11.15.0. The render
    command is documented in both docs/architecture.md and the README so
    a reviewer can regenerate the PNG from source without guessing.
  • Limitations + synthetic-data disclaimer present and honest. Top-of-file
    callout in the README plus a dedicated "Limitations & synthetic-data
    disclaimer" section listing every honest caveat: synthetic data only,
    small eval set, pending real-provider numbers (eval: record real-provider benchmark numbers (M9 follow-up) #13), demo-only deploy
    posture, self-reported confidence is a routing signal not calibrated
    probability, citation-validity is an in-context check (not full
    faithfulness).

What ships

README.md (new, top-level)

Sections: problem, architecture (with PNG), features (capability table),
quickstart, evaluation (with the n/a-gate honesty discipline cross-ref),
governance & guardrails (citation-or-refuse, PII redaction, confidence
gating, audit invariants), deployment (M10 cost & security posture),
limitations & synthetic-data disclaimer, roadmap (M0–M11 + post-M11
backlog), project map, license. CI badge points at
.github/workflows/ci.yml on main.

docs/architecture.md (replaces M0 placeholder)

Full architectural cross-reference: high-level component diagram,
per-component source-of-truth file list with invariant cross-references,
sequence diagrams for /query, /extract, and human review, an ER
diagram, the M10 deployment topology, and the SG reachability graph.

docs/architecture.mmd + docs/architecture.png (new)

Mermaid source plus rendered PNG for the headline component diagram. LR
layout (per reviewer preference). Render command in
docs/architecture.md and README.

docs/demo.md (replaces M0 placeholder)

7-step runbook: clone & start the stack → migrate & seed → query (cited
answer) → query (refusal) → extract a structured record → review/HITL
approve with audit verification in psql → dashboard. Optional final
section repeats the demo on AWS using the M10 Terraform stack with a
teardown reminder. Screenshot placeholders rooted at docs/screenshots/
— capture during portfolio review.

LICENSE (new)

MIT. Copyright 2026 nasr.

PROGRESS.md

M11 row updated to ◐ complete on branch with DoD verification; M10 row
reads ☑ merged (PR #14).

Verification

make check: 195 backend pytest passed, 7 frontend Vitest passed,
            ruff/format/mypy clean.
mmdc 11.15.0: docs/architecture.png regenerated from source — PNG matches the
              committed file (3168×2234, 337 KB, LR layout).
no .py / .ts / .tf / Dockerfile / Makefile changes — docs and license only.

Schema/migration concerns

None. Docs-only.

Reminder

Please squash-merge. After merge, capture screenshots from a real demo
run, drop them into docs/screenshots/ (gitignored by default — flip the
rule when capturing for portfolio review), then close out the post-M11
backlog: real-provider eval numbers (#13),
eval set expansion, multi-tenant + RBAC, OTel traces, production-readiness
for the AWS deploy.

div0rce added 7 commits May 29, 2026 10:12
docs/architecture.md replaces the M0 placeholder. Covers:

- High-level component diagram (frontend, backend, governance, data, providers).
- Per-component source-of-truth file list, including invariant cross-references
  (citation-or-refuse, append-only audit, redaction, FSM idempotency).
- Sequence diagrams for /query, /extract, and human review.
- ER diagram for documents → chunks → extractions → workflow_items → audit_events.
- M10 deployment shape: VPC/SG reachability graph, ECS+ALB+RDS+SSM topology,
  cost posture, CD posture (workflow_dispatch only).

docs/architecture.mmd is the standalone source for the headline component
diagram. Render with mmdc:

    npx -y --package=@mermaid-js/mermaid-cli mmdc \
        -i docs/architecture.mmd -o docs/architecture.png \
        --backgroundColor white --width 1600 --scale 2

docs/architecture.png is the committed rendering (3168x2234) so a reviewer
landing on the README sees the picture without needing to run mmdc.
…usal -> extract -> review -> dashboard)

Replaces the M0 placeholder. Each step has a copy-pasteable command, an
expected response shape (no fabricated metric values; real LLM output is
documented as 'phrase may differ but the citation invariants are
deterministic'), screenshot placeholders rooted at docs/screenshots/, and
explicit invariant call-outs (citation-or-refuse, append-only audit
verifiable in psql, requires_review routing).

Final 'Optional - AWS' section repeats the demo against the M10 Terraform
stack with a teardown reminder, but never runs apply for the reader; that
remains a manual operator action documented in infra/README.md.
…tures, quickstart, eval, governance, deployment, limitations, roadmap

Single-page entry point. Embeds the architecture PNG, links every sub-doc
(architecture.md, demo.md, evaluation.md, guardrails.md, workflow.md,
audit-and-review.md, infra/README.md), and lists every limitation honestly:
synthetic data only, small eval set, eval/RESULTS.md still pending real
numbers (issue #13), demo-only deployment posture, self-reported confidence
is a routing signal not a calibrated probability, citation-validity is an
in-context check.

CI badge points at .github/workflows/ci.yml on main. License badge points at
the new LICENSE file.

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: fa157260b8

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/demo.md Outdated
Comment thread docs/demo.md Outdated
@div0rce

div0rce commented May 29, 2026

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 433d518d04

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/demo.md Outdated
@div0rce

div0rce commented May 29, 2026

Copy link
Copy Markdown
Owner Author

@codex reivew

@chatgpt-codex-connector

Copy link
Copy Markdown

To use Codex here, create an environment for this repo.

@div0rce

div0rce commented May 29, 2026

Copy link
Copy Markdown
Owner Author

yolo

@div0rce div0rce merged commit 4ccbe13 into main May 29, 2026
3 checks passed
@div0rce div0rce deleted the feat/m11-docs-demo branch May 29, 2026 15:07
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.

1 participant