Skip to main content

LLM-first low-noise Build@1 guard for HarmonyOS and ArkTS repos.

Project description

hmos-precheck

Agent-first diff checks for HarmonyOS / ArkTS repositories.

This Python package is the primary published implementation of hmos-precheck. It is designed for LLM or CI gate usage where stdout must stay compact and self-explanatory.

Install

pip install hmos-precheck

Agent Protocol

Run:

hmos-precheck run --project-root <repo> --output-dir <out>

Interpret stdout JSON only:

  • {"ok":true}: stop.
  • {"ok":false,"read_file":"..."}: read only read_file, fix only its issues, then re-run once.
  • If the second run still fails, stop and report the latest read_file.

warn findings do not block pass and are hidden from compact stdout.

Config Resolution

Resolution order:

  1. --commandline-tools
  2. DEVECO_SDK_HOME
  3. project config
  4. user config
  5. auto-detect

Commands

  • hmos-precheck run
  • hmos-precheck doctor
  • hmos-precheck init

Validation

python3 -m pytest -q

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hmos_precheck-0.1.2.tar.gz (30.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hmos_precheck-0.1.2-py3-none-any.whl (24.5 kB view details)

Uploaded Python 3

File details

Details for the file hmos_precheck-0.1.2.tar.gz.

File metadata

  • Download URL: hmos_precheck-0.1.2.tar.gz
  • Upload date:
  • Size: 30.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for hmos_precheck-0.1.2.tar.gz
Algorithm Hash digest
SHA256 c52483a73f0c8d479cbf02de0126ad6eb7d674cb24ebf8c280fed3e9b4713a7a
MD5 3860a18bc2cea750ae8b962d2cad1b69
BLAKE2b-256 7fccc4228fbd235a37877053c6082d861fd746ab72579ffb54145aed8437acea

See more details on using hashes here.

File details

Details for the file hmos_precheck-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: hmos_precheck-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 24.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for hmos_precheck-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b4bba7fdf2c58ccaf9a8e3ee2f8143b32e004e6f24e6fe7091d44d7a68db4c6f
MD5 02cf6c3bab42b60147d091b190ab7e75
BLAKE2b-256 a50e6a67883a7d9f475c4ea5f2fc29ce5645d15265935b7fb88b6eec3cedd2eb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page