rubik 0.2.0 → 0.3.0

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 (42) hide show
  1. checksums.yaml +4 -4
  2. data/ATTRIBUTION.md +4 -0
  3. data/CHANGELOG.md +81 -0
  4. data/README.md +137 -268
  5. data/bin/rubik +9 -0
  6. data/lib/rubik/cli/workspace_trust.rb +78 -0
  7. data/lib/rubik/kernel/init.rb +15 -0
  8. data/lib/rubik/orchestrator/auto_apply.rb +1 -1
  9. data/lib/rubik/orchestrator/subagent/activation.rb +29 -4
  10. data/lib/rubik/orchestrator/subagent/builtin_types.rb +117 -0
  11. data/lib/rubik/orchestrator/subagent/dynamic_store.rb +119 -0
  12. data/lib/rubik/orchestrator/subagent/instance.rb +8 -36
  13. data/lib/rubik/orchestrator/subagent/journal.rb +77 -4
  14. data/lib/rubik/orchestrator/subagent/profile_contract.rb +187 -0
  15. data/lib/rubik/orchestrator/subagent/profile_snapshot.rb +72 -0
  16. data/lib/rubik/orchestrator/subagent/reuse.rb +2 -1
  17. data/lib/rubik/orchestrator/subagent/scoped_registry.rb +2 -0
  18. data/lib/rubik/orchestrator/subagent/spawn_transaction.rb +170 -0
  19. data/lib/rubik/orchestrator/subagent/start_gate.rb +98 -0
  20. data/lib/rubik/orchestrator/subagent/supervisor.rb +4 -67
  21. data/lib/rubik/orchestrator/subagent/type_definition.rb +84 -0
  22. data/lib/rubik/orchestrator/subagent/type_registry.rb +139 -159
  23. data/lib/rubik/orchestrator/turn_executor/subagent_channel.rb +4 -2
  24. data/lib/rubik/platform/process.rb +78 -1
  25. data/lib/rubik/prompt/context_builder.rb +54 -20
  26. data/lib/rubik/prompt/doctrine.rb +158 -22
  27. data/lib/rubik/prompt/token_estimator.rb +5 -3
  28. data/lib/rubik/prompt/tool_teachings.rb +19 -12
  29. data/lib/rubik/sandbox/driver/bubblewrap.rb +13 -59
  30. data/lib/rubik/sandbox/driver/docker.rb +14 -60
  31. data/lib/rubik/sandbox/driver/podman.rb +13 -56
  32. data/lib/rubik/sandbox/driver/process.rb +12 -64
  33. data/lib/rubik/security/guard.rb +1 -1
  34. data/lib/rubik/storage/store.rb +52 -11
  35. data/lib/rubik/tools/builtins/define_subagent.rb +69 -0
  36. data/lib/rubik/tools/builtins/storage.rb +8 -5
  37. data/lib/rubik/tools/builtins/subagent.rb +20 -53
  38. data/lib/rubik/tools/builtins/synthesis.rb +6 -1
  39. data/lib/rubik/tools/builtins.rb +1 -0
  40. data/lib/rubik/tools/diagnostic_reporter.rb +2 -1
  41. data/lib/rubik/version.rb +1 -1
  42. metadata +10 -1
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubik
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Özgür Ulukır
@@ -272,6 +272,7 @@ files:
272
272
  - lib/rubik/buffer/manager.rb
273
273
  - lib/rubik/buffer/path_validator.rb
274
274
  - lib/rubik/buffer/snapshot.rb
275
+ - lib/rubik/cli/workspace_trust.rb
275
276
  - lib/rubik/coeffects.rb
276
277
  - lib/rubik/concurrency.rb
277
278
  - lib/rubik/concurrency/boundary.rb
@@ -357,12 +358,14 @@ files:
357
358
  - lib/rubik/orchestrator/stream_manager.rb
358
359
  - lib/rubik/orchestrator/subagent/activation.rb
359
360
  - lib/rubik/orchestrator/subagent/budget.rb
361
+ - lib/rubik/orchestrator/subagent/builtin_types.rb
360
362
  - lib/rubik/orchestrator/subagent/completion.rb
361
363
  - lib/rubik/orchestrator/subagent/concurrency_gate.rb
362
364
  - lib/rubik/orchestrator/subagent/context_compaction.rb
363
365
  - lib/rubik/orchestrator/subagent/conversation_id.rb
364
366
  - lib/rubik/orchestrator/subagent/deferred_spec.rb
365
367
  - lib/rubik/orchestrator/subagent/dependency.rb
368
+ - lib/rubik/orchestrator/subagent/dynamic_store.rb
366
369
  - lib/rubik/orchestrator/subagent/execution_reads.rb
367
370
  - lib/rubik/orchestrator/subagent/instance.rb
368
371
  - lib/rubik/orchestrator/subagent/journal.rb
@@ -371,6 +374,8 @@ files:
371
374
  - lib/rubik/orchestrator/subagent/narration.rb
372
375
  - lib/rubik/orchestrator/subagent/notices.rb
373
376
  - lib/rubik/orchestrator/subagent/operation_tracker.rb
377
+ - lib/rubik/orchestrator/subagent/profile_contract.rb
378
+ - lib/rubik/orchestrator/subagent/profile_snapshot.rb
374
379
  - lib/rubik/orchestrator/subagent/questioner.rb
375
380
  - lib/rubik/orchestrator/subagent/reaper.rb
376
381
  - lib/rubik/orchestrator/subagent/resilience.rb
@@ -378,6 +383,8 @@ files:
378
383
  - lib/rubik/orchestrator/subagent/reuse.rb
379
384
  - lib/rubik/orchestrator/subagent/run_cycle.rb
380
385
  - lib/rubik/orchestrator/subagent/scoped_registry.rb
386
+ - lib/rubik/orchestrator/subagent/spawn_transaction.rb
387
+ - lib/rubik/orchestrator/subagent/start_gate.rb
381
388
  - lib/rubik/orchestrator/subagent/step_runner.rb
382
389
  - lib/rubik/orchestrator/subagent/storage_id.rb
383
390
  - lib/rubik/orchestrator/subagent/supervisor.rb
@@ -386,6 +393,7 @@ files:
386
393
  - lib/rubik/orchestrator/subagent/tool_dispatch.rb
387
394
  - lib/rubik/orchestrator/subagent/transcript_formatter.rb
388
395
  - lib/rubik/orchestrator/subagent/transcript_reader.rb
396
+ - lib/rubik/orchestrator/subagent/type_definition.rb
389
397
  - lib/rubik/orchestrator/subagent/type_registry.rb
390
398
  - lib/rubik/orchestrator/subagent/waiting.rb
391
399
  - lib/rubik/orchestrator/subagent_notice_inbox.rb
@@ -717,6 +725,7 @@ files:
717
725
  - lib/rubik/tools.rb
718
726
  - lib/rubik/tools/base.rb
719
727
  - lib/rubik/tools/builtins.rb
728
+ - lib/rubik/tools/builtins/define_subagent.rb
720
729
  - lib/rubik/tools/builtins/dmesg.rb
721
730
  - lib/rubik/tools/builtins/exec.rb
722
731
  - lib/rubik/tools/builtins/files.rb