Skip to content

feat(test): add law-owned integration workload selection - #4532

Merged
Sinity merged 5 commits into
masterfrom
feature/packet/polylogue-1xc.14.1.7
Sep 2, 2026
Merged

Sinity merged 5 commits into
masterfrom
feature/packet/polylogue-1xc.14.1.7

Conversation

@Sinity

@Sinity Sinity commented Sep 2, 2026

Copy link
Copy Markdown
Owner

Summary

Add a disposable heterogeneous integration selection that binds operational profile constraints to law-owned provider-shaped witness recipes and delegates archive construction to the canonical authenticated artifact publisher.

Problem

The shared artifact substrate existed, but there was no integration-only declaration boundary. Aggregate consumers could not distinguish selection shape from semantic witness ownership, and no focused contract bound profile and witness recipe identity into generated workload inputs.

Solution

Added IntegrationProfile, IntegrationWitness, IntegrationSelection, and the canonical build_integration_archive route under tests/infra. Profiles reject expectation-shaped metadata, selections require declared origins and source classes, and profile plus witness digests are embedded in CorpusSpec identity. Registered an integration_archive session fixture and added focused contract tests for selection validation, identity binding, and authenticated publication.

Verification

uv run devtools test tests/unit/infra/test_integration_profile.py passed: 4 passed in 26.92s.

uv run devtools test tests/unit/infra -k integration passed: 4 passed, 167 deselected in 54.92s.

uv run devtools test tests/unit/devtools -k workload passed: 3 passed, 973 deselected in 26.15s.

uv run devtools verify oracle-integrity passed: 1190 modules scanned, 1053 reached production entrypoints, 30 baselined.

uv run devtools verify --quick passed before and after rebase onto origin/master; every reported gate was ok.

uv run devtools verify refused measurement because no compatible native testmon graph is available in this worktree. No broad verification was substituted.

The containing storage test file reported 49 passed and 1 inherited failure in stale-schema exception typing, where SchemaSkewError is raised while the existing test expects SchemaVersionMismatchError.

Residual risk

The legacy pathology aggregate and its existing consumers remain in this checkout and are not migrated by this slice. The full tests/unit/infra run was interrupted after an unreported failure during the long artifact suite, so it is not claimed green. Integration canary and differ consumers still need migration to the new fixture.


Receipt: harvest-012db3287ea664e635977290a0414112

@coderabbitai

coderabbitai Bot commented Sep 2, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Team

Run ID: b7693d6e-9686-43d3-a5bf-548253e0d0a4


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 2, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-02T12:34:43.450412Z 148b562 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 26331e87e1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread tests/infra/integration_profile.py Resolved
Comment thread tests/infra/integration_profile.py Resolved
Comment thread tests/infra/integration_profile.py Resolved
Comment thread tests/infra/corpus_fixtures.py Resolved
Comment thread tests/infra/integration_profile.py Resolved
Comment thread tests/infra/integration_profile.py Resolved
@Sinity
Sinity force-pushed the feature/packet/polylogue-1xc.14.1.7 branch from 26331e8 to a08e154 Compare September 2, 2026 11:18
@Sinity

Sinity commented Sep 2, 2026

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a08e154355

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread tests/infra/integration_profile.py Resolved
Comment thread tests/infra/integration_profile.py Resolved
Comment thread tests/infra/integration_profile.py Resolved
@Sinity
Sinity force-pushed the feature/packet/polylogue-1xc.14.1.7 branch from a08e154 to e0c34ef Compare September 2, 2026 11:44
@Sinity

Sinity commented Sep 2, 2026

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e0c34ef878

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread tests/infra/integration_profile.py Resolved
Comment thread tests/infra/integration_profile.py Resolved
Comment thread tests/infra/integration_profile.py Resolved
@Sinity
Sinity force-pushed the feature/packet/polylogue-1xc.14.1.7 branch from e0c34ef to 31f3b89 Compare September 2, 2026 12:08
@Sinity

Sinity commented Sep 2, 2026

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 31f3b89820

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread tests/infra/integration_profile.py Resolved
@Sinity

