AI agents and code quality (tools, attribution, session reports)
What a connected AI agent can read, how Revly tells AI work from human work, and the session report.
A connected AI agent (MCP server 0.9.0 and the optional Revly skill) can read your coding standards and findings so it writes code that fits. It cannot change them.
Read-only tools
revly_get_coding_standards,revly_get_effective_file_rules,revly_get_project_contextrevly_get_analysis_findings,revly_get_function_metricsrevly_analyze_changeschecks the agent's own uncommitted changes. It needs the modify permission.revly_statusalso reports the number of open mandatory findings.
These tools return paths, numbers and finding text, never the contents of your files.
What an agent cannot do
It cannot change rules, enforcement levels, profiles or exceptions, and it cannot accept or resolve a finding. Those stay with you.
How Revly knows work was done by AI
A version is marked AI only when the connected agent reports it as its own work, through the Revly skill (edit_info). Without that report Revly treats the work as human-edited. An agent that ignores the skill is therefore undercounted. Revly cannot detect AI work by looking at the code.
Session reports
At the end of a session the agent can send a short report (about 300 words) with revly_submit_session_report. Revly saves it as a Markdown file in the project's private .revly/reports folder and adds the numbers it measured itself. If a session ended without a report, Revly asks the agent next time.
In AI Sessions > Reports from the agent you choose Never, At the end of a session (the default) or At every checkpoint. An agent cannot change that setting.
Documents projects do not accept AI connections.