Skip to content

????

??????? Skylattice ???????????????????????

???????????????????validation policy ? tracked ???????????????????

??????

  • ????? install -> doctor -> pytest -> validation suite?
  • ??? OPENAI_API_KEY ? GITHUB_TOKEN ?????????????
  • ??? token ???????????????????

5 ???????

  1. ?????
python -m pip install -e .[dev]
  1. ????????????
python -m skylattice.cli doctor

??????????? doctor-output.json ? JSON??? status: ok??? SQLite ????? tracked validation commands?

  1. ? smoke tests?
python -m pytest -q

????????????????????

  1. ??? validation suite?
python tools/run_validation_suite.py

?????configs/task/validation.yaml ?? Windows-first ?????

  1. ?????????

  2. Task walkthrough

  3. Task inspect JSON
  4. Radar walkthrough
  5. Radar inspect JSON

????

?????????????????????

  • doctor ?? status: ok
  • smoke tests ? validation suite ???
  • ?????????????????

token-enabled ??

PowerShell ???

$env:OPENAI_API_KEY = "..."
$env:GITHUB_TOKEN = "..."
$env:SKYLATTICE_GITHUB_REPOSITORY = "YSCJRH/skylattice"

?????

skylattice task run --goal "Refresh README and prepare a draft PR" --allow repo-write --allow external-write
skylattice radar scan --window weekly --limit 20

??????