Problem
Factory did not ingest a GitHub issue that exists in relayfile cloud because the issue path uses the owner__repo shape.
Test case:
/github/repos/AgentWorkforce__relayfile-adapters/issues/by-id/222.json
Payload includes the expected label:
{
"title": "Telegram: add ergonomic telegramClient + fill catalog/receipt gaps to match slack/linear/github",
"labels": ["factory"]
}
But factory factory loop --config ./factory.config.json --dry-run completed without mirroring or reporting this issue.
Likely cause
githubIssuePathParts() appears to accept split owner/repo paths like:
/github/repos/<owner>/<repo>/issues/by-id/<number>.json
but not compact relayfile paths like:
/github/repos/<owner>__<repo>/issues/by-id/<number>.json
PR paths have some support for owner__repo elsewhere, but issue ingestion seems to miss it.
Expected behavior
Factory should ingest factory-labeled GitHub issues from both relayfile GitHub path shapes, if both are valid mount outputs:
/github/repos/<owner>/<repo>/issues/...
/github/repos/<owner>__<repo>/issues/...
Acceptance criteria
githubIssuePathParts() and related read-candidate logic parse owner__repo issue paths.
factory run-once --dry-run sees AgentWorkforce__relayfile-adapters/issues/by-id/222.json as a GitHub issue.
- A factory-labeled issue at that path is mirrored/routed to repo label
relayfile-adapters.
- Add regression coverage for
by-id, flat JSON, and nested meta.json/metadata.json shapes where applicable.
Problem
Factory did not ingest a GitHub issue that exists in relayfile cloud because the issue path uses the
owner__reposhape.Test case:
factoryPayload includes the expected label:
{ "title": "Telegram: add ergonomic telegramClient + fill catalog/receipt gaps to match slack/linear/github", "labels": ["factory"] }But
factory factory loop --config ./factory.config.json --dry-runcompleted without mirroring or reporting this issue.Likely cause
githubIssuePathParts()appears to accept split owner/repo paths like:but not compact relayfile paths like:
PR paths have some support for
owner__repoelsewhere, but issue ingestion seems to miss it.Expected behavior
Factory should ingest factory-labeled GitHub issues from both relayfile GitHub path shapes, if both are valid mount outputs:
/github/repos/<owner>/<repo>/issues/.../github/repos/<owner>__<repo>/issues/...Acceptance criteria
githubIssuePathParts()and related read-candidate logic parseowner__repoissue paths.factory run-once --dry-runseesAgentWorkforce__relayfile-adapters/issues/by-id/222.jsonas a GitHub issue.relayfile-adapters.by-id, flat JSON, and nestedmeta.json/metadata.jsonshapes where applicable.