Repository navigation
ci: exécuter les 199 tests et le lint à chaque push/PR - #3
Merged
Merged
Conversation
Adds CI so every push and PR is validated automatically. Previously these repos had tests (or a build) but no pipeline running them. Co-authored-by: openhands <openhands@all-hands.dev>
kadohack12
marked this pull request as ready for review
October 31, 2026 17:33
kadohack12
added a commit
that referenced
this pull request
Nov 15, 2026
Add sliver_run_discovery(session_id, command), an adversary-emulation helper that audits a target using a strict read-only allow-list (whoami, id, uname -a, hostname, uptime). Anything else is refused before it reaches the target. - sliver.py: allow-list, session-id validation, and clear refusals - core.py: expose sliver_run_discovery to the model via TOOL_SCHEMAS - cli.py: classify it state-changing (deny-by-default [y/N]), support model-supplied tool arguments, and add a 'discover' CLI command - tests: allow-list enforcement, argument routing, and an end-to-end test where 'Qui est l'utilisateur sur la session ?' runs whoami through the Safety Gate and returns the model's analysed answer - docs: README (features, safety model, Role #2/#3, CLI) and WALKTHROUGH (optional T1082 step); test badge 102 -> 132 Co-authored-by: openhands <openhands@all-hands.dev>
kadohack12
added a commit
that referenced
this pull request
Nov 15, 2026
Adds CI so every push and PR is validated automatically. Previously these repos had tests (or a build) but no pipeline running them. Co-authored-by: openhands <openhands@all-hands.dev>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Objectif
Ce dépôt a 199 tests et un lint
ruffconfiguré, mais aucun pipeline ne les exécutait. Cette PR ajoute une CI qui valide chaque push et chaque PR.Ce qui est ajouté
.github/workflows/ci.yml: lint (ruff format --check+ruff check) etpytest, sur une matrice Python 3.11 / 3.12 / 3.13 (les versions déclarées danspyproject.toml).Vérifié localement (Python 3.13)
pip install -e ".[dev]": OKpython -m pytest: 199 passedruff check .: All checks passed!ruff format --check .: conformeCette PR a été créée par un agent IA (OpenHands) pour le compte de @kadohack12.
@kadohack12 can click here to continue refining the PR