Keep the read address and change only the push address to OurDoc. Use the credential OurDoc issued as the password.
Push and verdicts
Push with Git as usual. The verdict is one of inside, outside and unknown, and OurDoc never claims to know what it could not check.
How to push
git remote set-url --push origin https://<OurDoc host>/git/<system>/<repository>.gitDo not push to the protected branch directly. Push a candidate and attach the approved plan and its revision.
git push -o ourdoc-plan=<plan>@<revision> origin HEAD:refs/for/mainOnly OurDoc moves the protected branch. Each move is a signed record that binds the old and new commits and the plan approval.
Verdicts
Bar | Check | What it asks |
|---|---|---|
Plan | Does the push name an approved plan? | |
Scope | Is everything that changed inside the approved scope? | |
Cases | Do the cases behave as planned: changes fail before and pass after? | |
Preserved | Is everything the plan preserves unchanged and unreached? | |
Landed | Did the protected branch move to this commit? |
Three examples
Checks | Verdict | What happened |
|---|---|---|
Inside plan | Everything passed. It lands with no person involved. | |
Outside plan | A method outside the scope changed. It stops here and the reason goes back. | |
Unknown | A case that needs a database could not run. It waits for a person. |
Verdict | Meaning | Result |
|---|---|---|
Inside | Everything that changed is inside the approved scope, and the plan's cases passed. | Merged according to policy. |
Outside | Something outside the scope changed, something listed as preserved changed, or a case failed. | Not merged. The reply says what departed. |
Unknown | Something could not be checked. For example, the behavior of a changed unit could not be compared, a case was weak, or the executor was unavailable. | Not merged. The reply says what could not be checked. |
Unknown is never inside. A single outside finding makes the verdict outside. Places the change may reach (callers of the changed code, their HTTP routes and SQL statements) are shown separately from the verdict, split into those confirmed to be reached, those confirmed not to be reached, and those that could not be checked.
Depth of the check
- Java repositories. Changes are checked at the level of units (methods). A method whose comments or formatting changed does not count as changed once its behavior is shown to be the same. The check follows Java into the SQL statements, MyBatis mappers and HTTP routes it reaches, and any link it cannot follow stays unknown.
- TypeScript repositories. Functions, class members and types are compared by the code tsc emits. Comment and formatting edits outside a function body do not count as changes. A comment inside a function body stays unknown, because the running program can read it. The build must be plain tsc, and anything that cannot be confirmed is unknown. Cases run before and after the change in a pinned offline Node image.
- Other languages. Files only, for now. When the changed files are inside the scope, the verdict is marked separately as "in scope, behavior unchecked", and by default a person confirms before it merges.
Downstream impact
- Changed
- 1 method
- Places that use it
- 6
- Confirmed affected
- 2 of those places
- Not confirmed
- 4 of those places
- Confirmed not reached
- 718,130
The verdict covers what the push itself changed. On a Java repository the product goes further and follows a changed method to the methods that call it, their HTTP routes, SQL statements and tables. The result is shown beside the verdict.
- What is affected. Places confirmed to be reached are listed by name.
- What the plan preserves. Each preserved entry gets one of three answers: not reached, affected, or not confirmed. If it is affected the verdict is outside. If it could not be confirmed the verdict is unknown.
- What could not be confirmed. A call that could not be followed is listed with its reason, such as a method a framework calls by name or an override a library may call.
When unsure, the analysis links widely. It says "not reached" only when no call was left unfollowed. If it does not finish within the time limit (120 seconds by default), it says the links were not followed.

Terminal output
Git prints whatever the server sends straight to the terminal, so any agent tool can read the verdict without a separate integration. The text is in English.
Line | Meaning |
|---|---|
OurDoc verdict pending | The candidate was received and the check is running. If the check finishes very quickly, the verdict appears instead. |
OurDoc verdict outside | Outside. The units or paths that departed follow, each with a question about how to fix it. |
OurDoc verdict unknown | Unknown. What could not be checked follows. |
OurDoc verdict inside; applied | Inside and merged. When policy requires a person to confirm, it reads awaiting review. |
Review:, Status: | The address of the screen for the plan and this attempt, and the address that returns the final verdict. |
Behavior checks usually take longer than the push reply. Read progress and the final verdict at the Status: address or run ourdoc plan … attempt --attempt-id INTAKE_ID with your usual connection options. The push reply prints the intake ID. If the check exceeds the repository’s time limit, the verdict is unknown.

After a merge
A merged attempt stays on the plan's screen with its verdict, the executed cases and their log hashes, the old and new tips of the protected branch, and the signed movement record. For each movement the service can confirm the signed approval against the exact commits.

Tests after integration
When the operator configures a test, OurDoc runs it in isolation on the new protected Git branch tip after integration. The result is signed. A failure records the range to investigate since the last pass and creates a rollback draft. A person still approves the rollback plan and submits its change.
Submit a GitHub pull request
Once your operator configures the GitHub gate, open a PR from a branch in the same repository targeting the protected branch. Put the approved plan ID and version on their own line in the PR body.
OurDoc-Plan: <id>@<version>OurDoc evaluates the head of the branch and integrates it only by fast-forward. The existing approval policy applies. A path-only verdict checks file scope and defaults to human confirmation.
On GitHub, the OurDoc / Plan #<number> status on the PR head commit shows the verdict and review link. OurDoc posts a comment with details for errors or failures and updates the same comment for later verdicts, including a correction. The signed attempt in OurDoc links back to the PR.
After correcting the plan reference in the PR body, you can resubmit the current PR. Use an OurDoc scoped submission token whose linked human sponsor matches the GitHub PR author.
ourdoc plan --origin <OurDoc HTTPS origin> --system-id <system ID> --token-file <OurDoc submission token file> resubmit-github --repository-id <OurDoc repository ID> --pull-request <PR number>Submit a GitLab merge request
Once your operator configures the GitLab gate, open an MR from a branch in the same project targeting the protected branch. Put the approved plan ID and version on their own line in the MR description.
OurDoc-Plan: <id>@<version>OurDoc evaluates opens, reopens and new commits. It integrates by fast-forward under the existing approval and confirmation policy. A path-only verdict defaults to human confirmation.
The OurDoc / Plan !<number> status on the MR head commit shows the verdict and review link. Outside-plan and unknown verdicts use the failed state with distinct descriptions. OurDoc posts an MR note for errors and failures and updates the same note after a correction. The signed attempt links back to the MR.
After editing the plan reference in the description, resubmit the MR explicitly. Use an OurDoc scoped submission token for the mapped original MR author or an agent sponsored by that author. Pass the project-local IID shown after ! in GitLab.
ourdoc plan --origin <OurDoc HTTPS origin> --system-id <system ID> --token-file <OurDoc submission token file> resubmit-gitlab --repository-id <OurDoc repository ID> --merge-request <MR IID>Submit an SVN commit
On an SVN repository with hooks installed, put OurDoc-Plan: <id>@<version> on its own line in the commit message. The default policy stops the first commit and returns a review link. After the reviewer confirms the scope, commit the same contents again. The plan records the SVN author and revision.