Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
103 commits
Select commit Hold shift + click to select a range
84125af
Share pure directory records and canonical coordination schemas.
AbirAbbas Oct 24, 2026
eec4dc6
Start an independent sequential coordination oracle.
AbirAbbas Oct 24, 2026
46ab864
Pin the shared Raft source with per-node election randomness.
AbirAbbas Oct 24, 2026
0409a4a
Make consensus effects wait for explicit durable completions.
AbirAbbas Oct 24, 2026
3c80833
Define a shared reactor ABI so native and hosted members use the same…
AbirAbbas Oct 24, 2026
723ac56
Prove the Worker boundary locally before building the hosted cluster …
AbirAbbas Oct 24, 2026
26b6717
Persist native Raft members before releasing dependent effects.
AbirAbbas Oct 24, 2026
2374576
Prove native recovery across persistence and application failures.
AbirAbbas Oct 24, 2026
149161f
Keep durable coordination checkpoints without retaining learner history.
AbirAbbas Oct 24, 2026
1f01cc5
Carry portable snapshot maintenance across the reactor boundary.
AbirAbbas Oct 24, 2026
4ae978c
Add an independent bounded checker for coordination histories.
AbirAbbas Oct 24, 2026
9bb7712
Exercise the production Raft core with deterministic durability and n…
AbirAbbas Oct 24, 2026
232cafb
Wait for durable results and repeated election attempts in fault camp…
AbirAbbas Oct 24, 2026
2d76df9
Authenticate and bound native peer delivery so learner backlog cannot…
AbirAbbas Oct 24, 2026
5d6666e
Prove native quorum progress through outbound relay exchanges before …
AbirAbbas Oct 24, 2026
b2c1d32
Keep hosted storage framing on the shared Go core.
AbirAbbas Oct 24, 2026
f56bd54
Persist hosted members before their coordination effects escape.
AbirAbbas Oct 24, 2026
5b329b2
Prove hosted recovery beside real native peers.
AbirAbbas Oct 24, 2026
94c78b6
Decide directory mutations and retry results in the shared Go state m…
AbirAbbas Oct 24, 2026
76aa414
Commit native directory responses only after quorum and durable appli…
AbirAbbas Oct 24, 2026
97068fd
Route hosted member application through the shared Go evaluator.
AbirAbbas Oct 24, 2026
a882e9d
Require committed upload evidence and install pairing authority befor…
AbirAbbas Oct 24, 2026
6e3c3e9
Make hosted blob and pairing effects durable and safe to replay.
AbirAbbas Oct 24, 2026
737326b
Freeze legacy namespaces before importing one durable coordination hi…
AbirAbbas Oct 24, 2026
8ac4df0
Resume hosted imports through bounded durable row staging.
AbirAbbas Oct 24, 2026
0ee83f3
Record durable learner intents so pairing cannot enlarge the voting q…
AbirAbbas Oct 24, 2026
9858a28
Derive hosted peer authority from committed membership so stale socke…
AbirAbbas Oct 24, 2026
925abd4
Keep leadership policy and ranked election timing durable across fall…
AbirAbbas Oct 24, 2026
a1ff577
Carry leadership and anchor rank through native and hosted control do…
AbirAbbas Oct 24, 2026
a83a095
Prove ranked fallback through conditional writes and both runtimes.
AbirAbbas Oct 24, 2026
60408c8
Commit fresh hold evidence and durable idle barriers.
AbirAbbas Oct 24, 2026
2a20973
Require committed lease receipts before suppressing heartbeats.
AbirAbbas Oct 24, 2026
0d649f4
Drive hosted renewal and idle scheduling through the shared Go policy.
AbirAbbas Oct 24, 2026
07fedde
Delegate selected chats without exporting personal identity authority.
AbirAbbas Oct 24, 2026
e704673
Keep native and hosted worker access behind committed policy.
AbirAbbas Oct 24, 2026
1abc35b
Explain delegated worker trust and its current limits.
AbirAbbas Oct 24, 2026
79a1b05
Commit explicit worker assignments with conditional chat ownership.
AbirAbbas Oct 24, 2026
7a92220
Keep worker execution behind staged handoff and durable local intent.
AbirAbbas Oct 24, 2026
391b214
Describe delegated claims and interrupted worker recovery.
AbirAbbas Oct 24, 2026
0bee2c4
Retain original device proofs when adapting v1 requests to committed …
AbirAbbas Oct 24, 2026
5b72f38
Pin the production compatibility door and explain older-client refusals.
AbirAbbas Oct 24, 2026
6e72473
Preserve certified coordination and portable snapshots at durable bou…
AbirAbbas Oct 24, 2026
64f4495
Replace the persistent relay writer with three durable local anchors.
AbirAbbas Oct 24, 2026
266e8bc
Keep original v1 proofs stable across typed hosted boundaries.
AbirAbbas Oct 24, 2026
e45f770
Route hosted identities through the same durable three-anchor namespace.
AbirAbbas Oct 24, 2026
baa5e4c
Prove the public hosted compatibility and recovery doors.
AbirAbbas Oct 24, 2026
16ed24d
Document the irreversible hosted directory upgrade.
AbirAbbas Oct 24, 2026
cc26bc5
Bind scoped cluster ingress to original credentials and committed aut…
AbirAbbas Oct 24, 2026
67a056a
Connect native scoped requests and watch receipts to durable coordina…
AbirAbbas Oct 24, 2026
e944e7a
Connect hosted scoped ingress and idle maintenance to the shared Go p…
AbirAbbas Oct 24, 2026
f7b20ae
Keep the missing personal-member journey visible before release.
AbirAbbas Oct 24, 2026
ffbb16c
Wait for owned journey engines to exit before removing their homes.
AbirAbbas Oct 24, 2026
8e83dd7
Expose committed native cluster status while refusing unfinished lead…
AbirAbbas Oct 24, 2026
8e3e231
Reuse hosted fixture bundles so runtime restarts preserve their program.
AbirAbbas Oct 24, 2026
986ae39
Serve durable personal learners through the native relay's committed …
AbirAbbas Oct 24, 2026
e041219
Keep a completed device removal visible when a later list read fails.
AbirAbbas Oct 24, 2026
f1a0e9b
Keep passive learner transport authenticated without waking an idle q…
AbirAbbas Oct 24, 2026
5128224
Run durable personal learners inside the existing home sync lifetime.
AbirAbbas Oct 24, 2026
9306756
Keep device guidance readable while documenting native learner sync.
AbirAbbas Oct 24, 2026
0b6d6d5
Check that the public relay config declares the Raft entry, build, bi…
AbirAbbas Oct 24, 2026
47d9573
Describe the coordination code by its behaviour rather than how it wa…
AbirAbbas Oct 24, 2026
7ea4361
Let joined personal computers coordinate the native cluster safely.
AbirAbbas Oct 25, 2026
a219b83
Move the size cap by the coordination core's measured weight on the c…
AbirAbbas Oct 25, 2026
9c5c878
State the personal-member lifecycle for the default hosted relay.
AbirAbbas Oct 25, 2026
43b905f
Share committed personal membership policy with the hosted core.
AbirAbbas Oct 25, 2026
1567ec0
Serve durable personal learners through the hosted relay.
AbirAbbas Oct 25, 2026
d60214f
Keep hosted presence independent of sleeping coordination.
AbirAbbas Oct 25, 2026
e01a08f
Exercise quiet hosted homes and retain useful local failure diagnostics.
AbirAbbas Oct 25, 2026
268f632
Allow joined computers to lead the hosted relay safely.
AbirAbbas Oct 25, 2026
960294c
Complete hosted fallback and idle personal leadership.
AbirAbbas Oct 25, 2026
1bfc2cb
Keep large signed metadata within the existing command limits.
AbirAbbas Oct 25, 2026
e953ea0
Commit older requests through native and personal leaders.
AbirAbbas Oct 25, 2026
4fc523c
Preserve large requests across hosted member recovery.
AbirAbbas Oct 25, 2026
4fed31b
Document complete metadata saves and retained capacity.
AbirAbbas Oct 25, 2026
2bacbe9
Document current cluster leadership and worker limits.
AbirAbbas Oct 25, 2026
0d37695
Explain relay storage, recovery and compatibility.
AbirAbbas Oct 25, 2026
af64fdf
Describe the relay coordination change.
AbirAbbas Oct 25, 2026
aeb5d27
Reuse durable directory authority without repeating unchanged work.
AbirAbbas Oct 25, 2026
c1838b3
Preserve directory isolation and exact relay lease expiry.
AbirAbbas Oct 25, 2026
657d624
Check the hosted directory's paged Go policy boundary.
AbirAbbas Oct 25, 2026
5fdae16
Keep deferred engine durability on its captured home.
AbirAbbas Oct 26, 2026
1d5656f
Keep reopened chats on the correct ownership record.
AbirAbbas Oct 26, 2026
3684783
Await native namespace readiness before watch handshakes.
AbirAbbas Oct 26, 2026
edd6b6f
Reduce retained memory in the local hosted member harness.
AbirAbbas Oct 26, 2026
a6f0ac8
Keep the update question reaching its answer beside the coordination …
AbirAbbas Oct 26, 2026
91e6120
Map the relay's coordination packages in the architecture guide.
AbirAbbas Oct 26, 2026
05dc6d8
Keep hosted maintenance working while a cut-short large request's pag…
AbirAbbas Oct 26, 2026
3fa9cfb
Describe the proof helpers' snapshot statements by what they check.
AbirAbbas Oct 26, 2026
71909b9
Keep relay directories usable at their content ceiling.
AbirAbbas Oct 26, 2026
959ddbf
Release sleeping hosted members after saving their state.
AbirAbbas Oct 26, 2026
4a50809
Prevent older relays from changing upgraded directories.
AbirAbbas Oct 26, 2026
c3836d2
Keep signed relay paths and empty frame plans usable.
AbirAbbas Oct 26, 2026
93e29ea
Release worker retry sessions when assignments end.
AbirAbbas Oct 26, 2026
ea0495c
Batch native hold renewals on the shared thirty-second cycle.
AbirAbbas Oct 26, 2026
9be594e
Measure the coordination core's binary weight on the current dev base.
AbirAbbas Oct 26, 2026
c50fc3f
Keep the coordination change entry to what changed against dev.
AbirAbbas Oct 26, 2026
a6ba01a
Number the coordination change entry.
AbirAbbas Oct 26, 2026
67a3696
Give the coordination change entry its pull request number.
AbirAbbas Oct 26, 2026
63a7d29
Measure the hosted learner's command boundary on the relay's own comm…
AbirAbbas Oct 26, 2026
8aa8423
Show a joined computer as online only while its relay connection is o…
AbirAbbas Oct 26, 2026
d0eaeb3
Say that Home keeps a relay watch for presence after joining.
AbirAbbas Oct 26, 2026
a0a7870
Prepare the take-back proof's holder home like every other test home.
AbirAbbas Oct 26, 2026
113e2b1
Link the hosted take-back proof's client before its time limit starts.
AbirAbbas Oct 26, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ bin/
# The furrow the build fetches, and the copy it stages for go:embed. Both are
# six megabytes of somebody else's release; internal/furrowbin/pin.json is the
# committed, auditable half and these are rebuilt from it by `make furrow`.
third_party/
third_party/*
!third_party/raft/
!third_party/raft-patch/
internal/furrowbin/cache/furrow-*.gz
.obs/
*.log
Expand Down Expand Up @@ -51,3 +53,6 @@ relay/hosted/.wrangler/

# Native Windows test executables are local acceptance artifacts.
.wintest/

# The hosted reactor is generated from the shared, pinned Go core.
/relay/hosted/src/raft/core.wasm
19 changes: 19 additions & 0 deletions PERF.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,18 @@ migration flag skips that check. `BenchmarkOpenSettledSessions` measures the
whole public open/close operation. `TestSettledStoreTerminalStartup` separates
fixture construction from the first interactive frame of the running terminal.

Native peer acknowledgements reuse the validated routing view only for the same
store and durably applied index. Every applied change, including revocation,
invalidates that view. `TestR11R27UnchangedPeerAcknowledgementWork` exercises the
real transport and caps an unchanged acknowledgement at 1,000 allocations with
no application append; the measured cost fell from 3,273 allocations to 192.

An authenticated native directory read with already durable ingress time uses a
fresh quorum view and the normal state evaluator before omitting an identical
append. New time and changed records still commit before inspection.
`TestR4R26R27ReadCommitsOnlyChangedTime` counts applied entries for unchanged,
advanced and repeated time, and requires invalid original authority to fail.

## What the gates check

`make test-quick` checks compilation, vet, formatting, packed manuals, change
Expand All @@ -108,3 +120,10 @@ artifact. The reference target is darwin/amd64 with its own pinned artifact stag
other platforms can have different absolute sizes. Reduce unnecessary code, data
or dependencies first. A justified cap adjustment belongs in the same change as
the feature and its measurements; keep `SIZE-BUDGET` explicit and reviewable.

Every build links the Raft coordination core: the modified Raft copy, protobuf,
the signed state machine and its SQLite snapshot host. The relay and devices
always coordinate through it, so no build leaves it out. On linux/amd64 it adds
3,379,200 bytes to the stripped binary (75,755,785 to 79,134,985 on the same dev
base), and the cap moves by the same amount, from 75,811,848 to 79,191,048, so
the 56,063 bytes of headroom the base had are kept.
2 changes: 1 addition & 1 deletion SIZE-BUDGET
Original file line number Diff line number Diff line change
@@ -1 +1 @@
75811848
79191048
278 changes: 278 additions & 0 deletions THIRD-PARTY-NOTICES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2873,6 +2873,220 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
```

## go.etcd.io/raft/v3

- Version: v3.7.0
- Licence: Apache-2.0

The Apache-2.0 Raft source is a modified copy in `third_party/raft`: codeaf injects per-node election randomness for deterministic replay. The pinned upstream version, patch and licence are retained there.

### LICENSE

```text

Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

1. Definitions.

"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.

"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.

"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.

"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.

"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.

"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.

"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).

"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.

"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."

"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.

2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.

3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.

4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:

(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and

(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and

(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and

(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.

You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.

5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.

6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.

7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.

8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.

9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.

END OF TERMS AND CONDITIONS

APPENDIX: How to apply the Apache License to your work.

To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright [yyyy] [name of copyright owner]

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```

## go.yaml.in/yaml/v4

- Version: v4.0.0-rc.2
Expand Down Expand Up @@ -3436,6 +3650,70 @@ rights granted to you under this License for this implementation of Go
shall terminate as of the date such litigation is filed.
```

## google.golang.org/protobuf

- Version: v1.36.11
- Licence: BSD-3-Clause with the Go PATENTS grant

### LICENSE

```text
Copyright (c) 2018 The Go Authors. All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:

* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the
distribution.
* Neither the name of Google Inc. nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
```

### PATENTS

```text
Additional IP Rights Grant (Patents)

"This implementation" means the copyrightable works distributed by
Google as part of the Go project.

Google hereby grants to You a perpetual, worldwide, non-exclusive,
no-charge, royalty-free, irrevocable (except as stated in this section)
patent license to make, have made, use, offer to sell, sell, import,
transfer and otherwise run, modify and propagate the contents of this
implementation of Go, where such license applies only to those patent
claims, both currently owned or controlled by Google and acquired in
the future, licensable by Google that are necessarily infringed by this
implementation of Go. This grant does not include claims that would be
infringed only as a consequence of further modification of this
implementation. If you or your agent or exclusive licensee institute or
order or agree to the institution of patent litigation against any
entity (including a cross-claim or counterclaim in a lawsuit) alleging
that this implementation of Go or any code incorporated within this
implementation of Go constitutes direct or contributory patent
infringement, or inducement of patent infringement, then any patent
rights granted to you under this License for this implementation of Go
shall terminate as of the date such litigation is filed.
```

## gopkg.in/yaml.v3

- Version: v3.0.1
Expand Down
13 changes: 9 additions & 4 deletions cmd/codeaf-notices/notices.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,15 @@ func collectComponents(root string, environment []string) ([]component, error) {
if err != nil {
return nil, fmt.Errorf("read licences for %s: %w", module.Path, err)
}
description := ""
if module.Path == "go.etcd.io/raft/v3" {
description = "The Apache-2.0 Raft source is a modified copy in `third_party/raft`: codeaf injects per-node election randomness for deterministic replay. The pinned upstream version, patch and licence are retained there."
}
components = append(components, component{
Identifier: module.Path,
Version: module.Version,
Licences: licences,
Description: description,
Identifier: module.Path,
Version: module.Version,
Licences: licences,
})
}

Expand Down Expand Up @@ -123,7 +128,7 @@ func collectComponents(root string, environment []string) ([]component, error) {

func listCompiledModules(root string, environment []string) ([]moduleVersion, error) {
const format = `{{if and (not .Standard) .Module}}{{if not .Module.Main}}{{.Module.Path}} {{.Module.Version}}{{end}}{{end}}`
out, err := runGo(root, environment, "list", "-deps", "-f", format, "./cmd/codeaf")
out, err := runGo(root, environment, "list", "-p=1", "-deps", "-f", format, "./cmd/codeaf")
if err != nil {
return nil, fmt.Errorf("list modules compiled into cmd/codeaf: %w", err)
}
Expand Down
Loading
Loading