Skip to content

Conversation

@Gladdonilli
Copy link
Contributor

@Gladdonilli Gladdonilli commented Jan 10, 2026

Summary

  • Makes git_master config (commit_footer, include_co_authored_by) actually work
  • Config values are now injected into the git-master skill template at load time

Problem

The git_master config was defined in schema but never consumed. Users setting include_co_authored_by: false had no effect.

Solution

  • Added injectGitMasterConfig() in skill-content.ts that prepends config values as a header to the git-master skill template
  • Passed gitMasterConfig through SisyphusTaskToolOptionsresolveMultipleSkills()
  • Config header explicitly tells the agent whether footers/co-author are enabled or disabled

Files Changed

File Change
skill-content.ts Added config injection logic
tools.ts Accept and pass gitMasterConfig
index.ts Pass pluginConfig.git_master to tool

Summary by cubic

Fixes git_master so commit_footer and include_co_authored_by settings take effect by injecting user config into the git-master skill prompt at load time. The agent now knows whether to add footers and Co-authored-by lines.

  • Bug Fixes
    • Added injectGitMasterConfig() to prepend a config header to the git-master template.
    • Passed gitMasterConfig through SisyphusTask options into resolveMultipleSkills().
    • index.ts now forwards pluginConfig.git_master to the tool.

Written for commit 8124670. Summary will update on new commits.

The git_master config (commit_footer, include_co_authored_by) was defined
in schema but never consumed. Now the config values are injected into the
git-master skill template at load time, making the settings actually work.
Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

Copy link

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 3 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8124670251

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines 49 to +52
const template = skillMap.get(name)
if (template) {
resolved.set(name, template)
if (name === "git-master" && options?.gitMasterConfig) {
resolved.set(name, injectGitMasterConfig(template, options.gitMasterConfig))

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Propagate git_master config to all skill injection paths

This injection only happens when callers supply gitMasterConfig, but other places that prepend skills (e.g. buildAgent for agents.*.skills in src/agents/utils.ts:66-68) still call resolveMultipleSkills without options. That means a user who sets git_master.include_co_authored_by: false and adds the git-master skill to an agent override will still get the default footer/trailer behavior. Consider threading gitMasterConfig through those callers so the config applies consistently wherever git-master skill content is injected.

Useful? React with 👍 / 👎.

@code-yeongyu code-yeongyu merged commit 05cd133 into code-yeongyu:dev Jan 11, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants