Skip to content

Archive customer-subject runtime contract change - #412

Merged
brettheap merged 4 commits into
mainfrom
archive/005-customer-subject-runtime
Aug 27, 2026
Merged

brettheap merged 4 commits into
mainfrom
archive/005-customer-subject-runtime

Conversation

@brettheap

@brettheap brettheap commented Aug 27, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • sync the completed customer-subject runtime contract deltas into the authoritative OpenSpec specs
  • archive add-hermes-customer-subject-runtime-contract as 2026-08-27-add-hermes-customer-subject-runtime-contract
  • preserve the merged Hermes G0 handoff receipt and mark all implementation/archive tasks complete
  • make the Hermes runtime validator resolve the active packet or exactly one dated archive packet, failing closed on ambiguous archives

Validation

  • openspec validate --all --strict: 76/76 valid
  • focused archive/validator regression set: 7/7 passed
  • full focused validator file: 21 passed; one pre-existing realization subprocess case exceeded its 30-second local py-bench timeout and is delegated to required CI
  • archive artifacts and tasks complete
  • synced spec purposes contain no placeholders
  • feature implementation and receipt already merged in PR Close Hermes customer-subject runtime Gate G0 #411

Copilot AI lite review requested due to automatic review settings August 27, 2026 07:44

@sourcery-ai sourcery-ai 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.

Hi @brettheap! 👋

Your private repo does not have access to Sourcery.

Please upgrade to continue using Sourcery ✨

@brettheap

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

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.

Pull request overview

This pull request archives the completed add-hermes-customer-subject-runtime-contract OpenSpec change as a dated archive packet, while syncing the ratified customer-subject runtime contract deltas into the authoritative OpenSpec specs (including new Hermes v2 contract specifications and updated pinning / neutrality requirements).

Changes:

  • Strengthen and expand OpenSpec requirements for governed contract bundle pinning and neutral/v2 Hermes job scope rules.
  • Add new authoritative OpenSpec specifications for hermes-customer-subject-runtime and hermes-governed-record-integrity.
  • Create an archived change packet (2026-08-27-...) with ratified deltas, tasks marked complete, and supporting evidence/receipts.

Reviewed changes

Copilot reviewed 4 out of 18 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
openspec/specs/shared-contract-ownership/spec.md Updates contract bundle pinning requirement and scenarios for governed install-consumer verification.
openspec/specs/neutral-job-envelope/spec.md Adds v2 Hermes scope tuple requirement and neutrality constraints for v2 envelope/run/event schemas.
openspec/specs/hermes-governed-record-integrity/spec.md Introduces new spec covering v2 governed record scope, default-deny isolation, authority/bindings, artifacts/approvals/traceability, migration, and release reproducibility.
openspec/specs/hermes-customer-subject-runtime/spec.md Introduces new spec defining role-template vs runtime-instance semantics, customer-subject identity/lifecycle, assembly pins, and conformance requirements.
openspec/changes/archive/2026-08-27-add-hermes-customer-subject-runtime-contract/tasks.md Archives the change tasks with all governance/verification/publication/handoff items marked complete.
openspec/changes/archive/2026-08-27-add-hermes-customer-subject-runtime-contract/specs/shared-contract-ownership/spec.md Archived delta record for the shared-contract-ownership changes.
openspec/changes/archive/2026-08-27-add-hermes-customer-subject-runtime-contract/specs/neutral-job-envelope/spec.md Archived delta record for the neutral-job-envelope changes.
openspec/changes/archive/2026-08-27-add-hermes-customer-subject-runtime-contract/specs/hermes-governed-record-integrity/spec.md Archived delta record capturing the new governed-record-integrity capability addition.
openspec/changes/archive/2026-08-27-add-hermes-customer-subject-runtime-contract/specs/hermes-customer-subject-runtime/spec.md Archived delta record capturing the new customer-subject runtime capability addition.
openspec/changes/archive/2026-08-27-add-hermes-customer-subject-runtime-contract/proposal.md Archived proposal describing the why/what/impact of the change.
openspec/changes/archive/2026-08-27-add-hermes-customer-subject-runtime-contract/design.md Archived design record detailing decisions, constraints, and acceptance boundaries for the contract family.
openspec/changes/archive/2026-08-27-add-hermes-customer-subject-runtime-contract/evidence/release-publication.md Archived publication evidence for contract-v1.9 and superseding contract-v1.10.
openspec/changes/archive/2026-08-27-add-hermes-customer-subject-runtime-contract/evidence/release-candidate-review.md Archived release candidate review evidence for contract-v1.9 and superseding contract-v1.10.
openspec/changes/archive/2026-08-27-add-hermes-customer-subject-runtime-contract/evidence/provider-verification.yaml Archived provider-side verification record for the realized contract surface and gates.
openspec/changes/archive/2026-08-27-add-hermes-customer-subject-runtime-contract/evidence/legacy-source-path-consumer-audit.md Archived audit record justifying removal of host-local release metadata fields.
openspec/changes/archive/2026-08-27-add-hermes-customer-subject-runtime-contract/evidence/hermes-install-g0-handoff.yaml Archived provider→consumer handoff receipt binding the canonical Hermes Install consumer and exact digests.
openspec/changes/archive/2026-08-27-add-hermes-customer-subject-runtime-contract/evidence/hermes-install-g0-handoff-package.md Archived handoff package describing the required downstream artifacts/evidence for Gate G0 closure.
openspec/changes/archive/2026-08-27-add-hermes-customer-subject-runtime-contract/.openspec.yaml Archived packet metadata declaring machine-readable origin and approval provenance.
Suppressed comments (1)

openspec/specs/neutral-job-envelope/spec.md:62

  • This bullet enumerates field names, but only project is formatted as code and the others are not, which is inconsistent and makes it harder to read as a schema-level rule. Consider formatting each field name consistently as code literals.
- **AND** no `project`, repository, feature, patient, or company field MUST be required by the neutral schema

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Copilot AI review requested due to automatic review settings August 27, 2026 08:09
@brettheap

Copy link
Copy Markdown
Contributor 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: e1760062e6

ℹ️ 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".

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.

Pull request overview

Copilot reviewed 10 out of 20 changed files in this pull request and generated 1 comment.

Copilot AI review requested due to automatic review settings August 27, 2026 08:14

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.

Pull request overview

Copilot reviewed 10 out of 20 changed files in this pull request and generated no new comments.

Copilot AI review requested due to automatic review settings August 27, 2026 08:27

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.

Pull request overview

Copilot reviewed 27 out of 37 changed files in this pull request and generated no new comments.

Suppressed comments (2)

Previously missed (1) — in code that hasn't changed since the last review.

tests/hermes_runtime_contracts/test_validator_cli.py:34

  • The helper uses assert to enforce that exactly one archived packet exists. When tests are run with Python optimizations (-O), asserts are stripped and this can turn into a confusing IndexError or silently pick the wrong path. Prefer an explicit runtime check that always executes.

specs/005-customer-subject-runtime/fable-swarm-handoff-us3.md:25

  • These bullets embed host-absolute worktree paths even though this section immediately says not to write absolute paths into committed repository content. This contradicts itself and also violates the repo’s artifact discipline (“Committed files MUST NOT contain host-absolute paths”; see .specify/memory/constitution.md). Prefer environment variables or generic placeholders.
- Host worktree: `/home/brett/projects/xFactory/openxFactory-worktrees/005-customer-subject-runtime`
- `py-bench` worktree: `/workspace/projects/xFactory/openxFactory-worktrees/005-customer-subject-runtime`

Run repository commands inside `py-bench`. Do not write either absolute path
into committed repository content.

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