ez2-aib 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (547) hide show
  1. ez2_aib-0.1.0/LICENSE +202 -0
  2. ez2_aib-0.1.0/NOTICE +4 -0
  3. ez2_aib-0.1.0/PKG-INFO +302 -0
  4. ez2_aib-0.1.0/README.md +291 -0
  5. ez2_aib-0.1.0/aib/VERSION +1 -0
  6. ez2_aib-0.1.0/aib/__init__.py +2 -0
  7. ez2_aib-0.1.0/aib/cli.py +96 -0
  8. ez2_aib-0.1.0/aib/i18n/en.json +2278 -0
  9. ez2_aib-0.1.0/aib/i18n/ja.json +2278 -0
  10. ez2_aib-0.1.0/aib/i18n/ko.json +2278 -0
  11. ez2_aib-0.1.0/aib/i18n/zh-TW.json +2278 -0
  12. ez2_aib-0.1.0/aib/skills/Ez2-NewAI/SKILL.md +65 -0
  13. ez2_aib-0.1.0/aib/skills/Ez2-NewBot/SKILL.md +184 -0
  14. ez2_aib-0.1.0/aib/skills/aib-handoff/SKILL.md +112 -0
  15. ez2_aib-0.1.0/aib/skills/aib-newproj/SKILL.md +179 -0
  16. ez2_aib-0.1.0/aib/skills/aib-newrole/SKILL.md +189 -0
  17. ez2_aib-0.1.0/aib/skills/ez2-aib-support/SKILL.md +24 -0
  18. ez2_aib-0.1.0/aib/src/binding/README.md +53 -0
  19. ez2_aib-0.1.0/aib/src/binding/aib-bind.sh +46 -0
  20. ez2_aib-0.1.0/aib/src/binding/approval-receipt.schema.json +350 -0
  21. ez2_aib-0.1.0/aib/src/binding/bind_queue.py +289 -0
  22. ez2_aib-0.1.0/aib/src/binding/decision_inbox.py +967 -0
  23. ez2_aib-0.1.0/aib/src/binding/scoped-auto-bind-grant.schema.json +203 -0
  24. ez2_aib-0.1.0/aib/src/binding/single-bind-confirmation.schema.json +205 -0
  25. ez2_aib-0.1.0/aib/src/bootstrap/aib_doctor.py +655 -0
  26. ez2_aib-0.1.0/aib/src/bootstrap/aib_init.py +283 -0
  27. ez2_aib-0.1.0/aib/src/bootstrap/aib_secrets.py +454 -0
  28. ez2_aib-0.1.0/aib/src/bootstrap/desktop_shortcut.py +137 -0
  29. ez2_aib-0.1.0/aib/src/bootstrap/license_plan.py +122 -0
  30. ez2_aib-0.1.0/aib/src/bootstrap/secret_collect.py +287 -0
  31. ez2_aib-0.1.0/aib/src/bootstrap/secret_crypto.py +212 -0
  32. ez2_aib-0.1.0/aib/src/bootstrap/secret_read_gate.py +269 -0
  33. ez2_aib-0.1.0/aib/src/cockpit/README.md +313 -0
  34. ez2_aib-0.1.0/aib/src/cockpit/USAGE_SUBTAB_RENDER_HOOK.md +5 -0
  35. ez2_aib-0.1.0/aib/src/cockpit/activity_probe.py +705 -0
  36. ez2_aib-0.1.0/aib/src/cockpit/addon_path.py +33 -0
  37. ez2_aib-0.1.0/aib/src/cockpit/agy_model_probe.py +142 -0
  38. ez2_aib-0.1.0/aib/src/cockpit/ai_view.py +153 -0
  39. ez2_aib-0.1.0/aib/src/cockpit/aib +2426 -0
  40. ez2_aib-0.1.0/aib/src/cockpit/aib-codexbot +158 -0
  41. ez2_aib-0.1.0/aib/src/cockpit/aib-grokbot +129 -0
  42. ez2_aib-0.1.0/aib/src/cockpit/aib_dm_mcp.py +367 -0
  43. ez2_aib-0.1.0/aib/src/cockpit/aib_dm_tool.py +300 -0
  44. ez2_aib-0.1.0/aib/src/cockpit/aib_handoff.py +1552 -0
  45. ez2_aib-0.1.0/aib/src/cockpit/api_model_gauge.py +60 -0
  46. ez2_aib-0.1.0/aib/src/cockpit/api_persona.py +64 -0
  47. ez2_aib-0.1.0/aib/src/cockpit/api_seat_worktree.py +191 -0
  48. ez2_aib-0.1.0/aib/src/cockpit/appoint.py +282 -0
  49. ez2_aib-0.1.0/aib/src/cockpit/atomic_json.py +206 -0
  50. ez2_aib-0.1.0/aib/src/cockpit/atomic_refresh.py +69 -0
  51. ez2_aib-0.1.0/aib/src/cockpit/bot-thread-menu.sh +412 -0
  52. ez2_aib-0.1.0/aib/src/cockpit/bot_caps.py +84 -0
  53. ez2_aib-0.1.0/aib/src/cockpit/bot_closer.py +338 -0
  54. ez2_aib-0.1.0/aib/src/cockpit/bot_ping.py +207 -0
  55. ez2_aib-0.1.0/aib/src/cockpit/bot_reap.py +87 -0
  56. ez2_aib-0.1.0/aib/src/cockpit/bot_seat_name.py +49 -0
  57. ez2_aib-0.1.0/aib/src/cockpit/bot_status.py +292 -0
  58. ez2_aib-0.1.0/aib/src/cockpit/bot_threads.py +149 -0
  59. ez2_aib-0.1.0/aib/src/cockpit/bridge_cards.py +299 -0
  60. ez2_aib-0.1.0/aib/src/cockpit/bridge_persona.py +346 -0
  61. ez2_aib-0.1.0/aib/src/cockpit/bridge_readmarks.py +93 -0
  62. ez2_aib-0.1.0/aib/src/cockpit/cabin_env_audit.py +204 -0
  63. ez2_aib-0.1.0/aib/src/cockpit/cabin_resolve.sh +343 -0
  64. ez2_aib-0.1.0/aib/src/cockpit/cabin_restart.py +1020 -0
  65. ez2_aib-0.1.0/aib/src/cockpit/claudebot_hook.py +1095 -0
  66. ez2_aib-0.1.0/aib/src/cockpit/claudebot_live.py +312 -0
  67. ez2_aib-0.1.0/aib/src/cockpit/claudebot_mailbox.py +237 -0
  68. ez2_aib-0.1.0/aib/src/cockpit/claudebot_receipt.py +80 -0
  69. ez2_aib-0.1.0/aib/src/cockpit/claudebot_relay.py +776 -0
  70. ez2_aib-0.1.0/aib/src/cockpit/claudebot_spawn.py +261 -0
  71. ez2_aib-0.1.0/aib/src/cockpit/claudebot_threads.py +333 -0
  72. ez2_aib-0.1.0/aib/src/cockpit/cli-session-menu.sh +178 -0
  73. ez2_aib-0.1.0/aib/src/cockpit/cli_sessions.py +267 -0
  74. ez2_aib-0.1.0/aib/src/cockpit/cli_versions.py +535 -0
  75. ez2_aib-0.1.0/aib/src/cockpit/cmd-foot-status.sh +19 -0
  76. ez2_aib-0.1.0/aib/src/cockpit/cockpit-env.sh +329 -0
  77. ez2_aib-0.1.0/aib/src/cockpit/cockpit-full.sh +866 -0
  78. ez2_aib-0.1.0/aib/src/cockpit/cockpit-layout.sh +6 -0
  79. ez2_aib-0.1.0/aib/src/cockpit/cockpit-reflow-left-heights.sh +44 -0
  80. ez2_aib-0.1.0/aib/src/cockpit/cockpit-resize.sh +284 -0
  81. ez2_aib-0.1.0/aib/src/cockpit/cockpit-upgrade.sh +6 -0
  82. ez2_aib-0.1.0/aib/src/cockpit/cockpit_lib.py +227 -0
  83. ez2_aib-0.1.0/aib/src/cockpit/codex_account_recover.py +609 -0
  84. ez2_aib-0.1.0/aib/src/cockpit/codex_ctx_probe.py +41 -0
  85. ez2_aib-0.1.0/aib/src/cockpit/codex_daemon_flag.py +58 -0
  86. ez2_aib-0.1.0/aib/src/cockpit/codex_google_login.py +195 -0
  87. ez2_aib-0.1.0/aib/src/cockpit/codex_luna_model.py +91 -0
  88. ez2_aib-0.1.0/aib/src/cockpit/codex_pack.py +47 -0
  89. ez2_aib-0.1.0/aib/src/cockpit/codex_rotate_live.py +1112 -0
  90. ez2_aib-0.1.0/aib/src/cockpit/codex_wham_usage.py +419 -0
  91. ez2_aib-0.1.0/aib/src/cockpit/codexbot_bridge.py +2121 -0
  92. ez2_aib-0.1.0/aib/src/cockpit/codexbot_config.py +93 -0
  93. ez2_aib-0.1.0/aib/src/cockpit/codexbot_dm_socket.py +166 -0
  94. ez2_aib-0.1.0/aib/src/cockpit/codexbot_receipt.py +38 -0
  95. ez2_aib-0.1.0/aib/src/cockpit/codexbot_rules.py +31 -0
  96. ez2_aib-0.1.0/aib/src/cockpit/codexbot_server.py +242 -0
  97. ez2_aib-0.1.0/aib/src/cockpit/codexbot_threads.py +367 -0
  98. ez2_aib-0.1.0/aib/src/cockpit/composer_dialect.py +355 -0
  99. ez2_aib-0.1.0/aib/src/cockpit/composer_notice.py +344 -0
  100. ez2_aib-0.1.0/aib/src/cockpit/composer_state.py +836 -0
  101. ez2_aib-0.1.0/aib/src/cockpit/cooldown.py +678 -0
  102. ez2_aib-0.1.0/aib/src/cockpit/copilot_ctx_probe.py +167 -0
  103. ez2_aib-0.1.0/aib/src/cockpit/ctl-bottom-tab.sh +19 -0
  104. ez2_aib-0.1.0/aib/src/cockpit/ctl-brain-depth.sh +19 -0
  105. ez2_aib-0.1.0/aib/src/cockpit/ctl-notify.sh +60 -0
  106. ez2_aib-0.1.0/aib/src/cockpit/ctl-view-depth.sh +22 -0
  107. ez2_aib-0.1.0/aib/src/cockpit/ctx_by_pane.py +284 -0
  108. ez2_aib-0.1.0/aib/src/cockpit/ctx_by_seat.py +189 -0
  109. ez2_aib-0.1.0/aib/src/cockpit/ctx_emit_log.py +171 -0
  110. ez2_aib-0.1.0/aib/src/cockpit/d17_attention_view.py +279 -0
  111. ez2_aib-0.1.0/aib/src/cockpit/dangerous_seat_actions.py +149 -0
  112. ez2_aib-0.1.0/aib/src/cockpit/deepseek_cli.py +1049 -0
  113. ez2_aib-0.1.0/aib/src/cockpit/deepseek_git.py +136 -0
  114. ez2_aib-0.1.0/aib/src/cockpit/deliver.py +566 -0
  115. ez2_aib-0.1.0/aib/src/cockpit/dev_mode.py +163 -0
  116. ez2_aib-0.1.0/aib/src/cockpit/dialog_log.py +113 -0
  117. ez2_aib-0.1.0/aib/src/cockpit/dm-ctl.sh +2814 -0
  118. ez2_aib-0.1.0/aib/src/cockpit/dm_address.py +194 -0
  119. ez2_aib-0.1.0/aib/src/cockpit/dm_header.py +277 -0
  120. ez2_aib-0.1.0/aib/src/cockpit/dm_queue.py +4048 -0
  121. ez2_aib-0.1.0/aib/src/cockpit/dm_relay.py +19 -0
  122. ez2_aib-0.1.0/aib/src/cockpit/dm_text.py +67 -0
  123. ez2_aib-0.1.0/aib/src/cockpit/dm_triage.py +413 -0
  124. ez2_aib-0.1.0/aib/src/cockpit/ez2_genes.py +266 -0
  125. ez2_aib-0.1.0/aib/src/cockpit/feature_policy.py +398 -0
  126. ez2_aib-0.1.0/aib/src/cockpit/feature_zone_source.py +178 -0
  127. ez2_aib-0.1.0/aib/src/cockpit/ff_ctl.py +213 -0
  128. ez2_aib-0.1.0/aib/src/cockpit/fleet_patrol.py +1389 -0
  129. ez2_aib-0.1.0/aib/src/cockpit/fleet_status.py +269 -0
  130. ez2_aib-0.1.0/aib/src/cockpit/frame_snapshot.py +123 -0
  131. ez2_aib-0.1.0/aib/src/cockpit/global_bind_gate.sh +39 -0
  132. ez2_aib-0.1.0/aib/src/cockpit/grok_ctx_probe.py +250 -0
  133. ez2_aib-0.1.0/aib/src/cockpit/grokbot.sh +124 -0
  134. ez2_aib-0.1.0/aib/src/cockpit/grokbot_mailbox.py +400 -0
  135. ez2_aib-0.1.0/aib/src/cockpit/grokbot_mirror.py +362 -0
  136. ez2_aib-0.1.0/aib/src/cockpit/grokbot_threads.py +492 -0
  137. ez2_aib-0.1.0/aib/src/cockpit/half_cabin_arm.py +270 -0
  138. ez2_aib-0.1.0/aib/src/cockpit/help/help-overlay.sh +138 -0
  139. ez2_aib-0.1.0/aib/src/cockpit/hub-lobby.sh +4 -0
  140. ez2_aib-0.1.0/aib/src/cockpit/hub_frame_fit.py +100 -0
  141. ez2_aib-0.1.0/aib/src/cockpit/human_attest.py +232 -0
  142. ez2_aib-0.1.0/aib/src/cockpit/i18n_lib.py +310 -0
  143. ez2_aib-0.1.0/aib/src/cockpit/identity-env.sh +328 -0
  144. ez2_aib-0.1.0/aib/src/cockpit/idle_reaper.py +1673 -0
  145. ez2_aib-0.1.0/aib/src/cockpit/inbox_brief_hook.py +105 -0
  146. ez2_aib-0.1.0/aib/src/cockpit/install-guard.sh +116 -0
  147. ez2_aib-0.1.0/aib/src/cockpit/jargon_gate.py +441 -0
  148. ez2_aib-0.1.0/aib/src/cockpit/keys/README.md +48 -0
  149. ez2_aib-0.1.0/aib/src/cockpit/keys/install-keys.sh +161 -0
  150. ez2_aib-0.1.0/aib/src/cockpit/keys/keymap.json +93 -0
  151. ez2_aib-0.1.0/aib/src/cockpit/kiosapi_cli.py +654 -0
  152. ez2_aib-0.1.0/aib/src/cockpit/last_cli_session.py +144 -0
  153. ez2_aib-0.1.0/aib/src/cockpit/leftover_seats.py +632 -0
  154. ez2_aib-0.1.0/aib/src/cockpit/localhost_ipv6_proxy.py +61 -0
  155. ez2_aib-0.1.0/aib/src/cockpit/login_splash.py +304 -0
  156. ez2_aib-0.1.0/aib/src/cockpit/machine_status.py +587 -0
  157. ez2_aib-0.1.0/aib/src/cockpit/machine_status_row.py +563 -0
  158. ez2_aib-0.1.0/aib/src/cockpit/model_label.py +177 -0
  159. ez2_aib-0.1.0/aib/src/cockpit/mouse/bind_menu.py +146 -0
  160. ez2_aib-0.1.0/aib/src/cockpit/mouse/detail-card.py +261 -0
  161. ez2_aib-0.1.0/aib/src/cockpit/mouse/engine_menu_label.py +77 -0
  162. ez2_aib-0.1.0/aib/src/cockpit/mouse/filter_new_ai_providers.py +87 -0
  163. ez2_aib-0.1.0/aib/src/cockpit/mouse/focus-hub-pane.sh +9 -0
  164. ez2_aib-0.1.0/aib/src/cockpit/mouse/hit_test.py +717 -0
  165. ez2_aib-0.1.0/aib/src/cockpit/mouse/list_captains.py +141 -0
  166. ez2_aib-0.1.0/aib/src/cockpit/mouse/mouse-ctl.sh +3529 -0
  167. ez2_aib-0.1.0/aib/src/cockpit/mouse/right-scroll-drag.sh +38 -0
  168. ez2_aib-0.1.0/aib/src/cockpit/mouse/right-scroll-wheel.sh +68 -0
  169. ez2_aib-0.1.0/aib/src/cockpit/mouse/right_scroll_drag.py +71 -0
  170. ez2_aib-0.1.0/aib/src/cockpit/mouse/role_menu_label.py +66 -0
  171. ez2_aib-0.1.0/aib/src/cockpit/mouse/scroll-hub-wheel.sh +190 -0
  172. ez2_aib-0.1.0/aib/src/cockpit/mouse/scroll-wheel-drop.sh +19 -0
  173. ez2_aib-0.1.0/aib/src/cockpit/mouse/scroll_nudge.py +50 -0
  174. ez2_aib-0.1.0/aib/src/cockpit/mouse/yield_menu.py +115 -0
  175. ez2_aib-0.1.0/aib/src/cockpit/musebot_mailbox.py +380 -0
  176. ez2_aib-0.1.0/aib/src/cockpit/musebot_outbox_drainer.py +330 -0
  177. ez2_aib-0.1.0/aib/src/cockpit/musebot_threads.py +161 -0
  178. ez2_aib-0.1.0/aib/src/cockpit/nav/ai-nav-ctl.sh +119 -0
  179. ez2_aib-0.1.0/aib/src/cockpit/nav/ai_nav.py +174 -0
  180. ez2_aib-0.1.0/aib/src/cockpit/nav/border-hints-ctl.sh +99 -0
  181. ez2_aib-0.1.0/aib/src/cockpit/nav/captains-ctl.sh +604 -0
  182. ez2_aib-0.1.0/aib/src/cockpit/nav/nav-bindings.json +49 -0
  183. ez2_aib-0.1.0/aib/src/cockpit/nav/pane-view.sh +96 -0
  184. ez2_aib-0.1.0/aib/src/cockpit/nav/region-nav-ctl.sh +205 -0
  185. ez2_aib-0.1.0/aib/src/cockpit/nav/view-nav-ctl.sh +147 -0
  186. ez2_aib-0.1.0/aib/src/cockpit/nav/view_switch.py +260 -0
  187. ez2_aib-0.1.0/aib/src/cockpit/nvidia_cli.py +658 -0
  188. ez2_aib-0.1.0/aib/src/cockpit/onboard_gap.py +284 -0
  189. ez2_aib-0.1.0/aib/src/cockpit/open_attempt.py +409 -0
  190. ez2_aib-0.1.0/aib/src/cockpit/open_menu_popup.py +157 -0
  191. ez2_aib-0.1.0/aib/src/cockpit/open_right_check.py +120 -0
  192. ez2_aib-0.1.0/aib/src/cockpit/openrouter_cli.py +680 -0
  193. ez2_aib-0.1.0/aib/src/cockpit/outline-progress.sh +49 -0
  194. ez2_aib-0.1.0/aib/src/cockpit/outline-to-tasks.py +246 -0
  195. ez2_aib-0.1.0/aib/src/cockpit/outline_progress.py +86 -0
  196. ez2_aib-0.1.0/aib/src/cockpit/page/__init__.py +6 -0
  197. ez2_aib-0.1.0/aib/src/cockpit/page/api.py +252 -0
  198. ez2_aib-0.1.0/aib/src/cockpit/page/autofill.py +141 -0
  199. ez2_aib-0.1.0/aib/src/cockpit/page/bind.py +161 -0
  200. ez2_aib-0.1.0/aib/src/cockpit/page/chat.py +585 -0
  201. ez2_aib-0.1.0/aib/src/cockpit/page/cli.py +684 -0
  202. ez2_aib-0.1.0/aib/src/cockpit/page/intake.py +263 -0
  203. ez2_aib-0.1.0/aib/src/cockpit/page/intake_images.py +105 -0
  204. ez2_aib-0.1.0/aib/src/cockpit/page/intake_linkinbio.py +401 -0
  205. ez2_aib-0.1.0/aib/src/cockpit/page/intake_oembed.py +328 -0
  206. ez2_aib-0.1.0/aib/src/cockpit/page/intake_search.py +411 -0
  207. ez2_aib-0.1.0/aib/src/cockpit/page/intake_sources.py +411 -0
  208. ez2_aib-0.1.0/aib/src/cockpit/page/intake_website.py +428 -0
  209. ez2_aib-0.1.0/aib/src/cockpit/page/oneshot.py +416 -0
  210. ez2_aib-0.1.0/aib/src/cockpit/page/oneshot_core.js +159 -0
  211. ez2_aib-0.1.0/aib/src/cockpit/page/store.py +178 -0
  212. ez2_aib-0.1.0/aib/src/cockpit/page/styles.py +36 -0
  213. ez2_aib-0.1.0/aib/src/cockpit/page/template_skill.py +356 -0
  214. ez2_aib-0.1.0/aib/src/cockpit/page/upload.py +196 -0
  215. ez2_aib-0.1.0/aib/src/cockpit/page/usage.py +227 -0
  216. ez2_aib-0.1.0/aib/src/cockpit/pane-bottom-fleet.sh +11 -0
  217. ez2_aib-0.1.0/aib/src/cockpit/pane-bottom-tabs.sh +397 -0
  218. ez2_aib-0.1.0/aib/src/cockpit/pane-fit.py +60 -0
  219. ez2_aib-0.1.0/aib/src/cockpit/pane-focus.sh +13 -0
  220. ez2_aib-0.1.0/aib/src/cockpit/pane-hub-frame.sh +936 -0
  221. ez2_aib-0.1.0/aib/src/cockpit/pane-left-brain.sh +73 -0
  222. ez2_aib-0.1.0/aib/src/cockpit/pane-left-fleet.sh +92 -0
  223. ez2_aib-0.1.0/aib/src/cockpit/pane-left-persona.sh +117 -0
  224. ez2_aib-0.1.0/aib/src/cockpit/pane-left-tabs.sh +60 -0
  225. ez2_aib-0.1.0/aib/src/cockpit/pane-pending-review.sh +19 -0
  226. ez2_aib-0.1.0/aib/src/cockpit/pane-right-ai.sh +2529 -0
  227. ez2_aib-0.1.0/aib/src/cockpit/pane-right-tabs.sh +476 -0
  228. ez2_aib-0.1.0/aib/src/cockpit/pane-right-tasks.sh +46 -0
  229. ez2_aib-0.1.0/aib/src/cockpit/pane-tab-toggle.sh +23 -0
  230. ez2_aib-0.1.0/aib/src/cockpit/pane-tick.sh +236 -0
  231. ez2_aib-0.1.0/aib/src/cockpit/pane_view.py +115 -0
  232. ez2_aib-0.1.0/aib/src/cockpit/panel_layout.py +626 -0
  233. ez2_aib-0.1.0/aib/src/cockpit/panes.py +204 -0
  234. ez2_aib-0.1.0/aib/src/cockpit/pending_edit.py +18 -0
  235. ez2_aib-0.1.0/aib/src/cockpit/pending_height.py +18 -0
  236. ez2_aib-0.1.0/aib/src/cockpit/perf_tab_fmt.py +171 -0
  237. ez2_aib-0.1.0/aib/src/cockpit/provider-launch.sh +782 -0
  238. ez2_aib-0.1.0/aib/src/cockpit/provider-run-relogin.sh +233 -0
  239. ez2_aib-0.1.0/aib/src/cockpit/providers.json +252 -0
  240. ez2_aib-0.1.0/aib/src/cockpit/public_ip.py +111 -0
  241. ez2_aib-0.1.0/aib/src/cockpit/quota_hold_repl.py +76 -0
  242. ez2_aib-0.1.0/aib/src/cockpit/realtime_log.py +330 -0
  243. ez2_aib-0.1.0/aib/src/cockpit/redeem_reset_credit_cli.py +45 -0
  244. ez2_aib-0.1.0/aib/src/cockpit/render/ai_scroll_blit.py +63 -0
  245. ez2_aib-0.1.0/aib/src/cockpit/render/engine_badge_mode.py +140 -0
  246. ez2_aib-0.1.0/aib/src/cockpit/render/panel_chrome.py +812 -0
  247. ez2_aib-0.1.0/aib/src/cockpit/render/render_lib.py +4567 -0
  248. ez2_aib-0.1.0/aib/src/cockpit/render/right_fold_api.py +247 -0
  249. ez2_aib-0.1.0/aib/src/cockpit/render/right_fold_ctl.py +175 -0
  250. ez2_aib-0.1.0/aib/src/cockpit/render/right_scroll_follow.py +65 -0
  251. ez2_aib-0.1.0/aib/src/cockpit/render/seat_colors.py +211 -0
  252. ez2_aib-0.1.0/aib/src/cockpit/render/usage_scroll_blit.py +77 -0
  253. ez2_aib-0.1.0/aib/src/cockpit/repl_readline.py +43 -0
  254. ez2_aib-0.1.0/aib/src/cockpit/reset_credits_view.py +124 -0
  255. ez2_aib-0.1.0/aib/src/cockpit/rosters/default.json +37 -0
  256. ez2_aib-0.1.0/aib/src/cockpit/sand_bridge.py +1688 -0
  257. ez2_aib-0.1.0/aib/src/cockpit/savings_claim_gate.py +67 -0
  258. ez2_aib-0.1.0/aib/src/cockpit/seat-detect.py +748 -0
  259. ez2_aib-0.1.0/aib/src/cockpit/seat_address.py +587 -0
  260. ez2_aib-0.1.0/aib/src/cockpit/seat_cwd_backfill.py +209 -0
  261. ez2_aib-0.1.0/aib/src/cockpit/seat_exit.py +251 -0
  262. ez2_aib-0.1.0/aib/src/cockpit/seat_fork.py +628 -0
  263. ez2_aib-0.1.0/aib/src/cockpit/seat_guard.py +152 -0
  264. ez2_aib-0.1.0/aib/src/cockpit/seat_ident.py +102 -0
  265. ez2_aib-0.1.0/aib/src/cockpit/seat_launch_evidence.py +135 -0
  266. ez2_aib-0.1.0/aib/src/cockpit/seat_liveness.py +414 -0
  267. ez2_aib-0.1.0/aib/src/cockpit/seat_load.py +367 -0
  268. ez2_aib-0.1.0/aib/src/cockpit/seat_onboard.py +2036 -0
  269. ez2_aib-0.1.0/aib/src/cockpit/seat_persona.py +262 -0
  270. ez2_aib-0.1.0/aib/src/cockpit/seat_pool.py +342 -0
  271. ez2_aib-0.1.0/aib/src/cockpit/seat_resume_guard.py +59 -0
  272. ez2_aib-0.1.0/aib/src/cockpit/seat_retire.py +172 -0
  273. ez2_aib-0.1.0/aib/src/cockpit/seat_socket_backfill.py +225 -0
  274. ez2_aib-0.1.0/aib/src/cockpit/seat_status.py +427 -0
  275. ez2_aib-0.1.0/aib/src/cockpit/seat_task_fields.py +278 -0
  276. ez2_aib-0.1.0/aib/src/cockpit/seat_test_reuse.py +174 -0
  277. ez2_aib-0.1.0/aib/src/cockpit/seat_uuid_backfill.py +360 -0
  278. ez2_aib-0.1.0/aib/src/cockpit/seat_who.py +531 -0
  279. ez2_aib-0.1.0/aib/src/cockpit/seats_batch.sh +372 -0
  280. ez2_aib-0.1.0/aib/src/cockpit/seats_dir_lib.py +200 -0
  281. ez2_aib-0.1.0/aib/src/cockpit/seats_report.py +207 -0
  282. ez2_aib-0.1.0/aib/src/cockpit/sender_origin.py +414 -0
  283. ez2_aib-0.1.0/aib/src/cockpit/shot_helper.py +959 -0
  284. ez2_aib-0.1.0/aib/src/cockpit/state-transition.sh +45 -0
  285. ez2_aib-0.1.0/aib/src/cockpit/subagent_collector.py +202 -0
  286. ez2_aib-0.1.0/aib/src/cockpit/teamo_cli.py +661 -0
  287. ez2_aib-0.1.0/aib/src/cockpit/teamoclaude_cli.py +693 -0
  288. ez2_aib-0.1.0/aib/src/cockpit/theme-ctl.sh +619 -0
  289. ez2_aib-0.1.0/aib/src/cockpit/theme.py +426 -0
  290. ez2_aib-0.1.0/aib/src/cockpit/title/README.md +96 -0
  291. ez2_aib-0.1.0/aib/src/cockpit/title/title-beat.sh +529 -0
  292. ez2_aib-0.1.0/aib/src/cockpit/title/title_beat.py +657 -0
  293. ez2_aib-0.1.0/aib/src/cockpit/turn_order.py +119 -0
  294. ez2_aib-0.1.0/aib/src/cockpit/usage_accounts.py +1427 -0
  295. ez2_aib-0.1.0/aib/src/cockpit/usage_failover.py +1221 -0
  296. ez2_aib-0.1.0/aib/src/cockpit/usage_probe.py +2594 -0
  297. ez2_aib-0.1.0/aib/src/cockpit/usage_subtabs.py +261 -0
  298. ez2_aib-0.1.0/aib/src/cockpit/warroom-board.sh +142 -0
  299. ez2_aib-0.1.0/aib/src/collectors/collector_common.py +220 -0
  300. ez2_aib-0.1.0/aib/src/dataguard/__init__.py +1 -0
  301. ez2_aib-0.1.0/aib/src/dataguard/dataguard.py +260 -0
  302. ez2_aib-0.1.0/aib/src/dataguard/pins.py +187 -0
  303. ez2_aib-0.1.0/aib/src/entitlement/__init__.py +49 -0
  304. ez2_aib-0.1.0/aib/src/entitlement/binding.py +75 -0
  305. ez2_aib-0.1.0/aib/src/entitlement/cli.py +156 -0
  306. ez2_aib-0.1.0/aib/src/entitlement/device.py +51 -0
  307. ez2_aib-0.1.0/aib/src/entitlement/ed25519.py +141 -0
  308. ez2_aib-0.1.0/aib/src/entitlement/keys.py +28 -0
  309. ez2_aib-0.1.0/aib/src/entitlement/providers.py +97 -0
  310. ez2_aib-0.1.0/aib/src/entitlement/signing.py +94 -0
  311. ez2_aib-0.1.0/aib/src/entitlement/sources.py +284 -0
  312. ez2_aib-0.1.0/aib/src/entitlement/sources_cli.py +78 -0
  313. ez2_aib-0.1.0/aib/src/entitlement/store.py +125 -0
  314. ez2_aib-0.1.0/aib/src/entitlement/tier.py +161 -0
  315. ez2_aib-0.1.0/aib/src/fleet_identity/__init__.py +8 -0
  316. ez2_aib-0.1.0/aib/src/fleet_identity/authority_store.py +460 -0
  317. ez2_aib-0.1.0/aib/src/fleet_identity/bind_apply.py +378 -0
  318. ez2_aib-0.1.0/aib/src/fleet_identity/bind_apply_authorized.py +377 -0
  319. ez2_aib-0.1.0/aib/src/fleet_identity/bind_attention.py +962 -0
  320. ez2_aib-0.1.0/aib/src/fleet_identity/bind_attention_adapters.py +867 -0
  321. ez2_aib-0.1.0/aib/src/fleet_identity/bind_attention_outbox.py +892 -0
  322. ez2_aib-0.1.0/aib/src/fleet_identity/bind_grant_store.py +2106 -0
  323. ez2_aib-0.1.0/aib/src/fleet_identity/bind_human_action_adapter.py +241 -0
  324. ez2_aib-0.1.0/aib/src/fleet_identity/bind_human_approval.py +178 -0
  325. ez2_aib-0.1.0/aib/src/fleet_identity/bind_plan.py +487 -0
  326. ez2_aib-0.1.0/aib/src/fleet_identity/bind_target.py +253 -0
  327. ez2_aib-0.1.0/aib/src/fleet_identity/binding_store.py +503 -0
  328. ez2_aib-0.1.0/aib/src/fleet_identity/ceiling_state.py +224 -0
  329. ez2_aib-0.1.0/aib/src/fleet_identity/ctx_scheduler.py +538 -0
  330. ez2_aib-0.1.0/aib/src/fleet_identity/fleet_members.py +381 -0
  331. ez2_aib-0.1.0/aib/src/fleet_identity/fleet_restore.py +1168 -0
  332. ez2_aib-0.1.0/aib/src/fleet_identity/native_root.py +409 -0
  333. ez2_aib-0.1.0/aib/src/fleet_identity/onboarding_recall.py +302 -0
  334. ez2_aib-0.1.0/aib/src/fleet_identity/owner_adapter.py +118 -0
  335. ez2_aib-0.1.0/aib/src/fleet_identity/persona_catalog.py +176 -0
  336. ez2_aib-0.1.0/aib/src/fleet_identity/project_callpoint.py +437 -0
  337. ez2_aib-0.1.0/aib/src/fleet_identity/project_entry.py +368 -0
  338. ez2_aib-0.1.0/aib/src/fleet_identity/project_registry.py +353 -0
  339. ez2_aib-0.1.0/aib/src/fleet_identity/revocation_fanout.py +221 -0
  340. ez2_aib-0.1.0/aib/src/fleet_identity/runtime_model_observation.py +1093 -0
  341. ez2_aib-0.1.0/aib/src/fleet_identity/seat_continuity.py +328 -0
  342. ez2_aib-0.1.0/aib/src/identity/bind_one.py +987 -0
  343. ez2_aib-0.1.0/aib/src/identity/create_and_bind_persona.py +913 -0
  344. ez2_aib-0.1.0/aib/src/identity/handoff_pack.py +147 -0
  345. ez2_aib-0.1.0/aib/src/identity/open_ack.py +241 -0
  346. ez2_aib-0.1.0/aib/src/identity/persona_candidates.py +195 -0
  347. ez2_aib-0.1.0/aib/src/identity/persona_check.py +176 -0
  348. ez2_aib-0.1.0/aib/src/identity/persona_create_plan.py +311 -0
  349. ez2_aib-0.1.0/aib/src/identity/persona_index.py +620 -0
  350. ez2_aib-0.1.0/aib/src/identity/persona_pack.py +390 -0
  351. ez2_aib-0.1.0/aib/src/identity/persona_reinject_hook.py +245 -0
  352. ez2_aib-0.1.0/aib/src/identity/project_card.py +171 -0
  353. ez2_aib-0.1.0/aib/src/identity/project_pick.py +100 -0
  354. ez2_aib-0.1.0/aib/src/identity/role_model.py +590 -0
  355. ez2_aib-0.1.0/aib/src/identity/seat_authority.py +162 -0
  356. ez2_aib-0.1.0/aib/src/identity/seat_rebind.py +437 -0
  357. ez2_aib-0.1.0/aib/src/ledger/ledger.py +562 -0
  358. ez2_aib-0.1.0/aib/src/ledger/schema_validator.py +202 -0
  359. ez2_aib-0.1.0/aib/src/memory/aib_memory.py +372 -0
  360. ez2_aib-0.1.0/aib/src/memory/binding_projection.py +1249 -0
  361. ez2_aib-0.1.0/aib/src/memory/brain_write_plan.py +1287 -0
  362. ez2_aib-0.1.0/aib/src/memory/card-route-defaults.json +9 -0
  363. ez2_aib-0.1.0/aib/src/memory/card_registry.py +609 -0
  364. ez2_aib-0.1.0/aib/src/memory/distill_contract.py +160 -0
  365. ez2_aib-0.1.0/aib/src/memory/distill_generate.py +144 -0
  366. ez2_aib-0.1.0/aib/src/memory/note-format-pins.json +16 -0
  367. ez2_aib-0.1.0/aib/src/memory/note_format_runner.js +127 -0
  368. ez2_aib-0.1.0/aib/src/memory/note_forward_links.py +125 -0
  369. ez2_aib-0.1.0/aib/src/memory/note_uid_aliases.py +93 -0
  370. ez2_aib-0.1.0/aib/src/memory/persona-card-registry.example.json +15 -0
  371. ez2_aib-0.1.0/aib/src/memory/persona-card-registry.json +25 -0
  372. ez2_aib-0.1.0/aib/src/memory/persona_digest.py +376 -0
  373. ez2_aib-0.1.0/aib/src/memory/pyramid.py +520 -0
  374. ez2_aib-0.1.0/aib/src/messaging/README.md +165 -0
  375. ez2_aib-0.1.0/aib/src/messaging/aib-send.sh +144 -0
  376. ez2_aib-0.1.0/aib/src/messaging/ctl-send-message.sh +124 -0
  377. ez2_aib-0.1.0/aib/src/messaging/ctx_emit_schema.py +76 -0
  378. ez2_aib-0.1.0/aib/src/messaging/d17_attention_dm.py +450 -0
  379. ez2_aib-0.1.0/aib/src/messaging/dm_paste.py +639 -0
  380. ez2_aib-0.1.0/aib/src/messaging/draft_stuck.py +275 -0
  381. ez2_aib-0.1.0/aib/src/messaging/lineage.py +382 -0
  382. ez2_aib-0.1.0/aib/src/messaging/notify-rules.json +184 -0
  383. ez2_aib-0.1.0/aib/src/messaging/notify_adapter.py +458 -0
  384. ez2_aib-0.1.0/aib/src/messaging/notify_policy.py +792 -0
  385. ez2_aib-0.1.0/aib/src/messaging/r30-format-sample.txt +10 -0
  386. ez2_aib-0.1.0/aib/src/messaging/r30_lint.py +247 -0
  387. ez2_aib-0.1.0/aib/src/messaging/vocative_lint.py +150 -0
  388. ez2_aib-0.1.0/aib/src/persona_extract/dimensions.py +261 -0
  389. ez2_aib-0.1.0/aib/src/persona_extract/gates.py +230 -0
  390. ez2_aib-0.1.0/aib/src/persona_extract/ledgers.py +76 -0
  391. ez2_aib-0.1.0/aib/src/persona_extract/persona_extract.py +551 -0
  392. ez2_aib-0.1.0/aib/src/persona_extract/report.py +154 -0
  393. ez2_aib-0.1.0/aib/src/persona_extract/toolroots.py +215 -0
  394. ez2_aib-0.1.0/aib/src/persona_extract/wrappers.py +230 -0
  395. ez2_aib-0.1.0/aib/src/persona_extract/writeguard.py +69 -0
  396. ez2_aib-0.1.0/aib/src/persona_route/README.md +89 -0
  397. ez2_aib-0.1.0/aib/src/persona_route/route_register.py +605 -0
  398. ez2_aib-0.1.0/aib/src/policy/hooks/aib-memory-gate.py +271 -0
  399. ez2_aib-0.1.0/aib/src/policy/hooks/aib-route.sh +8 -0
  400. ez2_aib-0.1.0/aib/src/policy/hooks/aib-subagent-preamble.py +118 -0
  401. ez2_aib-0.1.0/aib/src/policy/hooks/docs-retire-gate.sh +253 -0
  402. ez2_aib-0.1.0/aib/src/policy/hooks/inherit-context-gate.py +275 -0
  403. ez2_aib-0.1.0/aib/src/policy/hooks/install-hooks.sh +238 -0
  404. ez2_aib-0.1.0/aib/src/policy/hooks/pre-commit-adapter.sh +153 -0
  405. ez2_aib-0.1.0/aib/src/policy/hooks/pre-push-adapter.sh +86 -0
  406. ez2_aib-0.1.0/aib/src/policy/hooks/release-escape-log.sh +111 -0
  407. ez2_aib-0.1.0/aib/src/policy/hooks/release-freeze-lock.sh +416 -0
  408. ez2_aib-0.1.0/aib/src/policy/hooks/release-freeze-precommit.sh +106 -0
  409. ez2_aib-0.1.0/aib/src/policy/hooks/release-freeze-reftxn.sh +139 -0
  410. ez2_aib-0.1.0/aib/src/policy/hooks/release-tag-gate.sh +634 -0
  411. ez2_aib-0.1.0/aib/src/policy/hooks/route-gate-stop.py +255 -0
  412. ez2_aib-0.1.0/aib/src/policy/hooks/test-entry-gate.py +164 -0
  413. ez2_aib-0.1.0/aib/src/policy/hooks/trust-git-gate.sh +150 -0
  414. ez2_aib-0.1.0/aib/src/policy/lead_roles.py +50 -0
  415. ez2_aib-0.1.0/aib/src/policy/policy-rules.json +70 -0
  416. ez2_aib-0.1.0/aib/src/policy/policy.py +409 -0
  417. ez2_aib-0.1.0/aib/src/policy/trust_tiers.py +361 -0
  418. ez2_aib-0.1.0/aib/src/rotation/README.md +335 -0
  419. ez2_aib-0.1.0/aib/src/rotation/ctx_policy.py +115 -0
  420. ez2_aib-0.1.0/aib/src/rotation/handover_prep.py +296 -0
  421. ez2_aib-0.1.0/aib/src/rotation/handover_probe.py +591 -0
  422. ez2_aib-0.1.0/aib/src/rotation/lifecycle.py +669 -0
  423. ez2_aib-0.1.0/aib/src/rotation/rotation.py +2124 -0
  424. ez2_aib-0.1.0/aib/tests/aib_cabin_wash.py +93 -0
  425. ez2_aib-0.1.0/aib/tests/aib_knife_copy.py +52 -0
  426. ez2_aib-0.1.0/aib/tests/aib_testlib.py +423 -0
  427. ez2_aib-0.1.0/aib/tests/aib_tmp_root.py +56 -0
  428. ez2_aib-0.1.0/aib/tests/test-aib-test-entry-0929.py +1487 -0
  429. ez2_aib-0.1.0/aib/tests/test-aib-test-go-package-once-1008.py +119 -0
  430. ez2_aib-0.1.0/aib/tests/test-aib-test-jobs-1008.py +123 -0
  431. ez2_aib-0.1.0/aib/tests/test-aib-test-pytest-none-collected-1008.py +78 -0
  432. ez2_aib-0.1.0/aib/tests/test-aib-test-unverified-wording-1008.py +75 -0
  433. ez2_aib-0.1.0/aib/tests/test-license-ed25519-1008.py +189 -0
  434. ez2_aib-0.1.0/aib/tests/test-live-done-unverified-3d156.py +84 -0
  435. ez2_aib-0.1.0/aib/tests/test-reuse-index-damage-0928.py +109 -0
  436. ez2_aib-0.1.0/aib/tests/test-reuse-index-load-1008.py +91 -0
  437. ez2_aib-0.1.0/aib/tests/test-verify-adapter-conformance-1004.py +343 -0
  438. ez2_aib-0.1.0/aib/tests/test-verify-coverage-and-listdir-file-1008.py +134 -0
  439. ez2_aib-0.1.0/aib/tests/test-verify-hypothesis-state-1008.py +119 -0
  440. ez2_aib-0.1.0/aib/tests/test-verify-native-probe-not-content-1008.py +78 -0
  441. ez2_aib-0.1.0/aib/tests/test-verify-node-wrap-props-1008.py +74 -0
  442. ez2_aib-0.1.0/aib/tests/test-verify-own-listener-loopback-1008.py +143 -0
  443. ez2_aib-0.1.0/aib/tests/test-verify-p2-reuse-index.py +425 -0
  444. ez2_aib-0.1.0/aib/tests/test-verify-posix-spawn-dedupe-1008.py +117 -0
  445. ez2_aib-0.1.0/aib/tests/test-verify-python-named-bash-stub-1008.py +147 -0
  446. ez2_aib-0.1.0/aib/tests/test-verify-review-fixes-1003.py +110 -0
  447. ez2_aib-0.1.0/aib/tests/test-verify-shared-pool-1002.py +112 -0
  448. ez2_aib-0.1.0/aib/tests/test-verify-shim-fake-python-1008.py +123 -0
  449. ez2_aib-0.1.0/aib/tools/cockpit-ops/README.md +48 -0
  450. ez2_aib-0.1.0/aib/tools/cockpit-ops/aib-dm.sh +875 -0
  451. ez2_aib-0.1.0/aib/tools/cockpit-ops/board-sync.py +56 -0
  452. ez2_aib-0.1.0/aib/tools/cockpit-ops/cabin-freshness.sh +133 -0
  453. ez2_aib-0.1.0/aib/tools/cockpit-ops/captain-patrol.sh +95 -0
  454. ez2_aib-0.1.0/aib/tools/cockpit-ops/captain-say.sh +64 -0
  455. ez2_aib-0.1.0/aib/tools/cockpit-ops/open-fleet6.sh +228 -0
  456. ez2_aib-0.1.0/aib/tools/cockpit-ops/root-sentinel-v2.sh +67 -0
  457. ez2_aib-0.1.0/aib/tools/cockpit-ops/worktree-inventory.sh +241 -0
  458. ez2_aib-0.1.0/aib/tools/collab/package_trial.py +132 -0
  459. ez2_aib-0.1.0/aib/tools/dispatch/ai-task-zone.py +11 -0
  460. ez2_aib-0.1.0/aib/tools/dispatch/ai_task_zone.py +1903 -0
  461. ez2_aib-0.1.0/aib/tools/dispatch/decide-route.py +341 -0
  462. ez2_aib-0.1.0/aib/tools/dispatch/handoff_fields.py +250 -0
  463. ez2_aib-0.1.0/aib/tools/dispatch/knife-contract.py +347 -0
  464. ez2_aib-0.1.0/aib/tools/dispatch/outline-progress.py +304 -0
  465. ez2_aib-0.1.0/aib/tools/dispatch/parallel-safe-check.py +136 -0
  466. ez2_aib-0.1.0/aib/tools/dispatch/pending-decisions.py +333 -0
  467. ez2_aib-0.1.0/aib/tools/dispatch/render-dispatch.py +308 -0
  468. ez2_aib-0.1.0/aib/tools/dispatch/seat-usage.py +303 -0
  469. ez2_aib-0.1.0/aib/tools/dispatch/seat_liveness.py +196 -0
  470. ez2_aib-0.1.0/aib/tools/governance/host_lease.py +480 -0
  471. ez2_aib-0.1.0/aib/tools/governance/major_loop.py +613 -0
  472. ez2_aib-0.1.0/aib/tools/governance/witness_shadow.py +264 -0
  473. ez2_aib-0.1.0/aib/tools/hdr/aib-hdr.py +907 -0
  474. ez2_aib-0.1.0/aib/tools/hdr/pane_top.py +157 -0
  475. ez2_aib-0.1.0/aib/tools/hdr/top_line.py +234 -0
  476. ez2_aib-0.1.0/aib/tools/patrol/census.py +331 -0
  477. ez2_aib-0.1.0/aib/tools/patrol/gate.py +160 -0
  478. ez2_aib-0.1.0/aib/tools/patrol/report.py +125 -0
  479. ez2_aib-0.1.0/aib/tools/patrol/seat-patrol.sh +112 -0
  480. ez2_aib-0.1.0/aib/tools/project/README.md +50 -0
  481. ez2_aib-0.1.0/aib/tools/project/check_task_trailer.py +126 -0
  482. ez2_aib-0.1.0/aib/tools/project/drift_event.py +261 -0
  483. ez2_aib-0.1.0/aib/tools/project/flags.py +242 -0
  484. ez2_aib-0.1.0/aib/tools/project/import_outline_dry_run.py +295 -0
  485. ez2_aib-0.1.0/aib/tools/project/install_task_commit_msg_hook.sh +172 -0
  486. ez2_aib-0.1.0/aib/tools/project/new_project.py +1096 -0
  487. ez2_aib-0.1.0/aib/tools/project/render_tree.py +300 -0
  488. ez2_aib-0.1.0/aib/tools/project/schema_v0.py +192 -0
  489. ez2_aib-0.1.0/aib/tools/project/show.py +643 -0
  490. ez2_aib-0.1.0/aib/tools/release/ci_workflow.py +208 -0
  491. ez2_aib-0.1.0/aib/tools/release/ship.py +1778 -0
  492. ez2_aib-0.1.0/aib/tools/release/ship_profile.py +392 -0
  493. ez2_aib-0.1.0/aib/tools/release/ship_report.py +167 -0
  494. ez2_aib-0.1.0/aib/tools/release/ship_watch.py +173 -0
  495. ez2_aib-0.1.0/aib/tools/report/aib-report.py +1493 -0
  496. ez2_aib-0.1.0/aib/tools/report/status-enum.json +75 -0
  497. ez2_aib-0.1.0/aib/tools/secrets_init.py +235 -0
  498. ez2_aib-0.1.0/aib/tools/support/collect.py +119 -0
  499. ez2_aib-0.1.0/aib/tools/verify/aib_plugins.py +149 -0
  500. ez2_aib-0.1.0/aib/tools/verify/bash-shim/_shim +81 -0
  501. ez2_aib-0.1.0/aib/tools/verify/bash-shim/_trace.bash +302 -0
  502. ez2_aib-0.1.0/aib/tools/verify/bash-shim/bash +3 -0
  503. ez2_aib-0.1.0/aib/tools/verify/bash-shim/cat +3 -0
  504. ez2_aib-0.1.0/aib/tools/verify/bash-shim/cp +3 -0
  505. ez2_aib-0.1.0/aib/tools/verify/bash-shim/head +3 -0
  506. ez2_aib-0.1.0/aib/tools/verify/bash-shim/tail +3 -0
  507. ez2_aib-0.1.0/aib/tools/verify/cell_probe.py +154 -0
  508. ez2_aib-0.1.0/aib/tools/verify/cell_runner.py +229 -0
  509. ez2_aib-0.1.0/aib/tools/verify/crosscheck.py +215 -0
  510. ez2_aib-0.1.0/aib/tools/verify/env_parts_store.py +55 -0
  511. ez2_aib-0.1.0/aib/tools/verify/false_reuse_audit.py +417 -0
  512. ez2_aib-0.1.0/aib/tools/verify/jsonl_safe.py +37 -0
  513. ez2_aib-0.1.0/aib/tools/verify/ldp-shim/aib_ldp.c +86 -0
  514. ez2_aib-0.1.0/aib/tools/verify/node-shim/audit.cjs +235 -0
  515. ez2_aib-0.1.0/aib/tools/verify/node-shim/hooks.mjs +45 -0
  516. ez2_aib-0.1.0/aib/tools/verify/plain_test_runner.py +69 -0
  517. ez2_aib-0.1.0/aib/tools/verify/planner.py +456 -0
  518. ez2_aib-0.1.0/aib/tools/verify/pool_share.py +211 -0
  519. ez2_aib-0.1.0/aib/tools/verify/prewarm.py +253 -0
  520. ez2_aib-0.1.0/aib/tools/verify/pushgate.py +977 -0
  521. ez2_aib-0.1.0/aib/tools/verify/py-site/sitecustomize.py +37 -0
  522. ez2_aib-0.1.0/aib/tools/verify/receipt.py +497 -0
  523. ez2_aib-0.1.0/aib/tools/verify/replay_savings.py +308 -0
  524. ez2_aib-0.1.0/aib/tools/verify/rerun_reasons.py +106 -0
  525. ez2_aib-0.1.0/aib/tools/verify/resume_policy.py +216 -0
  526. ez2_aib-0.1.0/aib/tools/verify/resume_store.py +87 -0
  527. ez2_aib-0.1.0/aib/tools/verify/reuse_index.py +1276 -0
  528. ez2_aib-0.1.0/aib/tools/verify/row_export.py +457 -0
  529. ez2_aib-0.1.0/aib/tools/verify/runner.py +865 -0
  530. ez2_aib-0.1.0/aib/tools/verify/select_changed.py +812 -0
  531. ez2_aib-0.1.0/aib/tools/verify/shadow_gate.py +130 -0
  532. ez2_aib-0.1.0/aib/tools/verify/shadow_tracer.py +3051 -0
  533. ez2_aib-0.1.0/aib/tools/verify/sitecustomize.py +34 -0
  534. ez2_aib-0.1.0/aib/tools/verify/sitecustomize_audit.py +1567 -0
  535. ez2_aib-0.1.0/aib/tools/verify/slow_warn.py +18 -0
  536. ez2_aib-0.1.0/aib/tools/verify/stale_tests.py +78 -0
  537. ez2_aib-0.1.0/aib/tools/verify/test_entry.py +1436 -0
  538. ez2_aib-0.1.0/aib/tools/verify/tmp_leak_fix.py +145 -0
  539. ez2_aib-0.1.0/aib/tools/verify/tmp_sweep.py +328 -0
  540. ez2_aib-0.1.0/ez2_aib.egg-info/PKG-INFO +302 -0
  541. ez2_aib-0.1.0/ez2_aib.egg-info/SOURCES.txt +545 -0
  542. ez2_aib-0.1.0/ez2_aib.egg-info/dependency_links.txt +1 -0
  543. ez2_aib-0.1.0/ez2_aib.egg-info/entry_points.txt +2 -0
  544. ez2_aib-0.1.0/ez2_aib.egg-info/top_level.txt +1 -0
  545. ez2_aib-0.1.0/pyproject.toml +26 -0
  546. ez2_aib-0.1.0/setup.cfg +4 -0
  547. ez2_aib-0.1.0/tests/test_smoke.py +70 -0
ez2_aib-0.1.0/LICENSE ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
ez2_aib-0.1.0/NOTICE ADDED
@@ -0,0 +1,4 @@
1
+ aib
2
+ Copyright 2024-2026 Ez2 | 一極圖
3
+
4
+ This product includes software developed by Ez2.
ez2_aib-0.1.0/PKG-INFO ADDED
@@ -0,0 +1,302 @@
1
+ Metadata-Version: 2.4
2
+ Name: ez2-aib
3
+ Version: 0.1.0
4
+ Summary: Run only the tests your change affects; ship only when nothing new is red.
5
+ License-Expression: Apache-2.0
6
+ Requires-Python: >=3.9
7
+ Description-Content-Type: text/markdown
8
+ License-File: LICENSE
9
+ License-File: NOTICE
10
+ Dynamic: license-file
11
+
12
+ [English](README.md) | [繁體中文](README.zh-TW.md)
13
+
14
+ # aib
15
+
16
+ **Many AIs, one workspace: bring in AI tools from any vendor for free, give every seat its own persona, expertise and
17
+ project memory, and let any AI pick up where another left off — even after a sudden disconnect.**
18
+
19
+ - **Bring in any vendor's AI, free.** aib is free and open source<sup>[1]</sup>. AI coding tools<sup>[2]</sup>,
20
+ models you reach with an API key<sup>[3]</sup><sup>[4]</sup> and desktop AI apps (Claude, Codex Desktop, …)
21
+ all open as seats<sup>[5]</sup> that work together. Each AI uses your own account or key; aib charges nothing on top.
22
+ - **Every aib has its own cockpit<sup>[6]</sup>; every cockpit has its own seats.** A cockpit is one tmux<sup>[7]</sup> window
23
+ with several AI seats side by side, each with a role (`dev`, `qa`, `pm`, …). Seats message each other and hand work around.
24
+ - **Every AI has its own persona and expertise.** Each seat can have its own persona<sup>[8]</sup> (the first brain:
25
+ personality, tone, working principles) and its own expertise (development, testing, planning, …).
26
+ - **More than one answer: AIs from different vendors check each other.** Give the same question to AIs from different
27
+ vendors; each answers, then they review each other and point out weak spots and blind spots — you are not stuck with
28
+ a single vendor's view.
29
+ - **Write to the second brain<sup>[9]</sup> any time.** In the middle of building or discussing, save key points and
30
+ decisions to the second brain (project memory) whenever you like. Disconnects and crashes lose nothing; when an AI
31
+ gets muddled after a long chat, just reopen the seat and its memory comes right back.
32
+ - **Any AI can take over.** A seat can run on Claude today and Codex tomorrow and keep the same persona and memory;
33
+ when a conversation fills up, it leaves a hand-off note for whoever comes next.
34
+ - **Keep valuable conversations, fewer AI hallucinations<sup>[10]</sup>.** Points worth keeping from a conversation are
35
+ distilled<sup>[11]</sup> into candidates for the persona and memory, and written in once you approve them. With facts
36
+ written down to check, the AI guesses less from vague recall.
37
+ - **Everything stays on your machine.** Seat records, hand-off notes, personas and project memory all live on your own
38
+ machine (`~/.ez2-aib/`<sup>[12]</sup>) and are never uploaded.
39
+
40
+ The cockpit runs on macOS with tmux. Many AIs on one codebase means many changes, so aib also ships a safety net
41
+ that works on its own too (Linux or macOS):
42
+
43
+ - `aib test` re-runs only the tests<sup>[13]</sup> a change affects (Python, bash and Node<sup>[14]</sup> are traced); the rest
44
+ reuse their last **green**<sup>[15]</sup> result. Red results are never reused, and anything aib cannot measure always runs.
45
+ - `aib ship` is the pre-push check<sup>[16]</sup>: only a package with no new red is pushed. Releases can only be cut by a human
46
+ at a terminal<sup>[17]</sup>.
47
+
48
+ **Notes**
49
+ - [1] Open source: the code is public; anyone may read, use and change it.
50
+ - [2] AI coding tools: coding assistants from each vendor — Claude Code (Anthropic), Codex (OpenAI), Antigravity (Google), GitHub Copilot (GitHub), Grok (xAI) and others.
51
+ - [3] API key: a secret string an AI service gives you, so a program can call that service on your behalf.
52
+ - [4] Models reached with an API key: for example DeepSeek, OpenRouter (one entry point to many models) and NVIDIA.
53
+ - [5] Seat: one AI's place in the cockpit — one AI per seat, with its own role and memory.
54
+ - [6] Cockpit: the workspace aib opens, with several seats side by side.
55
+ - [7] tmux: a tool that splits one terminal window into panes and keeps them running after you close the window.
56
+ - [8] Persona: the seat's personality, tone and working principles, saved as a persona card and loaded whichever AI opens the seat.
57
+ - [9] Second brain: the seat's project memory — a set of notes kept on your own machine.
58
+ - [10] AI hallucination: an AI stating something incorrect as if it were true.
59
+ - [11] Distill: pick the points worth keeping out of a conversation and turn them into rules or knowledge.
60
+ - [12] `~/.ez2-aib/`: a folder in your home folder where aib keeps its records.
61
+ - [13] Tests: small programs that automatically check that the code still works.
62
+ - [14] Python, bash, Node: three common programming languages / runtimes.
63
+ - [15] Green / red: a passing test is green, a failing one is red.
64
+ - [16] Pre-push check: running the affected tests before pushing code to the shared version (the main branch).
65
+ - [17] Terminal: the window where you type text commands (the Terminal app on macOS).
66
+
67
+ ## Quick start
68
+
69
+ ```sh
70
+ curl -fsSL https://raw.githubusercontent.com/ez2app/ez2-aib/main/install.sh | bash
71
+ # macOS: installs into ~/ez2-aib; run the same line again any time to update
72
+ aib update # same thing, once aib is installed (aib update --tools also offers AI CLIs)
73
+ # other ways: pipx install git+https://github.com/ez2app/ez2-aib
74
+ # git clone https://github.com/ez2app/ez2-aib ~/ez2-aib && export PATH="$HOME/ez2-aib/bin:$PATH"
75
+
76
+ cd your-project
77
+ aib claude safe dev # open a Claude Code seat named dev (it asks before every action)
78
+ aib codex safe qa # and a Codex seat named qa next to it
79
+ aib test tests/test_something.py # first run: runs and records
80
+ aib test tests/test_something.py # nothing changed: reused
81
+ aib test --all # the whole suite, same rules
82
+ aib ship package --branch my-branch # pre-push check, then push to main
83
+ ```
84
+
85
+ Python<sup>[18]</sup> 3.9+ on Linux or macOS; the cockpit needs macOS and tmux. Windows is not supported (WSL2<sup>[19]</sup> is untested).
86
+ The first line is the one-line install<sup>[20]</sup>; the other ways use pipx<sup>[21]</sup>, git<sup>[22]</sup> and PATH<sup>[23]</sup>.
87
+
88
+ **Notes**
89
+ - [18] Python: a programming language; aib is written in it, so it must be installed first.
90
+ - [19] WSL2: a Windows feature that runs Linux inside Windows.
91
+ - [20] One-line install: `curl … | bash` downloads the installer and runs it right away.
92
+ - [21] pipx: a tool that installs Python command-line tools, each kept apart from the others.
93
+ - [22] git: the tool that records every change to the code; `git clone` downloads a whole copy.
94
+ - [23] PATH: the list of folders your computer searches for commands; adding a folder lets you type `aib`.
95
+
96
+ ## The cockpit: several AIs side by side
97
+
98
+ The **cockpit** runs several AI coding assistants ("seats") side by side in one tmux window, each with a
99
+ role (`dev`, `qa`, `pm`, …), a left / center / right layout, mouse menus, seat-to-seat messages, hand-off notes when a
100
+ conversation fills up, and fleet tools<sup>[24]</sup> (seat identity, dispatch, patrol).
101
+
102
+ ```sh
103
+ aib claude safe dev # open a Claude Code seat named dev, asking before every action
104
+ aib codex dgrs qa # open a Codex seat named qa in allow-all mode (see below)
105
+ aib --help-cockpit # every option
106
+ ```
107
+
108
+ - **Requirements:** macOS and tmux. Each AI's own command-line tool<sup>[25]</sup> must already be installed and logged in
109
+ (`claude`, `codex`, `grok`, …); aib does not install or log in for you. The cockpit has not been tried on Linux yet.
110
+ - **bash tests on macOS:** aib traces bash scripts with bash 4.1 or newer. macOS ships bash 3.2, so tests that run bash scripts
111
+ are reported as "not measured" and always rerun (safe, just slower). `brew install bash`<sup>[26]</sup> makes them reusable.
112
+ - **Permission modes, per seat:** `safe` keeps the AI tool's normal protections (it asks before editing files or running
113
+ commands). `dgrs` turns those protections off **for that seat only**, so the AI acts without asking; aib prints a
114
+ warning with the command to reopen the seat in `safe`. You choose for each seat when you open it.
115
+ - **Claude** is a trademark of Anthropic; Codex of OpenAI; Grok of xAI. aib is not affiliated with them.
116
+
117
+ **Notes**
118
+ - [24] Fleet tools: features for managing many seats at once — who each seat is, handing out work, regular patrols.
119
+ - [25] Command-line tool: a program you use by typing commands in a terminal (for example `claude`, `codex`).
120
+ - [26] `brew install bash`: installs a newer bash with Homebrew, the usual way to install software on macOS.
121
+
122
+ ## Planned: across machines and social channels
123
+
124
+ > These are planned and not usable yet; each will be listed in the CHANGELOG<sup>[27]</sup> when it lands.
125
+
126
+ - **AIs on different machines talk to each other.** No need to cram every AI onto one computer: AI seats at home, at
127
+ work or on a cloud host<sup>[28]</sup> can message each other.
128
+ - **Operate another machine's aib from your own.** From the aib on your computer, run another machine's aib cockpit
129
+ through conversation, or send commands to the aib on that host.
130
+ - **Social conversation management.** Bring conversations from LINE, Telegram and other social platforms in and manage
131
+ them; LINE and Telegram already work in internal testing and will open up later.
132
+
133
+ **Notes**
134
+ - [27] CHANGELOG: the record of what each version added or changed.
135
+ - [28] Host: a computer that runs programs — your laptop, an office machine, or a rented cloud server.
136
+
137
+ ## In development: faster tests
138
+
139
+ > This part is still being developed; the numbers and behavior below may change.
140
+
141
+ aib remembers which files every test read; next time it reruns only the tests a change affects and reuses the last green
142
+ result for the rest.
143
+
144
+ **Measured: our own development of aib** (2026-10-08 to 10-10, 28 pushes<sup>[29]</sup>, about 1,020 tests each)
145
+
146
+ | How the tests run | Total for 28 pushes | Average per push | Saved vs. one at a time |
147
+ |---|---|---|---|
148
+ | Without aib, one test at a time<sup>[30]</sup> | 91.1 hours (about 3.8 days<sup>[31]</sup>) | 195 minutes | (baseline) 91.1 hours |
149
+ | With aib, same project in a single run<sup>[32]</sup> | 43.8 hours (about 1.8 days) | 94 minutes | saves 47.3 hours (about 2 days, 52%) |
150
+ | **With aib, same project split into 3 parts** | **16.6 hours (about 0.7 days)** | **36 minutes** | **saves 74.5 hours (about 3.1 days)** |
151
+
152
+ - From 91.1 to 43.8 hours is aib's reuse<sup>[33]</sup>: tests a change does not affect are not run again; down to 16.6 hours comes from splitting the remaining tests into 3 parts that run at once.
153
+ - 36 minutes is the average over these 28 pushes; once records built up, the last 10 pushes averaged about 18 minutes.
154
+ - Is reuse ever wrong? 13 randomly chosen reused tests were really rerun: all 13 gave the same result, 0 were wrongly reused.
155
+
156
+ **Expected savings per month**<sup>[34]</sup>
157
+
158
+ | How the tests run | About per month | Saved vs. one at a time |
159
+ |---|---|---|
160
+ | Without aib, one test at a time | 395 hours (about 16.4 days) | (baseline) 395 hours |
161
+ | With aib, same project in a single run | 190 hours (about 7.9 days) | saves 205 hours (about 8.5 days) |
162
+ | **With aib, same project split into 3 parts** | **72 hours (about 3 days)** | **saves 323 hours (about 13.5 days)** |
163
+
164
+ **Small projects (Linux, 4 cores)**
165
+
166
+ | Project | pytest<sup>[35]</sup> in parallel | aib, first run | Saved on each later run |
167
+ |---|---|---|---|
168
+ | [attrs](https://github.com/python-attrs/attrs)<sup>[36]</sup> (26 tests) | 8.2 s | 15.1 s | about 5 s (3.0 s when nothing changed) |
169
+ | [click](https://github.com/pallets/click)<sup>[37]</sup> (43 tests) | 6.2 s | 17.2 s | about 2 s (3.8 s when nothing changed) |
170
+
171
+ - The first run records which files each test read, so it is slower than pytest; from the second run on, unaffected tests are reused.
172
+ - "Saved on each later run" assumes nothing changed; the more files a change touches, the more tests rerun and the less is saved.
173
+ - **Good fit:** a suite that takes minutes or more, where each change touches only part of it. **Poor fit:** a suite that finishes in a few seconds.
174
+ - A side effect: each test runs on its own, which exposes tests that only pass after another test ran first.
175
+
176
+ **Notes**
177
+ - [29] Push: sending your finished changes to the version everyone shares.
178
+ - [30] One test at a time: 91.1 hours is an estimate that adds up each test's time measured under aib, including tracing overhead, so it runs high.
179
+ - [31] Day: counted as 24 hours (an AI can run around the clock).
180
+ - [32] Single run: aib runs only the affected tests, one after another; 43.8 hours is the sum of those tests' actual run times.
181
+ - [33] Reused: none of the files the test read changed, so its last green result is used instead of running it again.
182
+ - [34] Expected savings per month: projected from the measured pace (about 28 pushes a week, about 121 a month) × 52 ÷ 12; fewer pushes save less. Each push saves about 160 minutes compared with one at a time, about 101 of them from aib's reuse.
183
+ - [35] pytest: the most common Python testing tool; it runs all tests and reports which passed. "In parallel" runs several processes at once, its fastest mode.
184
+ - [36] attrs: a well-known open-source Python package that saves programmers from writing repetitive code.
185
+ - [37] click: a well-known open-source Python package for building command-line tools.
186
+
187
+ ## Languages
188
+
189
+ Python (unittest<sup>[38]</sup>, pytest) is traced in full. Node (node:test, jest, mocha<sup>[39]</sup>), Go and PHP<sup>[40]</sup>
190
+ run through aib and get the pre-push check; how much can be reused depends on what the tracer sees — see
191
+ `docs/AIB-TEST-QUICKSTART.md` for the current table.
192
+ Other languages can declare their test command in `.aib/ship.toml`; they always run, but packaging and releases work.
193
+
194
+ **Notes**
195
+ - [38] unittest: Python's built-in testing tool.
196
+ - [39] node:test, jest, mocha: three common testing tools for Node.
197
+ - [40] Go, PHP: two more programming languages.
198
+
199
+ ## How safe is reuse?
200
+
201
+ - Only green results are reused, and only when every input the test read is byte-identical.
202
+ - If aib cannot see what a test read (a subprocess<sup>[41]</sup> it cannot trace, network, a known native extension that reads
203
+ files itself), the test is marked unmeasurable and always runs.
204
+ - **Known gap:** a C extension<sup>[42]</sup> that is *not* on aib's list and reads files from C code is invisible to Python's
205
+ audit hooks<sup>[43]</sup>. On Linux the native safety net below catches this; **without it (macOS, or no C compiler<sup>[44]</sup>)
206
+ a change to such a file may not trigger a rerun.** If your tests depend on files read that way, run `aib test --fresh`
207
+ before releasing.
208
+ - `aib ship audit` re-runs a random sample of reused tests and compares.
209
+
210
+ **Notes**
211
+ - [41] Subprocess: a program that another running program starts.
212
+ - [42] C extension: a piece written in C that Python calls; it is fast, but Python cannot see the files it reads.
213
+ - [43] Audit hooks: Python's built-in "tell me when a file is opened" mechanism, which aib uses to record what tests read.
214
+ - [44] C compiler: the tool that turns C source code into a runnable program (for example `cc`, `gcc`, `clang`).
215
+
216
+ ## Privacy
217
+
218
+ aib never sends your code, test results or anything else to us. Its records stay on your machine
219
+ (`~/.ez2-aib/`, plus a small cache in `~/.cache/ez2-aib/`). aib's own network traffic is what `aib ship` does with git:
220
+ fetch from and push to **your own** remote<sup>[45]</sup>.
221
+
222
+ The cockpit is different in one way: the AI seats you open are the AI vendors' own tools, and they talk to their vendors
223
+ as they always do. What the cockpit itself keeps on your machine, all under `~/.ez2-aib/`:
224
+ seat records and hand-off notes, seat-to-seat messages, project and role cards, and API keys you add for API-key seats
225
+ (in `~/.ez2-aib/secrets/`, folder 0700 / files 0600<sup>[46]</sup>, encrypted with a key stored next to them — this stops casual reading
226
+ and accidental commits, not someone who can already read your home folder). Delete `~/.ez2-aib/` to remove all of it.
227
+
228
+ **Notes**
229
+ - [45] Remote (fetch / push): the copy of the code kept online (for example on GitHub); fetch downloads from it, push uploads to it.
230
+ - [46] 0700 / 0600: file permissions meaning only your own account can read and write.
231
+
232
+ ## The native safety net (Linux only)
233
+
234
+ Some tests read files from C code (a native extension, a C library), which Python's audit hooks cannot see.
235
+ On Linux, if a C compiler (`cc`, `gcc` or `clang`) is on your PATH, aib compiles a small C file that ships with it
236
+ (`aib/tools/verify/ldp-shim/`) into `~/.cache/ez2-aib/` and preloads it (`LD_PRELOAD`<sup>[47]</sup>) **into test processes only**,
237
+ so those reads are recorded too. Without a compiler, or if the library cannot be loaded, the safety net stays off and
238
+ aib says why. **Then the gap described above is open:** reads done in C code go unrecorded, so a change to such a file
239
+ may not make its tests rerun. It is never available on macOS.
240
+ Turn it off with `AIB_NATIVE_GUARD=0`.
241
+
242
+ **Notes**
243
+ - [47] `LD_PRELOAD`: a Linux feature that loads a small piece into a program when it starts; aib uses it to record reads done in C.
244
+
245
+ ## Keeping the temp folder clean
246
+
247
+ Tests often leave temp files behind, and sometimes background programs (a tmux server a test forgot to stop can run for
248
+ hours and eat gigabytes of memory). aib cleans up after the tests it runs:
249
+
250
+ - Each test gets its own temp folder (`TMPDIR`<sup>[48]</sup>, under `<tmp>/aibt-…`), deleted when the test ends.
251
+ - Background programs a test started and left running are stopped when it ends.
252
+ - The summary names the tests that left something behind, so you can fix them at the source.
253
+ - `aib tmp` lists what aib and its tests left in the temp folder and any leftover background programs from tests that
254
+ already finished; `aib tmp --apply` removes them. It never touches anything that is not aib's, symbolic links, or
255
+ anything a running program still uses. `aib ship` does this automatically before the pre-push check.
256
+
257
+ **Notes**
258
+ - [48] `TMPDIR`: the setting that tells programs where to put temporary files.
259
+
260
+ ## CI
261
+
262
+ `aib ship ci` writes a GitHub Actions<sup>[49]</sup> workflow<sup>[50]</sup> that keeps aib's records in the Actions cache, so CI<sup>[51]</sup>
263
+ runs only what changed too. Pull requests<sup>[52]</sup> from forks<sup>[53]</sup> always run everything (they must not be able to touch the records).
264
+
265
+ **Notes**
266
+ - [49] GitHub Actions: GitHub's automation service; push code and it runs your tests automatically.
267
+ - [50] Workflow: the settings file for GitHub Actions that lists the steps to run.
268
+ - [51] CI (continuous integration): running the tests in the cloud automatically every time someone pushes code.
269
+ - [52] Pull request (PR): a request asking the project owner to merge your changes.
270
+ - [53] Fork: someone's own copy of your project under their account.
271
+
272
+ ## Uninstall
273
+
274
+ ```sh
275
+ rm -rf ~/ez2-aib ~/.local/bin/aib # if you used the one-line install
276
+ pipx uninstall ez2-aib # if you installed it with pipx
277
+ rm -rf ~/.ez2-aib ~/.cache/ez2-aib # aib's records and cache (outside your project aib writes only these, plus temporary files in the system temp folder)
278
+ rm -rf your-project/.aib # only if `aib ship` created it and you no longer want it
279
+ ```
280
+
281
+ ## Contributing and security
282
+
283
+ See `CONTRIBUTING.md` and `SECURITY.md`.
284
+
285
+ ## Why local first
286
+
287
+ If all development depends on a remote host or an online platform, everything stops the moment it goes down or
288
+ cannot be reached. aib was born out of exactly that: we moved development off online platforms and back onto our own
289
+ computers, so records, memory and work in progress stay on the local machine and keep going when something remote fails.
290
+
291
+ The AIs themselves still connect to their vendors' services, but seat records, personas and memory live on your
292
+ computer — switch to another vendor's AI, or wait for the network to come back, and pick up right where you left off.
293
+
294
+ ## History
295
+
296
+ AIB is the successor to **ACB**, which we started developing in 2024.
297
+ ACB's architecture no longer fit the way it is used today, so instead of patching it further we rebuilt it from the ground up as AIB.
298
+ `aib test` and `aib ship` are the open-source core of that rebuild.
299
+
300
+ ## License
301
+
302
+ Apache License 2.0 — see `LICENSE`.