flows, listing translate, scan 2.2 + --originality, prices export with subscriptions, site sections
- storebound flow list|validate|run: repo-local workflows (store/workflows/*.yml, storebound.workflows.*), writes dry unless --apply, owner steps never run, --from / --resume; init templates for app and game; MCP flow_list + dry flow_run; release-flows skill - storebound listing translate|check|reviewed: per-language listing drafts with store limits and keyword rules, agent or --translate hook, marked until reviewed; MCP listing_translate / listing_check; listing-localization skill - scan: Apple 2.2 beta/demo/test wording rule; scan --originality [--against] - prices export includes subscriptions; prices import skips their rows - site: rejection scan section, Desktop app section with fixture-mode screenshots, Everything else grid, FAQ 4.3 answer - README, CHANGELOG, adapters, API tables
This commit is contained in:
parent
e44897ca4e
commit
526dfd3b09
45 changed files with 2176 additions and 53 deletions
|
|
@ -142,4 +142,21 @@ describe('originality report', () => {
|
|||
expect(none.exitCode).toBe(1);
|
||||
expect(none.stderr.toString()).toContain('nothing to compare with');
|
||||
});
|
||||
|
||||
test('scan --originality adds the 4.3 / repetitive content findings to the scan report', () => {
|
||||
const scan = (args: string[]) => Bun.spawnSync([process.execPath, join(ROOT, 'cli/index.ts'), 'scan', ...args], { cwd: me, stdout: 'pipe', stderr: 'pipe' });
|
||||
const j = JSON.parse(scan(['--originality', '--against', '..', '--json']).stdout.toString());
|
||||
const f = j.findings.filter((x: { rule: string }) => x.rule === 'originality');
|
||||
expect(f.length).toBeGreaterThan(0);
|
||||
expect(f[0].guideline).toBe('4.3');
|
||||
expect(f[0].title).toContain('Candy Merge Garden');
|
||||
expect(f[0].skill).toBe('portfolio-originality');
|
||||
expect(j.originality.flagged).toBe(1);
|
||||
expect(j.originality.pairs.map((p: { app: string }) => p.app)).toEqual(['Candy Merge Garden', 'Pace Runner']);
|
||||
const txt = scan(['--originality', '--against', '../pace']).stdout.toString();
|
||||
expect(txt).toContain('Originality (4.3 / Play repetitive content): 1 app(s) compared, 0 near-duplicate(s)');
|
||||
const plain = JSON.parse(scan(['--json']).stdout.toString());
|
||||
expect(plain.originality).toBeUndefined();
|
||||
expect(plain.findings.some((x: { rule: string }) => x.rule === 'originality')).toBe(false);
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue