Skip to content

docs: align capability and security claims with the implementation - #111

Merged
OkiriGabriel merged 3 commits into
open-devops-agent:mainfrom
Nitjsefnie-OSC:docs/capability-truth
Oct 23, 2026
Merged

OkiriGabriel merged 3 commits into
open-devops-agent:mainfrom
Nitjsefnie-OSC:docs/capability-truth

Conversation

@Nitjsefnie

Copy link
Copy Markdown
Contributor

Description

Corrects the documented capability claims that do not match the code: the PagerDuty monitoring row and the DevOps tool-integration matrix in docs/PLATFORM_SUPPORT.md claimed webhook ingress and dedicated integrations that are not registered or implemented, and the same document's CI/CD setup examples pointed at a /webhook route that no handler serves; docs/COVERAGE_GAPS.md presented built-in certificate renewal as a manual check; SECURITY_GUARANTEES.md claimed credentials are encrypted at rest and referenced an ENCRYPT_CREDENTIALS flag that the application never reads; the README's PagerDuty section pointed users at a /webhook/pagerduty route that does not exist.

Refs #17
Refs #60

Type of Change

  • Documentation update

Platform/Component

  • Documentation

Testing

  • Manual testing performed

Test Configuration

OS: Linux
Python Version: (not applicable — documentation-only change)
Kubernetes Version: (not applicable)
Cloud Provider: (not applicable)

This is a documentation-only change: no code, tests, or workflows are modified, and no test asserts on documentation wording. Every changed statement was verified against the code at this branch's head, and the citations are listed under Additional Notes. The repository's CI, including the docs workflow, runs against the branch head on the fork.

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published

Screenshots (if applicable)

Not applicable.

Breaking Changes

None.

Additional Notes

What each changed statement now says, and the code that shows it (line numbers at the base this was written against):

README.md — PagerDuty section. Outgoing incident creation with PAGERDUTY_ENABLED, PAGERDUTY_TOKEN, PAGERDUTY_SERVICE_ID, PAGERDUTY_FROM_EMAIL: tools/pagerduty_tools.py:21,35-40 (is_configured), create_incident POSTing the PagerDuty /incidents API. /webhook/pagerduty is not registered: the registered webhook routes are exactly /webhook/github api/server.py:386, /webhook/alertmanager :468, /webhook/grafana :496, /webhook/gitlab :536, /webhook/bitbucket :601, /webhook/manual :649.

docs/PLATFORM_SUPPORT.md — monitoring table, PagerDuty row. Same two facts as above.

docs/PLATFORM_SUPPORT.md — DevOps Tool Integration matrix.

  • Version Control — built-in webhooks (api/server.py:386,536,601) and PR/MR API tools (tools/cicd_tools.py:79,225,305,693, tools/github_tools.py).
  • CI/CD — built-in API collectors (collectors/jenkins.py, collectors/github.py, collectors/gitlab.py, collectors/azure_devops.py, collectors/bamboo.py) and retry tools (tools/cicd_tools.py:194,203,422,621,651); failure webhooks for GitHub Actions and GitLab CI (api/server.py:386,536); manual webhook ingress (api/server.py:649).
  • Container Registry — collectors/cloud_registry.py:21,51,77 (ecr, artifact_registry covering Artifact Registry/GCR, acr); the GCP/AWS/Azure collectors drive them; no dedicated Docker Hub or GCR client.
  • Infrastructure as Code — Terraform validate/plan CLI tools (tools/iac_tools.py); no CloudFormation or ARM tooling.
  • Configuration Management, Secrets Management — no dedicated collectors or tools; absence verified by source search (no Ansible/Chef/Puppet/Vault/Secrets Manager/Key Vault client code; matches in collectors/security_scanner.py are advisory suggestions, not integrations).
  • Service Mesh — generic Kubernetes pod/log/event diagnostics (collectors/k8s.py); no mesh-specific collector or tool.
  • API Gateway — built-in Nginx diagnostics/configuration/reload tools (tools/nginx_tools.py:52,102,167; agent dispatch agent/core.py:1604-1620); no Kong or Ambassador integration.

docs/PLATFORM_SUPPORT.md — CI/CD setup examples. The GitHub Actions and GitLab CI/CD setup blocks now describe their native webhooks (api/server.py:386 and :536; the GitHub configuration matches the README's own webhook instructions). The Jenkins section now states manual ingress: a post { failure { … } } step POSTing {"type": "cicd", "labels": {"cicd_platform": "jenkins"}} to /webhook/manual — the fields the manual handler and classifier actually use (api/server.py:649-668: type required at :660, source overwritten server-side at :663; agent/classifier.py get_cicd_platform reads labels.cicd_platform).

docs/COVERAGE_GAPS.md — SSL/cert-renewal row. Built-in renew_certificates tool (schema agent/core.py:499-511, dispatch agent/core.py:1621-1627, implementation tools/nginx_tools.py:213-293): dry-run default true, DNS-01/wildcard via CERTBOT_DNS_PLUGIN; refusals for missing certbot (tools/nginx_tools.py:230-238), an invalid domain (:221-229, :344-351), an unknown plugin name (:357-360), an unset CERTBOT_DNS_CREDENTIALS required by the selected plugin (:361-366); a failed DNS-01/wildcard renewal surfaces as a runtime failure (:250-266).

SECURITY_GUARANTEES.md — credential-encryption claims. services/org_config.py:99-112: save() stores the plain filtered credential dictionary via storage.put_json, and get() returns it via storage.get_json — there is no application-level encryption. ENCRYPT_CREDENTIALS appears nowhere in the application code; the flag is not read. Nothing is claimed either way about provider-side bucket or disk encryption, which is outside what was examined.

Reviewer Checklist

  • Code quality is acceptable
  • Additional review is welcome on the new phrasings
  • Documentation is updated
  • No security concerns
  • Performance impact is acceptable

Generated by GLM-5.3-Flash (lead), GPT-6.1 Sol (implementation), GPT-6 Astra (review)

@Nitjsefnie

Copy link
Copy Markdown
Contributor Author

Heads-up: this branch lives in an organization-owned fork, and GitHub doesn't let maintainers push to those. If anything needs changing, just say so here and I'll make the change on this branch right away.

@OkiriGabriel OkiriGabriel left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks @Nitjsefnie. I spot-checked the main corrections against the code and they're accurate:

  • no /webhook/pagerduty route exists
  • ENCRYPT_CREDENTIALS is never read
  • org credentials are plain JSON at {org}/config/credentials.json
  • the bare /webhook route only exists on the edge middleware

Documentation that understates is much better than documentation that overstates, especially in a security guide. Approving and merging.

Follow-up (not blocking): SECURITY_GUARANTEES.md still has a few claims nothing in the repo backs up: "98.5% success rate", "Compliant - SOC2, ISO27001, CIS, NIST, GDPR, PCI-DSS", and "RBAC (Role-Based Access Control) enforced" (there's no RBAC on the API; see #59). If you'd like to continue in the same spirit, those are next. Encryption at rest itself is tracked in #60.

@OkiriGabriel
OkiriGabriel merged commit 384a344 into open-devops-agent:main Oct 23, 2026
12 checks passed
@Nitjsefnie

Copy link
Copy Markdown
Contributor Author

Thanks! I will take both follow-ups as separate PRs: BuildKit step and failed to solve recognition in parse_build_error, and the unbacked claims left in SECURITY_GUARANTEES.md.

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