Skip to content

feat: prepare stable CEWP core contracts - #15

Merged
SetraTheXX merged 40 commits into
mainfrom
publish/phase13-phase14-stable-core
Jul 25, 2026
Merged

feat: prepare stable CEWP core contracts#15
SetraTheXX merged 40 commits into
mainfrom
publish/phase13-phase14-stable-core

Conversation

@SetraTheXX

Copy link
Copy Markdown
Owner

Summary

  • add public pilot feedback and contributor/security surfaces
  • prepare the honest Phase 13 beta surface
  • add Phase 14 compatibility, performance, recovery, and release contracts
  • add Turkish maintainer acceptance guidance
  • fix supervised managed execution compatibility

Validation

  • npm test
  • npm run smoke
  • npm run check
  • npm run pack:dry-run
  • npm pack --dry-run

This is part 5 of the ordered Phase 11-14 publication series.

Copilot AI review requested due to automatic review settings July 25, 2026 23:52

Copilot AI 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.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@SetraTheXX
SetraTheXX merged commit e6cd5f7 into main Jul 25, 2026
6 checks passed
@SetraTheXX
SetraTheXX deleted the publish/phase13-phase14-stable-core branch July 25, 2026 23:57

@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: 04f15705f1

ℹ️ 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 src/evidence/verify.js
Comment on lines +76 to +79
const rebuilt = buildEvidenceReceipt(found, { generatedAt: receipt.generatedAt });
if (JSON.stringify(rebuilt.integrity) !== JSON.stringify(receipt.integrity)) {
issue(issues, "receipt-integrity-inventory-mismatch", "Receipt integrity inventory does not match current canonical evidence.");
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Rebuild the full persisted receipt before passing integrity

When evidence-receipt.json alone is edited, this check compares only rebuilt.integrity, so forged fields such as goal, completeness, tasks, usage, or reviewer results still receive a passing receipt-integrity verdict as long as the embedded file inventory is unchanged. Compare the rebuilt receipt's complete canonical content, excluding only explicitly volatile fields, so Core verification cannot certify altered evidence.

AGENTS.md reference: AGENTS.md:L5-L5

Useful? React with 👍 / 👎.

Comment thread src/pilot/status.js
Comment on lines +70 to +73
for (const record of externalRecords) {
for (const observation of record.observations || []) {
if (!observation || observation.qualification?.eligible !== true || typeof observation.type !== "string") continue;
if (!evidenceByType.has(observation.type)) evidenceByType.set(observation.type, []);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Revalidate pilot evidence before counting it

When linked workflow evidence is deleted or tampered with after an observation is recorded—or when a local record is edited—status continues counting the stored qualification.eligible flag without rerunning inspectReviewedRunEvidence or validating the observation. Consequently stale or fabricated full-reviewed-run entries can satisfy the Phase 13 gate even though Core verification, finalization, or reviewer PASS no longer holds; recompute linked qualifications and reject malformed stored observations before counting.

AGENTS.md reference: AGENTS.md:L5-L5

Useful? React with 👍 / 👎.

Comment on lines +236 to +240
function confirmCodexEffortEvidence(evidence, usage) {
const confirmed = usage && usage.label === "observed";
const effective = (selected) => (
confirmed && selected && selected.status === "explicit"
? { status: "known", value: selected.value, source: "codex-exec-turn-completed-usage" }

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Keep effective model and effort unknown without identity evidence

When an explicit model or effort is requested and any valid turn.completed usage event appears, this promotes both effective values to known. However, parseManagedUsage only extracts token counts and observes no model or reasoning-effort identity, so host overrides, alias resolution, or an ignored effort setting are reported as confirmed facts and can corrupt model/effort experiment results; retain these as requested selections until the adapter returns explicit effective-configuration evidence.

Useful? React with 👍 / 👎.

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.

2 participants