feat(framework): fw-4.29.0 — agent-native skills for architecture + Loom lifecycle (closes #281)#297
Merged
Merged
Conversation
…oom lifecycle (closes #281) Add three skills wrapping the architecture/Loom CLI surface, the terminal-free counterpart to the manual DrawIO refinement path: - /straymark-architecture — generate → refine → validate in one guided pass, with the Sentinel refinement gotchas pre-encoded (component.id != layer.id, links as string ids, dual 2D/3D edges, never drop a referenced layer). - /straymark-architecture-sync — append-only keep-alive over `architecture sync`. - /straymark-loom — Loom server lifecycle (up/down/status) on :7700, terminal-free. All three ship across .claude/.gemini/.codex/.agent (.codex regenerated via gen_codex_skills). Adds architecture_skill_test.rs (four-variant frontmatter + core-guidance assertions). Docs updated in README/WORKFLOWS/QUICK-REFERENCE/LOOM (EN+es+zh-CN). Bumps framework to fw-4.29.0 (manifest, CHANGELOG, governance footers, version tables). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #281.
What
Three agent-native skills wrapping the EXPERIMENTAL architecture/Loom CLI surface — the terminal-free counterpart to the manual DrawIO refinement path. The underlying commands (
architecture generate|sync|validate,loom serve) already shipped; this adds the skills so an adopter can drivegenerate → refine → loom upfrom the agent window without editing YAML/DrawIO or opening a shell./straymark-architecturegenerate → refine → validatein one guided pass: seeds the model, reassigns components out ofunassignedinto real layers, infers dependencylinks, syncsplan.drawio(vertices + edges), iteratesvalidateto green./straymark-architecture-syncarchitecture sync— dry-run, surface new dirs/components, confirm,--apply, re-validate./straymark-loom127.0.0.1:7700; launchesloom serve --no-openin the background and hands the operator a link.The headline skill pre-encodes the Sentinel refinement gotchas (PR #142) so no future agent re-hits them:
component.idmust not equal alayer.id;linksis a list of string ids (not objects); 3D edges come frommodel.ymllinkswhile 2D edges come fromplan.drawio; never delete a layer a component still points at.Corrections vs. the issue text (verified against code)
main.rs,default_value_t = 7700), not 7779 — the skill reports 7700.unassignedlayer is not schema-required (core/src/architecture/model.rsonly enforces unique ids + that everycomponent.layernames an existing layer). The real gotcha — don't drop a layer a component still references — is what the skill encodes.How
.claude(withallowed-tools),.geminiand.agent/workflowsauthored by hand;.codexregenerated viagen_codex_skills(CI--checkclean, 15 skills in sync).cli/tests/architecture_skill_test.rs— four-variant frontmatter contract + per-skill core-guidance assertions (6 tests).dist-manifest.yml, CHANGELOG, governance footers (EN+es+zh-CN), version tables.Verification
cargo test— full workspace suite green (incl. the 6 new skill tests).cargo build --release— clean.gen_codex_skills --check— in sync (15 skills).architecture generate→ seed written;architecture validate→ consistent (exit 0);loom serve --port 7700→HTTP/1.1 200 OK.🤖 Generated with Claude Code