How doyouhavetheguts/groundwork works
Groundwork is a capital-request intake and review application. A requester describes or imports a draft; the application structures it into Finance’s five sections, scores required items and findings, supports guided improvement rounds, then gates handoff and produces exports. The graph also preserves account/access control, image and exhibit capabilities, preview personas, and Finance escalation. The README documents the major workflow; some route-level wiring and unsampled module internals are not shown, so uncertain links are omitted or marked unverified.
Main entry points: app.py HTTP Application · agents.py Draft Structuring · llm.py Model Client · images.py Images and Diagrams
Components 20
Request Intake
- Request UI
static/gw2.js - Word Import
docimport.py - Images and Diagrams
images.py
Draft Review
- Draft Structuring
agents.py - Draft Cleanup
polish.py - Scoring and Gates
rubric.py - Guided Coaching
coach.py - Model Client
llm.py
Application Platform
- HTTP Application
app.py - Settings
config.py - Identity and Roles
auth.py - SQLite Store
store.py - Edition Preview
preview.py
Handoff
- Request Export
exporter.py - Finance Escalation
notify.py
Other components
- Requester
- LLM Provider
- Image API
- Wikimedia Commons
- Finance Partner
Connections 24
- Requester → Request UI: describes request
README.md - Request UI → HTTP Application: submits request
- HTTP Application → Identity and Roles: checks access
app.py - HTTP Application → Word Import: imports draft
README.md - HTTP Application → Draft Structuring: structures draft
README.md - Draft Structuring → Draft Cleanup: polishes text
agents.py - Draft Structuring → Model Client: requests grading
agents.py - Guided Coaching → Model Client: generates questions
coach.py - Draft Structuring → Scoring and Gates: uses standard
agents.py - Guided Coaching → Scoring and Gates: re-scores draft
README.md - HTTP Application → Guided Coaching: runs improvement
README.md - HTTP Application → Scoring and Gates: checks handoff gates
README.md - Model Client → Settings: loads provider config
llm.py - Model Client → LLM Provider: sends prompts
- HTTP Application → SQLite Store: loads and saves
app.py - Identity and Roles → SQLite Store: reads accounts
auth.py - HTTP Application → Images and Diagrams: serves image features
app.py - Images and Diagrams → Image API: requests examples
README.md - Images and Diagrams → Wikimedia Commons: searches references
- HTTP Application → Edition Preview: enters preview
app.py - Edition Preview → SQLite Store: seeds preview data
preview.py - HTTP Application → Request Export: exports request
README.md - HTTP Application → Finance Escalation: escalates after rounds
README.md - Finance Escalation → Finance Partner: alerts partner
README.md