Skip to content

feat: upgrade persona workflow to collaborative task with shared context#10

Merged
joy7758 merged 1 commit intopersona-multi-workflowfrom
persona-collaboration-workflow
Mar 15, 2026
Merged

feat: upgrade persona workflow to collaborative task with shared context#10
joy7758 merged 1 commit intopersona-multi-workflowfrom
persona-collaboration-workflow

Conversation

@joy7758
Copy link
Copy Markdown
Owner

@joy7758 joy7758 commented Mar 15, 2026

Summary

  • add a shared task context to track persona progress and outputs
  • upgrade the workflow demo from parallel task printing to sequential handoff
  • have downstream personas read prior results from the shared context

Validation

  • ran Task: Market Research & Design Collaboration
    Starting Task:
    Designing with skills: UI Design, UX Research, Prototyping, Adobe XD, Figma
    Researching with skills: literature search, information synthesis, technical explanation | informed by: Designing with skills: UI Design, UX Research, Prototyping, Adobe XD, Figma
    Marketing with skills: copywriting, campaign design, product positioning | built on: Researching with skills: literature search, information synthesis, technical explanation | informed by: Designing with skills: UI Design, UX Research, Prototyping, Adobe XD, Figma

Task: Market Research & Design Collaboration
Progress:
Design Persona: Designing
Research Persona: Researching
Marketing Persona: Marketing
Results:
Design Persona: Designing with skills: UI Design, UX Research, Prototyping, Adobe XD, Figma
Research Persona: Researching with skills: literature search, information synthesis, technical explanation | informed by: Designing with skills: UI Design, UX Research, Prototyping, Adobe XD, Figma
Marketing Persona: Marketing with skills: copywriting, campaign design, product positioning | built on: Researching with skills: literature search, information synthesis, technical explanation | informed by: Designing with skills: UI Design, UX Research, Prototyping, Adobe XD, Figma

Notes

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: fb4e548918

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

def research_task(persona) -> str:
return f"Researching with skills: {', '.join(persona.skills)}"
def research_task(persona: Persona, context: TaskContext) -> str:
design_result = context.get_result(design_persona.name)
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Resolve research dependency from workflow input, not global persona

research_task reads the prerequisite output using the module-level design_persona.name, so the collaborative handoff breaks whenever this function is reused with a different design persona/key in the same TaskContext (it will report no upstream result even after design work was recorded). This makes the new shared-context workflow incorrect outside the single hard-coded persona set.

Useful? React with 👍 / 👎.

def marketing_task(persona) -> str:
return f"Marketing with skills: {', '.join(persona.skills)}"
def marketing_task(persona: Persona, context: TaskContext) -> str:
research_result = context.get_result(research_persona.name)
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Resolve marketing dependency from workflow input, not global persona

marketing_task pulls prior context via the module-level research_persona.name, so any workflow variant that runs marketing after a different research persona/key will silently lose the expected handoff (built on data is omitted despite available context). This introduces incorrect behavior in the new shared-context design whenever personas are not the hard-coded globals.

Useful? React with 👍 / 👎.

@joy7758 joy7758 merged commit 0e92da1 into persona-multi-workflow Mar 15, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant