Skip to content

[M14 acceptance] Verify validated mutation, refactoring reuse, and agent-facing contracts #132

Description

@Teakowa

Parent: #127
Depends on: #128, #129, #130, #131

Goal

Independently verify that M14 delivers one coherent validated source-mutation architecture across Wright's supported source/tooling surfaces, and perform a post-M14 roadmap reassessment before broader refactoring scope is added.

QA scope

Architect confirmation

Confirm:

  • semantic understanding and source identity own mutation decisions;
  • edit/refactoring contracts are source-oriented and do not freeze HIR/WIR layout;
  • compiler/session owns validation semantics, while LSP/tool transports remain adapters;
  • OPY and OSTW do not maintain separate edit-validation architectures;
  • no filesystem mutation is hidden inside semantic/tooling core;
  • no new refactoring/plugin/compatibility breadth was added without evidence.

Acceptance criteria

  • [M14 foundation] Make source-edit transactions project- and frontend-aware #128–[M14 language services] Converge LSP rename on the shared semantic refactoring contract #131 are independently verified from current code/tests/CI rather than issue state or implementation-agent self-report.
  • OPY and OSTW validated edits run through the correct native frontend/project semantics with source-located diagnostics and atomic refusal.
  • Semantic rename is shared, identity-based, and project-aware for its declared support boundary.
  • Agent/embedding consumers can obtain validated edit/rename previews through stable structured Wright-owned contracts without LSP or harness coupling.
  • LSP rename reuses the same underlying semantic/edit transaction contracts and retains M10 correctness guarantees.
  • Unsafe, stale, conflicting, ambiguous, and unsupported operations do not produce partially applicable edits.
  • Whole-source reconstruction is not the default mutation architecture.
  • Current CI is green with required jobs executed.
  • PM records a post-M14 reassessment and does not automatically expand into extract/inline/formatter/general AST mutation.

Non-goals

Relationships

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions