Repository navigation
spec: issue-3644 convert a contract between organization level and project level - #3789
Conversation
…oject level Refs chainloop-dev#3644 Assisted-by: Claude Code Signed-off-by: Jose Ignacio Paris Prieto <jiparis@chainloop.dev> Chainloop-Trace-Sessions: bc6fbb4d-3bf8-4fd0-b81e-10aa03bf1e58
PR validation — ✅ 3 passing
AI Session Checks — 🟢 93% · ✅ 0 failing
|
| Status | Attribution | File | Lines |
|---|---|---|---|
| created | ai | docs/specs/issue-3644-contract-scope-conversion.md |
+201 / -0 |
Policies (4)
| Status | Policy | Material | Messages |
|---|---|---|---|
| ✅ Passed | ai-config-ai-agents-allowed |
ai-coding-session-bc6fbb |
- |
| ✅ Passed | ai-config-no-dangerous-commands |
ai-coding-session-bc6fbb |
- |
| ✅ Passed | ai-config-no-secrets |
ai-coding-session-bc6fbb |
- |
| ✅ Passed | ai-config-mcp-servers-allowed |
ai-coding-session-bc6fbb |
- |
Security Checks — ✅ 5 passing
✅ Nothing this change touches re-opens a recorded security fix.
View in Chainloop ↗ · How this works ↗
✅ Nothing this change touches re-opens a recorded security fix.
View in Chainloop ↗ · How this works ↗
✅ Nothing this change touches re-opens a recorded security fix.
View in Chainloop ↗ · How this works ↗
✅ Nothing this change touches re-opens a recorded security fix.
View in Chainloop ↗ · How this works ↗
✅ secret-scan
| Status | Policy | Messages |
|---|---|---|
| ✅ Passed | secrets-detection |
- |
✅ sast-scan
| Status | Policy | Messages |
|---|---|---|
| ✅ Passed | owasp-top10-2025 |
- |
| ✅ Passed | sast |
- |
| ✅ Passed | cwe-top25 |
- |
| ✅ Passed | cwe-top26-40-cusp |
- |
Scans not applied (3)
| Scan | Reason |
|---|---|
vulnerability-scan |
no manifest/lockfile changed |
github-actions-scan |
no workflow files changed |
iac-scan |
no IaC files changed |
Powered by Chainloop and Chainloop Trace
There was a problem hiding this comment.
All reported issues were addressed across 1 file
Reply with feedback, questions, or to request a fix.
View guided diff | Re-trigger cubic
Adds R-010, D-007 and D-008 from the PR review. Refs chainloop-dev#3644 Assisted-by: Claude Code Signed-off-by: Jose Ignacio Paris Prieto <jiparis@chainloop.dev> Chainloop-Trace-Sessions: bc6fbb4d-3bf8-4fd0-b81e-10aa03bf1e58
Summary
This spec lets an organization admin convert an existing workflow contract between organization level and project level, in both directions. The contract keeps its ID, name, revision history, and workflows. Today the only way to change the level is to delete the contract and create it again, and that loses the history and the workflow links.
The CLI gets two flags on
chainloop wf contract update, and a user can give only one of them:--project <name>and--org. The update API gets an optional level field. When the field is not set, the level does not change.Key points for review:
chainloop apply, and the web UI.Open questions for reviewers
None.
We would like two reviewers to approve this spec before it merges.
Refs #3644
AI disclosure: Claude Code assisted with the drafting of this spec.