Skip to content

Stale mapping: extras-to-your-tour.summary has no matching section #139

Description

@deanleigh

The Tailored Tour PDF workflow reports:

WARN: source 'extras-to-your-tour.summary' not found in transform.json (orphaned source)

This one is genuine, unlike the $sourceFile warning alongside it, which was a validation bug and is fixed.

A mapping points at a section part that is not in the workflow's transform.json. Either the mapping is stale and should go, or the section was lost and should come back.

Surfaced by the list-workflows MCP tool (#130), which reports validation warnings in its output. It has presumably been in the startup log for a while without anyone reading it.

Worth knowing before fixing

The Extras section is one of the two extraction problems noted during the Tailored Travel migration: the price caveat ("Price based on twin share…") extracts correctly but lands at the end of the Extras body rather than in the summary slot.

A mapping targeting extras-to-your-tour.summary suggests someone intended the summary to be filled and it never was. So this may not be a stale mapping to delete — it may be the mapping that was supposed to solve exactly that problem, pointing at a section part the transform does not produce.

Worth understanding which before removing anything.

Done when

  • Established whether the section part should exist or the mapping should go
  • Whichever it is, done, and the workflow validates clean
  • If the price caveat was the intent, noted whether this fixes it or is separate

Refs #130.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions