Systems and records
Comment authority in dataset context: was that remark an instruction?
By SourceX Editorial · Updated
10 sections
Short answer
To settle comment authority in dataset context, label each span that reads like a directive on separate facts: the writer's role when it was written, the act it performs, and the record showing authority for that act on that version. Wording settles none of them. Only a span backed by an approval, permission or delegation record is an authorized instruction; the rest stay comments, requests, reported or unconfirmed.
Provenance trail
Comment authority dataset
Key takeaways
- Grammar misleads both ways: imperatives come from people without authority, and real approvals often read like casual assent.
- Authority lives in structure, such as an approval action, a permission or a delegation record, not in the comment text.
- An approval belongs to a version and a scope; GitHub's stale-approval setting and the Linux kernel's tag rules both void it when the object changes.
- Converted assent and reported authority need their own statuses, because neither proves an original approval.
- Settle authority with the fewest records that decide it; whole org charts and chat exports add linkage risk faster than proof.
What separates a comment from an authorized instruction in a record?
Authority, and authority is a fact about the writer, the act and the records around the text, never about its wording. A comment offers a view or asks for something; an authorized instruction comes from someone permitted to direct that action, on that object, at that time, and a record shows the permission.
Business records mix the two constantly. In a support ticket, a sales director writes just waive the fee for them, an agent waives it, and the finance approval the policy calls for never appears. In a pull request, a senior engineer comments ship it, while the only approval that counts under branch protection arrives from someone else an hour later. A model trained on such threads without labels learns that the most confident voice decides.
AI developers already train models to weigh instructions by where they come from. Wallace and colleagues (2024) describe training models to give system messages priority over user messages, and user messages priority over third-party content such as tool outputs, so that models learn to ignore instructions injected into lower-priority content. Business records labeled for internal authority carry the same idea inside a workflow, among the people in it.
That is the scope of this page: colleagues, managers, reviewers and maintainers. Text from customers, vendors and retrieved documents raises a different question, covered in the guide to agent instruction hierarchy in business datasets, where outside content is evidence rather than instruction.
Why wording misleads in both directions
Imperative grammar makes a sentence look like a directive without giving it any force, and casual phrasing hides real approvals, so classifying spans by wording produces errors on both sides. A guide that keys on words such as approve, please or go ahead will mislabel a large share of spans.
False positives come from people who sound in charge: a peer on another team writing escalate this today, or a stakeholder's request phrased as a settled fact. False negatives come from approvals that look like small talk, such as fine by me, +1, a thumbs-up reaction, or a one-word LGTM from the person whose sign-off the process actually requires.
Annotation standards already treat what an utterance does as its own label. ISO 24617-2:2020 sets out concepts and a markup language for annotating dialogue acts, and its current edition allows domain-specific extensions. A dialogue-act label, request, suggest, instruct, approve or inform, is the right first field. Authority then needs evidence that the text alone cannot supply.
Where authority actually lives: approval actions, permissions and delegations
Authority appears in structure that a platform or an organization controls: an approval action stored apart from comments, a permission that decides whose approval counts, and a delegation record that moves authority for a period. Where none of these exists for a span, the dataset cannot call it authorized.
GitHub draws the line in its product. A reviewer submitting a review picks Comment, Approve or Request changes, and GitHub's documentation describes Comment as general feedback without explicitly approving or requesting changes. With required reviews on a protected branch, a pull request needs approval from the required number of reviewers with write permissions, and code owners must themselves have write permissions. A comment from anyone, however senior, does not meet that rule.
Enterprise tools separate the same things. Salesforce's object reference describes ProcessInstanceStep as one work item in an approval process, an object of its own rather than a comment or post on the record being approved. Organizations write the rules those tools enforce; the U.S. Government Accountability Office's internal control standards treat assigning responsibility and delegating authority as a principle of internal control in its own right.
For a dataset, the consequence is mechanical: link each directive span to the approval, permission or delegation record that could make it binding. If that record is absent, the span keeps a lower status however authoritative it sounds.
Approvals cover a version and a scope, not a whole thread
An approval covers the version that was approved and the part its giver was responsible for, so every authorized span must be bound to an object state and a scope. Authority granted for draft 2 says nothing about draft 3.
GitHub records the state of the diff when a pull request is approved, and an optional branch setting dismisses the approval as stale when later pushes change that diff; the pull request then cannot merge until someone approves again. The Linux kernel reaches the same place by convention. Its submitting-patches guide says Reviewed-by and Tested-by tags travel to the next version of a patch, but if the patch changed substantially they may no longer apply and should be removed.
Scope is the second boundary. The same kernel guide says an Acked-by from one subsystem maintainer on a patch that touches several subsystems usually acknowledges only the part affecting that maintainer's code. On GitHub, a code owner's required approval attaches to the files that owner covers. In a business thread, a manager's okay on the delivery date does not authorize the price change proposed two messages later.
Converted assent and reported authority
Two patterns sit between comment and instruction and need labels of their own: assent that someone else formalized, and authority that is only claimed. Folding either into authorized instruction overstates what the record proves.
Converted assent is documented practice in kernel development. The submitting-patches guide notes that patch mergers will sometimes manually convert an acker's 'yep, looks good to me' into an Acked-by:, and adds that it is usually better to ask for an explicit ack. Business systems do the same when an agent closes an approval task citing a manager's chat reply. Label the span converted, record who converted it and from which message, and keep the original words.
Reported authority is a span that asserts somebody else's approval, such as per Dana, go ahead or the VP agreed on the call. It is a pointer to an approval that may exist, not the approval. Label it reported and look for the underlying record, inside the approved scope of the packet, before giving it any weight.
The kernel's rules also show why labels that upgrade a person's words need care. Apart from Cc:, Reported-by: and Suggested-by:, its tags need explicit permission of the person named. A dataset label that turns someone's comment into an approval attributes a commitment to them in the same way.
Six authority statuses for directive spans
Label every span that could be read as directing work with five separate fields: the writer's role at the time, the act, the authority basis, the scope and version it covers, and the resulting status. Spans that only report facts need no authority fields.
The status vocabulary is deliberately small. Each status follows from the authority basis rather than from how the span reads, and each has a defined use in training or evaluation:
| Status | Authority basis required | Example span (Illustrative) | Use in the dataset |
|---|---|---|---|
| Authorized instruction | An approval action, permission or delegation record covering this act, object, scope and version | An Approve review from a required reviewer on the current diff | Train and evaluate what an agent may act on |
| Converted approval | A third party formalized the writer's assent; both records are kept | An approval task closed citing a manager's chat reply | Usable with the conversion visible; left out of strict authority tests |
| Reported authority | The span claims another person's approval and no underlying record was found | Per the regional manager, go ahead with the credit | Teaches verification: the right move is to look for the approval |
| Unconfirmed instruction | Directive wording from a role that may hold authority, with no record either way | Ship it, from a team lead who submitted no review | Evaluation of abstention; never a positive training label |
| Comment or request | The writer lacks authority for this act, or the role rules it out | Just waive the fee, from a sales director outside the approval chain | Context, and a negative example when an action followed it |
| Superseded | Was authorized, but the object or scope changed or the approval was withdrawn | An approval dismissed as stale after a new push | Teaches that authority belongs to a version |
Annotated packet (illustrative): a fee waiver decided across a ticket thread
The case is invented to show the labels at work and describes no company. A customer asks a support team to waive late fees. Policy version 4, effective in January, lets a team lead approve tier 1 waivers; tier 2 waivers need a finance approver, recorded in the ticketing tool's approval history.
The thread runs over two days. The team lead approves a waiver for one invoice; the customer then adds a second invoice, which moves the total into tier 2, and the agent applies the full waiver the next morning. The packet holds the five directive or scope-changing spans and nothing else:
| Span (Illustrative) | Writer role then | Act | Authority evidence | Status |
|---|---|---|---|---|
| Please waive the late fee on invoice 1 | Customer | Request | Outside the approval chain by role | Comment or request |
| Just waive it, they are a key account | Sales director | Instruct | Not an approver for waivers under policy v4 | Comment or request |
| Approved: waiver for invoice 1 | Team lead | Approve | Approval task completed; tier 1 sits within the team lead's limit | Authorized, then superseded when the scope grew |
| Adding invoice 2 to the waiver | Support agent | Inform | Moves the total into tier 2, which needs finance | Not directive; triggers the scope check |
| Finance said fine on chat, applying now | Support agent | Inform | Claims a finance approval; none in the approval history | Reported authority |
Context completeness map for the waiver packet
The map states which authority facts the packet proves and which it leaves open, so the case is used only for questions it can answer. Here the records prove that the team lead's approval covered the first invoice alone and that the approval history holds no finance approval; they cannot prove that nobody in finance agreed informally.
That gap sets the task. The fair question is whether the record shows authority for the full waiver, and the correct answer is that it does not. Asking whether the agent broke policy goes past the evidence:
| Authority fact | Status (Illustrative) | Record that settles it | If it stays open |
|---|---|---|---|
| Policy version and tiers in force | Present | Policy v4 with its effective date | Not open |
| Writer roles on the ticket dates | Present, as role tokens | Role history as of the ticket dates | Not open |
| Team lead approval and its scope | Present | Approval task tied to invoice 1 | Not open |
| Finance approval for the full amount | Missing | Approval history searched; none found | Label the waiver authority not shown |
| Informal agreement in finance chat | Withheld from search | Outside the packet's approved scope | Record the gap; infer neither agreement nor refusal |
How much surrounding context does an authority label need?
Only the records that settle the five fields for the spans in question: the policy version, the writers' roles on those dates and the approval history for the object. Pulling in full org charts, mailboxes or chat exports to be thorough adds noise and linkage risk faster than it adds proof.
The noise cost is measured, not hypothetical. Shi and colleagues (2023) found model performance dramatically decreased when irrelevant information was added to otherwise solvable problems. A packet that carries a whole chat channel to prove one approval asks the model to find the single line that matters among hundreds that do not, and teaches it that being near a decision is the same as making it.
Linkage risk rises with each join. Role histories, reporting lines and message metadata are exactly the fields that make a de-identified packet traceable, especially in small teams where a role names a person. Prefer role tokens and authority tiers to named reporting chains, and search informal channels only for a specific claimed approval inside the packet's approved scope.
Which threads to admit, and how to request them
Admit a thread for authority tasks only when every directive span carries a status and every authorized instruction links to a record covering the version that was acted on. Threads that fall short can still teach other things, as long as their limits travel with them.
At a glance
Which threads to admit, and how to request them
SourceX keeps no shelf of labeled threads; it sources records from U.S. businesses for each request. On the request-data form a team says which records it needs, how many, in what language and format, when, and on what license terms; for this work it helps to add the status vocabulary, the role-at-the-time rule and an acceptance test, such as two labelers agreeing on status for a random sample of directive spans before anyone scales up. The rules that decide admission:
Checklist · 5 items
- Authority tasks: every directive span has a status, and each authorized instruction links to an approval, permission or delegation record for the version acted on.
- Context only: writer roles are known but authority records are missing. Such threads can teach summarizing and routing requests, not who may direct an action.
- Hold: writer roles at the time cannot be established, or the policy version in force is unknown.
- Known limit: records capture recorded authority. Organizations also run on spoken approvals, which these labels will undercount; say so in the data card instead of guessing.
- Next evidence: on a random sample, the share of directive spans backed by an authority record, and agreement between two labelers on status, measured before the dataset grows.
0 of 5 ticked. Tick each item as you go.
Frequently asked questions
Is an LGTM comment the same as an approval?
Not by itself. On GitHub, an approval is a review decision recorded separately from comments, and required reviews count only approvals from reviewers with write permissions. Linux kernel maintainers sometimes convert a 'looks good to me' into an Acked-by tag, but their own guide says asking for an explicit ack is usually better, so a dataset should label such conversions rather than treat them as original approvals.
Should a dataset use a person's current job title to judge authority?
No. Authority depends on the role a person held when the span was written, and on the limits and delegations in force that day. Using today's org chart for last year's thread upgrades or downgrades spans silently, so role history as of the event date is the evidence to request.
What if the approval was given verbally?
Then the record shows, at most, a span that reports it. Label it reported authority or unconfirmed instruction, record the gap, and do not infer either agreement or refusal. The dataset's claims stay limited to what was recorded.
How is this different from labeling prompt injection in agent inputs?
Prompt-injection labeling concerns content from outside the workflow, such as customer messages, web pages and tool outputs, which should never instruct an agent. This page concerns people inside the workflow, where some colleagues can direct an action and others cannot, and the evidence for that lives in approvals, permissions and delegations.
Can a model apply these labels automatically?
A model can draft the act label, since that depends mostly on the text. The authority status depends on approval histories, permissions and role records, so it should be computed from those links or checked by a person. Measure agreement between labelers on a sample before trusting either.
Sources
- GitHub reviewers choose Comment, Approve or Request changes; Comment leaves general feedback without explicitly approving or requesting changes. Source
- With required reviews, a protected branch accepts pull requests approved by the required number of reviewers with write permissions, and stale approvals can be dismissed when the approved diff changes. Source
- GitHub code owners must have write permissions, and admins can require code owner approval before merging changes to owned files. Source
- The Linux kernel's submitting-patches guide defines Acked-by, Reviewed-by and Suggested-by, notes that mergers sometimes convert informal assent into Acked-by, and says tags may no longer apply after substantial changes. Source
- Salesforce's object reference describes ProcessInstanceStep as one work item in an approval process. Source
- GAO's Standards for Internal Control in the Federal Government (2014) include a principle that management establish an organizational structure, assign responsibility and delegate authority. Source
- ISO 24617-2:2020 is the international standard for semantic annotation of dialogue acts, with concepts, a markup language and provisions for domain-specific extension. Source
- Wallace and colleagues (2024) propose training models to prioritize system messages over user messages and user messages over third-party content. Source
- Shi and colleagues (2023) found model performance dramatically decreased when irrelevant information was included in problems. Source
Tell us what data you need
Share scope, volume, format, timing and licensing needs. Datasets are sourced on request.