Skip to content

DD-338 Phase C Wave 5 — apple-notes audit_surface promotion (3 tools) + Swift _meta envelope + version-source collapse#2

Merged
piersdd merged 1 commit into
mainfrom
feat/dd-338-c-w5
May 23, 2026
Merged

DD-338 Phase C Wave 5 — apple-notes audit_surface promotion (3 tools) + Swift _meta envelope + version-source collapse#2
piersdd merged 1 commit into
mainfrom
feat/dd-338-c-w5

Conversation

@piersdd
Copy link
Copy Markdown
Contributor

@piersdd piersdd commented May 23, 2026

Sister PR to apple-mail #N for the Swift sub-cohort. 3 audit_surface promotions (all B). Inherits 7 LOCKED Swift precedents.

Tests

+19 XCTest cases (52 → 71 total); stable green across 5 consecutive runs.

Version-source collapse (OQ-7)

AppleNotesBlade.version + .semver both bump 0.1.0 → 0.2.0 lockstep. Follow-up DEVFU 2026-05-23-apple-notes-version-source-collapse filed for single-source canonicalisation.

Byte-equivalent helper

Sources/AppleNotesBlade/MetaEnvelope.swift verified byte-equivalent to apple-mail's via diff.

Spec: specs/2026-05-23-dd-338-c-w5-apple-swift.md

… + Swift _meta envelope + version-source collapse

3 tool promotions audit_surface: minimal → structured: apple_notes_list_folders,
apple_notes_list_notes, apple_notes_search_notes (all B).

Inherits Swift envelope helper precedent from W5 apple-swift sub-cohort:
- Sources/AppleNotesBlade/MetaEnvelope.swift byte-equivalent to apple-mail's
- ContinuousClock latency, JSONEncoder [.sortedKeys, .withoutEscapingSlashes]
- SHA-256-12 query digest via CryptoKit
- makeResultWithMeta<T: Codable> sibling in Tools/ResultBuilder.swift
- XCTest scaffolding; per-blade duplication per DD-240 invariant #8

Version-source lockstep collapse per OQ-7: AppleNotesBlade.version + .semver
both 0.1.0 → 0.2.0 (apple-mail extension-on-namespace pattern is canonical).
Follow-up DEVFU 2026-05-23-apple-notes-version-source-collapse deferred.

19 new XCTest cases (52 → 71 total); stable green across 5 consecutive runs.

Spec: specs/2026-05-23-dd-338-c-w5-apple-swift.md
Version: 0.1.0 → 0.2.0

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@piersdd piersdd merged commit 674ae0e into main May 23, 2026
1 of 2 checks passed
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