@amityco/social-plus-vise 1.4.3 → 1.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/README.md +40 -44
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,19 @@ The format is loosely based on [Keep a Changelog](https://keepachangelog.com/en/
|
|
|
8
8
|
|
|
9
9
|
No changes yet.
|
|
10
10
|
|
|
11
|
+
## 1.4.5 — 2026-07-02
|
|
12
|
+
|
|
13
|
+
### Changed
|
|
14
|
+
- **Public npm README claim discipline tightened.** Clarified that Vise governs AI agents rather than making them perfect, separated advisory design conformance from hard validation gates, and distinguished Vise's local privacy behavior from each AI host's data policy.
|
|
15
|
+
- **Benchmark scorecard wording refreshed.** The evidence section now identifies the current Codex GPT-5.4 Medium harness, notes equivalent-tier model protocol expectations, adds public-safe benchmark boundaries, and replaces fixture slugs with meaningful brownfield product/social-goal descriptions.
|
|
16
|
+
- **Current tool and platform coverage reflected.** The README now documents `vise sdk-facts`, lists all current MCP tools, and replaces stale/overbroad platform-domain wording with supported-platform language tied to the shipped rule suite.
|
|
17
|
+
|
|
18
|
+
## 1.4.4 — 2026-07-02
|
|
19
|
+
|
|
20
|
+
### Changed
|
|
21
|
+
- **Public npm README tightened.** The evidence section now reads as a concise customer-facing scorecard, removes internal benchmark caveats and launch-verification lab notes, and avoids links to benchmark files that are not shipped in the npm package.
|
|
22
|
+
- **Validation-layer coverage clarified.** The README now states directly that the current package covers all three validation layers: SDK compliance, feature completeness, and advisory design conformance.
|
|
23
|
+
|
|
11
24
|
## 1.4.3 — 2026-07-02
|
|
12
25
|
|
|
13
26
|
### Changed
|
package/README.md
CHANGED
|
@@ -33,19 +33,19 @@
|
|
|
33
33
|
|
|
34
34
|
## What is Vise?
|
|
35
35
|
|
|
36
|
-
**Vise wraps your AI coding agent in compliance guardrails while it integrates social.plus SDKs.** The agent still writes the code — Vise
|
|
36
|
+
**Vise wraps your AI coding agent in compliance guardrails while it integrates social.plus SDKs.** The agent still writes the code — Vise grounds that work in real SDK APIs, checks correctness and completeness, helps align generated UI with your design system, and asks you the calls only a human should make. It does not make AI agents perfect; it gives them a governed loop, explicit gates, and evidence when something is green, intentionally scoped out, or still unverified.
|
|
37
37
|
|
|
38
38
|
While the agent works, Vise:
|
|
39
39
|
|
|
40
40
|
- 🧠 **Grounds it in the real SDK** — extracted, source-anchored facts (real types and field names), so it won't invent a symbol or field the SDK doesn't expose, and pins the version published on npm.
|
|
41
|
-
- 🛡️ **Enforces
|
|
41
|
+
- 🛡️ **Enforces 400+ platform-specific checks** — the mistakes that pass a demo and break in production.
|
|
42
42
|
- ✅ **Gates feature completeness** — the whole outcome (pagination, empty/error states, the capabilities you asked for), not just the happy path.
|
|
43
|
-
- 🎨 **
|
|
43
|
+
- 🎨 **Reviews generated UI against your design system** — advisory, because brand fit still needs human judgment.
|
|
44
44
|
- 🔧 **Runs your project's own build / lint / typecheck sensors.**
|
|
45
45
|
|
|
46
|
-
It turns the request into a grounded plan, records a local contract under `sp-vise/`, and keeps checking until the integration is **green, attested, or explicitly blocked on your input** — so *"the agent stopped"*
|
|
46
|
+
It turns the request into a grounded plan, records a local contract under `sp-vise/`, and keeps checking until the integration is **green, attested, intentionally scoped, or explicitly blocked on your input** — so the handoff distinguishes finished work from unverified work instead of treating *"the agent stopped"* as *"done"*.
|
|
47
47
|
|
|
48
|
-
> 🔒 **
|
|
48
|
+
> 🔒 **Vise itself does not upload your source code.** Your AI coding host follows its own data policy; Vise fetches only the public social.plus docs and the SDK's published version on npm — never your code, file contents, or search queries. `VISE_DOCS_OFFLINE=1` runs fully offline.
|
|
49
49
|
|
|
50
50
|
Vise can also run **ahead** of that loop: an advisory [Engagement Intelligence](#engagement-intelligence) layer turns a product goal into multiple candidate engagement strategies — *what you might build*, not only *whether you built it right*.
|
|
51
51
|
|
|
@@ -77,7 +77,7 @@ vise install-skill --target copilot . # GitHub Copilot / VS Code
|
|
|
77
77
|
# "Add a social feed to this app using the social.plus SDK."
|
|
78
78
|
```
|
|
79
79
|
|
|
80
|
-
The skill drives the loop automatically — `vise inspect` → `vise plan` → `vise init` → edit code → `vise check` → `vise run-sensors`. You drive intent, answer scope questions, and **sign off the blueprint** (what gets built) before the agent writes a line; Vise keeps the agent honest. For
|
|
80
|
+
The skill drives the loop automatically — `vise inspect` → `vise plan` → `vise init` → edit code → `vise check` → `vise run-sensors`. You drive intent, answer scope questions, and **sign off the blueprint** (what gets built) before the agent writes a line; Vise keeps the agent honest. For high-confidence handoff, also launch the app in its real browser, simulator, emulator, or device target and verify the selected social surface with real data. See [How it works](#how-it-works).
|
|
81
81
|
|
|
82
82
|
All skill targets:
|
|
83
83
|
|
|
@@ -103,7 +103,7 @@ Prefer a per-project install? `npm install -D @amityco/social-plus-vise`, then c
|
|
|
103
103
|
4. **Build** — the agent edits your code, grounded by `vise search-docs` and `vise get-doc-page`.
|
|
104
104
|
5. **Check & repair** — `vise check` reports deterministic findings, completeness gaps, and attestation needs. The agent fixes findings or records attestations with evidence, looping until green.
|
|
105
105
|
6. **Sense** — `vise run-sensors` runs your project's own typecheck/build/lint/SDK smokes. Done means the contract and evidence are committed, not just that the agent stopped.
|
|
106
|
-
7. **
|
|
106
|
+
7. **Launch and verify** — for any user-visible handoff, ask before spending browser/simulator/emulator/device resources. If approved, open the actual target, check the selected journey, and record what data was discovered or created. Discover targets naturally from host app state, SDK queries, user selection, or SDK create-flow return values; if the tenant has no data, prepare Console data or seed safe sample data before calling the surface populated. When a `sp-vise/smoke.json` contract exists, run `vise smoke` against captured logs; `expect: "populated"` requires `loaded count=N` with `N > 0`. If launch verification is skipped, say what remains unverified.
|
|
107
107
|
|
|
108
108
|
### Solution path & UIKit routing (advisory)
|
|
109
109
|
|
|
@@ -113,23 +113,23 @@ When UIKit is in play, `vise plan` can also emit **`uikitCustomization`**, recom
|
|
|
113
113
|
|
|
114
114
|
### Three validation layers
|
|
115
115
|
|
|
116
|
-
The layer is set by the *kind of claim*, which is how Vise
|
|
116
|
+
The layer is set by the *kind of claim*, which is how Vise avoids treating "looks plausible" as "ready to ship." The current package covers all three layers across supported platforms: compliance and completeness are enforced by `vise check`, while design conformance is available as an advisory review loop.
|
|
117
117
|
|
|
118
118
|
| Layer | Claim | How | Enforcement |
|
|
119
119
|
|---|---|---|---|
|
|
120
|
-
| **SDK compliance** | "this is **wrong**" |
|
|
120
|
+
| **SDK compliance** | "this is **wrong**" | 400+ deterministic checks (session renewal, live-collection vs one-shot, secret hygiene, parent-child rendering, ban-state gating…) | **Hard gate** — `vise check` blocks until green or attested; a small advisory subset never blocks |
|
|
121
121
|
| **Feature completeness** | "this is **missing**" | A narrow mandatory baseline per outcome (pagination for feeds, a composer for comments, send + read state for chat, SDK-backed counts for profiles); richer capabilities are explicit opt-ins from `vise plan` | **Decision gate** — `vise check` exits `completeness-gap` until each baseline item is built or opted out with `// vise: scope-omit <id> — <reason>` |
|
|
122
122
|
| **Design conformance** | "this **looks off**" | Extract your design system into a contract, confirm a preview, then check token usage | **Advisory** — `vise design check`/`preview`; never fails a build |
|
|
123
123
|
|
|
124
|
-
Correctness is gated by deterministic rules or attestations; completeness is gated by explicit scope decisions; conformance stays advisory because "matches the brand" is legitimately subjective.
|
|
124
|
+
Correctness is gated by deterministic rules or attestations; completeness is gated by explicit scope decisions; conformance stays advisory because "matches the brand" is legitimately subjective. `vise explain <ruleId>` prints any rule's rationale, evidence requirements, and remediation.
|
|
125
125
|
|
|
126
|
-
|
|
126
|
+
App launch verification is the final acceptance step outside these three layers. `vise check` and `vise run-sensors` can prove structure, completeness, and local build commands; a browser or native launch confirms the selected user journey is actually visible.
|
|
127
127
|
|
|
128
128
|
**Supported outcomes:** feed · comments · chat · moderation · community · social graph (follow) · in-app notifications · plus setup (SDK, push, live data). `vise plan`/`init` classify the request and tailor the plan, rules, and feature checklist.
|
|
129
129
|
|
|
130
130
|
### Engagement Intelligence
|
|
131
131
|
|
|
132
|
-
**Advisory, in preview.** The three layers above answer *whether you built it right*. Ahead of the build, Vise can also help reason about *what to build*: an **Engagement Intelligence** layer turns a product goal into multiple candidate **engagement strategies** — archetypes, UX patterns, and solution variants drawn from a social.plus experience catalog — with rationale, tradeoffs, no-fit guidance, availability
|
|
132
|
+
**Advisory, in preview.** The three layers above answer *whether you built it right*. Ahead of the build, Vise can also help reason about *what to build*: an **Engagement Intelligence** layer turns a product goal into multiple candidate **engagement strategies** — archetypes, UX patterns, and solution variants drawn from a social.plus experience catalog — with rationale, tradeoffs, no-fit guidance, availability limits, and review gaps. The driving agent presents the EI choice as a visible decision — recommended experience, concrete fit signals, credible alternatives, tradeoffs, expected blueprint surfaces, and no-fit option — before it accepts a variant. The human or driving agent still chooses the direction, then Vise compiles that selected variant into an implementation plan (`vise creative` → `vise creative accept` → `vise experience compile`), optionally bridging to installable social.plus blocks, plus advisory UX expectations and a multi-dimension experience review.
|
|
133
133
|
|
|
134
134
|
It is **local-only, never uploads, carries no calibrated score**, and **never changes `vise check`'s exit codes**. The opt-in ranking preview is review context, not a top-1 confidence claim or autonomous product-strategy selector. Use it to shape the work; the validation layers still decide when it's done.
|
|
135
135
|
|
|
@@ -139,45 +139,40 @@ Vise can ingest your aesthetic from an HTML/CSS prototype (`vise design extract`
|
|
|
139
139
|
|
|
140
140
|
## Evidence
|
|
141
141
|
|
|
142
|
-
Vise
|
|
142
|
+
Vise is measured against complete brownfield integrations, not isolated snippets. In the real end-to-end benchmark suite, agents were asked to add social.plus to existing product-shaped apps across five platforms. The current scorecard was produced with the Codex GPT-5.4 Medium harness; the protocol is designed for equivalent-tier coding models such as Claude Sonnet 4.6 or Gemini Flash 3.5, with each Vise/no-Vise pair kept on the same model and reasoning setting. The score combines workflow guidance, product surface completion, design fit, correctness, and efficiency. These July 2026 social.plus benchmark runs are directional product evidence from representative app fixtures, not a third-party audit.
|
|
143
143
|
|
|
144
|
-
**Current
|
|
144
|
+
**Current end-to-end scorecard**
|
|
145
145
|
|
|
146
|
-
| Platform |
|
|
147
|
-
|
|
148
|
-
| **Android** |
|
|
149
|
-
| **iOS** |
|
|
150
|
-
| **Web** |
|
|
151
|
-
| **Flutter** |
|
|
152
|
-
| **React Native** |
|
|
146
|
+
| Platform | Brownfield product / social goal | With Vise | Without Vise | Improvement |
|
|
147
|
+
|---|---|---:|---:|---:|
|
|
148
|
+
| **Android** | Investor watchlist app with social circles | **94.3** | 31.2 | **+63.1** |
|
|
149
|
+
| **iOS** | Editorial audio app with curator clubs | **90.1** | 43.0 | **+47.1** |
|
|
150
|
+
| **Web** | Fitness media app with program communities | **91.4** | 65.6 | **+25.8** |
|
|
151
|
+
| **Flutter** | Training clubhouse with squad discussions | **92.8** | 33.0 | **+59.8** |
|
|
152
|
+
| **React Native** | Athlete training app with clubhouse feed | **90.3** | 67.3 | **+23.0** |
|
|
153
153
|
|
|
154
|
-
Average Vise
|
|
154
|
+
Average with Vise: **91.8**. Average without Vise: **48.0**. Average improvement: **+43.8 points**.
|
|
155
155
|
|
|
156
|
-
|
|
156
|
+
What changed with Vise in the loop:
|
|
157
157
|
|
|
158
|
-
|
|
158
|
+
- The agent starts from a grounded plan instead of guessing the integration shape.
|
|
159
|
+
- Product targets are discovered naturally from app state, SDK queries, user choices, or SDK create-flow results, not hardcoded IDs.
|
|
160
|
+
- The stopping condition changes from "code was written" to "the requested social surface is planned, checked, and sensor-validated."
|
|
161
|
+
- The same workflow applies across web, React Native, Flutter, Android, and iOS.
|
|
159
162
|
|
|
160
|
-
|
|
161
|
-
- Agents are steered away from hardcoded `communityId`, `postId`, `channelId`, and `targetId` values; targets must come from host state, SDK queries, SDK create results, or safe fixture state.
|
|
162
|
-
- Runtime errors block proof instead of being treated as cosmetic.
|
|
163
|
-
- Native scoring recognizes real Android/iOS SDK setup and login patterns, not only surface-level type declarations.
|
|
164
|
-
- Generated artifacts are filtered during secret checks so benchmark evidence does not pollute product scoring.
|
|
165
|
-
|
|
166
|
-
**Boundaries:** these are social.plus's own measurements, not a third-party audit. The scorecard is a current-loop result, not a same-minute paired A/B rerun: the Vise column uses final post-improvement runs, while the no-Vise column uses the best available controls for the same platform families, including fresh React Native and Flutter controls from 2026-07-02. For a formal public benchmark, rerun both arms from clean fixtures under a frozen protocol and score them with the same scorer version. Older Flutter/React Native paired rows from 2026-06-29 are superseded because both were capped by incomplete runtime proof. Older README benchmark figures were removed because they came from earlier builds and older protocols.
|
|
167
|
-
|
|
168
|
-
<sub>Cursor, Claude, Codex, GitHub Copilot, VS Code, and other product names are trademarks of their respective owners; social.plus is not affiliated with or endorsed by them. Benchmark figures are from social.plus's own measurements.</sub>
|
|
163
|
+
<sub>Cursor, Claude, Codex, GitHub Copilot, VS Code, and other product names are trademarks of their respective owners; social.plus is not affiliated with or endorsed by them.</sub>
|
|
169
164
|
|
|
170
165
|
## Supported Platforms
|
|
171
166
|
|
|
172
|
-
| Platform |
|
|
167
|
+
| Platform | Status | Sensors |
|
|
173
168
|
|---|---|---|
|
|
174
|
-
| **TypeScript / Next.js / React** |
|
|
175
|
-
| **React Native** |
|
|
176
|
-
| **Flutter / Dart** |
|
|
177
|
-
| **Android (Kotlin)** |
|
|
178
|
-
| **iOS (Swift)** |
|
|
169
|
+
| **TypeScript / Next.js / React** | Supported | `tsc`, `npm build`, `npm lint`, SDK import smoke |
|
|
170
|
+
| **React Native** | Supported | `tsc`, `npm lint`, SDK import smoke |
|
|
171
|
+
| **Flutter / Dart** | Supported | `flutter analyze`, `flutter test` |
|
|
172
|
+
| **Android (Kotlin)** | Supported | Gradle assemble, unit tests |
|
|
173
|
+
| **iOS (Swift)** | Supported | Static rules fully operational (tree-sitter AST for highest-risk rules); `Package.swift` enables a SwiftPM manifest sensor, and `.xcodeproj`/`.xcworkspace` enables a guarded `xcodebuild` sensor when available |
|
|
179
174
|
|
|
180
|
-
Each platform
|
|
175
|
+
Each platform is checked by the shipped rule suite across feed, comments, chat, moderation, communities, social graph, secrets, session & auth, notifications, live data, security, design, and more.
|
|
181
176
|
|
|
182
177
|
## CLI Reference
|
|
183
178
|
|
|
@@ -191,7 +186,7 @@ Run `vise <command> --help` for full flags. JSON output is the default for agent
|
|
|
191
186
|
| `vise doctor` | Verify install; print version, install path, docs source |
|
|
192
187
|
| `vise inspect [path]` | Detect platform, monorepo surfaces, design signals, available sensors |
|
|
193
188
|
| `vise plan [path] --request "..." [--summary]` | Grounded implementation plan with intake questions and docs citations; `--summary` prints a compact route/intake view |
|
|
194
|
-
| `vise plan --summary "..."` | Shortcut for quick routing
|
|
189
|
+
| `vise plan --summary "..."` | Shortcut for quick routing or discovery when the current directory is the repo |
|
|
195
190
|
| `vise plan-harness [path] --request "..."` | Pre-planning step: build the harness around the request |
|
|
196
191
|
| `vise init [path] --request "..." [--answer key=value]` | Write the `sp-vise/` compliance contract once blocking intake is answered; exits 7 (`needs-clarification`) otherwise |
|
|
197
192
|
| `vise workplan next [path] --request "..."` | For broad social requests: print the next uncompleted surface and its focused commands |
|
|
@@ -232,6 +227,7 @@ Everything in this group is local and advisory: no uploads, no `vise check` exit
|
|
|
232
227
|
|---|---|
|
|
233
228
|
| `vise search-docs "<query>"` | Search social.plus docs for relevant pages |
|
|
234
229
|
| `vise get-doc-page <path>` | Fetch a specific doc page by path |
|
|
230
|
+
| `vise sdk-facts --platform <platform> [--capability <capability>] [--format json]` | Read bundled SDK surface facts without a project; useful for agents and block packaging when they need field-level facts before editing |
|
|
235
231
|
| `vise debug [path] --error "..." [--brief]` | Diagnose an SDK-specific runtime failure; `--brief` returns the likely rule, minimal patch shape, and verification commands |
|
|
236
232
|
|
|
237
233
|
### Compliance verification
|
|
@@ -253,7 +249,7 @@ Everything in this group is local and advisory: no uploads, no `vise check` exit
|
|
|
253
249
|
| Command | Purpose |
|
|
254
250
|
|---|---|
|
|
255
251
|
| `vise run-sensors [path] [--dry-run]` | Run detected project scripts (npm, Gradle, Flutter, lint, typecheck, SDK smokes); `--dry-run` lists without executing |
|
|
256
|
-
| `vise smoke [path] --log <file>` | Assess a captured
|
|
252
|
+
| `vise smoke [path] --log <file>` | Assess a captured mount-smoke log into a pass/fail verdict + record evidence. `expect: "populated"` requires `loaded count=N` with `N > 0`; this catches session-establish and empty-data gaps that static checks cannot see |
|
|
257
253
|
| `vise install-skill --target <host>` | Install the bundled skill into a coding host (see [Quick Start](#quick-start)) |
|
|
258
254
|
| `vise print-skill` | Print the skill markdown to stdout |
|
|
259
255
|
| `vise engagement init [path] [--tier ...] [--customer-id ...] [--scope ...]` | Record optional contractual scope metadata |
|
|
@@ -275,9 +271,9 @@ MCP-capable hosts can call Vise as structured tool calls instead of shell comman
|
|
|
275
271
|
}
|
|
276
272
|
```
|
|
277
273
|
|
|
278
|
-
Tool names (snake_case per MCP convention): `inspect_project`, `creative_brief`, `creative_accept`, `ux_harness`, `compile_experience`, `experience_sensors`, `plan_harness`, `plan_integration`, `init_compliance`, `check_compliance`, `experience_report`, `record_learning`, `show_learning`, `sync_compliance`, `attest_rule`, `explain_rule`, `init_engagement`, `show_engagement`, `
|
|
274
|
+
Tool names (snake_case per MCP convention): `search_docs`, `get_doc_page`, `inspect_project`, `creative_brief`, `creative_accept`, `ux_harness`, `compile_experience`, `experience_sensors`, `plan_harness`, `plan_integration`, `init_compliance`, `check_compliance`, `experience_report`, `record_learning`, `show_learning`, `sync_compliance`, `attest_rule`, `explain_rule`, `init_engagement`, `show_engagement`, `resolve_request`, `run_sensors`, `smoke`, `validate_setup`, `suggest_patch`, `debug_issue`, `design_extract`, `design_check`, `design_contrast`, `design_preview`, `design_reference`, `design_init_tokens`, `get_sdk_facts`.
|
|
279
275
|
|
|
280
|
-
|
|
276
|
+
Most tools mirror the CLI commands above. The adapter still answers the legacy `resolve_request` and `suggest_patch` names for compatibility, but they are deprecated in favour of `plan_integration` plus host-tool edits.
|
|
281
277
|
|
|
282
278
|
## CI Compliance
|
|
283
279
|
|