IntelligenceX
Class

ToolWriteGovernanceContract

Namespace IntelligenceX.Tools
Assembly IntelligenceX
Modifiers sealed

Declares write-governance requirements for a tool definition.

Inheritance

  • Object
  • ToolWriteGovernanceContract

Constructors

public ToolWriteGovernanceContract() #

Methods

public Boolean HasExplicitConfirmation(JsonObject arguments) #
Returns: Boolean

Returns true when explicit confirmation requirement is satisfied.

Parameters

arguments IntelligenceX.Json.JsonObject requiredposition: 0
public Boolean IsWriteRequested(JsonObject arguments) #
Returns: Boolean

Returns true when provided arguments request write intent.

Parameters

arguments IntelligenceX.Json.JsonObject requiredposition: 0
public Void Validate() #
Returns: Void

Validates the contract and throws when invalid.

Properties

public Boolean IsWriteCapable { get; set; } #

True when the tool can perform mutating/write actions.

public Boolean RequiresGovernanceAuthorization { get; set; } #

True when external governance authorization is required for write execution.

public String GovernanceContractId { get; set; } #

Stable governance contract identifier.

public ToolWriteIntentMode IntentMode { get; set; } #

Strategy used to detect write intent from arguments.

public String IntentArgumentName { get; set; } #

Argument name used by IntentMode.

public String IntentStringValue { get; set; } #

Required value for StringEquals.

public Boolean RequireExplicitConfirmation { get; set; } #

True when explicit confirmation argument must be present for write intent.

public String ConfirmationArgumentName { get; set; } #

Confirmation argument name. Expected to be boolean true.

Fields

public const String DefaultContractId #

Default governance contract id for IX write authorization.

Value: ix.write-governance.v1