26 lines
1.1 KiB
Markdown
26 lines
1.1 KiB
Markdown
# 20260706 ChatGPT Actions GitOps Access
|
|
|
|
## Summary
|
|
|
|
Implemented a controlled ChatGPT Actions adapter for the AIOS online GitOps baseline under https://cnnetmkt.top/api.
|
|
|
|
## Access Model
|
|
|
|
- Public read APIs: /api/base, /api/ver, /api/diff, /api/patch, /api/model, /api/run.
|
|
- Bearer-token write APIs: /api/branch, /api/file, /api/commit, /api/patch, /api/tag, /api/rollback, /api/model, /api/model-priority, /api/nl.
|
|
- chatgpt-gitops-bot is scoped for branch/file/commit/patch/model/rollback-request/NL plan operations.
|
|
- Direct main writes are rejected by the adapter.
|
|
- V-level owner/admin actions are represented as approval request commits unless an owner executes them.
|
|
- Custom LLM API keys are stored outside Git under runtime secrets; committed model records store only secret_ref.
|
|
|
|
## Files
|
|
|
|
- ctive-runtime/app/aios_chatgpt_actions_api.py
|
|
- docs/gitops/openapi-chatgpt-actions.yaml
|
|
- deploy/systemd/aios-gitops-model-api.service
|
|
- scripts/package_contract_check_v1r1c0.sh
|
|
|
|
## Verification
|
|
|
|
See /data/aios-gitops/artifacts/CHATGPT_ACCESS_ACCEPTANCE.md after live deployment.
|