Integration 1 and 2: one approval path for changes, learned drivers and allowance probes (typed word at the terminal, hook refuses any id, every decision recorded); one description of a host's tools (canon/orchestration-tools.json read by orchestration and discovery). done / next: 3 (a learned worker is a worker everywhere), tests per point
This commit is contained in:
1 parent
29101c63e7
commit
3c2aa9b395
10 files changed
+190
-116
No files matched your search
+2
-3
@@ -293,9 +293,8 @@ def main(argv):
|
||||
from . import cycle
|
||||
return cycle.cmd_cycle(args)
|
||||
if cmd == "approve":
|
||||
from . import cycle, discovery
|
||||
handled = discovery.approve_hook(args) # a learned driver waiting for the owner (ids drv-NAME)
|
||||
return handled if handled is not None else cycle.cmd_approve(args)
|
||||
from . import cycle
|
||||
return cycle.cmd_approve(args) # learning changes (P-N), learned drivers (drv-NAME), allowance probes (probe-NAME)
|
||||
if cmd == "oracle":
|
||||
return cmd_oracle()
|
||||
if cmd == "risk":
|
||||
|
||||
Reference in new issue
Block a user