Skip to content

docs(workflow): token-aware Docker homelab (AGENTS + skill) - #96

Closed
FabioLeitao wants to merge 1 commit into
mainfrom
chore/docs-token-aware-docker-homelab
Closed

FabioLeitao wants to merge 1 commit into
mainfrom
chore/docs-token-aware-docker-homelab

Conversation

@FabioLeitao

Copy link
Copy Markdown
Collaborator

Summary

  • AGENTS.md: Prefer Docker helper scripts for homelab hygiene; opportunistic triggers (Dockerfile, Hub, Scout, disk clutter).
  • token-aware-automation SKILL: New section with table (docker-lab-build, docker-hub-pull, docker-prune-local); description mentions Docker scripts.
  • TOKEN_AWARE_USAGE.md: Homelab bullet points to scripts/docker/README.md.

Tests

  • uv run pytest tests/test_docs_markdown.py tests/test_markdown_lint.py -q

- AGENTS: prefer docker-lab-build, docker-hub-pull, docker-prune-local opportunistically
- token-aware-automation SKILL: table + when to use; description update
- TOKEN_AWARE_USAGE: link scripts/docker README for homelab without ad-hoc docker churn

Made-with: Cursor
@FabioLeitao

Copy link
Copy Markdown
Collaborator Author

PÚBLICO (QA) — Revisão do push fix/rust-tier-gate-2180 @ 3e0a909

Pontos de qualidade identificados:

  1. Discrepância de versão PyO3 (rust/boar_fast_filter/Cargo.toml linha 13 vs Cargo.lock):

    • Cargo.toml: pyo3 = "0.29.0"
    • Cargo.lock: pyo3 = 0.29.3
    • Recomendação: Sincronizar as versões para evitar builds inconsistentes.
  2. Uso de assert em código de segurança (Bandit B101):

    • api/rbac.py:119 — assert roles is not None
    • connectors/hubspot_connector.py:227 — assert last_exc is not None
    • Em Python, assert é removido com -O; considerar if/raise ValueError para clareza.
  3. Uso de assert em testes (core/demo/synthetic_corpus.py:428):

    • assert recovered == secret — usado em testes de LSB steganography

Testes

  • Os testes existentes cobrem o Rust prefilter, mas não validam a consistência de versão do PyO3.
  • Recomenda-se teste automatizado para versão PyO3 alinhada.

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.

1 participant