feat(system): S86: drone debug_print fix + memory encapsulation bypasses + STATUS sync
Co-Authored-By: @devpulse <devpulse@aipass>
This commit is contained in:
@@ -18,6 +18,7 @@ from __future__ import annotations
|
||||
from pathlib import Path
|
||||
|
||||
from aipass.prax import logger
|
||||
from aipass.cli.apps.modules import console
|
||||
from aipass.drone.apps.handlers.json import json_handler
|
||||
|
||||
MUTE_FLAG = Path("/tmp/aipass-hooks-muted")
|
||||
@@ -56,19 +57,19 @@ def handle_command(command: str | None = None, args: list[str] | None = None) ->
|
||||
|
||||
if command == "off":
|
||||
mute()
|
||||
print("Hook sounds: MUTED")
|
||||
console.print("Hook sounds: MUTED")
|
||||
return True
|
||||
|
||||
if command == "on":
|
||||
unmute()
|
||||
print("Hook sounds: ACTIVE")
|
||||
console.print("Hook sounds: ACTIVE")
|
||||
return True
|
||||
|
||||
# No command = show status
|
||||
if is_muted():
|
||||
print("Hook sounds: MUTED (off)")
|
||||
print(f" Flag: {MUTE_FLAG}")
|
||||
console.print("Hook sounds: MUTED (off)")
|
||||
console.print(f" Flag: {MUTE_FLAG}")
|
||||
else:
|
||||
print("Hook sounds: ACTIVE (on)")
|
||||
console.print("Hook sounds: ACTIVE (on)")
|
||||
|
||||
return True
|
||||
|
||||
@@ -491,6 +491,26 @@
|
||||
"standard": "deep_nesting",
|
||||
"reason": "Vector search with nested result filtering and similarity scoring."
|
||||
},
|
||||
{
|
||||
"file": "apps/handlers/symbolic/deduplicator.py",
|
||||
"standard": "encapsulation",
|
||||
"reason": "Cross-branch service call to api branch key management. api has no modules-level get_api_key() for external callers."
|
||||
},
|
||||
{
|
||||
"file": "apps/handlers/symbolic/extractor.py",
|
||||
"standard": "encapsulation",
|
||||
"reason": "Cross-branch service call to api branch key management. api has no modules-level get_api_key() for external callers."
|
||||
},
|
||||
{
|
||||
"file": "apps/handlers/symbolic/deduplicator.py",
|
||||
"standard": "handlers",
|
||||
"reason": "Cross-branch handler import for api key retrieval — api branch's canonical key interface is at handler level."
|
||||
},
|
||||
{
|
||||
"file": "apps/handlers/symbolic/extractor.py",
|
||||
"standard": "handlers",
|
||||
"reason": "Cross-branch handler import for api key retrieval — api branch's canonical key interface is at handler level."
|
||||
},
|
||||
{
|
||||
"file": "apps/handlers/symbolic/deduplicator.py",
|
||||
"standard": "deep_nesting",
|
||||
|
||||
Reference in New Issue
Block a user