You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
repos install: do not write implicit defaults to user-owned repos.yaml #10030
When repos install first installs a pristine GitHub repository with no declared preset or tracker config, it writes tracker.github.allowed_targets.repos using its default upstream target list into that repository’s repos.yaml entry. The operator did not declare the setting, but the manifest is modified to record a code default.
What should happen
repos install should apply defaults without writing them back to user-owned configuration. repos.yaml should continue to describe explicit operator intent, and dry-run, live, and repeat installs should not add defaults to it.
Context
This appeared during the fresh install for fullsend-playground/bkorren-test PR #3. The current writeback contract is described by #8218 and #8219; #9075 covers tracker-schema migration. This follow-up revisits that writeback behavior.
Reacted by fullsend-ai-triage and fullsend-ai-coder
Triage found the cause in internal/repos/managed_config_writeback.go: EnsureManagedConfigDefaults computes the pristine-install tracker default (installDefaultsFor → config.DefaultIssueTracking) and deliberately persists it into the repo's manifest entry. That is the behavior this issue asks to change. No open PR addresses it.
Things to watch when fixing
The default still has to reach the rendered .fullsend/config.yaml, so it should be applied at render time rather than stored in the manifest. The pristine-only gating must stay, so existing installs don't silently gain widened permissions.
Repeat installs and repos status should not flag the default-derived tracker in the managed overlay as drift when repos.yaml omits it.
The glob carve-out and read-only-manifest error paths exist only to support this writeback, and existing tests and docs for it will need updating.
Proposed test case
Given: a manifest with a pristine GitHub repo entry, no preset, no tracker config
When: install runs as dry-run, then live, then live again
Then: repos.yaml is byte-identical after each run;
the first install renders the default tracker.github.allowed_targets.repos into .fullsend/config.yaml;
the repeat install and status report no drift.
Edge cases: glob-covered repo (no new explicit entry), HTTP(S) read-only manifest (no failure from the default),
non-pristine repo (no default), explicit tracker setting (declared value wins).
This is a bug in the existing contract (from #8218/#8219) rather than a new feature, and the fix does not require CI/workflow file changes.
Next steps:
/fs-code — agent creates a PR to implement this issue
/fs-code <your instruction> — agent implements with your specific guidance
/fs-triage since its the defauklt value, it should reside in the default layers in the code and should not be persisted to either the source configration or the rendered configuration
Updated analysis after the maintainer's follow-up: the default tracker targets should be resolved from the default layers in code and not persisted to either repos.yaml or the rendered .fullsend/config.yaml. This supersedes the earlier suggestion in this thread to write the default into the rendered config at render time. The earlier findings still hold.
Cause:EnsureManagedConfigDefaults → installDefaultsFor in internal/repos/managed_config_writeback.go takes config.DefaultIssueTracking and writes it into the manifest entry. The rendering side also materializes it (config.NewPerRepoConfig, and the GitLab default set in internal/repos/install.go), so those places need review too.
Things to watch when fixing
Repeat installs and repos status must not report drift when the default isn't persisted.
Open design point for maintainers: the pristine-only gate currently keeps existing installs from silently gaining the upstream issue-target permission. Once the default lives only in code defaults, runtime consumers can't tell pristine from non-pristine repos. The implementation should state how that safety property is preserved or deliberately changed.
Proposed test case
Given: a manifest with a pristine GitHub repo entry (no preset, no tracker config)
When: install runs as dry-run, then live, then live again
Then: repos.yaml is byte-identical after each run;
the rendered .fullsend/config.yaml contains no default-derived tracker block;
the effective resolved config still grants the default tracker targets;
the repeat install and status report no drift.
Edge cases: glob-covered repo, HTTP(S) read-only manifest, non-pristine repo,
explicit tracker setting (declared value wins), declared preset/entity config.
No open PR addresses this issue, and the fix does not require CI/workflow file changes.
Next steps:
/fs-code — agent creates a PR to implement this issue
/fs-code <your instruction> — agent implements with your specific guidance
ℹ️ No PR created — agent determined no changes needed
The code agent ran and evaluated issue #10030, but did not produce changes to submit as a pull request.
Reason: Agent did not create a feature branch (current: 'main')
Agent context:
No PR yet: the requested fix needs a change in fullsend-ai/agents first, plus a maintainer design decision. Shipping only this repo's part would break existing behavior.
Upstream change needed (fullsend-ai/agents):scripts/post-triage.src.sh and scripts/post-retro.src.sh (and their generated post-triage.sh / post-retro.sh) build tracker.<provider>.allowed_targets only from .fullsend/config.yaml and config.base.yaml. They have no code-default layer. If install stops writing the default to both repos.yaml and the rendered overlay, as the maintainer asked, new pristine GitHub installs silently lose the fullsend-ai/fullsend / fullsend-ai/agents issue targets. Before that happens, the scripts must apply the default themselves when no layer sets tracker.
Design decision needed (this repo): Today the default comes from EnsureManagedConfigDefaults → installDefaultsFor in internal/repos/managed_config_writeback.go, and the rendered config also gets it from config.NewPerRepoConfig and the GitLab branch in internal/repos/install.go. Moving it into perRepoDefaults.IssueTracking(), which currently returns nil, would:
grant the upstream targets to every repo without a tracker setting, including non-pristine and preset-backed installs. That removes the pristine-only safety gate.
make ResolveEntityConfig / checkLegacyTrackerMix reject repos that declare connections or entity_sources without a tracker.
change the default provider for fullsend issues (ConfigTracker) and the harness CEL config.tracker map for those repos.
not cover GitLab cleanly. Its default is an explicit empty tracker.gitlab policy, and the code-defaults layer has no forge context.
What would unblock this:
Land the agents post-script change above.
A maintainer decides on this issue whether the code default may apply beyond pristine installs, and how it should interact with entity config and the fullsend issues default provider.
Relevant to this issue: The sync looked at how tracker configuration, including the allowed_targets lists, gets written back to user-owned intent files instead of being resolved through the normal configuration layers.
Tracker configuration currently skips the standard configuration layers and writes straight back to user intent files (repos.yaml). That is the writeback this issue describes.
The tracker.jira allow-targets field looks redundant. Permission checks on target systems can go through the existing proxy settings instead of a configuration allow list.
Some teams need to write to both GitHub and Jira at the same time. Any change or schema refactor for multiple targets has to keep that working.
Decision status: needs further discussion. Removing the redundant allow-targets field is the proposed direction, but it is not final yet.
Related: Canonical tracker connection work already resolved in #9907 and #9902. The schema-cutover risk for allow_targets is tracked in #9838.
Related PRs:#9739 (documents config.tracker in managed configuration)
Next steps:
Remove the tracker.jira allow-targets field from the full configuration to get rid of the redundancy.
Check the status of the tracker definition again next week.
Activity
fullsend-ai-triage commentedon Dec 3, 2026
🤖 Finished Triage · ✅ Success · Started 7:46 AM UTC · Completed 7:49 AM UTC
Commit:
ad41a65· View workflow run →Runtime: claude · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $0.17
fullsend-ai-triage commentedon Dec 3, 2026
Triage found the cause in
internal/repos/managed_config_writeback.go:EnsureManagedConfigDefaultscomputes the pristine-install tracker default (installDefaultsFor→config.DefaultIssueTracking) and deliberately persists it into the repo's manifest entry. That is the behavior this issue asks to change. No open PR addresses it.Things to watch when fixing
.fullsend/config.yaml, so it should be applied at render time rather than stored in the manifest. The pristine-only gating must stay, so existing installs don't silently gain widened permissions.repos statusshould not flag the default-derived tracker in the managed overlay as drift whenrepos.yamlomits it.Proposed test case
This is a bug in the existing contract (from #8218/#8219) rather than a new feature, and the fix does not require CI/workflow file changes.
Next steps:
/fs-code— agent creates a PR to implement this issue/fs-code <your instruction>— agent implements with your specific guidancefullsend-ai-coder commentedon Dec 3, 2026
🤖 Code ·⚠️ Cancelled · Started 7:51 AM UTC · Ended 8:10 AM UTC
Commit:
ad41a65· View workflow run →ifireball commentedon Dec 3, 2026
/fs-triage since its the defauklt value, it should reside in the default layers in the code and should not be persisted to either the source configration or the rendered configuration
fullsend-ai-triage commentedon Dec 3, 2026
🤖 Finished Triage · ✅ Success · Started 8:07 AM UTC · Completed 8:09 AM UTC
Commit:
ad41a65· View workflow run →Runtime: claude · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $0.16
fullsend-ai-triage commentedon Dec 3, 2026
Updated analysis after the maintainer's follow-up: the default tracker targets should be resolved from the default layers in code and not persisted to either
repos.yamlor the rendered.fullsend/config.yaml. This supersedes the earlier suggestion in this thread to write the default into the rendered config at render time. The earlier findings still hold.Cause:
EnsureManagedConfigDefaults→installDefaultsForininternal/repos/managed_config_writeback.gotakesconfig.DefaultIssueTrackingand writes it into the manifest entry. The rendering side also materializes it (config.NewPerRepoConfig, and the GitLab default set ininternal/repos/install.go), so those places need review too.Things to watch when fixing
repos statusmust not report drift when the default isn't persisted.Proposed test case
No open PR addresses this issue, and the fix does not require CI/workflow file changes.
Next steps:
/fs-code— agent creates a PR to implement this issue/fs-code <your instruction>— agent implements with your specific guidancefullsend-ai-coder commentedon Dec 3, 2026
🤖 Finished Code · ✅ Success · Started 8:12 AM UTC · Completed 8:15 AM UTC
Commit:
ad41a65· View workflow run →Runtime: claude · Model: opus → claude-opus-5-5 · Effort: high · Cost: $0.81
fullsend-ai-coder commentedon Dec 3, 2026
ℹ️ No PR created — agent determined no changes needed
The code agent ran and evaluated issue #10030, but did not produce changes to submit as a pull request.
Reason: Agent did not create a feature branch (current: 'main')
Agent context:
No PR yet: the requested fix needs a change in fullsend-ai/agents first, plus a maintainer design decision. Shipping only this repo's part would break existing behavior.
Upstream change needed (fullsend-ai/agents):
scripts/post-triage.src.shandscripts/post-retro.src.sh(and their generatedpost-triage.sh/post-retro.sh) buildtracker.<provider>.allowed_targetsonly from.fullsend/config.yamlandconfig.base.yaml. They have no code-default layer. If install stops writing the default to bothrepos.yamland the rendered overlay, as the maintainer asked, new pristine GitHub installs silently lose thefullsend-ai/fullsend/fullsend-ai/agentsissue targets. Before that happens, the scripts must apply the default themselves when no layer setstracker.Design decision needed (this repo): Today the default comes from
EnsureManagedConfigDefaults→installDefaultsForininternal/repos/managed_config_writeback.go, and the rendered config also gets it fromconfig.NewPerRepoConfigand the GitLab branch ininternal/repos/install.go. Moving it intoperRepoDefaults.IssueTracking(), which currently returns nil, would:trackersetting, including non-pristine and preset-backed installs. That removes the pristine-only safety gate.ResolveEntityConfig/checkLegacyTrackerMixreject repos that declareconnectionsorentity_sourceswithout a tracker.fullsend issues(ConfigTracker) and the harness CELconfig.trackermap for those repos.tracker.gitlabpolicy, and the code-defaults layer has no forge context.What would unblock this:
fullsend issuesdefault provider./fs-code. The change here then removes the writeback (including the glob carve-out and read-only-manifest paths), stops rendering the default, adds the code-default layer, and updates the Manage both config files by default in repos install and status #8218/Make repos install manifest-driven and remove persistent-setting flags #8219 tests and docs.Workflow run: https://github.com/fullsend-ai/fullsend/actions/runs/47064019272
Retry with
/fs-codeif appropriate.fullsend-ai-scribe commentedon Dec 3, 2026
Meeting update — 2026-12-03
Relevant to this issue: The sync looked at how tracker configuration, including the
allowed_targetslists, gets written back to user-owned intent files instead of being resolved through the normal configuration layers.repos.yaml). That is the writeback this issue describes.tracker.jiraallow-targets field looks redundant. Permission checks on target systems can go through the existing proxy settings instead of a configuration allow list.Related: Canonical tracker connection work already resolved in #9907 and #9902. The schema-cutover risk for
allow_targetsis tracked in #9838.Related PRs: #9739 (documents
config.trackerin managed configuration)Next steps:
tracker.jiraallow-targets field from the full configuration to get rid of the redundancy.Meeting notes