Skip to content

Decouple DefenceMechanism from prompt enclosure defence type #745

Open
@chriswilty

Description

@chriswilty

In #720 the prompt enclosure defence was augmented to include different types of enclosure - xml tagging and random-sequence enclosure at this stage. However, in doing so the previously generic DefenceMechanism component now needs to know specifically about random sequence enclosure defences, as it renders those differently to the "ungrouped" defences.

This issue in the first instance needs some design, to work out how best to remove that knowledge from DefenceMechanism and return it to a generic, dumb display component.

Metadata

Metadata

Assignees

No one assigned

    Labels

    frontendRequires work on the frontendrefactorImprove code quality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions