Skip to content

feat(safety): close SG-3..6 lifecycle gaps (v1.0.3 Track 4)#120

Merged
avrabe merged 1 commit into
mainfrom
release/v1.0.3-track4-safety-goals
May 17, 2026
Merged

feat(safety): close SG-3..6 lifecycle gaps (v1.0.3 Track 4)#120
avrabe merged 1 commit into
mainfrom
release/v1.0.3-track4-safety-goals

Conversation

@avrabe
Copy link
Copy Markdown
Contributor

@avrabe avrabe commented May 17, 2026

Closes all 4 remaining lifecycle gaps from v1.0.2 (rivet validate). Adds 4 safety-context artifacts (SC-CTXT-2..5) and 3 safety-solutions (SOL-6..8). After merge, no 'Lifecycle coverage gaps' section appears in rivet validate output. The 9 remaining errors are pre-existing schema-fit issues (SG decomposition + CP link types) unrelated to this PR.

🤖 Generated with Claude Code

Added 4 safety-context artifacts (SC-CTXT-2..5) scoping SG-3..6's
applicability, plus 3 new safety-solution artifacts (SOL-6..8)
supporting SG-4/5/6.

After this commit, 'rivet validate' shows NO lifecycle-coverage
gaps. The remaining 9 errors are pre-existing structural issues
unrelated to v1.0.3 Track 4 scope:
- SG-1..6 want explicit decomposition-via-strategy or a different
  link-type-from-SG-to-SOL than the existing 'supports' direction.
  Schema-fit issue, predates v1.0.0.
- CP-1, CP-2, CP-3 use link type 'acted-on-by' not declared in
  schema. Predates v1.0.0.

These are tracked for a separate schema-fit cleanup PR. The original
goal (close the 4 SG-3..6 lifecycle gaps reported up through v1.0.2)
is met.

## What ships

SC-CTXT-2 → SG-3: verifier scope + external-tool assumptions
SC-CTXT-3 → SG-4: determinism scope (compiler I/O, not runtime)
SC-CTXT-4 → SG-5: Component Model interface preservation scope
SC-CTXT-5 → SG-6: conservative-skip scope and observability
SOL-6 → SG-6: per-pass revert counter + --stats surfacing
SOL-7 → SG-4: byte-identical regression on canonical fixtures
SOL-8 → SG-5: component-model post-fold validation

Trace: REQ-3, REQ-14, REQ-15
@avrabe avrabe merged commit c51716f into main May 17, 2026
9 of 19 checks passed
@avrabe avrabe deleted the release/v1.0.3-track4-safety-goals branch May 17, 2026 05:06
@temper-pulseengine
Copy link
Copy Markdown

Automated review for PR #120

pulseengine/loom:release/v1.0.3-track4-safety-goals → pulseengine/loom:main

Verdict: 🔴 Request changes

Summary: Adds safety context and solutions to lifecycle gaps.

Findings: 7 mechanical (rivet) · 0 from local AI model.

Findings (7):

  1. 🟡 6 artifacts (rivet-validate)
    field 'goal-type' has value 'top-level', allowed: ["system-level", "element-level", "operational", "derived"] — affecting: SG-3, SG-2, SG-1, SG-4, SG-5, SG-6

  2. 🟡 6 artifacts (rivet-validate)
    field 'evidence-type' has value 'test', allowed: ["test-report", "analysis", "simulation", "review", "field-data", "formal-proof"] — affecting: SOL-7, SOL-5, SOL-3, SOL-8, SOL-6, SOL-4

  3. 🔴 6 artifacts (rivet-validate)
    Every safety goal must be supported by evidence (solution) or decomposed into sub-goals (via strategy), unless marked undeveloped
    — affecting: SG-1, SG-2, SG-3, SG-4, SG-5, SG-6

  4. 🟡 6 artifacts (rivet-validate)
    Top-level safety goals should have context defining scope and assumptions — affecting: SG-1, SG-2, SG-3, SG-4, SG-5, SG-6

  5. 🟡 6 artifacts (rivet-validate)
    STPA losses should be addressed by safety goals in the safety case — affecting: L-1, L-2, L-3, L-4, L-5, L-6

  6. 🔴 3 artifacts (rivet-validate)
    link type 'acted-on-by' is not defined in the schema — declare it in link-types: or remove the link — affecting: CP-2, CP-3, CP-1

  7. 🟡 16 artifacts (rivet-validate)
    conditional rule 'approved-needs-description': field 'description' is required when condition is met — affecting: SS-2, SS-1, SOL-6, SG-1, SC-CTXT-3, SC-CTXT-5, SOL-7, SOL-8, SC-CTXT-1, SG-5 (+6 more)


Generated by a local AI model and post-validated against a strict JSON contract. Each finding includes the verbatim line being criticised — verify by reading the file at the cited location.

Reviewed at e0c4be1

avrabe added a commit that referenced this pull request May 17, 2026
…ap) (#124)

Five-track sprint. Three landed via agents in worktrees, one
direct-work, one deferred when its agent died.

Merged:
  #120  Track 4: close SG-3..6 lifecycle gaps
  #121  Track 1 (PR-Q): real corpus fixtures (3rd attempt — success)
  #122  Track 2: ægraph MVP (acyclic e-graph substrate)
  #123  Track 5: issue triage + roadmap doc

Issues closed via the roadmap:
  #45  Rocq foundation (already shipped)
  #47  StackSignature::compose associativity (proven)
  #50  Crocus-style ISLE verification (already in verify_rules.rs)
  #75  P3 async callback trampolines (duplicate of #70)

Deferred to v1.0.4:
  Track 3: verifier table-resolver teaching (agent died)
  ægraph rewrite engine + per-rule proofs
  KEEP issues #48 #68 #70 #71

Lifecycle gaps: 4 → 0 (track 4 closed all remaining).
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