phronomy 0.33.0 → 0.34.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +62 -0
- data/CONTRIBUTING.md +5 -5
- data/README.md +15 -2
- data/RELEASE_CHECKLIST.md +3 -1
- data/SECURITY.md +1 -1
- data/VERIFY.sh +1 -9
- data/docs/architecture/error-api-review.md +6 -2
- data/docs/architecture/structured-output-and-scope.md +3 -4
- data/docs/decisions/016-semantic-multi-agent-handoff.md +6 -5
- data/docs/features.md +2 -2
- data/docs/migrations/cleanup-audit.md +89 -0
- data/docs/migrations/legacy-format-removal.md +55 -0
- data/docs/migrations/r8-unit6.md +4 -2
- data/docs/migrations/vector-async-clients.md +6 -1
- data/docs/shared-state-sharing.md +14 -4
- data/lib/phronomy/agent/execution/agent_invocation.rb +0 -4
- data/lib/phronomy/agent/handoff/transfer_projection.rb +0 -9
- data/lib/phronomy/agent/journal/journal_record.rb +2 -2
- data/lib/phronomy/agent/recovery/recovery_rules.rb +0 -12
- data/lib/phronomy/agent/store.rb +3 -8
- data/lib/phronomy/agent/tool_execution/tool_invocation.rb +0 -3
- data/lib/phronomy/context/context_policy.rb +3 -7
- data/lib/phronomy/context/llm_input_manifest.rb +3 -3
- data/lib/phronomy/engine/runtime/shutdown_result.rb +0 -5
- data/lib/phronomy/execution/execution.rb +0 -11
- data/lib/phronomy/multi_agent/shared_state.rb +5 -8
- data/lib/phronomy/version.rb +1 -1
- metadata +4 -11
- data/lib/phronomy/execution/scheduler_reentrancy_error.rb +0 -9
- data/lib/phronomy/persistence/migration/initial_format_migration.rb +0 -226
- data/scripts/add_to_h_to_token_doubles.rb +0 -33
- data/scripts/add_to_h_unnamed_doubles.rb +0 -27
- data/scripts/migrate_generator_verifier_result.rb +0 -18
- data/scripts/migrate_spec_agent_definition.rb +0 -108
- data/scripts/migrate_spec_agent_definition_pass2.rb +0 -53
- data/scripts/migrate_spec_inline_pass3.rb +0 -24
- data/sig/phronomy/persistence/migration.rbs +0 -13
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env ruby
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
# Adds agent_definition to single-line inline anonymous blocks like:
|
|
5
|
-
# Class.new(Phronomy::Agent::Base) { model "test-model" }
|
|
6
|
-
|
|
7
|
-
counter = 300
|
|
8
|
-
files = Dir.glob("spec/**/*.rb").sort
|
|
9
|
-
|
|
10
|
-
files.each do |f|
|
|
11
|
-
content = File.read(f)
|
|
12
|
-
modified = content.gsub(
|
|
13
|
-
/Class\.new\(Phronomy::Agent::Base\) \{ ([^{}]+) \}/
|
|
14
|
-
) do
|
|
15
|
-
body = $1
|
|
16
|
-
next $& if body.include?("agent_definition")
|
|
17
|
-
counter += 1
|
|
18
|
-
"Class.new(Phronomy::Agent::Base) { agent_definition id: \"test-agent-#{counter}\", version: 1; #{body} }"
|
|
19
|
-
end
|
|
20
|
-
if modified != content
|
|
21
|
-
File.write(f, modified)
|
|
22
|
-
puts " patched: #{f}"
|
|
23
|
-
end
|
|
24
|
-
end
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
module Phronomy
|
|
2
|
-
class Persistence
|
|
3
|
-
module Migration
|
|
4
|
-
module InitialFormatMigration
|
|
5
|
-
def self.agent_root: (Hash[untyped, untyped] hash) -> Storage::DurableRecord
|
|
6
|
-
def self.agent_execution: (Hash[untyped, untyped] hash) -> Storage::DurableRecord
|
|
7
|
-
def self.journal_record: (Hash[untyped, untyped] hash) -> Storage::DurableRecord
|
|
8
|
-
def self.workflow_state: (workflow_instance_id: String, revision: Integer, snapshot: Hash[untyped, untyped]) -> Storage::DurableRecord
|
|
9
|
-
def self.llm_input_manifest: (Hash[untyped, untyped] hash) -> Hash[String, untyped]
|
|
10
|
-
end
|
|
11
|
-
end
|
|
12
|
-
end
|
|
13
|
-
end
|