Sinity commented Sep 2, 2026

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 148b562ca4

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread tests/infra/integration_profile.py Resolved
@Sinity
Sinity merged commit 6546335 into master Sep 2, 2026
3 checks passed
@Sinity
Sinity deleted the feature/packet/polylogue-1xc.14.1.7 branch September 2, 2026 16:32
Sinity added a commit that referenced this pull request Sep 3, 2026
fable-packet lives under `ops insights` (#4580 removed the root alias);
beads has no rendering policy (#4598); Claude Code tool results with an
exit code emit claude_tool_execution_result (#4502); the direct status
fallback reports "daemon idle" with the start hint; the integration
workload is a third default seeded artifact (#4532).

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01YGi8wLWGR2HYBh8p8fXFXz
@Sinity

Sinity commented Sep 29, 2026

Copy link
Copy Markdown
Owner Author

Closing out open Codex review threads on this PR (evidence checked against master at ef10e59):

Resolving the fixed, stale and refuted threads; tracked threads stay open.

@Sinity

Sinity commented Sep 29, 2026

Copy link
Copy Markdown
Owner Author

Closing out open Codex review threads on this PR (evidence checked against master at bf68918):

Resolving every thread listed; confirmed defects are fixed under the named bead.

@Sinity

Sinity commented Sep 29, 2026

Copy link
Copy Markdown
Owner Author

Closing out open Codex review threads on this PR (evidence checked against master at 5d56c3a):

Resolving every thread listed; confirmed defects are fixed under the named bead.

@Sinity

Sinity commented Sep 30, 2026

Copy link
Copy Markdown
Owner Author

Historical Codex triage: evidence checked at 5ebcfe5. This records that source revision; it does not claim a fresh review of current master.

  • 78.F006 / P1: fixed-already at the checked revision: IntegrationWitness now rejects semantic metadata recursively over the complete recipe payload and temporal operations at tests/infra/integration_profile.py:98. Origin and source class are derived properties rather than unchecked caller-authored witness labels.
  • 78.F007 / P1: fixed-already at the checked revision: tests/infra/integration_profile.py:101-102 rejects a recipe whose seed is None before it can become an IntegrationWitness. An unpinned random seed can no longer reach this fixture selection route.
  • 78.F008 / P1: fixed-already at the checked revision: tests/infra/integration_profile.py:124 derives default native session IDs from the recipe digest, and corpus_spec carries those IDs into generation at line 129. Selection also rejects repeated materialized origin/native-ID pairs at lines 159-165.
  • 78.F009 / P1: fixed-already at the checked revision: tests/infra/integration_profile.py:151-152 rejects a selection containing duplicate recipe digests. Repeating an identical recipe therefore cannot satisfy the multi-witness checks by collapsing to one logical session.
  • 78.F010 / P1: fixed-already at the checked revision: IntegrationWitness now owns a CorpusSpec rather than accepting an independent recipe_digest string. tests/infra/integration_profile.py:113 hashes that recipe's serialized payload, and corpus_spec replaces the same recipe object, binding identity and generated shape to one source.
  • 78.F011 / P1: fixed-already at the checked revision: tests/infra/integration_profile.py:118 derives witness.origin through origin_from_provider. The required-origin check at lines 167-170 therefore compares archive Origin tokens, and the default profile explicitly requires chatgpt-export and codex-session.
  • 78.F012 / P1: fixed-already at the checked revision: tests/infra/integration_profile.py:107-109 makes source_class a derived property returning the provider-shaped source builder's PROVIDER_SOURCE_CLASS. A caller can no longer supply an arbitrary source-class label to satisfy required_source_classes.
  • 78.F058 / P1: fixed-already at the checked revision: The integration-profile tests now carry explicit anti-vacuity statements. tests/unit/infra/test_integration_profile.py:26 names lost witness IDs/origins, the remaining selection tests name their guard bypasses, and the publication test at line 190 names bypassing selection.corpus_specs.
  • 78.F059 / P1: fixed-already at the checked revision: tests/unit/infra/test_integration_profile.py:198 requires the exact key derived from the selected corpus specs. Lines 199-204 also compare the expected session identities and stored origin set, so falling back to the default seeded archive cannot satisfy the test.

Only the rows listed above are dispositioned. Held findings remain open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant