chore(typo): retire tous les tirets cadratins/demi-cadratins + garde CI
Some checks failed
CI / Build & test (Node 24) (push) Has been cancelled
CI / Pack & boot smoke (Node 22) (push) Has been cancelled
CI / No em/en dashes (push) Has been cancelled
CI / Build & test (Node 22) (push) Has been cancelled
Deploy site (production) / build-and-deploy (push) Successful in 20s
Some checks failed
CI / Build & test (Node 24) (push) Has been cancelled
CI / Pack & boot smoke (Node 22) (push) Has been cancelled
CI / No em/en dashes (push) Has been cancelled
CI / Build & test (Node 22) (push) Has been cancelled
Deploy site (production) / build-and-deploy (push) Successful in 20s
Remplace les 547 tirets cadratins (U+2014) et demi-cadratins (U+2013) des fichiers versionnés par la ponctuation contextuelle adaptée (point médian, deux-points, virgule, parenthèses ; tiret simple pour les plages), sur 122 fichiers (appli, vitrine, doc, tests, workflows, scripts). Ajoute le job CI « lint-dashes » (git grep -P) qui échoue si un tiret cadratin/demi-cadratin réapparaît, hors logo binaire et captures brutes du terminal (fidélité des fixtures de détection de dialogue).
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env node
|
||||
// Spike S3 (2e passe) — D2..D5 avec commandes hors allowlist, scénarios isolés,
|
||||
// Spike S3 (2e passe) · D2..D5 avec commandes hors allowlist, scénarios isolés,
|
||||
// détection registre + fallback écran. D1 (trust) déjà validé en 1re passe.
|
||||
import { execSync } from 'node:child_process';
|
||||
import { mkdirSync, writeFileSync, rmSync, existsSync } from 'node:fs';
|
||||
@@ -78,7 +78,7 @@ await scenario('d2_permBash', async () => {
|
||||
const S = new ClaudeSession([], d, 'perm-bash2', CAPTURES);
|
||||
try {
|
||||
await S.waitReady();
|
||||
await S.type(`Run this exact bash command and show me its output: node -e "console.log('spike-s3-marker-xyz')" — do not do anything else.`);
|
||||
await S.type(`Run this exact bash command and show me its output: node -e "console.log('spike-s3-marker-xyz')", do not do anything else.`);
|
||||
const det = await waitDialog(S);
|
||||
await sleep(1200);
|
||||
const screen = S.tail(2500);
|
||||
@@ -119,7 +119,7 @@ await scenario('d4_denyEsc', async () => {
|
||||
const S = new ClaudeSession([], d, 'deny-esc2', CAPTURES);
|
||||
try {
|
||||
await S.waitReady();
|
||||
await S.type(`Run this exact bash command and show me its output: node -e "console.log('should-be-denied')" — do not do anything else.`);
|
||||
await S.type(`Run this exact bash command and show me its output: node -e "console.log('should-be-denied')", do not do anything else.`);
|
||||
await waitDialog(S);
|
||||
await sleep(1200);
|
||||
const screenBefore = S.tail(1200);
|
||||
|
||||
Reference in New Issue
Block a user