@polymorphism-tech/morph-spec 10.12.0 → 10.12.1

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/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  > Spec-driven development framework for multi-stack projects. Turns feature requests into implementation-ready code through structured, AI-orchestrated phases.
4
4
 
5
5
  **Package:** `@polymorphism-tech/morph-spec`
6
- **Version:** 10.12.0
6
+ **Version:** 10.12.1
7
7
  **Requires:** Node.js 22+, Claude Code
8
8
 
9
9
  ---
@@ -376,4 +376,4 @@ Code generated by morph-spec (contracts, templates, implementation output) belon
376
376
 
377
377
  ---
378
378
 
379
- *morph-spec v10.12.0 by [Polymorphism Tech](https://polymorphism.tech)*
379
+ *morph-spec v10.12.1 by [Polymorphism Tech](https://polymorphism.tech)*
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "morph-spec",
3
- "version": "10.12.0",
3
+ "version": "10.12.1",
4
4
  "displayName": "MORPH-SPEC Framework",
5
5
  "description": "Spec-driven development with 38 agents and 8-phase workflow for .NET/Blazor/Next.js/Azure",
6
6
  "publisher": "polymorphism-tech",
@@ -174,4 +174,4 @@ Never edited directly — go through CLI commands or `morph-spec update` instead
174
174
 
175
175
  ---
176
176
 
177
- *morph-spec v10.12.0 by Polymorphism Tech*
177
+ *morph-spec v10.12.1 by Polymorphism Tech*
@@ -89,4 +89,4 @@ morph-spec doctor
89
89
 
90
90
  ---
91
91
 
92
- *morph-spec v10.12.0 by Polymorphism Tech*
92
+ *morph-spec v10.12.1 by Polymorphism Tech*
@@ -9,7 +9,7 @@ import {
9
9
  import { contextResult, runStandalone } from '../../shared/hook-response.js';
10
10
  import { appendTelemetryEvent } from '../../shared/telemetry-logger.js';
11
11
  import { readTranscriptUsage, usageDelta } from '../../shared/transcript-usage.js';
12
- import { implementProgress } from '../../shared/report-progress.js';
12
+ import { implementProgress, ownerRef } from '../../shared/report-progress.js';
13
13
  import { scenarioLabel } from '../../shared/owner-words.js';
14
14
  import { SESSION_MARK } from '../../shared/next-step.js';
15
15
 
@@ -54,7 +54,7 @@ export async function run(payload) {
54
54
  if (warnedHashes[name]?.reports !== hash) {
55
55
  warnings.push('📋 Relatório da construção:');
56
56
  for (const w of reportWarnings) warnings.push(` • ${w}`);
57
- warnings.push(`${SESSION_MARK} preencha a coluna evidência em 3-implement/report.md (morph-spec report-check ${name})`);
57
+ warnings.push(`${SESSION_MARK} preencha a prova de cada cenário acima no progresso da construção e confira com \`morph-spec report-check ${name}\` de ${ownerRef(cwd, name, feature)}.`);
58
58
  warnedHashes[name] = { ...warnedHashes[name], reports: hash };
59
59
  try { writeFileSync(warnedHashesPath, JSON.stringify(warnedHashes, null, 2), 'utf-8'); } catch {}
60
60
  }
@@ -4,8 +4,8 @@ import { readFileSync, existsSync, readdirSync } from 'fs';
4
4
  import { dirname, join, resolve } from 'path';
5
5
  import { execSync } from 'child_process';
6
6
  import { stateExists, getActiveFeature, getFeaturePhase } from '../../shared/state-reader.js';
7
- import { implementProgress } from '../../shared/report-progress.js';
8
- import { collectNextSignals, decideNext, retratoOf, sessionLine, SESSION_MARK } from '../../shared/next-step.js';
7
+ import { implementProgress, ownerRef } from '../../shared/report-progress.js';
8
+ import { collectNextSignals, decideNext, retratoOf, SESSION_MARK } from '../../shared/next-step.js';
9
9
  import { featureRef, TESTS } from '../../shared/owner-words.js';
10
10
  import { contextResult, runStandalone } from '../../shared/hook-response.js';
11
11
  import { acquireClaim, foreignClaim, claimAge } from '../../shared/claim-registry.js';
@@ -148,8 +148,8 @@ function featureBlock(dir, slug, fallbackFeature) {
148
148
  try { next = ownSignals ? decideNext(signals) : null; } catch {}
149
149
  const escalate = next?.action === 'escalate';
150
150
  const lines = retratoOf(signals, escalate ? null : next).slice(1);
151
- if (escalate) lines.push(`${SESSION_MARK} ${TESTS} falharam de novo: rode \`morph-spec next ${slug} --json\` antes de agir.`);
152
- else if (next) lines.push(`${sessionLine(next)} (confirme com \`morph-spec next ${slug} --json\` depois de mudar a árvore)`);
151
+ if (escalate) lines.push(`${SESSION_MARK} ${TESTS} falharam de novo: leia \`morph-spec next ${slug} --json\` de ${ref} antes de agir.`);
152
+ else if (next) lines.push(`${SESSION_MARK} o passo exato (ação, comando e how) está em \`morph-spec next ${slug} --json\` de ${ref}; releia depois de mudar a árvore.`);
153
153
  return { ref, lines };
154
154
  }
155
155
 
@@ -197,12 +197,12 @@ function claimBlock(dir, feature, sessionId) {
197
197
  const other = foreignClaim(feature, { gitCommonDir, sessionId });
198
198
  acquireClaim(feature, { gitCommonDir, sessionId, pid: process.pid, path: dir });
199
199
  if (!other) return '';
200
- return `\n⚠️ ATENÇÃO: outra sessão está trabalhando agora nesta mesma funcionalidade (${feature})`
200
+ return `\n⚠️ ATENÇÃO: outra sessão está trabalhando agora nesta mesma funcionalidade: ${ownerRef(dir, feature, null)}`
201
201
  + `\n processo ${other.pid}${other.path ? ` · ${other.path}` : ''} · visto há ${claimAge(other)}`
202
202
  + '\n Duas sessões na mesma funcionalidade apagam o trabalho uma da outra.'
203
203
  + '\n Confirme com quem está na outra sessão antes de continuar, principalmente antes de entregar, arquivar ou apagar.'
204
204
  + `\n${SESSION_MARK} claim vivo de outra sessão; confirme antes de \`finish\`, \`archive\` ou \`delete\`. `
205
- + `Se aquela sessão morreu: morph-spec claim ${feature} --release`;
205
+ + `Se aquela sessão morreu: \`morph-spec claim ${feature} --release\` de ${ownerRef(dir, feature, null)}.`;
206
206
  } catch {
207
207
  return '';
208
208
  }
@@ -4,7 +4,7 @@ description: Guia a criação de uma landing page nova ponta-a-ponta a partir do
4
4
  version: core
5
5
  when_to_use: Use quando for iniciar um novo projeto de LP com o template Umbraco genérico
6
6
  user-invocable: true
7
- cliVersion: "10.12.0"
7
+ cliVersion: "10.12.1"
8
8
  stacks:
9
9
  - umbraco
10
10
  ---
@@ -4,7 +4,7 @@ description: Migra uma landing page existente (React/Vite, Next.js estático ou
4
4
  version: core
5
5
  when_to_use: Use quando o usuário pedir "use /migrate-lp-to-umbraco {projeto}" ou descrever a necessidade de migrar uma LP para Umbraco
6
6
  user-invocable: true
7
- cliVersion: "10.12.0"
7
+ cliVersion: "10.12.1"
8
8
  stacks:
9
9
  - umbraco
10
10
  ---
@@ -4,7 +4,7 @@ description: Implementa o plano aprovado de uma feature morph-spec inteiro nesta
4
4
  version: core
5
5
  when_to_use: Use com o gate do plano aprovado ("/morph-apply {feature}", "implementar feature"), em "/morph-review {feature}" (entra no §5), em "/morph-hotfix {feature}" ou incidente de produção (references/hotfix.md), ou quando `morph-spec next` mandar implement, verify, fix, review ou finish
6
6
  user-invocable: true
7
- cliVersion: "10.12.0"
7
+ cliVersion: "10.12.1"
8
8
  ---
9
9
 
10
10
  # morph-apply
@@ -4,7 +4,7 @@ description: Leva um pedido ou o link de uma issue ao plano aprovado — roteia
4
4
  version: core
5
5
  when_to_use: Use quando uma feature, bug ou chore começar ("/morph-plan {feature}", "/morph-plan <link da issue>", "vamos planejar X"), ou ao retomar uma feature cujo gate plan ainda não foi aprovado
6
6
  user-invocable: true
7
- cliVersion: "10.12.0"
7
+ cliVersion: "10.12.1"
8
8
  ---
9
9
 
10
10
  # morph-plan
@@ -4,7 +4,7 @@ description: Conduz a fase de UI/UX de uma feature com plano aprovado — render
4
4
  version: core
5
5
  when_to_use: Use quando o ramo de design for tomado (morph-spec advance {feature} --design), antes de /morph-apply
6
6
  user-invocable: true
7
- cliVersion: "10.12.0"
7
+ cliVersion: "10.12.1"
8
8
  ---
9
9
 
10
10
  # morph-uiux
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polymorphism-tech/morph-spec",
3
- "version": "10.12.0",
3
+ "version": "10.12.1",
4
4
  "description": "MORPH-SPEC: NLH (Natural Language Harness) for spec-driven development with Claude Code",
5
5
  "keywords": [
6
6
  "claude-code",