dialectical-framework 2.1.3__tar.gz → 2.1.4__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.
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/PKG-INFO +1 -1
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/pyproject.toml +1 -1
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/consultant/consultant.py +98 -24
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/concerns/tetrad_candidates.py +85 -24
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/concerns/thesis_fit_check.py +65 -11
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/concerns/view_sketch.py +45 -2
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/LICENSE +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/PATENTS +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/README.md +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/__init__.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/__init__.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/advisor/__init__.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/advisor/advisor.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/advisor/build_policy.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/advisor/migration.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/advisor/reply_hygiene.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/advisor/system_prompts.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/advisor/tools/__init__.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/advisor/tools/anchor.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/advisor/tools/deepen.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/advisor/tools/explore.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/advisor/tools/ingest.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/advisor/tools/note.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/advisor/tools/record_decision.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/advisor/tools/scoped.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/advisor/tools/sync.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/agent_context.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/analyst/__init__.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/analyst/analyst.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/analyst/skills/__init__.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/analyst/skills/anchor_theses.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/analyst/skills/edit_perspective.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/analyst/skills/expand_polarities.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/analyst/skills/find_polarities.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/analyst/skills/introduce_polarity.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/analyst/skills/sketch_tetrad.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/analyst/skills/surface_theses.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/analyst/system_prompts.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/analyst/tools/__init__.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/analyst/tools/place_statement.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/app_spec.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/apps.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/consultant/__init__.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/conversation_facilitator.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/execution_report.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/explorer/__init__.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/explorer/explorer.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/explorer/skills/__init__.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/explorer/skills/build_wheels.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/explorer/skills/explore_transformations.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/explorer/skills/generate_synthesis.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/explorer/system_prompts.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/explorer/tools/__init__.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/explorer/tools/create_nexus.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/explorer/tools/expand_nexus.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/explorer/tools/generate_synthesis.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/explorer/tools/present_exploration.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/orchestrator/__init__.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/orchestrator/tools/__init__.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/orchestrator/tools/add_input.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/orchestrator/tools/audit_feasibility.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/orchestrator/tools/create_dx_input.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/orchestrator/tools/digest_input.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/orchestrator/tools/discard.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/orchestrator/tools/get_schema.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/orchestrator/tools/inspect_node.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/orchestrator/tools/present_analysis.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/orchestrator/tools/query_graph.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/orchestrator/tools/read_digest.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/orchestrator/tools/read_input.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/reasonable_concern.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/stream_events.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/toolsets.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/agents/turn_timing.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/concerns/__init__.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/concerns/ac_re_taxonomy.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/concerns/action_extraction.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/concerns/add_input.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/concerns/ai_dto/__init__.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/concerns/ai_dto/statement_dto.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/concerns/ai_dto/statements_deck_dto.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/concerns/antithesis_classification.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/concerns/antithesis_extraction.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/concerns/antithetical_thesis_detection.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/concerns/aspect_classification.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/concerns/aspect_generation.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/concerns/attribution_check.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/concerns/build_status.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/concerns/causality/__init__.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/concerns/causality/causality_estimator.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/concerns/causality/causality_estimator_balanced.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/concerns/causality/causality_estimator_criteria.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/concerns/causality/causality_estimator_desirable.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/concerns/causality/causality_estimator_feasible.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/concerns/causality/causality_estimator_realistic.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/concerns/causality/causality_normalizer.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/concerns/causality/estimator_resolver.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/concerns/causality_estimation.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/concerns/control_statements_check.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/concerns/create_dx_input.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/concerns/create_nexus.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/concerns/decision_coherence_check.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/concerns/decision_confirmation_check.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/concerns/diagonal_oppositions_check.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/concerns/dialectical_context.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/concerns/discard.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/concerns/display_text_edit.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/concerns/expand_nexus.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/concerns/perspective_combination.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/concerns/perspective_validation.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/concerns/positive_ac_re_apex_derivation.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/concerns/record_decision.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/concerns/scoring_scales.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/concerns/source_digest.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/concerns/statement_classification.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/concerns/statement_deduplication.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/concerns/statement_headline.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/concerns/statement_placement.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/concerns/synthesis_generation.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/concerns/tetrad_grounding.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/concerns/tetrad_sketch.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/concerns/thesis_extraction.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/concerns/transformation_audit.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/concerns/transformation_generation.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/concerns/transformation_sketch.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/dialectical_reasoning.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/enums/__init__.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/enums/causality_preset.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/enums/di.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/events/__init__.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/events/graph_event.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/events/graph_event_bus.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/events/progress_event.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/exceptions/__init__.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/exceptions/node_errors.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/exceptions/provider_errors.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/exceptions/resolver_errors.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/__init__.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/composite_input_resolver.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/dialexity_input_resolver.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/estimation_manager.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/mixins/__init__.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/mixins/incremental_build_mixin.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/mixins/intent_mixin.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/mixins/persistable_mixin.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/nodes/__init__.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/nodes/assessable_entity.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/nodes/base_node.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/nodes/case.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/nodes/cycle.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/nodes/decision.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/nodes/estimation.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/nodes/ideas.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/nodes/input.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/nodes/nexus.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/nodes/note.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/nodes/perspective.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/nodes/polarity.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/nodes/rationale.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/nodes/statement.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/nodes/synthesis.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/nodes/transformation.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/nodes/transition.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/nodes/wheel.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/relationship_manager.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/relationships/__init__.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/relationships/action_reflection_relationship.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/relationships/belongs_to_cycle_relationship.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/relationships/belongs_to_nexus_relationship.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/relationships/changed_to_relationship.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/relationships/contradiction_of_relationship.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/relationships/critiques_relationship.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/relationships/distilled_to_relationship.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/relationships/estimates_relationship.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/relationships/explains_relationship.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/relationships/grounded_in_relationship.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/relationships/has_input_relationship.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/relationships/has_statement_relationship.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/relationships/has_wheel_relationship.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/relationships/immutable_structure.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/relationships/is_source_of_relationship.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/relationships/is_target_of_relationship.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/relationships/negative_side_of_relationship.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/relationships/opposite_direction_relationship.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/relationships/opposite_of_relationship.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/relationships/polarity_relationship.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/relationships/positive_side_of_relationship.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/relationships/provides_relationship.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/relationships/synthesis_of_relationship.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/rendering.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/repositories/__init__.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/repositories/case_repository.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/repositories/cycle_repository.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/repositories/decision_repository.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/repositories/input_repository.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/repositories/nexus_repository.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/repositories/node_repository.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/repositories/note_repository.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/repositories/perspective_repository.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/repositories/polarity_repository.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/repositories/schema_repository.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/repositories/statement_repository.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/repositories/transformation_repository.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/repositories/wheel_repository.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/scope_context.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/verbatim_input_resolver.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/views.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/wheel_segment.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/graph/wheel_segment_polar_pair.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/protocols/__init__.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/protocols/has_config.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/protocols/input_resolver.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/py.typed +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/settings.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/settings_context.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/utils/__init__.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/utils/async_drain.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/utils/bedrock_provider.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/utils/call_census.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/utils/chunking.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/utils/concurrency.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/utils/dc_replace.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/utils/decompose_probability_uniformly.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/utils/edge_context.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/utils/effect_logger.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/utils/format_compat.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/utils/input_context.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/utils/order_transitions.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/utils/progress.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/utils/retry_accounting.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/utils/sequence_generation.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/utils/thinking_compat.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/utils/use_brain.py +0 -0
- {dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/utils/utterance.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: dialectical-framework
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.4
|
|
4
4
|
Summary: A dialectical framework for augmented intelligence. AI reasoning powered with dialectics supports humans in: system optimization (psychology, engineering, business, politics, etc.); dispute resolution (mediation, conflicts, negotiations, etc.); decision-making (dilemmas, challenging situations, win-win, etc.).
|
|
5
5
|
License: MIT
|
|
6
6
|
Keywords: dialectics,dialectical-reasoning,synthesis,thesis-antithesis,ai,artificial-intelligence,llm,reasoning-framework,philosophy,logic,argumentation,conflict-resolution,decision-making,critical-thinking,semantic-graph,mirascope,pydantic,perspectives,polarity-reasoning
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "dialectical-framework"
|
|
3
|
-
version = "2.1.
|
|
3
|
+
version = "2.1.4"
|
|
4
4
|
description = "A dialectical framework for augmented intelligence. AI reasoning powered with dialectics supports humans in: system optimization (psychology, engineering, business, politics, etc.); dispute resolution (mediation, conflicts, negotiations, etc.); decision-making (dilemmas, challenging situations, win-win, etc.)."
|
|
5
5
|
authors = ["Evaldas Taroza <evaldas@dialexity.com>"]
|
|
6
6
|
readme = "README.md"
|
|
@@ -301,6 +301,25 @@ _TOOLS_ON_A_TOOLLESS_HEAD = (
|
|
|
301
301
|
)
|
|
302
302
|
|
|
303
303
|
|
|
304
|
+
#: The view turn's ONE re-ask when every draw's opposition is a view the
|
|
305
|
+
#: person's words already grant (`concerns/view_sketch.GRANTED_OPPOSITION_REASK`).
|
|
306
|
+
#: OFF, by measurement (2026-10-28, `tests/e2e/probe_granted_opposition_redraw.py`,
|
|
307
|
+
#: the 22 conceding petitions, best-of-3, paired, fresh judges on the final
|
|
308
|
+
#: card): it fired on 5 of 22 cards and the granted A went 5 → 4 against a
|
|
309
|
+
#: pre-registered bar of −4 (discordant 1 win / 2 losses), while coherence
|
|
310
|
+
#: went 21 → 18, the whole of its −3 allowance, and the antithesis kind held
|
|
311
|
+
#: (22 against 21 positions). Of the five re-draws two became the card with a
|
|
312
|
+
#: real opposition (one of them failing a fresh CC), one won still carrying
|
|
313
|
+
#: the granted view at the line, and two — each a different opposition —
|
|
314
|
+
#: lost the ranking to the granted original on the pass rule. A miss is a
|
|
315
|
+
#: miss: the mechanism stays here as the measured arm the probe can re-run
|
|
316
|
+
#: (the WITH arm sets this True), and no deployment turns it on. Re-run with
|
|
317
|
+
#: the writer on Opus 5.5 the same day: fired on 4, granted A 4 → 4, the same
|
|
318
|
+
#: four petitions as Sonnet 5.5 drew — the model is not the lever either. Record:
|
|
319
|
+
#: `docs/dev-notes/antithesis-selection.md`, "A is the view the author granted".
|
|
320
|
+
REDRAW_ON_GRANTED_OPPOSITION = False
|
|
321
|
+
|
|
322
|
+
|
|
304
323
|
class Consultant:
|
|
305
324
|
"""The method as a prompt, and nothing behind it. Advise and forget.
|
|
306
325
|
|
|
@@ -356,6 +375,10 @@ class Consultant:
|
|
|
356
375
|
self._conversation.load_messages(messages)
|
|
357
376
|
parts = [p for p in (preamble, method_prompt(include_decision)) if p]
|
|
358
377
|
self._conversation.set_system_prompt("\n\n".join(parts))
|
|
378
|
+
#: The granted view the last `exploration_view` re-asked about, or None
|
|
379
|
+
#: when it sent no re-ask (one draw, a field not unanimous, the switch
|
|
380
|
+
#: off — which it is). Read by the gate probe.
|
|
381
|
+
self.last_view_redraw: Optional[str] = None
|
|
359
382
|
|
|
360
383
|
async def chat(self, user_message: str) -> str:
|
|
361
384
|
result = await self._conversation.submit(ChatResponse, user_message)
|
|
@@ -424,9 +447,9 @@ class Consultant:
|
|
|
424
447
|
from "the drawing failed".
|
|
425
448
|
"""
|
|
426
449
|
from dialectical_framework.concerns.view_sketch import (
|
|
427
|
-
ViewSketchDto,
|
|
428
|
-
|
|
429
|
-
view_sketch_prompt)
|
|
450
|
+
ViewSketchDto, ViewSketchPerspectiveDto,
|
|
451
|
+
exploration_view_from_sketch, history_ask, history_text,
|
|
452
|
+
judge_context, perspective_from_sketch, view_sketch_prompt)
|
|
430
453
|
|
|
431
454
|
import asyncio
|
|
432
455
|
import dataclasses
|
|
@@ -435,10 +458,13 @@ class Consultant:
|
|
|
435
458
|
from dialectical_framework.concerns.attribution_check import \
|
|
436
459
|
drop_unborne_holders
|
|
437
460
|
from dialectical_framework.concerns.tetrad_candidates import (
|
|
438
|
-
clamp_attempts,
|
|
461
|
+
clamp_attempts, every_opposition_granted, judge_candidates,
|
|
462
|
+
ranking, select_sketch)
|
|
439
463
|
|
|
440
464
|
level = self._conversation._thinking_kwargs().get("thinking")
|
|
441
465
|
history = self._conversation._messages
|
|
466
|
+
self.last_view_redraw = None
|
|
467
|
+
max_words = self._conversation.settings.component_length
|
|
442
468
|
# The WHOLE request is the turn's user message, its "Answer with ONE
|
|
443
469
|
# JSON object" included — by measurement, not habit. For one day
|
|
444
470
|
# (2026-10-06) the static instructions rode on the system prompt so the
|
|
@@ -451,17 +477,15 @@ class Consultant:
|
|
|
451
477
|
# utterances; the first app had measured the same 4.6 calls and +17 s).
|
|
452
478
|
# The request->prose pair `history_ask` keeps OUT of the history is the
|
|
453
479
|
# same trap; the long request as the last turn is what holds the format.
|
|
454
|
-
request = view_sketch_prompt(
|
|
455
|
-
focus, self._conversation.settings.component_length, thesis=thesis
|
|
456
|
-
)
|
|
480
|
+
request = view_sketch_prompt(focus, max_words, thesis=thesis)
|
|
457
481
|
|
|
458
|
-
async def draw() -> ViewSketchDto:
|
|
482
|
+
async def draw(ask: str) -> ViewSketchDto:
|
|
459
483
|
# Each draw works on a COPY of the history: the turns run in
|
|
460
484
|
# parallel and none of them may write into the record the others
|
|
461
485
|
# read. What the view leaves behind is appended once, below.
|
|
462
486
|
sketch_turn = ConversationFacilitator(format_mode="json", thinking=level)
|
|
463
487
|
sketch_turn._messages = list(history)
|
|
464
|
-
return await sketch_turn.submit(ViewSketchDto,
|
|
488
|
+
return await sketch_turn.submit(ViewSketchDto, ask)
|
|
465
489
|
|
|
466
490
|
# Fully parallel, deliberately. On a COLD cache all N draws write the
|
|
467
491
|
# ~12k system head instead of one writing and the rest reading (~$0.06
|
|
@@ -480,7 +504,7 @@ class Consultant:
|
|
|
480
504
|
# the winner worse (CC 19/40 against 27/40, 2026-10-13,
|
|
481
505
|
# `tests/e2e/probe_view_turn_ask.py`) — so this is a coherence re-roll,
|
|
482
506
|
# and a host's "another" served from `runners_up` is a rewording.
|
|
483
|
-
drawn = await asyncio.gather(*(draw() for _ in range(n)), return_exceptions=True)
|
|
507
|
+
drawn = await asyncio.gather(*(draw(request) for _ in range(n)), return_exceptions=True)
|
|
484
508
|
sketches = [d for d in drawn if not isinstance(d, BaseException)]
|
|
485
509
|
failures = [d for d in drawn if isinstance(d, BaseException)]
|
|
486
510
|
# A failed draw is a finding, not noise: it costs the card a candidate
|
|
@@ -503,13 +527,16 @@ class Consultant:
|
|
|
503
527
|
# show the sentence the person typed. Done before selection, so the
|
|
504
528
|
# coherence check judges the tetrad the host will actually get.
|
|
505
529
|
pinned = (thesis or "").strip()
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
530
|
+
|
|
531
|
+
def pin(drawn_sketch: ViewSketchDto) -> None:
|
|
532
|
+
if pinned and drawn_sketch.tensions:
|
|
533
|
+
drawn_sketch.tensions[0].thesis = pinned
|
|
534
|
+
# A pinned position is the host's own words for the
|
|
535
|
+
# person's own position: never someone else's.
|
|
536
|
+
drawn_sketch.tensions[0].thesis_held_by = ""
|
|
537
|
+
|
|
538
|
+
for drawn_sketch in sketches:
|
|
539
|
+
pin(drawn_sketch)
|
|
513
540
|
# The person's turns, for the judges below. Also the words a named
|
|
514
541
|
# holder is checked against.
|
|
515
542
|
words = judge_context(person_turns(history))
|
|
@@ -531,11 +558,16 @@ class Consultant:
|
|
|
531
558
|
# it never sees T or A, and called blind — as it was here until
|
|
532
559
|
# 2026-10-13, while the build and the persisted path passed their
|
|
533
560
|
# material — it scored the four aspects against nothing.
|
|
561
|
+
def complete(tension: Optional[ViewSketchPerspectiveDto]) -> bool:
|
|
562
|
+
return tension is not None and all(
|
|
563
|
+
(getattr(tension, k) or "").strip()
|
|
564
|
+
for k in ("thesis", "antithesis", "t_plus", "t_minus", "a_plus", "a_minus")
|
|
565
|
+
)
|
|
566
|
+
|
|
534
567
|
runners_up: list[PerspectiveView] = []
|
|
535
568
|
if len(sketches) > 1:
|
|
536
569
|
firsts = [s.tensions[0] if s.tensions else None for s in sketches]
|
|
537
|
-
judgeable = [i for i, t in enumerate(firsts) if t
|
|
538
|
-
(getattr(t, k) or "").strip() for k in ("thesis", "antithesis", "t_plus", "t_minus", "a_plus", "a_minus"))]
|
|
570
|
+
judgeable = [i for i, t in enumerate(firsts) if complete(t)]
|
|
539
571
|
if len(judgeable) > 1:
|
|
540
572
|
# This writer CHOOSES the thesis, so a second judge reads each
|
|
541
573
|
# draw's T, A and A+ against the person's words — the claim
|
|
@@ -543,12 +575,54 @@ class Consultant:
|
|
|
543
575
|
# (`tetrad_candidates.judge_fit`, 2026-10-20). With a pinned T
|
|
544
576
|
# the first read is the same on every draw and the second
|
|
545
577
|
# still tells them apart.
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
)
|
|
578
|
+
field = [sketches[i] for i in judgeable]
|
|
579
|
+
pool = [firsts[i] for i in judgeable]
|
|
580
|
+
_best, verdicts = await select_sketch(pool, context=words, fit_against=words)
|
|
581
|
+
# THE ONE RE-ASK (2026-10-28), OFF by measurement — see the
|
|
582
|
+
# constant. The draws of one request are one tension reworded,
|
|
583
|
+
# so when the fit judge reads EVERY draw's A as a view the
|
|
584
|
+
# person's words already grant, no selection can help — the
|
|
585
|
+
# handoff's "X is true, however Y" cards had A = X in every
|
|
586
|
+
# rep. One more request names that view and asks for the
|
|
587
|
+
# opposition to the claim actually made; the re-draw is judged
|
|
588
|
+
# once and joins the field under the SAME ranking, so it wins
|
|
589
|
+
# only if it passes and fits, and a passing original beats a
|
|
590
|
+
# re-draw that fails the pass rule (every keep-any-passing
|
|
591
|
+
# figure stands). Unanimity is the trigger; never a loop. On
|
|
592
|
+
# the gate it fixed 2 of the 5 cards it fired on and cost 3
|
|
593
|
+
# coherence passes of 22, which missed the bar.
|
|
594
|
+
if REDRAW_ON_GRANTED_OPPOSITION and every_opposition_granted(verdicts):
|
|
595
|
+
granted = pool[ranking(verdicts)[0]].antithesis
|
|
596
|
+
try:
|
|
597
|
+
again: Optional[ViewSketchDto] = await draw(
|
|
598
|
+
view_sketch_prompt(
|
|
599
|
+
focus, max_words, thesis=thesis, granted_opposition=granted
|
|
600
|
+
)
|
|
601
|
+
)
|
|
602
|
+
except Exception as exc: # noqa: BLE001 — the card stands on its draws
|
|
603
|
+
failed_draws.append(_failed_draw(exc))
|
|
604
|
+
logger.warning("The view turn's re-ask failed; the card stands on its draws: %s", exc)
|
|
605
|
+
again = None
|
|
606
|
+
if again is not None and again.tensions and complete(again.tensions[0]):
|
|
607
|
+
pin(again)
|
|
608
|
+
for dropped in await drop_unborne_holders([again.tensions[0]], words):
|
|
609
|
+
logger.info("A drawn holder was dropped: %s", dropped)
|
|
610
|
+
(verdict,) = await judge_candidates(
|
|
611
|
+
[again.tensions[0]], context=words, fit_against=words
|
|
612
|
+
)
|
|
613
|
+
field.append(again)
|
|
614
|
+
pool.append(again.tensions[0])
|
|
615
|
+
verdicts.append(verdict)
|
|
616
|
+
self.last_view_redraw = granted
|
|
617
|
+
logger.info(
|
|
618
|
+
"The view turn re-asked once: every draw opposed a granted view (%r); "
|
|
619
|
+
"the re-draw %s",
|
|
620
|
+
granted,
|
|
621
|
+
"ranks first" if ranking(verdicts)[0] == len(pool) - 1 else "did not win",
|
|
622
|
+
)
|
|
549
623
|
order = ranking(verdicts)
|
|
550
|
-
sketch =
|
|
551
|
-
runners_up = [perspective_from_sketch(
|
|
624
|
+
sketch = field[order[0]]
|
|
625
|
+
runners_up = [perspective_from_sketch(pool[i]) for i in order[1:]]
|
|
552
626
|
else:
|
|
553
627
|
sketch = sketches[judgeable[0]] if judgeable else sketches[0]
|
|
554
628
|
else:
|
|
@@ -36,12 +36,16 @@ coherently than one about a demand, and coherence was all the ranking read.
|
|
|
36
36
|
So the writers that CHOOSE the thesis (the view turn, the one-shot build)
|
|
37
37
|
ask for a second judge beside the control statements, `ThesisFitCheck`
|
|
38
38
|
(`concerns/thesis_fit_check.py`): is this draw's T the claim they would
|
|
39
|
-
sign, and is its A+ something their words do not already grant
|
|
39
|
+
sign, and is its A — or its A+ — something their words do not already grant
|
|
40
|
+
(the A read since 2026-10-28, the first app's third handoff: on the petition
|
|
41
|
+
sets A itself was the author's own concession on 16 of 29 while A+ escaped on
|
|
42
|
+
26 of 29, and the read aimed at A+ alone could not see it). It ranks
|
|
40
43
|
AFTER the pass floor as a yes/no (`SketchVerdict.fits`), so every
|
|
41
44
|
keep-any-passing figure on record stands; it is a selection term, never a
|
|
42
45
|
signal back into generation. The staged writer draws for a GIVEN pair, where
|
|
43
|
-
T and A are the same on every draw, and does not ask.
|
|
44
|
-
|
|
46
|
+
T and A are the same on every draw, and does not ask. Its reach is bounded by
|
|
47
|
+
the draws: the N draws of one request are one tension reworded, so where every
|
|
48
|
+
draw bears the granted view the term ranks nothing (measured on the concern).
|
|
45
49
|
|
|
46
50
|
What this must NOT become: a loop that optimises against the judge. The judge
|
|
47
51
|
never sees the thesis or antithesis — it scores the four aspects' coherence
|
|
@@ -49,8 +53,21 @@ and passes a MIRROR antithesis more readily than a genuine position — so a
|
|
|
49
53
|
generation steered by its verdict converges on coherent mirrors (the strawman
|
|
50
54
|
shape of 2026-09-30). Selection among independent draws of a prompt that
|
|
51
55
|
already asks for a position is bounded by those draws; regeneration from the
|
|
52
|
-
verdict is not, and is not done here. Attempts are capped, and the
|
|
53
|
-
kind is measured beside the pass rate whenever this is measured.
|
|
56
|
+
COHERENCE verdict is not, and is not done here. Attempts are capped, and the
|
|
57
|
+
antithesis kind is measured beside the pass rate whenever this is measured.
|
|
58
|
+
|
|
59
|
+
The ONE bounded exception that was TRIED (2026-10-28, `Consultant.exploration_view`,
|
|
60
|
+
`REDRAW_ON_GRANTED_OPPOSITION`, off): when every judged draw's A is a view the
|
|
61
|
+
person's words already grant (`every_opposition_granted`, the fit judge's A
|
|
62
|
+
read — a judge that DOES see A and the words, so not the coherence loop
|
|
63
|
+
above), the view turn sends ONE more request naming that view, and the
|
|
64
|
+
re-draw joins the field under the SAME ranking (wins only if it passes and
|
|
65
|
+
fits; a passing original beats a re-draw that fails the pass rule). Measured
|
|
66
|
+
on the 22 conceding petitions (`tests/e2e/probe_granted_opposition_redraw.py`,
|
|
67
|
+
fresh judges, the antithesis KIND read beside coherence): fired on 5, granted
|
|
68
|
+
A 5 → 4 against a bar of −4, coherence 21 → 18. A miss, so it is off; the
|
|
69
|
+
mechanism stays as the re-runnable arm. Record:
|
|
70
|
+
`docs/dev-notes/antithesis-selection.md`, "A is the view the author granted".
|
|
54
71
|
|
|
55
72
|
Text-level and graph-free: a sketch is a dict until it is persisted, so every
|
|
56
73
|
writer selects here — the one-shot `TetradSketch` (the view turn, the thesis-only
|
|
@@ -71,7 +88,7 @@ from typing import Any, Optional, Sequence
|
|
|
71
88
|
from dialectical_framework.concerns.control_statements_check import \
|
|
72
89
|
ControlStatementsCheck
|
|
73
90
|
from dialectical_framework.concerns.thesis_fit_check import (
|
|
74
|
-
THESIS_FIT_THRESHOLD, ThesisFitCheck)
|
|
91
|
+
THESIS_FIT_THRESHOLD, ThesisFitCheck, ThesisFitDto)
|
|
75
92
|
from dialectical_framework.graph.nodes.estimation import \
|
|
76
93
|
CONCEPTUAL_COHERENCE_THRESHOLD
|
|
77
94
|
|
|
@@ -121,7 +138,8 @@ class SketchVerdict:
|
|
|
121
138
|
|
|
122
139
|
`thesis_fit` is the second judge's read (`ThesisFitCheck`, 2026-10-20):
|
|
123
140
|
whether the draw stands on the claim the person would sign, against an
|
|
124
|
-
opposition
|
|
141
|
+
opposition — the pole A and its constructive side A+ alike — they have
|
|
142
|
+
not already granted. `None` here means the fit
|
|
125
143
|
judge did NOT run (the caller did not ask, had no words to read against,
|
|
126
144
|
or the call failed) and the draw ranks as it did before the term existed
|
|
127
145
|
— the opposite convention from DV's, on purpose: DV's `None` is a verdict
|
|
@@ -135,6 +153,12 @@ class SketchVerdict:
|
|
|
135
153
|
t_plus_without_a_plus_dv: Optional[float] = None
|
|
136
154
|
a_plus_without_t_plus_dv: Optional[float] = None
|
|
137
155
|
thesis_fit: Optional[float] = None
|
|
156
|
+
#: The fit judge's A read alone (`ThesisFitDto.antithesis_already_granted`):
|
|
157
|
+
#: how far the person's words already grant the position A states. Carried
|
|
158
|
+
#: beside the fit because the view turn's one re-ask triggers on THIS read
|
|
159
|
+
#: and not on the fit (a hedge T fails the fit too, and a re-ask about the
|
|
160
|
+
#: opposition cannot repair the thesis). `None` = not judged, like `thesis_fit`.
|
|
161
|
+
antithesis_granted: Optional[float] = None
|
|
138
162
|
|
|
139
163
|
@property
|
|
140
164
|
def floor(self) -> float:
|
|
@@ -163,6 +187,17 @@ class SketchVerdict:
|
|
|
163
187
|
"""Not judged, or judged at or above `THESIS_FIT_THRESHOLD`."""
|
|
164
188
|
return self.thesis_fit is None or self.thesis_fit >= THESIS_FIT_THRESHOLD
|
|
165
189
|
|
|
190
|
+
@property
|
|
191
|
+
def opposes_a_granted_view(self) -> bool:
|
|
192
|
+
"""Judged, and A is a view the words grant — read at the same line the
|
|
193
|
+
fit reads it (1 − granted below `THESIS_FIT_THRESHOLD`), so a verdict
|
|
194
|
+
that fails the fit on this read alone says so here. Not judged = False:
|
|
195
|
+
an unjudged draw never triggers a re-ask."""
|
|
196
|
+
return (
|
|
197
|
+
self.antithesis_granted is not None
|
|
198
|
+
and (1.0 - self.antithesis_granted) < THESIS_FIT_THRESHOLD
|
|
199
|
+
)
|
|
200
|
+
|
|
166
201
|
|
|
167
202
|
def aspect_text(value: Any) -> str:
|
|
168
203
|
"""The text of an aspect field: a plain string, or an `AspectDto`'s `.statement`."""
|
|
@@ -238,17 +273,20 @@ async def judge_sketches(
|
|
|
238
273
|
|
|
239
274
|
async def judge_fit(
|
|
240
275
|
candidates: Sequence[Any], context: str
|
|
241
|
-
) -> list[Optional[
|
|
276
|
+
) -> list[Optional[ThesisFitDto]]:
|
|
242
277
|
"""`ThesisFitCheck` on every candidate, each on its own (gathered), each
|
|
243
|
-
read against the words in `context
|
|
278
|
+
read against the words in `context`: T the claim they would sign, A and
|
|
279
|
+
A+ not views their words already grant. One call per draw beside the
|
|
244
280
|
control statements' two. Fail-soft per candidate: a failed judging is
|
|
245
281
|
`None` — NOT judged, which `SketchVerdict.fits` treats as fitting. A
|
|
246
282
|
candidate without a thesis or antithesis (a transition tetrad through
|
|
247
283
|
`as_control_tetrad`) is not judged either. A draw that names T's holder
|
|
248
284
|
(`thesis_held_by`, the view turn on pasted material) hands it on, so the
|
|
249
|
-
judge asks whose claim about the right party.
|
|
285
|
+
judge asks whose claim about the right party. Returns the judge's whole
|
|
286
|
+
read (`ThesisFitDto`): the selection takes `fit`, the view turn's re-ask
|
|
287
|
+
reads `antithesis_already_granted` alone."""
|
|
250
288
|
|
|
251
|
-
async def one(tension: Any) -> Optional[
|
|
289
|
+
async def one(tension: Any) -> Optional[ThesisFitDto]:
|
|
252
290
|
thesis = aspect_text(getattr(tension, "thesis", "")).strip()
|
|
253
291
|
antithesis = aspect_text(getattr(tension, "antithesis", "")).strip()
|
|
254
292
|
if not thesis or not antithesis:
|
|
@@ -261,7 +299,7 @@ async def judge_fit(
|
|
|
261
299
|
text=context,
|
|
262
300
|
held_by=(getattr(tension, "thesis_held_by", "") or "").strip(),
|
|
263
301
|
)
|
|
264
|
-
return verdict
|
|
302
|
+
return verdict
|
|
265
303
|
except Exception as exc: # noqa: BLE001 — degrade to "not judged"
|
|
266
304
|
logger.warning("Judging a sketch's thesis fit failed; it ranks unjudged: %s", exc)
|
|
267
305
|
return None
|
|
@@ -269,6 +307,40 @@ async def judge_fit(
|
|
|
269
307
|
return list(await asyncio.gather(*(one(c) for c in candidates)))
|
|
270
308
|
|
|
271
309
|
|
|
310
|
+
async def judge_candidates(
|
|
311
|
+
candidates: Sequence[Any], context: str = "", fit_against: Optional[str] = None
|
|
312
|
+
) -> list[Optional[SketchVerdict]]:
|
|
313
|
+
"""Every candidate's verdict, nothing chosen: the control statements
|
|
314
|
+
(`judge_sketches`) and — with `fit_against` — the fit judge (`judge_fit`),
|
|
315
|
+
gathered, each verdict carrying `thesis_fit` and `antithesis_granted` from
|
|
316
|
+
the fit read. `select_sketch` is this plus `ranking`; the view turn calls
|
|
317
|
+
this alone for the one re-draw it adds to an already judged field, so the
|
|
318
|
+
originals are not judged twice."""
|
|
319
|
+
words = (fit_against or "").strip()
|
|
320
|
+
if not words:
|
|
321
|
+
return await judge_sketches(candidates, context)
|
|
322
|
+
verdicts, fits = await asyncio.gather(
|
|
323
|
+
judge_sketches(candidates, context), judge_fit(candidates, words)
|
|
324
|
+
)
|
|
325
|
+
return [
|
|
326
|
+
None if v is None else dataclasses.replace(
|
|
327
|
+
v,
|
|
328
|
+
thesis_fit=None if f is None else f.fit,
|
|
329
|
+
antithesis_granted=None if f is None else f.antithesis_already_granted,
|
|
330
|
+
)
|
|
331
|
+
for v, f in zip(verdicts, fits)
|
|
332
|
+
]
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
def every_opposition_granted(verdicts: Sequence[Optional[SketchVerdict]]) -> bool:
|
|
336
|
+
"""The view turn's re-ask trigger: at least one verdict carries the A read
|
|
337
|
+
and EVERY verdict that carries it says A is a view the words grant. A
|
|
338
|
+
field where one draw found a real opposition is left to the ranking; an
|
|
339
|
+
unjudged draw (failed judging, no fit words) is not a vote either way."""
|
|
340
|
+
judged = [v for v in verdicts if v is not None and v.antithesis_granted is not None]
|
|
341
|
+
return bool(judged) and all(v.opposes_a_granted_view for v in judged)
|
|
342
|
+
|
|
343
|
+
|
|
272
344
|
async def select_sketch(
|
|
273
345
|
candidates: Sequence[Any], context: str = "", fit_against: Optional[str] = None
|
|
274
346
|
) -> tuple[int, list[Optional[SketchVerdict]]]:
|
|
@@ -297,18 +369,7 @@ async def select_sketch(
|
|
|
297
369
|
"""
|
|
298
370
|
if len(candidates) == 1:
|
|
299
371
|
return 0, [None]
|
|
300
|
-
|
|
301
|
-
words = (fit_against or "").strip()
|
|
302
|
-
if words:
|
|
303
|
-
verdicts, fits = await asyncio.gather(
|
|
304
|
-
judge_sketches(candidates, context), judge_fit(candidates, words)
|
|
305
|
-
)
|
|
306
|
-
verdicts = [
|
|
307
|
-
None if v is None else dataclasses.replace(v, thesis_fit=f)
|
|
308
|
-
for v, f in zip(verdicts, fits)
|
|
309
|
-
]
|
|
310
|
-
else:
|
|
311
|
-
verdicts = await judge_sketches(candidates, context)
|
|
372
|
+
verdicts = await judge_candidates(candidates, context, fit_against)
|
|
312
373
|
return ranking(verdicts)[0], verdicts
|
|
313
374
|
|
|
314
375
|
|
|
@@ -17,11 +17,12 @@ the writer drew the demand twice among three draws and the ranking threw it
|
|
|
17
17
|
away, and the chosen A+ was a clause the person had typed and conceded
|
|
18
18
|
("not only schools, but also"), handed back to them as their blind spot.
|
|
19
19
|
|
|
20
|
-
This judge reads T, A and A+ against the person's own words and scores
|
|
21
|
-
things
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
20
|
+
This judge reads T, A and A+ against the person's own words and scores three
|
|
21
|
+
things: whether T is the claim they would SIGN (the conclusion or demand, not
|
|
22
|
+
a premise or a hedge on the way to it), whether A is a view their words
|
|
23
|
+
already GRANT (the pole; since 2026-10-28, below), and whether A+ is
|
|
24
|
+
something their words do NOT already grant. The fit is the weakest of
|
|
25
|
+
the three. It is a SELECTION term — it ranks draws the writer already made,
|
|
25
26
|
after the coherence floor (`tetrad_candidates.ranking`) — never a signal fed
|
|
26
27
|
back into generation; the rule against regeneration from a verdict stands.
|
|
27
28
|
|
|
@@ -58,6 +59,36 @@ holder is the person speaking, as before — the shipped behaviour on the
|
|
|
58
59
|
person's own words is unchanged in substance, and the stability arm of the
|
|
59
60
|
gate below was re-run on the reworded judge the same day.
|
|
60
61
|
|
|
62
|
+
THE POLE, NOT ONLY ITS DEVELOPMENT (2026-10-28, the first app's third
|
|
63
|
+
handoff, retired into `docs/dev-notes/antithesis-selection.md`, "A is the view the
|
|
64
|
+
author granted"). The second read
|
|
65
|
+
asked about A+ alone, because the 2026-10-20 case had A+ as the typed clause.
|
|
66
|
+
The app's eval over the framework's own petition sets (29 rows whose conceded
|
|
67
|
+
clause grants a POSITION, two reps, Sonnet 5.5, Opus judge) found the failure
|
|
68
|
+
one level up: A itself is the view the author granted on 16 of 29, while A+
|
|
69
|
+
escapes it on 26 of 29 — "X is true, however Y" comes back with A = X. The
|
|
70
|
+
framework's own 2026-10-26 gate could not see this because its secondary read
|
|
71
|
+
scored A+ against the clause and never A. So the judge now reads the POLE too:
|
|
72
|
+
`antithesis_already_granted` — do the holder's words name AND grant the
|
|
73
|
+
position A states (set down as true or legitimate before arguing past it; a
|
|
74
|
+
view named only to reject it is not granted) — and `fit` is the weakest of
|
|
75
|
+
the three reads. Still a selection term inside the pass rule, with the same
|
|
76
|
+
limit as before, now measured rather than suspected: the N draws of one card
|
|
77
|
+
are one tension reworded, and in the app's run A was conceded in BOTH reps or
|
|
78
|
+
NEITHER on 12 of 13 petitions with two reps — so where every draw bears the
|
|
79
|
+
granted view this read ranks nothing — and neither of the two levers tried
|
|
80
|
+
the same day moved it: one re-ask naming the granted view (off, its gate
|
|
81
|
+
missed) or the writer on Opus 5.5 (the same four petitions, 4 of 22 against
|
|
82
|
+
5). The record: the dev note section named below. What it does do is make the verdict TRUE: a card whose A is the
|
|
83
|
+
person's own concession is no longer scored as fitting. Measured offline
|
|
84
|
+
before it shipped, nothing drawn (`tests/e2e/rescore_conceded_a.py`): the A
|
|
85
|
+
read agrees with the app's reviewed judge on 21/29 rows (the A+ read 27/29),
|
|
86
|
+
flags the same petitions on this repo's own `attempts=1` draws (6 of 22, in
|
|
87
|
+
both prompt arms — the mirror rule in `_OPPOSING_POSITION_ASK` is inert at the
|
|
88
|
+
pole as it was at A+), and flips 14 of the 29 app rows from fitting to not.
|
|
89
|
+
Figures and the hand read of the disagreements:
|
|
90
|
+
`docs/dev-notes/antithesis-selection.md`, "A is the view the author granted".
|
|
91
|
+
|
|
61
92
|
This judge does not think, so it parses on either transport. The view-turn
|
|
62
93
|
arm of the same gate did not, until the Mirascope floor moved to 2.8.2 on
|
|
63
94
|
2026-10-26: the view turn is the one structured call that THINKS, the
|
|
@@ -102,6 +133,17 @@ class ThesisFitDto(BaseModel):
|
|
|
102
133
|
"go on to demand; 'X matters, but' when they then argue against X)."
|
|
103
134
|
),
|
|
104
135
|
)
|
|
136
|
+
antithesis_already_granted: float = Field(
|
|
137
|
+
ge=0.0,
|
|
138
|
+
le=1.0,
|
|
139
|
+
description=(
|
|
140
|
+
"Do the HOLDER's own words ALREADY name and GRANT the position A states — "
|
|
141
|
+
"set it down as true or legitimate before arguing past it ('X is true, "
|
|
142
|
+
"however Y'; 'whilst X may be needed, we think Y'; 'although intended to "
|
|
143
|
+
"X')? 1.0: A is that granted view, X. 0.0: A is an opposition their words "
|
|
144
|
+
"do not name, or name only to reject it without granting it."
|
|
145
|
+
),
|
|
146
|
+
)
|
|
105
147
|
a_plus_already_granted: float = Field(
|
|
106
148
|
ge=0.0,
|
|
107
149
|
le=1.0,
|
|
@@ -111,14 +153,24 @@ class ThesisFitDto(BaseModel):
|
|
|
111
153
|
"0.0: it is a constructive side of the opposition they have not seen."
|
|
112
154
|
),
|
|
113
155
|
)
|
|
114
|
-
reasoning: str = Field(
|
|
156
|
+
reasoning: str = Field(
|
|
157
|
+
description=(
|
|
158
|
+
"Three sentences: which claim they would sign, whether A is a view "
|
|
159
|
+
"their words grant, and whether A+ is in their words."
|
|
160
|
+
)
|
|
161
|
+
)
|
|
115
162
|
|
|
116
163
|
@property
|
|
117
164
|
def fit(self) -> float:
|
|
118
|
-
"""The
|
|
165
|
+
"""The weakest of the three reads, as the control statements take the
|
|
119
166
|
weaker statement: a draw on the right claim against a granted
|
|
120
|
-
opposition fits no better than a draw on the wrong claim
|
|
121
|
-
|
|
167
|
+
opposition fits no better than a draw on the wrong claim, whether the
|
|
168
|
+
grant is read at the pole (A) or at its development (A+)."""
|
|
169
|
+
return min(
|
|
170
|
+
self.thesis_is_the_claim,
|
|
171
|
+
1.0 - self.antithesis_already_granted,
|
|
172
|
+
1.0 - self.a_plus_already_granted,
|
|
173
|
+
)
|
|
122
174
|
|
|
123
175
|
|
|
124
176
|
class ThesisFitCheck:
|
|
@@ -151,7 +203,7 @@ class ThesisFitCheck:
|
|
|
151
203
|
{text}
|
|
152
204
|
</context>
|
|
153
205
|
|
|
154
|
-
A dialectical tetrad was drawn from the words above. {whose} Read its thesis, its antithesis and the constructive side of the antithesis against the holder's words, and rate
|
|
206
|
+
A dialectical tetrad was drawn from the words above. {whose} Read its thesis, its antithesis and the constructive side of the antithesis against the holder's words, and rate three things independently.
|
|
155
207
|
|
|
156
208
|
Thesis (T): "{thesis}"
|
|
157
209
|
Antithesis (A): "{antithesis}"
|
|
@@ -159,7 +211,9 @@ Constructive side of A (A+): "{a_plus}"
|
|
|
159
211
|
|
|
160
212
|
1. Is T the claim its holder would sign? When the holder's words hold several claims, the one they would sign is the conclusion or demand the rest leads to — not a premise, not a hedge on the way to it, and not a claim they concede in passing ("not only X but also Y" concedes X and argues for Y).
|
|
161
213
|
|
|
162
|
-
2. Do the holder's own words already name AND
|
|
214
|
+
2. Do the holder's own words already name AND grant the position A states? Granting is setting a view down as true or legitimate before arguing past it: "X is true, however Y", "whilst X may be needed, we think Y", "although intended to X, this punishes Y" — the holder wrote X down to get past it, and A is X. A view the words name only to reject it is not granted; a fact or a sympathy that takes no side is not a position. An opposition they have granted themselves is seen, not missing; a tetrad on it shows them their own sentence as the other side.
|
|
215
|
+
|
|
216
|
+
3. Do the holder's own words already name AND concede what A+ says? The same reading at the constructive side: a tetrad on it shows them their own sentence as a blind spot."""
|
|
163
217
|
return await ConversationFacilitator().submit(
|
|
164
218
|
response_model=ThesisFitDto, user_content=prompt
|
|
165
219
|
)
|
|
@@ -290,6 +290,35 @@ HOLDER_FROM_THE_WORDS = """Who HOLDS a pole is read off the words, never supplie
|
|
|
290
290
|
|
|
291
291
|
|
|
292
292
|
|
|
293
|
+
#: THE ONE RE-ASK (2026-10-28, the first app's third handoff,
|
|
294
|
+
#: `docs/dev-notes/antithesis-selection.md`, "A is the view the author
|
|
295
|
+
#: granted"). On the petition sets the writer drew A as the view the author
|
|
296
|
+
#: had set down to argue past ("X is true, however Y" → A = X) on about half
|
|
297
|
+
#: the conceding texts, in every draw of the card and under both prompt arms:
|
|
298
|
+
#: the mirror sentence in `_OPPOSING_POSITION_ASK` is inert at the pole, and
|
|
299
|
+
#: selection cannot choose what no draw offers. So when the fit judge reads
|
|
300
|
+
#: every draw's A as granted (`tetrad_candidates.every_opposition_granted`),
|
|
301
|
+
#: `Consultant.exploration_view` CAN send the SAME request once more with this
|
|
302
|
+
#: section added, naming the granted view, the re-draw joining the field
|
|
303
|
+
#: under the ordinary ranking — a second request after the card, not a draw
|
|
304
|
+
#: of the first (the different-opposition ask for draws 2..N was measured and
|
|
305
|
+
#: rejected, `view_sketch_prompt`'s docstring). MEASURED AND OFF the same day
|
|
306
|
+
#: (`Consultant.REDRAW_ON_GRANTED_OPPOSITION`, `probe_granted_opposition_redraw.py`):
|
|
307
|
+
#: on the 22 conceding petitions it fired on 5 cards, moved the granted A
|
|
308
|
+
#: 5 → 4 against a bar of −4 and cost coherence 21 → 18. The re-draw WAS a
|
|
309
|
+
#: different opposition in 4 of 5 — and in 2 of those it lost the ranking to
|
|
310
|
+
#: the granted original, the 2026-10-13 finding again (a different opposition
|
|
311
|
+
#: is a weaker tetrad on the pass rule). The text stays as the measured arm;
|
|
312
|
+
#: the model is not the lever either: the writer on Opus 5.5 drew the granted
|
|
313
|
+
#: view on 4 of 22 against Sonnet 5.5's 5, the same four petitions, and the
|
|
314
|
+
#: re-ask fired on 4 and moved nothing (4 → 4).
|
|
315
|
+
GRANTED_OPPOSITION_REASK = """The opposition drawn for this position so far — "{antithesis}" — is a view the person's OWN words already grant: they set it down as true or legitimate in order to argue past it, so a tetrad on it shows them their own sentence as the other side. Do not draw it again — not reworded, not folded into the corners. Find the position that genuinely opposes the claim they actually make: one someone holds for its own value, that their words do not concede — and build the tetrad on that."""
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
def granted_opposition_section(antithesis: str) -> str:
|
|
319
|
+
return GRANTED_OPPOSITION_REASK.format(antithesis=(antithesis or "").strip())
|
|
320
|
+
|
|
321
|
+
|
|
293
322
|
#: How much of the person's own words the view turn's JUDGE reads (characters,
|
|
294
323
|
#: newest turns kept whole). The judge never sees T or A, so without context
|
|
295
324
|
#: it scores the four aspects' coherence against nothing: the persisted path
|
|
@@ -317,7 +346,10 @@ def judge_context(person_texts: Sequence[str], budget: int = JUDGE_CONTEXT_CHARS
|
|
|
317
346
|
|
|
318
347
|
|
|
319
348
|
def view_sketch_prompt(
|
|
320
|
-
focus: Optional[str],
|
|
349
|
+
focus: Optional[str],
|
|
350
|
+
max_words: int,
|
|
351
|
+
thesis: Optional[str] = None,
|
|
352
|
+
granted_opposition: Optional[str] = None,
|
|
321
353
|
) -> str:
|
|
322
354
|
"""The structured turn's request, over the consultant's own conversation.
|
|
323
355
|
|
|
@@ -354,6 +386,12 @@ def view_sketch_prompt(
|
|
|
354
386
|
the spares stay the same tension reworded. The rejected ask and its
|
|
355
387
|
figures: `docs/dev-notes/antithesis-selection.md`, "Best-of-3 drew the
|
|
356
388
|
same tetrad three times".
|
|
389
|
+
|
|
390
|
+
`granted_opposition` is NOT a per-draw argument: it is the one re-ask the
|
|
391
|
+
view turn can send AFTER the card's draws, when every draw's A was read
|
|
392
|
+
as a view the person's words grant (`GRANTED_OPPOSITION_REASK`, above;
|
|
393
|
+
off by measurement). The request is otherwise the same, so the re-draw
|
|
394
|
+
is the same ask with the granted view excluded by name.
|
|
357
395
|
"""
|
|
358
396
|
pinned = (thesis or "").strip()
|
|
359
397
|
focus_line = (
|
|
@@ -385,6 +423,11 @@ def view_sketch_prompt(
|
|
|
385
423
|
if pinned
|
|
386
424
|
else ""
|
|
387
425
|
)
|
|
426
|
+
reask = (
|
|
427
|
+
f"\n\n{granted_opposition_section(granted_opposition)}"
|
|
428
|
+
if granted_opposition and granted_opposition.strip()
|
|
429
|
+
else ""
|
|
430
|
+
)
|
|
388
431
|
return f"""Draw the structure of this conversation as dialectical tetrads. Answer with ONE JSON object in the requested schema and nothing else — no prose. Earlier drawings in this conversation are recorded in prose; that is their record, not the format of this answer.
|
|
389
432
|
|
|
390
433
|
{focus_line}{ASPECT_DEFINITIONS}
|
|
@@ -397,7 +440,7 @@ Rules for what goes in the view:
|
|
|
397
440
|
|
|
398
441
|
{thesis_section}
|
|
399
442
|
|
|
400
|
-
{_OPPOSING_POSITION_ASK}
|
|
443
|
+
{_OPPOSING_POSITION_ASK}{reask}
|
|
401
444
|
|
|
402
445
|
{HOLDER_FROM_THE_WORDS}
|
|
403
446
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dialectical_framework-2.1.3 → dialectical_framework-2.1.4}/src/dialectical_framework/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|