feat(payload): land the VOICE payload (#58)
CI / ci (push) Canceled after 0s
CI / ci (push) Canceled after 0s
Wayfinder map #56 terminal ticket (decision #57): Sandeep Swadia's VOICE transcript distilled into the mentor's bundled skill set. New skill owned-insight v1.0 (Owned + Insightful bound as one — fingerprints with the Cornell evidence, pseudo-profundity, the so-what test, the belief-difference frame; insight drill example). reader-psychology 1.1 gains the retelling-test card (the Pass plays the source's independent reader); prose-craft 1.1 gains the Engagement section with the earn-the-next-line card — craft ceiling in the wording: diagnose absent tension, never manufacture it. Old card 15 renumbered to 16 (external refs grep-verified absent). session-persona 1.3 gains the session-only interview-me-first stance; the verbatim four untouched (load-order pins green). The sanctioned app-code ride-along: owned-insight joins allocatedSkills on all three surfaces (P1 10 · P2 9 · Chat 11, links 27 to 30), ProfileSurfaceTests re-pinned (12-skill fixture). seed-manifest +owned-insight; sample-pass FC-11 (the engine rail still carries ten: FC-1..9 + FC-11, lint emits FC-10); PRD G14 in the bundled-set section; DOX pass; devlog. Verified: full scheme test 574 passed / 0 failed (xcresult executed count — manifest-payload correspondence and persona-verbatim pins in the run), swiftformat clean, swiftlint 0 errors, finish-audit fanout clean (one LOW docs determiner fixed). Issues #56-#58 already closed on the tracker.
This commit is contained in:
1 parent
084847cd7d
commit
4065c31ec8
16 files changed
+221
-33
No files matched your search
@@ -27,10 +27,10 @@ import Foundation
|
||||
@testable import Museion
|
||||
import Testing
|
||||
|
||||
/// The full 11-skill shipped set as fixtures (names + minimal bodies).
|
||||
/// The full 12-skill shipped set as fixtures (names + minimal bodies).
|
||||
let shippedSkillNames = [
|
||||
"serif-writing", "deslop", "demonstrator", "rhetoric", "prose-craft",
|
||||
"micro-drill", "pass-persona", "session-persona", "fiction-craft",
|
||||
"micro-drill", "owned-insight", "pass-persona", "session-persona", "fiction-craft",
|
||||
"reader-psychology", "titles-and-hooks",
|
||||
]
|
||||
|
||||
@@ -52,10 +52,11 @@ struct ProfileSurfaceTests {
|
||||
#expect(ProfileSurface.allCases.map(\.profileName) == ["museion", "museion-pass1", "museion-pass2"])
|
||||
#expect(ProfileSurface(passKind: .pass1) == .pass1)
|
||||
#expect(ProfileSurface(passKind: .pass2) == .pass2)
|
||||
// #133 allocation table: P1 9 · P2 8 · Chat 10.
|
||||
#expect(ProfileSurface.pass1.allocatedSkills.count == 9)
|
||||
#expect(ProfileSurface.pass2.allocatedSkills.count == 8)
|
||||
#expect(ProfileSurface.chat.allocatedSkills.count == 10)
|
||||
// #133 allocation table: P1 10 · P2 9 · Chat 11 (#58 adds owned-insight
|
||||
// to all three surfaces).
|
||||
#expect(ProfileSurface.pass1.allocatedSkills.count == 10)
|
||||
#expect(ProfileSurface.pass2.allocatedSkills.count == 9)
|
||||
#expect(ProfileSurface.chat.allocatedSkills.count == 11)
|
||||
// The persona pair never co-occurs (the manner co-trigger conflict).
|
||||
#expect(!ProfileSurface.chat.allocatedSkills.contains("pass-persona"))
|
||||
#expect(!ProfileSurface.pass1.allocatedSkills.contains("session-persona"))
|
||||
@@ -95,8 +96,8 @@ struct ProfileSurfaceTests {
|
||||
masterRoot: master,
|
||||
serverBinaryPath: "/fake/Museion",
|
||||
)
|
||||
// 11 master copies + 27 allocation links (10 + 9 + 8).
|
||||
#expect(outcome == .seeded(copied: 11 + 10 + 9 + 8, present: 0))
|
||||
// 12 master copies + 30 allocation links (11 + 10 + 9).
|
||||
#expect(outcome == .seeded(copied: 12 + 11 + 10 + 9, present: 0))
|
||||
for name in ["museion", "museion-pass1", "museion-pass2"] {
|
||||
#expect(FileManager.default.fileExists(atPath: (profileRoot as NSString).appendingPathComponent(name)))
|
||||
}
|
||||
@@ -161,7 +162,7 @@ struct ProfileSurfaceTests {
|
||||
let outcome = runPass()
|
||||
// Everything present, nothing created — a user's later Settings
|
||||
// change (config set through the same rail) is never stomped.
|
||||
#expect(outcome == .seeded(copied: 0, present: 11 + 10 + 9 + 8))
|
||||
#expect(outcome == .seeded(copied: 0, present: 12 + 11 + 10 + 9))
|
||||
#expect(fakeHermesLog(binDir, "config-set-museion-pass1") == configSetsBefore)
|
||||
#expect(fakeHermesLog(binDir, "profile-create-log") == ["museion", "museion-pass1", "museion-pass2"])
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user