Problem
The SLF Training Profiles v1 helper block is currently displayed on:
https://slf.fm/train.php?action=team
This is incorrect.
Required behavior
The SLF Training Profiles v1 block must be displayed only on the final/main training URL:
It must not be displayed on any URL with a query string, including:
/train.php?action=team
/train.php?action=player
/train.php?action=...
Scope
Module: Team Management
Allowed scope:
- Only the page-detection/render guard for the Training Profiles helper block.
Forbidden:
- Do not change training profile values.
- Do not change business logic of training recommendations.
- Do not touch Transfer Analyzer.
- Do not touch Strategy Data.
- Do not modify release artifacts.
- Do not bump version from the module branch.
- Do not commit secrets/tokens.
Expected implementation direction
Find the module that renders SLF Training Profiles v1 and require strict URL matching:
const isTrainingMainPage = () => {
return /\/train\.php$/i.test(location.pathname || '') && !(location.search || '');
};
Equivalent implementation is acceptable if it requires:
- pathname ends with
/train.php;
location.search is empty.
Acceptance criteria
- On
https://slf.fm/train.php, the SLF Training Profiles v1 block is displayed.
- On
https://slf.fm/train.php?action=team, the block is not displayed.
- On any
/train.php?action=*, the block is not displayed.
- Team training page content remains functional.
Required agent flow
Team Management Agent must:
- Work by
contracts/branches/team-management.md.
- Perform Branch Freshness Check before implementation.
- Return
COPY-READY MESSAGE FOR CORE RELEASE AGENT after implementation.
Problem
The
SLF Training Profiles v1helper block is currently displayed on:This is incorrect.
Required behavior
The
SLF Training Profiles v1block must be displayed only on the final/main training URL:It must not be displayed on any URL with a query string, including:
Scope
Module: Team Management
Allowed scope:
Forbidden:
Expected implementation direction
Find the module that renders
SLF Training Profiles v1and require strict URL matching:Equivalent implementation is acceptable if it requires:
/train.php;location.searchis empty.Acceptance criteria
https://slf.fm/train.php, theSLF Training Profiles v1block is displayed.https://slf.fm/train.php?action=team, the block is not displayed./train.php?action=*, the block is not displayed.Required agent flow
Team Management Agent must:
contracts/branches/team-management.md.COPY-READY MESSAGE FOR CORE RELEASE AGENTafter implementation.