Documentation
engineering-doc-generator
Project-Agent-trust-merge / reference-agents/engineering-doc-generator/README.md
> Writes and maintains technical documentation as code changes. Keeps READMEs and API docs in sync.
Reference agent in the Engineering Reference Workforce, shipped as Apache 2.0 source under reference-agents/. Like every ARX reference agent, this is a demonstrator — customers fork, modify, or replace it. What stays is the governance layer underneath (scoped credentials, manager approval, hash-chained personnel record, defined termination).
What it does
Given a list of repo paths:
- Pulls the relevant context through ARX-governed connectors
- Applies the documentation generation logic
- Returns a structured doc update for human review (or auto-action
if within declared low-risk scope)
- Streams every action to the customer's hash-chained personnel record
Governance posture
Every action this agent takes is intercepted by ARX:
- Onboarding — credentials issued at runtime, scoped per-call, never embedded
- Supervision — writes to confluence, notion require manager approval
- Evaluation — drift detection against
manifests/job_description.yaml - Records — every action lands in the customer's S3 personnel-record bucket
- Termination — one-button revoke + halt + exit attestation
Endpoints
| Method | Path | Description | | ------ | ----------- | ----------- | | POST | /act | Plan a documentation generation pass against a list of repo paths | | POST | /execute | Execute the plan, return the resulting doc updates | | GET | /status | Liveness + manifest sha256 |
Run locally
``bash cd reference-agents/engineering-doc-generator python3 -m venv .venv && source .venv/bin/activate pip install -r requirements.txt uvicorn app.main:app --reload --port 8100 ``
``bash curl -s -X POST http://127.0.0.1:8100/execute \ -H 'content-type: application/json' \ -d @examples/request.json | jq . ``