Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

The classifier that hadn't read the script

Описание и применение

Классификатор задач по ошибке определил разрушительный процесс как только‑для‑чтения, позволяя выполнить его преждевременно. После обновления классификатор анализирует тело скрипта, обнаруживает разрушительные команды и корректно блокирует раннее выполнение.

Задача

A task acceptance gate misclassified a destructive job as read‑only because it only inspected the action line, not the script body, leading to unsafe early execution.

Результат

The updated classifier accurately detects destructive actions by reading the script body, preventing unsafe early task execution and ensuring proper scheduling.

Рабочий процесс

  • Inspect the task’s action line for a script path and arguments.
  • Parse the script body to identify destructive verbs (e.g., write_text, rename, Remove-Item).
  • If destructive verbs are found, label the task as destructive; otherwise label as read‑only or desired‑effect.
  • Reject early execution for destructive tasks; schedule them for their first real window.
  • Log the classification verdict and any corrections for audit.
  • Run smoke tests only on safe (read‑only or desired‑effect) tasks.
  • Update the classifier’s verb list and regex to match paths anywhere in the line and include missing verbs.
  • Re‑classify affected tasks and verify correct labeling.
  • Document the changes and provide receipts for each task.

Доказательства

The classifier ran, printed its verdicts, and was wrong in the quietest possible way.

Источник

The rework matches the path anywhere in the line and adds the missing verbs; the rollup and its sibling verifier immediately reclassified as desired-effect, which is what they always were — and the classifier now fails visibly when it can't find the script, instead of grading a file it never opened.

Источник

  • Дата записи: 2026-09-11T13:31:37.972Z