Skip to content

Link a split by substance to the groups page - #879

Open
ccomb wants to merge 2 commits into
mainfrom
groups-flow-link
Open

ccomb wants to merge 2 commits into
mainfrom
groups-flow-link

Conversation

@ccomb

@ccomb ccomb commented Nov 26, 2026 •

Copy link
Copy Markdown
Owner

The group tools (get_group_contributions, get_group_members, get_group_flows) gave no web_url once a group kept a substance, because the web app's groups page could not read one.

The link now spells a substance the way the page reads it:

  • g1-flow-name=<substance>
  • g1-flow-match=contains only when the name is read as text in the flow's name (the default reading is left out, so each split has one spelling)
  • g1-flow-medium=<compartment>

It also says reading=own whenever a group keeps a substance, since that is the reading the engine split it in, even when the request named no reading.

The groups page learns to read these keys in the same release; until the web app ships it, such a link would open without its substances, so this should not be released ahead of it.

To check: MCPEnrichSpec pins the query for a group of a process and a substance read as contained text in air, a substance alone, and a compartment alone; DependencyLicenceSpec checks that the three group tools now give a link with reading=own and g1-flow-name.

The groups tools gave no web_url once a group kept a substance, since the page could not read one. The address now spells the substance a group keeps (g1-flow-name, g1-flow-match for contains, g1-flow-medium) and says reading=own whenever a group keeps one, the reading the engine split it in.
@ccomb ccomb added the agent-reviewed pr-cycle ran label Nov 26, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent-reviewed pr-cycle ran

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant