Skip to content

Add Control proxy configuration management - #1596

Open
BenCodez wants to merge 7 commits into
masterfrom
codex/control-console-foundation
Open

Add Control proxy configuration management#1596
BenCodez wants to merge 7 commits into
masterfrom
codex/control-console-foundation

Conversation

@BenCodez

Copy link
Copy Markdown
Owner

Summary

  • add a bounded, revisioned, secret-masked bungeeconfig.yml Control capability for proxy nodes
  • preserve durable write-ahead result recovery, permissions, atomic publication, rollback, and explicit restart-required semantics
  • reload only the backend proxy handler for coordinated proxy-method changes while retaining acknowledged proxy runtime replacement
  • expose bounded allow-listed stored player fields through exact-player inspection
  • add regression coverage for role/capability boundaries, masking, large durable results, lost acknowledgements, and rollback

Paired Control UI/API PR will target BenCodez/VotingPlugin-Control from the same branch name.

Local verification

  • mvn -B -s /root/dev/.maven-votingplugin-settings.xml -f VotingPlugin/pom.xml clean verify — 520 tests passed
  • git diff --check — passed

Compatibility and safety

  • Control remains optional and outside vote-processing/startup paths
  • the new capability is negotiated independently as config.proxy-files.v1
  • only the fixed proxy bungeeconfig.yml path is accepted
  • general proxy-file saves do not hot-reload the proxy; they report restart required
  • no credential values are returned to Control

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Aug 31, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-01T02:28:29.088710Z a1217a5 Manual request
🔒 Security Review Completed 2026-08-31T23:07:51.921528Z c39a934 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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

Copy link
Copy Markdown

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: c39a934954

ℹ️ 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".

@BenCodez

Copy link
Copy Markdown
Owner Author

@codex review

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

Copy link
Copy Markdown

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: 3d948d817d

ℹ️ 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".

@BenCodez

Copy link
Copy Markdown
Owner Author

@codex review

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

Copy link
Copy Markdown

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: 3b3c3735aa

ℹ️ 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".

@BenCodez

BenCodez commented Sep 1, 2026

Copy link
Copy Markdown
Owner Author

@codex review

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

Copy link
Copy Markdown

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: c8d35fedbd

ℹ️ 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".

@BenCodez

BenCodez commented Sep 1, 2026

Copy link
Copy Markdown
Owner Author

@codex review

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

Copy link
Copy Markdown

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: 4b023c6eac

ℹ️ 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".

@BenCodez

BenCodez commented Sep 1, 2026

Copy link
Copy Markdown
Owner Author

@codex review

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

Copy link
Copy Markdown

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: a1217a572e

ℹ️ 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 +1154 to +1157
private static TaskResult fileIntent(String fileName, String revision, List<String> changes) {
JsonObject configuration = new JsonObject();
configuration.addProperty("domain", "file");
configuration.addProperty("fileName", fileName);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Rebuild masked content for recovered proxy-file results

When the proxy exits after the atomic file publication but before the final result replaces this write-ahead intent, recovery recognizes the installed revision and marks the intent committed unchanged. Because this configuration contains only domain and fileName, the recovered success sent to Control omits the masked content required by docs/control-agent-contract.md:34-39, so Control cannot persist the promised redacted snapshot and may reject an operation whose file was already changed. Rebuild the successful result from fileConfigurationService.read(...) during recovery while retaining only metadata before publication.

AGENTS.md reference: AGENTS.md:L56-L61

Useful? React with 👍 / 👎.

public final class ControlConnector implements AutoCloseable {
static final int PROTOCOL_VERSION = 1;
static final int MAX_RESPONSE_BYTES = 64 * 1024;
static final int MAX_RESPONSE_BYTES = 4 * 1024 * 1024;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Align the documented proxy response limit

For every proxy connector deployment, this changes the enforced response-body limit from 64 KiB to 4 MiB, but docs/control-connector.md:142-149 still states that proxy responses are capped at 64 KiB and explicitly tells operators not to raise that bound. The new proxy-file section later claims a shared 4 MiB envelope, leaving the deployment guide internally contradictory; update the timing-bounds section alongside this protocol-limit change.

AGENTS.md reference: AGENTS.md:L151-L158

Useful? React with 👍 / 👎.

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.

1 participant