Skip to content

feat(framework): atomic Charter closure pattern (fw-4.4.2 / format v4)#68

Merged
montfort merged 1 commit intomainfrom
chore/format-v4-atomic-charter-closure
May 2, 2026
Merged

feat(framework): atomic Charter closure pattern (fw-4.4.2 / format v4)#68
montfort merged 1 commit intomainfrom
chore/format-v4-atomic-charter-closure

Conversation

@montfort
Copy link
Copy Markdown
Contributor

@montfort montfort commented May 2, 2026

Summary

  • First Charter-driven release. Originating Charter: sentinel/docs/charters/01-format-v4-atomic-charter-closure-pattern.md (Sentinel repo). Originating AIDEC: AIDEC-2026-05-02-001 (Sentinel) — formalizes the canon gap discovered via PLAN-07: the step "update the Plan-doc post-merge if AILOG documented drift" had no systematic trigger; remediation lagged the main PR by days when memory failed.
  • Format v4 = atomic Charter closure. Implementer must update the Charter atomically (same commit/PR) when Tasks fix: align framework update output with CLI update format #7 detects drift, not in a post-merge housekeeping PR. New ## Closing notes section, rewritten Convention fix: skip framework download when already at latest version #5, broader trigger placeholder, Risks guidance comment.
  • Editorial-only. No schema changes, no breaking changes. Adopters pick up the new template via devtrail update-framework.
  • Bonus governance hygiene: promotes 4 Propuesta/ files to public git history. They were referenced from shipped docs since fw-4.4.0 but had never been committed — adopters following links got 404. Discovered during the originating Charter execution.

Test plan

  • CI: release-framework.yml packages devtrail-fw-4.4.2.zip on tag push.
  • Manual smoke: devtrail update-framework from an adopter project pulls fw-4.4.2; grep "Atomic update (format v4)" .devtrail/templates/charter-template.md finds the new step.
  • Adopter following link from CHANGELOG to Propuesta/que-es-un-charter.md no longer 404s.

Post-merge

git tag fw-4.4.2 && git push origin fw-4.4.2

🤖 Generated with Claude Code

First Charter-driven release. Originating Charter:
sentinel/docs/charters/01-format-v4-atomic-charter-closure-pattern.md
Originating decision: AIDEC-2026-05-02-001 (Sentinel), which formalized the
canon gap discovered via PLAN-07: "update Plan-doc post-merge if AILOG
documented divergencias" was mentioned but had no systematic trigger,
leading to drift remediation lagging by days.

Format v4 changes (charter-template.md EN + i18n/es):
- Step 1 of `## Charter Closure` becomes "Atomic update (format v4)" —
  if drift was reported by Tasks #7, edit `## Files to modify` and/or
  add `## Closing notes` in the same commit/PR. No housekeeping deferral.
- New top-level `## Closing notes` section with template structure and
  references to PLAN-05 / PLAN-07 of Sentinel as historical examples.
- Convention #5 in the comment block rewritten for atomic-update at
  Tasks #7 time, citing PLAN-07 + AIDEC-2026-05-02-001.
- Trigger placeholder broadened: "[1-line: what observable signal...]"
  → "[1-line: what concrete signal — observable event, declared decision,
  metric threshold, or infrastructure milestone — justifies executing
  this Charter now]". Surfaced during the originating Charter review
  (Charters from AIDECs/ADRs have declarative triggers).
- §Risks placeholder gains guidance on mitigation completeness
  (4 properties: trigger, action, failure case, follow-up location).
  Surfaced during R4 review of the originating Charter.

Promote 4 Propuesta files to public git history (governance hygiene):
- que-es-un-charter.md (4 broken refs from shipped docs since fw-4.4.0)
- devtrail-cli-roadmap.md (5 broken refs)
- devtrail-thesis-validation.md (3 broken refs)
- devtrail-design-principles.md (1 broken ref)
The other 3 Propuesta/ files (devtrail-charter-telemetry.md,
devtrail-cloud-proposal.md, devtrail-studio-vision.md) remain
local-only because no shipped doc references them.

Editorial-only release, no schema changes, no breaking changes.
Adopters pick up format v4 via `devtrail update-framework`.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@montfort montfort merged commit bf10705 into main May 2, 2026
@montfort montfort deleted the chore/format-v4-atomic-charter-closure branch May 2, 2026 19:04
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