Complete Analyze artifact output contract - #1238
Merged
Paul Lizer (paullizer) merged 29 commits intoAug 13, 2026
Merged
Conversation
…ut-contract-phase-1-contract Phase 1: Add analyze deliverable contract baseline
…ut-contract-phase-2-intent Phase 2: unify Analyze deliverable intent
…ut-contract-phase-3-schema Phase 3: separate public schema from tabular lineage
…ut-contract-phase-4-correctness Phase 4: Add tabular transformation contract
…ut-contract-phase-5-lifecycle Phase 5: Add durable artifact-set lifecycle
…ut-contract-phase-6-ui Phase 6: Render plural artifact sets
…ut-contract-phase-7-integration Phase 7: Add rollout rollback controls
…e-artifact-output-contract # Conflicts: # application/single_app/config.py
…ut-contract-phase-7a-stabilization Phase 7A: stabilize Analyze artifact closure baseline
Merge Phase 7B correctness slice for #1233.
Merge Phase 7C publication slice for #1233.
Merge final Phase 7D validation documentation for #1233.
23 tasks
Contributor
There was a problem hiding this comment.
Pull request overview
Completes #1233 by making Analyze output Markdown-first while producing contract-faithful structured sibling artifacts.
Changes:
- Adds deterministic planning, semantic verification, and repair.
- Enforces atomic artifact-set publication and authorization.
- Adds plural artifact UI, rollout controls, tests, and documentation.
Reviewed changes
Copilot reviewed 38 out of 39 changed files in this pull request and generated 8 comments.
Show a summary per file
| File | Description |
|---|---|
application/single_app/config.py |
Bumps application version. |
application/single_app/functions_analysis_deliverables.py |
Defines deliverable contracts and validation. |
application/single_app/functions_generated_file_exports.py |
Detects formats and guards passthrough. |
application/single_app/functions_settings.py |
Adds backend rollout settings. |
application/single_app/functions_simplechat_operations.py |
Enforces artifact lifecycle authorization. |
application/single_app/functions_tabular_generated_exports.py |
Implements durable generation and publication. |
application/single_app/functions_tabular_orchestration.py |
Normalizes planning and rollout. |
application/single_app/functions_tabular_semantic_validation.py |
Verifies and repairs semantic fields. |
application/single_app/functions_tabular_transformations.py |
Evaluates deterministic transformations. |
application/single_app/functions_workflow_runner.py |
Produces Markdown-first Analyze artifacts. |
application/single_app/route_backend_chats.py |
Integrates guarded export routing. |
application/single_app/route_enhanced_citations.py |
Gates artifact download and promotion. |
application/single_app/static/js/chat/chat-messages.js |
Renders plural artifact sets. |
functional_tests/test_analyze_artifact_phase7_rollout_rollback.py |
Tests rollback assignment controls. |
functional_tests/test_analyze_deliverable_contract.py |
Tests the Analyze contract. |
functional_tests/test_assistant_table_csv_artifact.py |
Tests guarded file serialization. |
functional_tests/test_document_analysis_lossless_artifacts.py |
Tests Markdown-first document artifacts. |
functional_tests/test_generated_artifact_lifecycle_authorization.py |
Tests publication authorization. |
functional_tests/test_generated_json_xml_exports.py |
Tests structured format integration. |
functional_tests/test_support/analyze_deliverable_contract_fixture.py |
Supplies the 200-row oracle. |
functional_tests/test_tabular_background_generated_exports.py |
Tests background artifact projection. |
functional_tests/test_tabular_phase3_public_schema_projection.py |
Tests lineage-free public schemas. |
functional_tests/test_tabular_phase5_artifact_set_lifecycle.py |
Tests atomic artifact sets. |
functional_tests/test_tabular_phase7_lifecycle_coverage.py |
Tests lifecycle compatibility. |
functional_tests/test_tabular_phase7b_production_correctness.py |
Tests Search/Analyze equivalence. |
functional_tests/test_tabular_phase8_ui_telemetry_rollout.py |
Tests safe rollout metadata. |
functional_tests/test_tabular_phase9_legacy_retirement.py |
Tests legacy fallback controls. |
functional_tests/test_tabular_shared_request_planner.py |
Tests shared request classification. |
ui_tests/test_chat_background_generated_export_status.py |
Tests plural artifact rendering. |
docs/explanation/features/ANALYZE_DELIVERABLE_CONTRACT.md |
Documents the cumulative contract. |
docs/explanation/features/TABULAR_TRANSFORMATION_CONTRACT.md |
Documents transformation behavior. |
docs/explanation/fixes/ANALYZE_ARTIFACT_PHASE_7A_STABILIZATION_FIX.md |
Documents stabilization fixes. |
docs/explanation/fixes/ANALYZE_ARTIFACT_PHASE_7B_CORRECTNESS_FIX.md |
Documents correctness fixes. |
docs/explanation/fixes/ANALYZE_ARTIFACT_PHASE_7C_PUBLICATION_FIX.md |
Documents publication fixes. |
docs/explanation/release_notes.md |
Records the release closure. |
docs/reference/logging-tags.md |
Registers the new logging tag. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Completes the Analyze artifact output-contract roadmap tracked by #1233. Analyze now remains Markdown-first while requested generated outputs are produced as contract-faithful siblings. The cumulative feature preserves Search/Analyze structured-output equivalence for supported durable tabular requests, separates public schema from internal lineage, executes deterministic rules server-side, verifies and repairs semantic fields before checkpoint publication, and commits generated artifact sets only after every required member is valid.
Fixes #1233
Phase PRs
Shipped Behavior
Rollout Defaults
offfor new deployments until activated through rollout settings.Validation
origin/Developmentis included in this integration branch.0.250.180.chat-messages.jssinks; this integration adds no JS lines in Phase 7D, and changed-line XSS scan had no new JS lines to scan.Rollback
offto stop new semantic verification/repair assignment.pausedorrollbackto stop new shared durable assignment.Deferred Follow-Ups
chat-messages.jsXSS sink warnings are outside this closure and should be handled separately.