ARTEX/web
BaaRai 37fab18809 fix(coverage): count auto-scope only under a declared root (F8)
Auto task_scope rows (source='auto') come from insert_assets and intent
asset_ids, i.e. from target-derived content. They now count toward the
coverage denominator and list_untested_assets only when they sit under a
root the same task declared (a non-auto row: goal target registered via
add_task_scope, or manual scope): the same or a deeper domain of a declared
root_domain/subdomain, or a net inside a declared ip/cidr.

The direct-source coverage view also stops counting an asset from an intent
anchor alone; fact anchors still count, so tested evidence is unchanged.
Without this, insert_assets put a planted host back into the backlog
through its intent anchor.

task_scope is described as "coverage scope, not enforced" in the code
comments, the add_task_scope description, the goal-decomposer tail and the
task overview UI, instead of "authorization boundary".

Audit F8, 0.7.0.
2026-11-12 07:37:58 +01:00
..
.husky chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
media chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
public chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
src fix(coverage): count auto-scope only under a declared root (F8) 2026-11-12 07:37:58 +01:00
.gitignore chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
biome.json chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
components.json chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
LICENSE chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
next.config.mjs Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
package-lock.json refactor(coverage): 资产覆盖图改用 G6 真力导向布局 2026-08-08 13:14:49 -04:00
package.json refactor(coverage): 资产覆盖图改用 G6 真力导向布局 2026-08-08 13:14:49 -04:00
postcss.config.mjs chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
tsconfig.json chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
tsconfig.scripts.json chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00