incident response for a collection product · lesson 5 of 8 · sources checked 2026-11-30
a target change with no visible change
This lesson confirms or rejects a target change that you cannot see on the page, and selects the response for each reading.
status of this lesson: documented in my test systempurpose
The success of one target can fall while its page looks the same. A wrong reading of the fall sends the repair to the wrong part of your system. You must confirm the change before you act on it.
objectives
- Name the two readings of a fall in success with no visible change.
- Confirm or reject a target change with a positive control and with the monitors of a change below the page.
- Select the response for each reading.
- Write a change confirmation record that names the reading.
new terms
- change confirmation record
- The record that confirms or rejects a target change with a positive control and names the reading.
how it works
During an incident, a page can look the same as last week while the collector fails on it. This fall has two readings:
- A change below the page. The markup or the data interface changes, and the extractor finds nothing. For example, a price moves to a new element, and the old selector finds no match.
- A new step with no visible change. The target adds a check or a step to the flow. The collector then stops at a new stage, and the page that a person sees does not change.
Each reading has a different response. Thus the first task is to find which reading is true.
why the record names the reading
The benchmark platform, my test system, recorded a markup change of a target as a detection event. The correction is a change confirmation record.
The record holds the result of a positive control and the health of the selectors. It names the reading in a field of its own.
two items confirm a change
The first item is the positive control. Use a known-good configuration: the last version of the collector that worked on the target.
Run the positive control on a lab copy of the target, or on a target that permits the test. The configuration stays the same, and only the time is different. Thus a fail of the positive control points to the target, not to your own release.
The second item is the set of monitors for a change below the page. More detail is in Silent failure and the change below the page. Three monitors are sufficient for the confirmation:
- Selector health: the share of the selectors of an extractor that still find their element. For example, a fall from 0.98 to 0.41 is a change below the page.
- The interface contract test: it compares each response of a target endpoint with its recorded shape.
- A flow monitor: it runs the flow on a fixed schedule and records the stage that each attempt reached.
read the two items together
The positive control comes first:
- The positive control passes, and the monitors are healthy. The target did not change for this configuration. The change is not confirmed, and the next suspect is an own change in the change log.
- The positive control fails, and selector health falls or the contract test fails. The reading is a change below the page.
- The positive control fails, and the selectors and the contract are healthy. The flow stops at an earlier stage. The reading is a new step with no visible change.
For example, in a synthetic case, the positive control stops at stage 3, and the last good stage is 6. Selector health stays at 0.96. Thus the extractor is healthy, and a new step stops the flow before the extraction.
select the response
Each reading has its own response:
| reading | response |
|---|---|
| Change below the page | Repair the extractor, and run the positive control again. |
| New step with no visible change | Move the target to the declared path, slow down, cap the volume, or stop the work on the target. |
| Not confirmed | Go back to the change log and to the other suspects. |
A new step is a fact about the target and about your extraction. A new client is not the answer to it. No response gives a new exit, a new identity, or a heavier client to pass the new step.
The record gives the result of each item, the reading, the response, and the time of the decision. For example, in a synthetic case, a record gives the positive control at stage 3, the reading "new step", and the response "stop". The next incident on that target then starts from a known state.
the two sides
| automation side | detection side |
|---|---|
| A positive control on a lab copy or on a permitted target proves the change before the team repairs the extractor. The record names the reading, so the repair goes to the correct part of the system. | A defender can change the interface of a flow, or add a step, with no visible change. The collector then fails at a new stage, and the page that a person sees stays the same. |
design decisions
| option | gain | cost | when it is correct |
|---|---|---|---|
| Repair the extractor at once | The fastest action | A new step looks like a markup change, and the repair does nothing. | Only when selector health or the contract test fails |
| Run a positive control first | The positive control separates a target change from an own change. | A lab copy or a permitted target must exist and stay current. | For each fall with no visible change |
| Read the monitors with the positive control | The monitors separate the two readings. | Each monitor must exist before the incident. | When the positive control fails |
| Name the reading in the record | The next incident starts from a known state. | One more field to fill | Always |
| Stop the work on the target | No more load on the target | No data from that target until a decision | When a new step has no declared path |
diagram
the change confirmation: a positive control, the monitors, and three responses
code example
The example reads the facts of three synthetic cases. It gives the reading and the response for each case, with the reasons. No case describes a real target.
Make a change confirmation record from a positive control and the monitors, and name the reading.
// Facts of one suspected target change. All values are synthetic.
type Facts = {
target: string;
controlPassed: boolean; // positive control: a known-good configuration on a lab copy or a permitted target
controlStage: number; // last stage that the positive control reached
lastGoodStage: number; // last stage of the flow when it worked
selectorHealthBefore: number; // share of selectors that find their element, 0 to 1
selectorHealthNow: number;
contractTestPassed: boolean; // recorded request and response shape still agrees
};
type Reading = "change below the page" | "new step with no visible change" | "not confirmed";
type Response = "repair the extractor" | "move to the declared path, slow down, cap the volume, or stop the work" | "read the change log for an own change";
function confirm(f: Facts): { reading: Reading; response: Response; reasons: string[] } {
const reasons: string[] = [];
// Example threshold of my model: a fall of 0.2 or more.
const selectorFall = f.selectorHealthBefore - f.selectorHealthNow >= 0.2;
if (selectorFall) reasons.push(`selector health fell from ${f.selectorHealthBefore} to ${f.selectorHealthNow}`);
if (!f.contractTestPassed) reasons.push("the interface contract test failed");
if (f.controlStage < f.lastGoodStage) reasons.push(`the positive control stopped at stage ${f.controlStage}, not ${f.lastGoodStage}`);
if (f.controlPassed && !selectorFall && f.contractTestPassed) {
reasons.push("the positive control passed and the monitors agree with the last good state");
return { reading: "not confirmed", response: "read the change log for an own change", reasons };
}
if (selectorFall || !f.contractTestPassed) {
return { reading: "change below the page", response: "repair the extractor", reasons };
}
return { reading: "new step with no visible change", response: "move to the declared path, slow down, cap the volume, or stop the work", reasons };
}
// Three synthetic cases. No case describes a real target.
const cases: Facts[] = [
{ target: "target-a", controlPassed: false, controlStage: 4, lastGoodStage: 6, selectorHealthBefore: 0.98, selectorHealthNow: 0.41, contractTestPassed: true },
{ target: "target-b", controlPassed: false, controlStage: 3, lastGoodStage: 6, selectorHealthBefore: 0.97, selectorHealthNow: 0.96, contractTestPassed: true },
{ target: "target-c", controlPassed: true, controlStage: 6, lastGoodStage: 6, selectorHealthBefore: 0.99, selectorHealthNow: 0.99, contractTestPassed: true },
];
for (const f of cases) {
const r = confirm(f);
console.log(`${f.target}: ${r.reading} -> ${r.response}`);
for (const why of r.reasons) console.log(` - ${why}`);
}output
One line for each case with the reading and the response, and one line for each reason.
target-a: change below the page -> repair the extractor
- selector health fell from 0.98 to 0.41
- the positive control stopped at stage 4, not 6
target-b: new step with no visible change -> move to the declared path, slow down, cap the volume, or stop the work
- the positive control stopped at stage 3, not 6
target-c: not confirmed -> read the change log for an own change
- the positive control passed and the monitors agree with the last good stateThe output shows one reading for each case. Only the case with a fall of selector health gets a repair of the extractor.
failure modes
| problem | cause | correction |
|---|---|---|
| A markup change goes into the record as a detection event. | The record has no field for the reading. | Name the reading in the change confirmation record. |
| The team repairs the extractor, and the flow still fails. | The reading was a new step, not a change below the page. | Read selector health and the contract test before the repair. |
| A target change is blamed, but the cause is an own release. | Nobody ran a positive control. | Run the known-good configuration before you confirm a change. |
| The positive control fails on a lab copy that is old. | The lab copy does not follow the target. | Keep the lab copy current, or use a target that permits the test. |
| A new step gets a new client as its response. | The team reads a new step as a problem of the client. | Give only the declared path, a slower pace, a volume cap, or a stop. |
check questions
Name the two readings of a fall in success when the page of the target looks the same.
sample answer
The first reading is a change below the page. The markup or the data interface changes, and the extractor finds nothing. The second reading is a new step with no visible change. The target adds a check or a step, and the collector stops at a new stage.
The positive control passes on a permitted target, and the monitors are healthy. What does this result show?
- The target changed below the page.
- The target did not change for this configuration, and the next suspect is an own change.
- The target added a new step.
- The monitors are broken.
answer
b. The target did not change for this configuration, and the next suspect is an own change.
The positive control uses the last configuration that worked. When it passes, the target did not change for it. Thus the change is not confirmed, and the change log comes next.
The positive control fails at an earlier stage. Selector health and the contract test are healthy. Which reading is true?
- A change below the page
- An own release
- A new step with no visible change
answer
c. A new step with no visible change
The extractor and the interface are healthy, but the flow stops before the extraction. Thus a new step stops the flow.
The reading is a new step with no visible change, and the target has no declared path. Which response is correct?
- Stop the work on the target, or slow down and cap the volume.
- Roll back the browser image.
- Repair the extractor.
answer
a. Stop the work on the target, or slow down and cap the volume.
After a new step, the responses are the declared path, a slower pace, a volume cap, or a stop. The extractor and the browser image are healthy, so a repair or a rollback does nothing.
List the fields of a change confirmation record.
sample answer
The record gives the result of the positive control and its stage, and the values of selector health. It also gives the result of the contract test, the reading, the response, and the time of the decision.
exercise
exercise Do this task on paper, with the synthetic case below. Do not send a request to a site.
The facts of the case:
- The positive control fails.
- The positive control stops at stage 5. The last good stage is 6.
- Selector health was 0.97, and it is now 0.95.
- The interface contract test fails on one endpoint.
- Write the reading of the case.
- Write the response.
- Write the fields of the change confirmation record.
sample answer
The answer uses the four facts of the case.
The positive control fails, thus the target changed. Selector health stays healthy, but the contract test fails. Thus the reading is a change below the page, in the data interface. The response is a repair of the extractor for that endpoint, and then a new run of the positive control.
The record gives the result of the positive control and its stage, and the two values of selector health. It also gives the failed contract test, the reading, the response, and the time of the decision.
sources
- Benchmark platform, code and documents (my test system): a markup change of a target in the record as a detection event, 2026-11 (not public).
- My model of the two readings, the change confirmation, and the responses, 2026-11 (not public).