icebox-gov 0.1.0

Runtime governance for autonomous offensive security — the single seam every human operator, REST client, and LLM agent must pass through before anything touches a target.
Documentation
+
��Wjy
���Rt^RIt^RIt^RIt^RIt]P
P
]P
P]44t	]
!]!]P!]P
P]	R444R4t
]
RRRRRRR	]PPR
R4.	tRt]!4t]P&]P(n]P,.]P(n]P&]P0n]P&]P,.]P0n]P&]P2n]P&]P,.]P2n]P4]P6n]P&]P8.]P6n]P4]P:n]P&]P8.]P:n]P&]P<n]P&.]P<n]P&]P>n]P&.]P>n]P&]P@n]P&.]P@n]P&.]PBn]P&.]PDnR
t#!RR4t$R#)z5ctypes wrapper around the ICEBOX ``libicebox`` C ABI.Nz	_native.*ztarget/debug/libicebox.dylibztarget/debug/libicebox.soztarget/release/libicebox.dylibztarget/release/libicebox.sozlibicebox.dylibzlibicebox.soz
icebox.dll�ICEBOX_CAPI�c��\F$pV'gK
\P!V4u#	\	R4h \dKAi;i)z_libicebox not found. Build it with `cargo build` or set ICEBOX_CAPI to the shared library path.)�_CANDIDATES�ctypes�CDLL�OSError�RuntimeError)�paths �=/Users/tanmaydevare/Tanmay/Agent/icebox/python/icebox/_sdk.py�	_load_librsN������	��;�;�t�$�$�	��	9�����	��	�s�:�A	�A	c��V'gR#\P!V4Pp\P	V4VeVP4#R#�N)r�c_char_p�value�_lib�icebox_free_string�decode)�ptr�datas& r�_read_stringrGs@�����?�?�3��%�%�D����C� � �,�4�;�;�=�6�$�6�c�a�]tRt^OtoV3RlRltV3RlRltV3RlRltV3RlRltV3R	lR
ltV3RlRlt	V3R
lRlt
V3RlRltRtRt
VtR#)�
Governancec� <�V^8�dQhRS[/#)��config��dict)�format�
__classdict__s"�r�__annotate__�Governance.__annotate__Ps���E�E�t�Erc��\P!V4P4p\P	V4VnVP
'g\
R4hR#)z$icebox_govern failed: invalid configN)�json�dumps�encoder�
icebox_govern�handle�
ValueError)�selfr�cfgs&& r�__init__�Governance.__init__PsE���j�j�� �'�'�)���(�(��-����{�{�{��C�D�D�rc�&<�V^8�dQhRS[RS[/#�r�task�returnr)rr s"�rr!r"Vs���.�.�$�.�4�.rc���\\PVP\P
!V4P
444pV'd\P!V4#/#r)rr�icebox_checkr(r$r%r&�loads�r*r0�raws&& r�check�Governance.checkVsD���4�,�,�T�[�[�$�*�*�T�:J�:Q�:Q�:S�T�U��"%�t�z�z�#��-�2�-rc�&<�V^8�dQhRS[RS[/#r/r)rr s"�rr!r"Zs���.�.��.��.rc���\\PVP\P
!V4P
444pV'd\P!V4#/#r)rr�icebox_check_autor(r$r%r&r4r5s&& r�run�Governance.runZsD���4�1�1�$�+�+�t�z�z�$�?O�?V�?V�?X�Y�Z��"%�t�z�z�#��-�2�-rc�&<�V^8�dQhRS[RS[/#�r�approval_idr1��int�bool)rr s"�rr!r"^s���C�C�3�C�4�Crc�T�\\PVPV44#r)rCr�icebox_approver(�r*r@s&&r�approve�Governance.approve^s���D�'�'����[�A�B�Brc�&<�V^8�dQhRS[RS[/#r?rA)rr s"�rr!r"as���@�@��@��@rc�T�\\PVPV44#r)rCr�icebox_denyr(rFs&&r�deny�Governance.denyas���D�$�$�T�[�[�+�>�?�?rc� <�V^8�dQhRS[/#�rr1��list)rr s"�rr!r"ds���.�.��.rc��\\PVP44pV'd\P
!V4#.#r)rr�icebox_pendingr(r$r4�r*r6s& r�pending�Governance.pendingds0���4�.�.�t�{�{�;�<��"%�t�z�z�#��-�2�-rc� <�V^8�dQhRS[/#rOrP)rr s"�rr!r"hs���.�.�D�.rc��\\PVP44pV'd\P
!V4#.#r)rr�icebox_audit_jsonr(r$r4rTs& r�
audit_json�Governance.audit_jsonhs0���4�1�1�$�+�+�>�?��"%�t�z�z�#��-�2�-rc� <�V^8�dQhRS[/#rO)�str)rr s"�rr!r"ls�����3�rc�j�\\PVP44pT;'gR#)r)rr�icebox_audit_csvr(rTs& r�	audit_csv�Governance.audit_csvls'���4�0�0����=�>���y�y�b�rc�|�\VRR4'd)\PVP4RVnR#R#)r(N)�getattrr�icebox_free_handler()r*s&r�__del__�Governance.__del__ps/���4��4�(�(��#�#�D�K�K�0��D�K�)r)r(N)�__name__�
__module__�__qualname__�__firstlineno__r,r7r<rGrLrUrZr`re�__static_attributes__�__classdictcell__)r s@rrrOse����E�E�.�.�.�.�C�C�@�@�.�.�.�.����rr)%�__doc__r�globr$�osr
�dirname�abspath�__file__�_PKG_DIR�next�iter�join�_NATIVE�environ�getrrr�c_void_pr'�restyper�argtypesr3r;�c_boolrE�c_uint64rKrSrYr_rrdrr�rr�<module>r�s+��;�
���	��7�7�?�?�2�7�7�?�?�8�4�5��
�����2�7�7�<�<��+�6�	7�8�$����"��$�!�����J�J�N�N�=�"�%�
����{��#�_�_�����%���/�����"�O�O�����$�o�o�v���?�����!'�������#)�?�?�F�O�O�"D�����$�m�m����� &������A�����!�=�=�����#�_�_�f�o�o�>�����$�o�o����� &���0�����!'�������#)�?�?�"3����� &�������"(�/�/�!2�����$*�O�O�#4���� �$*�O�O�#4���� �7�$�$r