humanish 0.104.3 → 0.105.0

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/dist/run.js CHANGED
@@ -23,7 +23,7 @@ import { inspectVerifiedGitWorkspace } from "./core/git-workspace.js";
23
23
  import { mapWithConcurrency } from "./concurrency.js";
24
24
  import { screenshotEvidenceError } from "./image-evidence.js";
25
25
  import { buildObserverData } from "./observer-data.js";
26
- import { parseResolvedPersona, personaToDirectives, renderPersonaPromptSection } from "./persona.js";
26
+ import { personaBrief, parseResolvedPersona, personaToDirectives, renderPersonaPromptSection } from "./persona.js";
27
27
  import { round6 } from "./pricing.js";
28
28
  import { loadStudyAnalysis, listStudyAnalysisExecutions } from "./study-analysis-store.js";
29
29
  import { isStudyAnalysisRecordPath, studyAnalysisSharingProblems } from "./study-analysis-sharing.js";
@@ -1530,6 +1530,7 @@ function buildLocalCodexAppServerBundle(args) {
1530
1530
  ? getActor("codex-app-server").toActorTrace(result, {
1531
1531
  id: args.persona.id,
1532
1532
  traitsApplied: personaToDirectives(args.resolvedPersona).traitsApplied,
1533
+ brief: personaBrief(args.resolvedPersona),
1533
1534
  promptDigest: result.trace.promptDigest
1534
1535
  })
1535
1536
  : undefined;
@@ -3452,7 +3453,8 @@ async function loadDryRunSelection(projectRoot, humanishSource) {
3452
3453
  resolvedPersona = parseResolvedPersona(parsedPersona.value, {
3453
3454
  id: "synthetic-new-user",
3454
3455
  name: "Synthetic New User"
3455
- });
3456
+ }, warnings);
3457
+ resolvedPersona.sourceDigest = digestText(personaText ?? "");
3456
3458
  }
3457
3459
  return {
3458
3460
  ...(browserJourneySelection.journey ? { browserJourney: browserJourneySelection.journey } : {}),