Skip to content

Add AGENT.md, Code of Conduct, and minor community files - #14

Merged
carlok merged 1 commit into
mainfrom
cursor/repo-tuning-agent-coc-b5d6
Nov 13, 2026
Merged

carlok merged 1 commit into
mainfrom
cursor/repo-tuning-agent-coc-b5d6

Conversation

@carlok

@carlok carlok commented Nov 13, 2026

Copy link
Copy Markdown
Owner

Summary

Repo-tuning follow-up from a community-files audit. MIT LICENSE is unchanged. No product code refactors.

Verified gaps (before)

  • No root AGENT.md / AGENTS.md
  • No CODE_OF_CONDUCT.md

Changes

Change Purpose
AGENT.md Guide for coding agents: uv sync / bootstrap setup, CI-parity commands, project layout, FleetLens conventions, and explicit rules (increase coverage before commit, no secrets/host-specific values in commits, keep public docs generic).
CODE_OF_CONDUCT.md Contributor Covenant 2.1; report enforcement issues to @carlok on GitHub (no email contact).
.editorconfig Consistent UTF-8/LF, 4-space Python/YAML, Makefile tabs.
CONTRIBUTING.md Link to the code of conduct.
CHANGELOG.md Unreleased note for the above.

Other gaps considered (left as-is)

  • Dependabot (.github/dependabot.yml) — already configured for github-actions and uv.
  • CI coverage — workflow already runs uv run coverage run -m pytest and uv run coverage report (respects fail_under = 85 in pyproject.toml).
  • Pinned actions — actions/checkout@v7, astral-sh/setup-uv@v7, aquasecurity/[email protected] are current; no bump in this PR.

Local verification

Environment: uv sync --group dev --locked (Python 3.11.18).

Commands run (same intent as CI):

export ANSIBLE_CONFIG=ansible/ansible.cfg ANSIBLE_HOME=.ansible ANSIBLE_LOCAL_TEMP=.ansible/tmp
uv run ruff check .
uv run coverage run -m pytest
uv run coverage report
uv run ansible-playbook --syntax-check -i ansible/inventories/example/hosts.ini ansible/playbooks/ping.yml
uv run ansible-playbook --syntax-check -i ansible/inventories/example/hosts.ini ansible/playbooks/collect.yml
uv run ansible-lint ansible/playbooks ansible/roles
shellcheck -x scripts/*.sh

Results

  • Ruff: all checks passed
  • Pytest: 51 passed
  • Coverage: TOTAL 90% (above 85% fail_under)
  • Ansible syntax-check: OK (ping.yml, collect.yml)
  • ansible-lint: 0 failures (production profile)
  • shellcheck: exit 0
Open in Web Open in Cursor 

- AGENT.md: setup, CI-parity checks, layout, and agent rules
- CODE_OF_CONDUCT.md: Contributor Covenant 2.1, enforcement via @carlok
- .editorconfig and CONTRIBUTING.md CoC link
- CHANGELOG Unreleased entry

Co-authored-by: Carlo Perassi <[email protected]>
@carlok
carlok merged commit a4e4d75 into main Nov 13, 2026
8 checks passed
@carlok
carlok deleted the cursor/repo-tuning-agent-coc-b5d6 branch November 13, 2026 21:14
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