Skip to content

Add Agent Playbook section to README - #293

Merged
stefanvacareanu7 merged 1 commit into
masterfrom
docs/agent-update-playbook
Jul 29, 2026
Merged

Add Agent Playbook section to README#293
stefanvacareanu7 merged 1 commit into
masterfrom
docs/agent-update-playbook

Conversation

@stefanvacareanu7

Copy link
Copy Markdown
Contributor

Summary

  • Adds a new "Agent Playbook: Updating This Repository End-to-End" section to README.md documenting how an AI agent (or human) should carry out a Pylint version bump / dependency update in this repo, based on investigation of the actual build system, doc-generator, CI config, and prior bump commit history.

Test plan

  • Documentation-only change (README.md). No code, build, or CI config touched.

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

AI Reviewer: first review requested successfully. AI can make mistakes. Always validate suggestions.

Run reviewer

TIP This summary will be updated as you push new changes.

@codacy-production codacy-production Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull Request Overview

The added Agent Playbook contains critical procedural documentation but introduces direct contradictions with legacy sections of the README. Specifically, legacy instructions for manual file edits conflict with the new automation-focused guidance. There is also a syntax error in an sbt command string that requires correction to ensure successful local execution.

TIP Improve review quality by adding custom instructions
TIP How was this review? Give us feedback

Comment thread README.md
We use the [codacy-plugins-test](https://github.com/codacy/codacy-plugins-test) to test our external tools integration.
You can follow the instructions there to make sure your tool is working as expected.

## Agent Playbook: Updating This Repository End-to-End

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 MEDIUM RISK

The documentation in the new 'Agent Playbook' contradicts legacy instructions in the 'Generate Docs' section (lines 24-37), particularly regarding manual edits to docs/patterns.json. To prevent conflicting guidance, remove the legacy sections and consolidate the documentation into the new playbook.

Comment thread README.md

1. **Bump `pylint==` (and compatible companion packages)** in `requirements.txt`, and the base image tag in `Dockerfile` if warranted.
2. **Regenerate the docs.** Requires `pandoc` on `PATH` and network access: `sbt "doc-generator/run"`. This overwrites `docs/patterns.json` and `docs/description/*`; review the diff for new/removed/renamed rules, changed defaults, and stale fixtures under `docs/tests/`/`docs/multiple-tests/`.
3. **Format/compile the Scala doc-generator** if you touched `Main.scala`: `sbt "scalafmt::test; sbt:scalafmt::test"` (CI job `check_scalafmt` runs this).

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 MEDIUM RISK

Suggestion: To execute multiple sbt tasks in one command from the terminal, the string needs a leading semicolon (e.g., sbt ";task1; task2"). Without it, sbt interprets the entire string as a single command name.

@stefanvacareanu7
stefanvacareanu7 merged commit 178760b into master Jul 29, 2026
7 checks passed
@stefanvacareanu7
stefanvacareanu7 deleted the docs/agent-update-playbook branch July 29, 2026 09:58
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