[Feat] Add architecture snapshots to task evidence - #1783
Draft
roomote-roomote[bot] wants to merge 3 commits into
Draft
[Feat] Add architecture snapshots to task evidence#1783roomote-roomote[bot] wants to merge 3 commits into
roomote-roomote[bot] wants to merge 3 commits into
Conversation
Contributor
Contributor
Author
|
Fixed extensionless architecture snapshots in f613b1c0. Validated snapshots now upload as |
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.
What changed
architecture-snapshotartifact contract with schema version 1, Mermaid source, and validated repository-relative source references with optional line ranges and descriptions.manage_artifactspath. Valid snapshots are stored asapplication/jsoneven when their file name has no extension, while invalid snapshot JSON is rejected before publication begins.Why this change was made
Reviewers currently need to reconstruct the changed system boundary and likely blast radius from the repository before they can assess multi-package work. This prototype gives Roomote agents a small, review-oriented evidence artifact that explains the affected architecture while citing the files behind the explanation.
Impact
Architecture snapshots are optional task evidence and use the existing artifact storage, authorization, path-based versioning, listing, and viewer flows. Normalizing validated snapshots to JSON ensures the viewer fetches extensionless artifacts without changing MIME handling for other artifact types. Existing persisted
general,plan, andvisual-proofartifacts remain valid, and no database migration or automatic generation path is introduced.Security and guardrails
securityLevel: "strict"and suppressed error rendering. Dynamically sized Markdown fences prevent Mermaid source from escaping into surrounding Markdown.Validation
application/jsonreaches artifact creation.pnpm lint,pnpm check-types, and the pre-pushoxlint, residual lint, fast typecheck, andknipgates passed.Deferred work