Go to file
Ilgiz Kalmetyev ff78355a18 добавлена информация о дополнительных аргументах команды сканирования 2026-03-24 17:40:43 +05:00
contracts docs: finalize architecture and release readiness 2026-03-24 17:23:27 +05:00
docs добавлена информация о дополнительных аргументах команды сканирования 2026-03-24 17:40:43 +05:00
migrations/versions feat: add SQLite schema migrations and pragmas 2026-03-24 12:47:14 +05:00
plan feat: add structured CLI scan constraints 2026-03-24 17:37:33 +05:00
scripts test: add verification suites 2026-03-24 17:18:47 +05:00
src/wifi_agent feat: add structured CLI scan constraints 2026-03-24 17:37:33 +05:00
systemd feat: add security hardening 2026-03-24 17:12:16 +05:00
tests feat: add structured CLI scan constraints 2026-03-24 17:37:33 +05:00
wifi_agent chore: bootstrap application skeleton and toolchain 2026-03-24 12:21:43 +05:00
.env.example feat: add security hardening 2026-03-24 17:12:16 +05:00
.env.test.example chore: bootstrap application skeleton and toolchain 2026-03-24 12:21:43 +05:00
.gitignore chore: bootstrap application skeleton and toolchain 2026-03-24 12:21:43 +05:00
Makefile test: add verification suites 2026-03-24 17:18:47 +05:00
README.md добавлена информация о дополнительных аргументах команды сканирования 2026-03-24 17:40:43 +05:00
pyproject.toml test: add verification suites 2026-03-24 17:18:47 +05:00

README.md

wifi-agent

Bootstrap skeleton for a Linux Wi-Fi agent.

Bootstrap commands

  • python -m pytest
  • python -m wifi_agent.devtools.format_check
  • python -m wifi_agent.devtools.lint_check
  • python -m wifi_agent.devtools.typecheck

Verification suites

  • Unit: python -m pytest tests/unit
  • Contract: python -m pytest tests/contract
  • Integration: python -m pytest tests/integration
  • E2E smoke: python -m pytest tests/e2e
  • CI aggregate: sh scripts/test.sh or make test-ci

Entrypoints

  • python -m wifi_agent
  • python -m wifi_agent.api.app
  • python -m wifi_agent.cli.main

Documentation

  • docs/cli.md
  • docs/architecture.md
  • docs/operations.md
  • docs/contracts.md
  • docs/metrics.md
  • docs/release_checklist.md

Security defaults

  • Mutating API routes (POST /cache/reset, POST /reload) are fail-closed by default until a mutation authorizer is configured explicitly.
  • Wi-Fi control remains disabled by default and only runs allowlisted commands against allowlisted interfaces.
  • Webhook ingress enforces schema validation and bounded request/object sizes.

Filesystem permissions

  • State directory: 0750 owned by wifi-agent:wifi-agent
  • SQLite database: 0640 owned by wifi-agent:wifi-agent
  • Contracts directory: 0750 owned by root:wifi-agent
  • Secrets directory: 0750 owned by root:wifi-agent
  • wpa_supplicant ctrl sockets: grant only the minimum group access needed for control features

Secret handling

  • Keep shared secrets outside JSON contracts.
  • Reference logical secret names from config or deployment metadata.
  • Resolve secrets from environment or files under a dedicated secrets directory.