JSON-Rohbericht maschinenlesbar
{
"data": {
"repo": {
"topics": [
"go",
"golang",
"gogrep",
"linter",
"static-analysis",
"ruleguard",
"go-analysis",
"analysis",
"dynamic-rules",
"codeql",
"semgrep"
],
"is_fork": false,
"size_kb": 1579,
"has_wiki": true,
"homepage": "https://go-ruleguard.github.io/",
"languages": {
"Go": 357871,
"Shell": 4828,
"Makefile": 1351,
"Dockerfile": 497
},
"pushed_at": "2025-09-25T14:03:57Z",
"created_at": "2019-12-11T21:42:32Z",
"owner_type": "User",
"updated_at": "2026-07-29T12:27:21Z",
"description": "Define and run pattern-based custom linting rules.",
"is_archived": false,
"is_disabled": false,
"license_spdx": "BSD-3-Clause",
"default_branch": "master",
"license_spdx_raw": "BSD-3-Clause",
"primary_language": "Go",
"significant_languages": [
"Go"
]
},
"owner": {
"blog": "https://twitter.com/quasilyte",
"name": "quasilyte",
"type": "User",
"login": "quasilyte",
"company": null,
"location": "Georgia",
"followers": 844,
"avatar_url": "https://avatars.githubusercontent.com/u/6286655?v=4",
"created_at": "2013-12-30T12:53:15Z",
"is_verified": null,
"public_repos": 169,
"account_age_days": 4595
},
"license": {
"state": "standard",
"spdx_id": "BSD-3-Clause",
"raw_spdx": "BSD-3-Clause",
"file_present": true,
"scorecard_found": true,
"profile_has_license": true
},
"activity": {
"releases": [
{
"tag": "v0.4.5",
"kind": "patch",
"published_at": "2025-09-25T14:03:58Z"
},
{
"tag": "v0.4.4",
"kind": "patch",
"published_at": "2025-02-19T20:38:43Z"
},
{
"tag": "v0.4.2",
"kind": "patch",
"published_at": "2024-02-22T10:29:17Z"
},
{
"tag": "v0.4.1",
"kind": "patch",
"published_at": "2024-02-22T09:26:30Z"
},
{
"tag": "v0.4.0",
"kind": "minor",
"published_at": "2023-08-10T09:52:02Z"
},
{
"tag": "v0.3.20",
"kind": "patch",
"published_at": "2023-08-10T06:46:24Z"
},
{
"tag": "v0.3.19",
"kind": "patch",
"published_at": "2023-02-19T20:15:22Z"
},
{
"tag": "v0.3.18",
"kind": "patch",
"published_at": "2022-08-28T23:04:01Z"
},
{
"tag": "v0.3.17",
"kind": "patch",
"published_at": "2022-08-09T21:38:02Z"
},
{
"tag": "v0.3.16",
"kind": "patch",
"published_at": "2022-05-18T14:00:14Z"
},
{
"tag": "v0.3.15",
"kind": "patch",
"published_at": "2022-01-03T12:10:43Z"
},
{
"tag": "v0.3.14",
"kind": "patch",
"published_at": "2021-12-26T11:53:08Z"
},
{
"tag": "v0.3.13",
"kind": "patch",
"published_at": "2021-10-20T09:47:35Z"
},
{
"tag": "v0.3.12",
"kind": "patch",
"published_at": "2021-10-19T09:36:25Z"
},
{
"tag": "v0.3.11",
"kind": "patch",
"published_at": "2021-10-18T08:53:52Z"
},
{
"tag": "v0.3.11-rc.3",
"kind": "prerelease",
"published_at": "2021-10-14T14:04:55Z"
},
{
"tag": "v0.3.11-rc.2",
"kind": "prerelease",
"published_at": "2021-10-12T22:19:29Z"
},
{
"tag": "v0.3.11-rc.1",
"kind": "prerelease",
"published_at": "2021-10-12T20:26:27Z"
},
{
"tag": "v0.3.10",
"kind": "patch",
"published_at": "2021-10-11T15:53:12Z"
},
{
"tag": "v0.3.9",
"kind": "patch",
"published_at": "2021-10-10T20:54:58Z"
},
{
"tag": "v0.3.8",
"kind": "patch",
"published_at": "2021-10-08T15:05:04Z"
},
{
"tag": "v0.3.7",
"kind": "patch",
"published_at": "2021-06-06T11:21:40Z"
},
{
"tag": "v0.3.6",
"kind": "patch",
"published_at": "2021-06-05T17:15:50Z"
},
{
"tag": "v0.3.5",
"kind": "patch",
"published_at": "2021-04-29T22:50:09Z"
},
{
"tag": "v0.3.4",
"kind": "patch",
"published_at": "2021-04-07T12:04:32Z"
},
{
"tag": "v0.3.3",
"kind": "patch",
"published_at": "2021-04-04T01:09:51Z"
},
{
"tag": "v0.3.2",
"kind": "patch",
"published_at": "2021-03-15T14:36:14Z"
},
{
"tag": "v0.3.1",
"kind": "patch",
"published_at": "2021-02-21T21:55:28Z"
},
{
"tag": "v0.3.0",
"kind": "minor",
"published_at": "2021-01-12T23:39:18Z"
},
{
"tag": "v0.2.1",
"kind": "patch",
"published_at": "2020-11-06T22:07:48Z"
},
{
"tag": "v0.2.0",
"kind": "minor",
"published_at": "2020-08-12T20:37:50Z"
},
{
"tag": "v0.1.4",
"kind": "patch",
"published_at": "2020-08-12T11:34:40Z"
},
{
"tag": "v0.1.3",
"kind": "patch",
"published_at": "2020-07-27T08:51:35Z"
},
{
"tag": "v0.1.2",
"kind": "patch",
"published_at": "2020-07-10T05:55:50Z"
},
{
"tag": "v0.1.1",
"kind": "patch",
"published_at": "2020-01-07T09:51:11Z"
}
],
"recent_commits": [
{
"oid": "53ee6ef0c75c144ddf76c8a9be430ac32e206d3a",
"body": "Now paths like `foo/v2` will work automatically.\nFor a more complicated use case, call `ImportAs` and assign\na proper name manually.",
"is_bot": false,
"headline": "make Import() function more module-aware with v%d support",
"author_name": "Iskander Sharipov",
"author_login": "quasilyte",
"committed_at": "2025-09-25T13:59:01Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "7513f50d8234e9c43cb0cd216505a0e336392b2e",
"body": null,
"is_bot": false,
"headline": "add ImportAs method",
"author_name": "Iskander Sharipov",
"author_login": "quasilyte",
"committed_at": "2025-09-25T13:28:49Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "575728975f3a97b90b3b206ba431c44ef049362a",
"body": "Co-authored-by: Oleg Kovalov <hey@olegk.dev>",
"is_bot": false,
"headline": "fix: update min Go version (#481)",
"author_name": "Ludovic Fernandez",
"author_login": "ldez",
"committed_at": "2025-02-20T07:19:11Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "fbdfc93183b3d930e5c2b38f8c93c3c6af73837e",
"body": null,
"is_bot": false,
"headline": "Bump x/tools v0.30.0 (#484)",
"author_name": "Oleg Kovalov",
"author_login": "cristaloleg",
"committed_at": "2025-02-19T19:05:02Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "0fe6f58b47b11c388e8aca96e08b017b77d48ac3",
"body": "* chore: update golangci-lint\r\n* chore: apply go-critic reports\r\n* attempt to fix alias",
"is_bot": false,
"headline": "chore: fix CI ang go1.22 support (#479)",
"author_name": "Ludovic Fernandez",
"author_login": "ldez",
"committed_at": "2024-08-23T09:09:25Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "5a36c24272a9882f89229036f2526a8fbcc4f92f",
"body": "This is a possible implementation of types.Type as of Go 1.22, and gets created by default starting in Go 1.23.",
"is_bot": false,
"headline": "support alias types in typeIdentical() (#478)",
"author_name": "Reilly Watson",
"author_login": "reillywatson",
"committed_at": "2024-08-15T22:23:17Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "173c282c317c05a936df98cc5f6884f9dba1ac6f",
"body": "Bumps [toolmantim/release-drafter](https://github.com/toolmantim/release-drafter) from 5.25.0 to 6.0.0.\r\n- [Release notes](https://github.com/toolmantim/release-drafter/releases)\r\n- [Commits](https://github.com/toolmantim/release-drafter/compare/v5.25.0...v6.0.0)\r\n\r\n---\r\nupdated-dependencies:\r\n- dep\n[…]\n:production\r\n update-type: version-update:semver-major\r\n...\r\n\r\nSigned-off-by: dependabot[bot] <support@github.com>\r\nCo-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>",
"is_bot": true,
"headline": "build(deps): bump toolmantim/release-drafter from 5.25.0 to 6.0.0 (#470)",
"author_name": "dependabot[bot]",
"author_login": "dependabot[bot]",
"committed_at": "2024-02-22T10:54:19Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "51cece5688f5dfb9f7b672396150887c9c3d4453",
"body": null,
"is_bot": false,
"headline": "Fix for Go 1.22 (#473)",
"author_name": "Oleg Kovalov",
"author_login": "cristaloleg",
"committed_at": "2024-02-22T10:28:45Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "9a00b2185841932c708b369d3a9b1994f8c59926",
"body": "Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.14.0 to 0.17.0.\r\n- [Release notes](https://github.com/golang/tools/releases)\r\n- [Commits](https://github.com/golang/tools/compare/v0.14.0...v0.17.0)\r\n\r\n---\r\nupdated-dependencies:\r\n- dependency-name: golang.org/x/tools\r\n dependency-t\n[…]\n:production\r\n update-type: version-update:semver-minor\r\n...\r\n\r\nSigned-off-by: dependabot[bot] <support@github.com>\r\nCo-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>",
"is_bot": true,
"headline": "build(deps): bump golang.org/x/tools from 0.14.0 to 0.17.0 (#469)",
"author_name": "dependabot[bot]",
"author_login": "dependabot[bot]",
"committed_at": "2024-02-01T21:42:27Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "d18bf0fadee663881f431e893cd4168fc124309d",
"body": "…463)\n\nBumps [toolmantim/release-drafter](https://github.com/toolmantim/release-drafter) from 5.12.1 to 5.25.0.\r\n- [Release notes](https://github.com/toolmantim/release-drafter/releases)\r\n- [Commits](https://github.com/toolmantim/release-drafter/compare/v5.12.1...v5.25.0)\r\n\r\n---\r\nupdated-dependencie\n[…]\n:production\r\n update-type: version-update:semver-minor\r\n...\r\n\r\nSigned-off-by: dependabot[bot] <support@github.com>\r\nCo-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>",
"is_bot": true,
"headline": "build(deps): bump toolmantim/release-drafter from 5.12.1 to 5.25.0 (#…",
"author_name": "dependabot[bot]",
"author_login": "dependabot[bot]",
"committed_at": "2024-02-01T21:42:13Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "470b6aa97ad4afb485128e7bae18c9165787d3cc",
"body": "Bumps [actions/checkout](https://github.com/actions/checkout) from 1 to 4.\r\n- [Release notes](https://github.com/actions/checkout/releases)\r\n- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)\r\n- [Commits](https://github.com/actions/checkout/compare/v1...v4)\r\n\r\n---\r\nupdated-dep\n[…]\n:production\r\n update-type: version-update:semver-major\r\n...\r\n\r\nSigned-off-by: dependabot[bot] <support@github.com>\r\nCo-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>",
"is_bot": true,
"headline": "build(deps): bump actions/checkout from 1 to 4 (#459)",
"author_name": "dependabot[bot]",
"author_login": "dependabot[bot]",
"committed_at": "2024-02-01T21:42:01Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "c4af72c95cdf82dfd16df5f21e9b0aa00aeb2630",
"body": null,
"is_bot": false,
"headline": "ruleguard: fix typos (#467)",
"author_name": "Oleksandr Redko",
"author_login": "alexandear",
"committed_at": "2023-11-30T16:42:06Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "99e70e449452c718a41be2756ef6dc3f239a486f",
"body": "Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp) from 0.5.9 to 0.6.0.\r\n- [Release notes](https://github.com/google/go-cmp/releases)\r\n- [Commits](https://github.com/google/go-cmp/compare/v0.5.9...v0.6.0)\r\n\r\n---\r\nupdated-dependencies:\r\n- dependency-name: github.com/google/go-cmp\r\n d\n[…]\n:production\r\n update-type: version-update:semver-minor\r\n...\r\n\r\nSigned-off-by: dependabot[bot] <support@github.com>\r\nCo-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>",
"is_bot": true,
"headline": "build(deps): bump github.com/google/go-cmp from 0.5.9 to 0.6.0 (#462)",
"author_name": "dependabot[bot]",
"author_login": "dependabot[bot]",
"committed_at": "2023-10-11T13:46:39Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "1c5e751548115c27f26fef6f7cbe49628c7079e8",
"body": "Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.12.0 to 0.14.0.\r\n- [Release notes](https://github.com/golang/tools/releases)\r\n- [Commits](https://github.com/golang/tools/compare/v0.12.0...v0.14.0)\r\n\r\n---\r\nupdated-dependencies:\r\n- dependency-name: golang.org/x/tools\r\n dependency-t\n[…]\n:production\r\n update-type: version-update:semver-minor\r\n...\r\n\r\nSigned-off-by: dependabot[bot] <support@github.com>\r\nCo-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>",
"is_bot": true,
"headline": "build(deps): bump golang.org/x/tools from 0.12.0 to 0.14.0 (#461)",
"author_name": "dependabot[bot]",
"author_login": "dependabot[bot]",
"committed_at": "2023-10-06T14:56:02Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "9ce04598d633104f2ef0fc53f3589054b82c395c",
"body": "Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>",
"is_bot": true,
"headline": "build(deps): bump golang.org/x/tools from 0.11.0 to 0.12.0 (#454)",
"author_name": "dependabot[bot]",
"author_login": "dependabot[bot]",
"committed_at": "2023-08-10T10:00:58Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "ecb75df06d88476116610840f36e33532c63ee85",
"body": null,
"is_bot": false,
"headline": "chore(ci): use different version of Go (#451)",
"author_name": "Ludovic Fernandez",
"author_login": "ldez",
"committed_at": "2023-08-10T09:50:03Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "067b93001706aa9a83f04c96462ef108d983a8eb",
"body": null,
"is_bot": false,
"headline": "Make go env vars static (#456)",
"author_name": "Jordan Liggitt",
"author_login": "liggitt",
"committed_at": "2023-08-09T21:04:34Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "902760adeb19cba1abf24b5aabcf2454828a05fc",
"body": "…s (#455)",
"is_bot": false,
"headline": " internal/goenv: make goenv parsing robust across go versions and OSe…",
"author_name": "Jordan Liggitt",
"author_login": "liggitt",
"committed_at": "2023-08-09T20:43:20Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "da443cf71ef8bccadf28e54278608281ba06d3aa",
"body": null,
"is_bot": false,
"headline": "update x/tools: v0.7.0 => v0.11.0 (#450)",
"author_name": "quasilyte",
"author_login": "quasilyte",
"committed_at": "2023-07-17T08:12:15Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "274635f8d21ec99c9da4b6b2e57ddaf733112732",
"body": null,
"is_bot": false,
"headline": "chore: update golang.org/x dependencies (#438)",
"author_name": "Liz Fong-Jones",
"author_login": "lizthegrey",
"committed_at": "2023-03-09T01:12:23Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "908956d72d5f8696b72af9e249e6536c84d14305",
"body": null,
"is_bot": false,
"headline": "go.mod: use tagged gogrep lib (#435)",
"author_name": "quasilyte",
"author_login": "quasilyte",
"committed_at": "2023-02-19T20:14:08Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "c18ffba1bff03094d605b7646ed927e85b19a8b1",
"body": "See #427",
"is_bot": false,
"headline": "ruleguard: implement Object.IsVariadicParam() filter (#428)",
"author_name": "Iskander (Alex) Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-12-28T18:34:42Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "5158b610fa6934a95c0402604e28f2ab00dab094",
"body": "IsVariadicParam reports whether this object represents\na function variadic param.\nThis property is not propagated between the assignments.\n\nSee #427",
"is_bot": false,
"headline": "dsl: add Object.IsVariadicParam",
"author_name": "Iskander Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-12-28T18:20:27Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "cb003bcfce94214659f24aa1df4f200b2d414fd0",
"body": "Fix a couple of minor typos.",
"is_bot": false,
"headline": "readme: fix typos (#426)",
"author_name": "Cristian Greco",
"author_login": "cristiangreco",
"committed_at": "2022-12-22T16:05:29Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "ce1bf37a2cf8b2ccf5af3970064200a576ebf24c",
"body": null,
"is_bot": false,
"headline": "rules: add sort.Float64s to sortFuncs (#418)",
"author_name": "Tom",
"author_login": "tmzane",
"committed_at": "2022-10-10T07:39:10Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "071b71cb2bcb83dffe34d18a8f6c3ca74bcb0f1e",
"body": null,
"is_bot": false,
"headline": "docs: update links and fix a few typos (#419)",
"author_name": "Tom",
"author_login": "tmzane",
"committed_at": "2022-10-10T07:38:52Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "1204f12877076aec7340813277e99cef36fe9ffe",
"body": "For some test runs, this allows to allocate ~10 state objects\r\ninstead of ~3000 without such pool.\r\n\r\nAllocating a runner state is an expensive operation, we\r\nwant to re-use as much state as possible to make ruleguard faster.\r\n\r\nThis patch should be used as an example of how ruleguard\r\ncan be integrated into `go/analysis` framework while still\r\nhaving a reusable state between the engine runs.",
"is_bot": false,
"headline": "analyzer: use sync.Pool to re-use ruleguard runner state (#416)",
"author_name": "Iskander (Alex) Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-10-02T18:16:49Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "9af9b082c4ab479004811841e9d4c918e2bb0861",
"body": "This allows more memory reuse between ruleguard engine executions.\r\n\r\nUsually, app only needs one Engine object, which doesn't require\r\nany synchronization. For optimal execution, there should be\r\nN `RunnerState` objects, where N is number of concurrently executing\r\ngoroutines that use same `Engine`\n[…]\n\r\n name old alloc/op new alloc/op delta\r\n EngineRun-8 23.5kB ± 0% 9.1kB ± 0% -61.26% (p=0.000 n=8+8)\r\n Issue412-8 9.54kB ± 0% 1.81kB ± 0% -81.03% (p=0.000 n=8+7)",
"is_bot": false,
"headline": "ruleguard: introduce reusable runner state (#415)",
"author_name": "Iskander (Alex) Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-10-02T17:31:17Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "824e91a9c6fa3dac5b8835126055f1fb9aef4a4f",
"body": "Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp) from 0.5.8 to 0.5.9.\r\n- [Release notes](https://github.com/google/go-cmp/releases)\r\n- [Commits](https://github.com/google/go-cmp/compare/v0.5.8...v0.5.9)\r\n\r\n---\r\nupdated-dependencies:\r\n- dependency-name: github.com/google/go-cmp\r\n d\n[…]\n\r\n...\r\n\r\nSigned-off-by: dependabot[bot] <support@github.com>\r\n\r\nSigned-off-by: dependabot[bot] <support@github.com>\r\nCo-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>",
"is_bot": true,
"headline": "build(deps): bump github.com/google/go-cmp from 0.5.8 to 0.5.9 (#405)",
"author_name": "dependabot[bot]",
"author_login": "dependabot[bot]",
"committed_at": "2022-10-02T05:24:19Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "ae42498940e6673cb87927cc8ccbe26e0e8c45ce",
"body": "We don't need to create `[]string` to compare the substring.\r\nThis change reduces the amount of allocations when comparing\r\nnamed types via typematch package.",
"is_bot": false,
"headline": "ruleguard/typematch: replace Split with Index to avoid allocs (#414)",
"author_name": "Iskander (Alex) Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-10-01T12:27:37Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "92ca7994f8029b0c09dbc6d8c846ca549efa39bf",
"body": "Do not use interface type for matchData since it caused\r\nheap allocations in both match and reject cases.",
"is_bot": false,
"headline": "ruleguard: remove matchData allocations (#413)",
"author_name": "Iskander (Alex) Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-10-01T11:51:11Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "0588088a0a8abbb2779c4140013905d5b4a31f21",
"body": "This section explains two common problems found when trying to run\r\nruleguard:\r\n\r\n- the dsl package not being available\r\n- the dsl package not being included as a dependency of the module\r\n\r\nFixes #408\r\n\r\nSigned-off-by: Marcelo E. Magallon <marcelo.magallon@gmail.com>",
"is_bot": false,
"headline": "Add troubleshooting sectipon to README.md (#411)",
"author_name": "Marcelo Magallon",
"author_login": "mem",
"committed_at": "2022-09-25T19:09:03Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "5d2d68604c13f8466d14f23194cbb4dbf1ad9dd2",
"body": null,
"is_bot": false,
"headline": "Update README.md",
"author_name": "Iskander (Alex) Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-09-11T09:14:16Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "5be31509e7b5a8cf317268f394c5a5d4630c7a8d",
"body": "Extended the dsl documentation to reflect the change:\r\n\r\n\tFor expressions of unknown size, like type params in generics,\r\n\tany filter using this operand will fail.\r\n\r\nWe're not using 0 as a fallback size to avoid the confusion\r\nwith zero-sized values like `struct{}`.\r\n\r\nSee https://github.com/go-critic/go-critic/pull/1237\r\n\r\nFixes #406",
"is_bot": false,
"headline": "ruleguard: fix sizeof filter for type params (#407)",
"author_name": "Iskander (Alex) Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-09-10T07:00:41Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "a8e9deff7d99078ce8af36db4333010c1208c65a",
"body": null,
"is_bot": false,
"headline": "Create dependabot.yml (#401)",
"author_name": "Oleg Kovalov",
"author_login": "cristaloleg",
"committed_at": "2022-08-29T15:06:18Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "12f30abb33f9116daaca54906a2d6a62be54b07b",
"body": null,
"is_bot": false,
"headline": "update readme refs for release binaries",
"author_name": "Iskander Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-08-28T23:14:25Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "ce6b08b361fc5465537164519bb09e471d90af27",
"body": null,
"is_bot": false,
"headline": "update release version",
"author_name": "Iskander Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-08-28T23:05:32Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "b1383df57ed61a877fa9671e0c4f0963cd2708a4",
"body": null,
"is_bot": false,
"headline": "update deps (#400)",
"author_name": "Iskander (Alex) Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-08-28T23:02:14Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "895b1520a10e7b50be863991d41922916b361a96",
"body": null,
"is_bot": false,
"headline": "use \"go install\" in another test",
"author_name": "Iskander Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-08-28T22:14:55Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "a116b7e1f8f55fdd2fef929e15012c42104ded06",
"body": null,
"is_bot": false,
"headline": "fix tests for Go 1.18 GOROOT",
"author_name": "Iskander Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-08-28T21:58:39Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "762a6b4db90d1e3bbc2fca5120225a69c89df1e4",
"body": null,
"is_bot": false,
"headline": "use \"go install\" instead of \"go get\"",
"author_name": "Iskander Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-08-28T21:20:48Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "9f812655e65c78baa9c940366efdee2d40bf93ea",
"body": null,
"is_bot": false,
"headline": "bump go version from 1.16 to 1.18 inside docker tests",
"author_name": "Iskander Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-08-28T18:15:37Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "4bff5cbccc0a49e127aba272d65392fabb6071f1",
"body": "Fixes #398",
"is_bot": false,
"headline": "internal/xtypes: handle new Union and TypeParam types (#399)",
"author_name": "Iskander (Alex) Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-08-28T16:37:47Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "e0687de59b2db8d985e13c68026fdd4325d51015",
"body": null,
"is_bot": false,
"headline": "bump release version",
"author_name": "Iskander Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-08-09T21:40:24Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "e750a0e49c7e5055a998df644e16e3df6fa1e66a",
"body": "See https://github.com/golang/go/issues/51629",
"is_bot": false,
"headline": "all: update x/tools (#396)",
"author_name": "Dean Strelau",
"author_login": "dstrelau",
"committed_at": "2022-07-30T06:19:53Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "7968289708448cdc8ea2fa21d0db203a75d93994",
"body": null,
"is_bot": false,
"headline": "ruleguard: implement `dsl/types` Struct type and its methods (#393)",
"author_name": "Iskander (Alex) Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-05-18T16:08:37Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "0448b915a3537c01aae74c7203ee13f27e506a66",
"body": null,
"is_bot": false,
"headline": "dsl/types: add String+Underlying methods to Struct",
"author_name": "Iskander Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-05-18T16:00:39Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "631ca079db470987e76cd3515b67ae657a6a7dbb",
"body": null,
"is_bot": false,
"headline": "dsl/types: add Struct type",
"author_name": "Iskander Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-05-18T15:54:32Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "6f715918894b3a7fb4cf60c482b5c8ab237f9b55",
"body": null,
"is_bot": false,
"headline": "0.3.16 release",
"author_name": "Iskander Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-05-18T14:04:23Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "003e476add1338428d96be12d3cc24b99c955b60",
"body": null,
"is_bot": false,
"headline": "ruleguard: implement SinkType filter (#384)",
"author_name": "Iskander (Alex) Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-03-22T17:58:00Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "3c6c7c9bac80cc5d3673f7652b9180e14d45cf9a",
"body": null,
"is_bot": false,
"headline": "dsl: add SinkType (#383)",
"author_name": "Iskander (Alex) Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-03-22T17:44:38Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "b6d904ed09ad874de45ac302cf8db16cfcd21cfe",
"body": null,
"is_bot": false,
"headline": "ruleguard: implement Var.Comparable predicate (#382)",
"author_name": "Iskander (Alex) Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-03-20T21:24:34Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "c887ed9b0207f8695cbb0f87708f8e888d69aec9",
"body": null,
"is_bot": false,
"headline": "dsl: add Var.Comparable property",
"author_name": "Iskander Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-03-20T20:59:46Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "7750682a489adc9ed7c739b87a8324315bb7b930",
"body": null,
"is_bot": false,
"headline": "chore: update xtools to 0.1.10 for go1.18 (#381)",
"author_name": "Dean Sheather",
"author_login": "deansheather",
"committed_at": "2022-03-18T19:20:39Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "9f27f07e4b979f5486b4fd05b05168ed747878ac",
"body": null,
"is_bot": false,
"headline": "ruleguard: implement dsl Do() function (#379)",
"author_name": "Iskander (Alex) Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-02-13T23:44:55Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "a307c89fa379bf4dddcd630cc1a7d3e6ed845e2f",
"body": "Unlike `Report()` and `Suggest()`, new `Do()` method allows\na more granular match action handling.\n\nNow it's possible to emit a conditional report/suggest message\nbased on the matching context.\n\nThe API is experimental and is likely to change.",
"is_bot": false,
"headline": "dsl: add experimental Do() action",
"author_name": "Iskander Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-02-13T22:42:12Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "2e73e372b3213cef9971f6c0f884e79c6eecf736",
"body": "Now it's possible to call one bytecode function from another.",
"is_bot": false,
"headline": "all: allow calling quasigo functions from quasigo (#378)",
"author_name": "Iskander (Alex) Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-02-13T21:23:37Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "dbd4b2cf6ce6b7c5d1f29c8c84bea9d23d595cb5",
"body": "It makes it easier to implement quasigo funcs call\r\nlater on, so Go->quasigo and quasigo->quasigo can use\r\nthe same calling convention.\r\n\r\nNote that args can be bound once (until env.Stack.Reset),\r\nwhich is useful in plugins-like context when you pass\r\nthe same argument list to all user functions.",
"is_bot": false,
"headline": "ruleguard/quasigo: pass args via ValueStack (#377)",
"author_name": "Iskander (Alex) Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-02-13T19:41:59Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "6aa060fab41aeb6877874c6e1a01be165588cfd8",
"body": null,
"is_bot": false,
"headline": "ruletuard: change group filter signature (#376)",
"author_name": "Denis Limarev",
"author_login": "peakle",
"committed_at": "2022-02-13T07:44:21Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "cb19258d2ade88dbf466420bb4585dc747bcec57",
"body": null,
"is_bot": false,
"headline": "ruleguard: implement Var.Object.IsGlobal() predicate (#370)",
"author_name": "Denis Limarev",
"author_login": "peakle",
"committed_at": "2022-02-02T14:27:29Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "0e209b86d6e0b91a3a98bde691c1f44425799e02",
"body": null,
"is_bot": false,
"headline": "dsl: add Object.IsGlobal method (#375)",
"author_name": "Denis Limarev",
"author_login": "peakle",
"committed_at": "2022-02-02T08:01:41Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "eb19bc41c810a58ced6aa25fa2a58348f9b4e884",
"body": "This is the same trick we did with gogrep matcher.\r\nThe caller is supposed to pass the state that is not\r\nshared between different threads.\r\n\r\nFor the most use cases, ruleguard has worker/runner based\r\nconcurrency, so it's easy to pass this state from the\r\nworker that owns that state and doesn't sha\n[…]\nt fails.\r\n\r\nTo avoid the slower test times, I removed the `-race` from\r\nthe basic test as they do not involve any concurrent behavior\r\nanyway, so it was just a waste of time.\r\n\r\nFixes #372\r\nFixes #368",
"is_bot": false,
"headline": "ruleguard/typematch: use external matcher state (#374)",
"author_name": "Iskander (Alex) Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-01-30T19:27:19Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "a4ee2912696ae711c9a4fa7d141e7b08f179776d",
"body": null,
"is_bot": false,
"headline": "ruleguard: use stdinfo PathByName and don't make excessive copies (#373)",
"author_name": "Iskander (Alex) Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-01-30T18:30:52Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "8479df425c0d1f00a65b562a834e9c74da1d3d00",
"body": "Fixes #357",
"is_bot": false,
"headline": "all: use quasilyte/stdinfo, remove internal/stdinfo (#371)",
"author_name": "amakid",
"author_login": "tb3457",
"committed_at": "2022-01-30T18:17:16Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "20831c4d6142bf041244dea4b8e749e0ea323581",
"body": "Fixes #366",
"is_bot": false,
"headline": "ruleguard: make sub-match gogrep state per-runner (#367)",
"author_name": "Iskander (Alex) Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-01-20T21:15:36Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "c57998eb544d49bd6760c8ea6a7c1199780dd471",
"body": null,
"is_bot": false,
"headline": "ruleguard: implement Type.IdenticalTo method (#365)",
"author_name": "Iskander (Alex) Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-01-20T18:34:06Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "fdceb554c1ef887de0e20a8f8ec1fbc2f39ff56f",
"body": null,
"is_bot": false,
"headline": "dsl: add Type.IdenticalTo experimental API",
"author_name": "Iskander Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-01-20T18:22:51Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "ff2e1150a9d41d2ed4acaee8e5798736df49fc23",
"body": "Fixes #28",
"is_bot": false,
"headline": "all: implement sub-matches support (#363)",
"author_name": "Iskander (Alex) Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-01-20T14:24:14Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "cac87d4db0989f9687b0d17bdea5914a53c83e07",
"body": "Refs #28",
"is_bot": false,
"headline": "dsl: add submatches experimental API (#362)",
"author_name": "Iskander (Alex) Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-01-20T14:12:13Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "d6c6e6bc2ccbe46c66465622b8d19339bf8b0aa9",
"body": null,
"is_bot": false,
"headline": "analyzer: add tests for #360 (#361)",
"author_name": "Iskander (Alex) Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-01-18T13:04:35Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "b223b6f44159529d52b309170f2f5190f956a023",
"body": null,
"is_bot": false,
"headline": "ruleguard/typematch: handle `unsafe.Pointer` correctly (#359)",
"author_name": "Iskander (Alex) Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-01-16T16:52:17Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "1e92ea54df7f16897e89f073dd0246935a3a8bee",
"body": null,
"is_bot": false,
"headline": "ruleguard/typematch: improve function type matching (#358)",
"author_name": "Iskander (Alex) Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-01-16T16:34:41Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "60b3b255b4430d4dbe8d507a7690c53c13ef65d9",
"body": null,
"is_bot": false,
"headline": "ruleguard: implement Type.Size expr on the RHS (#356)",
"author_name": "Iskander (Alex) Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-01-13T09:24:27Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "53066ba2be23e42926ac1d6dd4000ffbe79978ef",
"body": "go-perfguard would benefit from longer truncate len thresholds.\r\nWe keep 60 as a default, but provide a way to override that.",
"is_bot": false,
"headline": "ruleguard: make truncate len configurable (#354)",
"author_name": "Iskander (Alex) Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-01-09T13:06:40Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "38dd4e2895aec4263bde5d15186dec2d2f7bdbd1",
"body": "Given this pattern:\r\n\r\n\tio.WriteString($w, $s)\r\n\r\nAnd this input string:\r\n\r\n\tio.WriteString(&buf, s)\r\n\r\nWith this replacement template:\r\n\r\n\t$w.WriteString($s)\r\n\r\nWe'll get this result:\r\n\r\n\t&buf.WriteString(s)\r\n\r\nThat's incorrect.\r\n\r\nTo avoid that, ruleguard attempts to fix some interpolated\r\nexpress\n[…]\n knows that\r\n`$w.x` is identical to `(&$w).w`, so we can simply insert\r\n`buf` instead of `&buf` and get `buf.WriteString(s)`.\r\n\r\nThis greatly simplifies the creation of reliable rules\r\nthat just work.",
"is_bot": false,
"headline": "ruleguard: autofix some interpolated expressions (#353)",
"author_name": "Iskander (Alex) Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-01-09T12:49:42Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "090c56c7b8568612e83d6d88e3745b8fa263cbd3",
"body": "Found by go-perfguard while running ruleguard under the golangci-lint.\r\ngolangci-lint does rules reloading per every package, so ir loading\r\nspeed does matter there.",
"is_bot": false,
"headline": "ruleguard: do less copying in ir loader (#352)",
"author_name": "Iskander (Alex) Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-01-08T11:45:38Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "cc33ba403156a73a1ad8a53d9088d0ba58edf858",
"body": "This is important for big rule sets that can produce large Go files.\r\n\r\nFixes #326",
"is_bot": false,
"headline": "ruleguard/irprint: make printed IR ~15% more compact (#351)",
"author_name": "Iskander (Alex) Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-01-06T22:07:33Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "5d33367326092111bfd723d339078c2492d71f76",
"body": null,
"is_bot": false,
"headline": "ruleguard: implement ExprType.HasMethod() (#350)",
"author_name": "Iskander (Alex) Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-01-06T13:33:52Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "ddb1e0665dd84ff6ab7f7176c0ca6b83ede5e9f4",
"body": null,
"is_bot": false,
"headline": "dsl: improve wording in comment",
"author_name": "Iskander Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-01-06T12:52:39Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "2270a323ab13cc781c41131d897b292958285bc5",
"body": "HasMethod reports whether a type has a given method.\r\nUnlike Implements(), it will work for both value and pointer types.\r\n\r\nfn argument is a function signature, like `WriteString(string) (int, error)`.\r\nIt can also be in form of a method reference for importable types: `io.StringWriter.WriteString`\n[…]\nh Implements() method, here is a hint when to use which:\r\n\r\n\t- To check if it's possible to call F on x, use HasMethod(F)\r\n\t- To check if x can be passed as I interface, use Implements(I)\r\n\r\nRefs #331",
"is_bot": false,
"headline": "dsl: add ExprType.HasMethod() (#349)",
"author_name": "Iskander (Alex) Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-01-06T12:51:22Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "17bd26e60db935ad4cb0b0c2cd280ceffae1045a",
"body": null,
"is_bot": false,
"headline": "update gogrep version",
"author_name": "Iskander Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-01-04T19:01:03Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "188292010d6edbfdcf908b454fa208f25841d44d",
"body": null,
"is_bot": false,
"headline": "update gogrep",
"author_name": "Iskander Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-01-04T15:25:36Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "7680e0b8a1291444fdfa9eca614f6359a6731136",
"body": null,
"is_bot": false,
"headline": "analyzer: add quickfix tests (#347)",
"author_name": "Iskander (Alex) Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-01-04T15:02:51Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "0f87a522fea0153650365cc50d4ef1e78434271e",
"body": null,
"is_bot": false,
"headline": "Update README.md",
"author_name": "Iskander (Alex) Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-01-03T12:57:20Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "93ad511f4ecd3e8d134d331c4bca94656a3bee99",
"body": null,
"is_bot": false,
"headline": "run go mod tidy",
"author_name": "Iskander Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-01-03T12:49:56Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "a6b36c7960e70dbdb40560296e407c769e509720",
"body": null,
"is_bot": false,
"headline": "Merge branch 'master' of https://github.com/quasilyte/go-ruleguard",
"author_name": "Iskander Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-01-03T12:48:37Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "6a27fdb3bce13e6334b9dec9b67ec31af5658fcf",
"body": null,
"is_bot": false,
"headline": "update golang.org/x/tools",
"author_name": "Iskander Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-01-03T12:48:21Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "5c0470530077801077fe58da2916498700f79004",
"body": null,
"is_bot": false,
"headline": "update release version and binaries (#346)",
"author_name": "Iskander (Alex) Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-01-03T12:29:25Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "22be0841ca20ad8f900b2d3056ba48db2d8e05e9",
"body": null,
"is_bot": false,
"headline": "ruleguard: fix empty gogrep node slice interpolation (#345)",
"author_name": "Iskander (Alex) Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-01-03T11:41:06Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "4538cb2a0fd5238c7a2603f508ac7f0a6e692a31",
"body": "This avoids any miscompiled patterns as well as allows\r\nmore precise matching of package symbols in function call contexts.",
"is_bot": false,
"headline": "ruleguard: pass imports table to gogrep pattern compiler (#343)",
"author_name": "Iskander (Alex) Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-01-03T11:11:54Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "6b5664f146822fa22b8833b71ec74a46e32df36f",
"body": null,
"is_bot": false,
"headline": "readme: add go-perfguard rules link",
"author_name": "Iskander (Alex) Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-01-02T22:39:32Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "0274d892ab114875ea8912b642d8b6af0c1c9519",
"body": null,
"is_bot": false,
"headline": "Create LICENSE",
"author_name": "Iskander (Alex) Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-01-02T22:28:53Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "02eac1c4d4a148bc5e175fb57885c4a926cda4d9",
"body": null,
"is_bot": false,
"headline": "Update README.md",
"author_name": "Iskander (Alex) Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-01-02T12:14:18Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "33b89ea5af6e9f40371ff559de3ef0b7bc1abadc",
"body": null,
"is_bot": false,
"headline": "ruleguard: move IsNil check above strings.Contains",
"author_name": "Iskander Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-01-02T11:54:21Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "4a96fd76bf828f5d8d053838f415779860e3db63",
"body": "Fixes #315",
"is_bot": false,
"headline": "ruleguard: improve FieldList and Field matching (#342)",
"author_name": "Iskander (Alex) Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-01-02T11:53:07Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "0a106b422b2b115a008638237351f704b8659f76",
"body": "This allows us to get rid of `nodetag.FromNode()` call per\r\nevery ast node being processed.\r\n\r\n\tname old time/op new time/op delta\r\n\tEngineRun-8 94.8µs ± 1% 82.8µs ± 0% -12.70% (p=0.000 n=10+8)",
"is_bot": false,
"headline": "ruleguard: call Walk handler with nodetag (#341)",
"author_name": "Iskander (Alex) Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-01-02T02:42:09Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "9b8154c8de3235f9665f317d9aea70877031d4ac",
"body": "This is probably a temporary and sub-optimal solution, but\r\nit should do for now.\r\n\r\nSince matches are much more rare than pattern misses,\r\nwe do the check under the `matched` condition.\r\nExtra condition shouldn't make anything measurably slower there.\r\n\r\nFixes #339",
"is_bot": false,
"headline": "ruleguard: continue pattern matching for multi-match patterns (#340)",
"author_name": "Iskander (Alex) Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-01-02T02:06:24Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "00cd1e9dd42979077485151a490d4ebf0df88dc5",
"body": "When ruleguard is compiled with `--tags pproflabels`, profiling\r\nwill record per rules group labels, like `rules:groupname`.\r\n\r\nThis makes it easies to find the rules that may need to be\r\noptimized or re-written in some other way.\r\n\r\nBuild tags protection is used to avoid the overhead in\r\nthe normal\n[…]\n( 0.44%): preferWriteByte\r\n 10.0ms ( 0.44%): regexpMust\r\n 10.0ms ( 0.44%): returnAfterHttpError\r\n 10.0ms ( 0.44%): sloppyLen\r\n 10.0ms ( 0.44%): sprintfQuotedString\r\n```",
"is_bot": false,
"headline": "ruleguard: add profiling labels support (#338)",
"author_name": "Iskander (Alex) Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-01-01T23:11:43Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "3db0900f752c696b4ef3ddb4b7d538fe9a9e09b7",
"body": null,
"is_bot": false,
"headline": "ruleguard: implement `ExprType.HasPointers()` predicate (#337)",
"author_name": "Iskander (Alex) Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-01-01T15:22:45Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "969a394a9451fc2eac24ba30522c603f664d4a1a",
"body": null,
"is_bot": false,
"headline": "dsl: add ExprType.HasPointers() predicate (#336)",
"author_name": "Iskander (Alex) Sharipov",
"author_login": "quasilyte",
"committed_at": "2022-01-01T15:07:16Z",
"body_truncated": false,
"is_coding_agent": false
}
],
"releases_count": 35,
"commits_last_year": 2,
"latest_release_at": "2025-09-25T14:03:58Z",
"latest_release_tag": "v0.4.5",
"releases_from_tags": false,
"days_since_last_push": 308,
"active_weeks_last_year": 1,
"days_since_latest_release": 308,
"mean_days_between_releases": 136.2
},
"community": {
"has_readme": true,
"has_license": true,
"has_description": true,
"has_contributing": false,
"health_percentage": 42,
"has_issue_template": false,
"has_code_of_conduct": false,
"has_pull_request_template": false
},
"ecosystem": {
"packages": [
{
"name": "github.com/quasilyte/go-ruleguard",
"exists": true,
"license": null,
"keywords": [],
"ecosystem": "go",
"matches_repo": true,
"registry_url": "https://pkg.go.dev/github.com/quasilyte/go-ruleguard",
"is_deprecated": false,
"latest_version": "v0.4.5",
"repository_url": "https://github.com/quasilyte/go-ruleguard",
"versions_count": 35,
"total_downloads": null,
"dependents_count": null,
"deprecation_note": null,
"maintainers_count": null,
"monthly_downloads": null,
"first_published_at": null,
"latest_published_at": "2025-09-25T13:59:01Z",
"latest_version_yanked": null,
"days_since_latest_publish": 308
},
{
"name": "github.com/quasilyte/go-ruleguard/dsl",
"exists": true,
"license": null,
"keywords": [],
"ecosystem": "go",
"matches_repo": true,
"registry_url": "https://pkg.go.dev/github.com/quasilyte/go-ruleguard/dsl",
"is_deprecated": false,
"latest_version": "v0.3.23",
"repository_url": "https://github.com/quasilyte/go-ruleguard",
"versions_count": 24,
"total_downloads": null,
"dependents_count": null,
"deprecation_note": null,
"maintainers_count": null,
"monthly_downloads": null,
"first_published_at": null,
"latest_published_at": "2025-09-25T13:59:01Z",
"latest_version_yanked": null,
"days_since_latest_publish": 308
}
]
},
"popularity": {
"forks": 41,
"stars": 875,
"watchers": 10,
"fork_history": {
"days": [
{
"date": "2019-12-17",
"count": 1
},
{
"date": "2019-12-20",
"count": 1
},
{
"date": "2020-01-03",
"count": 1
},
{
"date": "2020-01-09",
"count": 1
},
{
"date": "2020-01-21",
"count": 1
},
{
"date": "2020-07-10",
"count": 1
},
{
"date": "2020-07-11",
"count": 1
},
{
"date": "2020-07-27",
"count": 1
},
{
"date": "2020-08-12",
"count": 1
},
{
"date": "2020-08-21",
"count": 1
},
{
"date": "2020-10-10",
"count": 1
},
{
"date": "2020-10-22",
"count": 1
},
{
"date": "2020-12-15",
"count": 1
},
{
"date": "2021-01-30",
"count": 1
},
{
"date": "2021-02-05",
"count": 1
},
{
"date": "2021-03-07",
"count": 1
},
{
"date": "2021-06-03",
"count": 1
},
{
"date": "2021-10-12",
"count": 1
},
{
"date": "2021-10-21",
"count": 1
},
{
"date": "2021-11-15",
"count": 1
},
{
"date": "2021-11-22",
"count": 1
},
{
"date": "2021-11-30",
"count": 1
},
{
"date": "2021-12-05",
"count": 1
},
{
"date": "2021-12-17",
"count": 1
},
{
"date": "2021-12-24",
"count": 1
},
{
"date": "2022-02-21",
"count": 1
},
{
"date": "2022-07-29",
"count": 1
},
{
"date": "2022-09-25",
"count": 1
},
{
"date": "2022-11-15",
"count": 1
},
{
"date": "2022-12-15",
"count": 1
},
{
"date": "2022-12-22",
"count": 1
},
{
"date": "2023-02-28",
"count": 1
},
{
"date": "2023-04-12",
"count": 1
},
{
"date": "2023-07-11",
"count": 1
},
{
"date": "2023-07-17",
"count": 1
},
{
"date": "2023-08-09",
"count": 1
},
{
"date": "2024-05-03",
"count": 1
},
{
"date": "2024-08-15",
"count": 1
},
{
"date": "2025-09-15",
"count": 1
},
{
"date": "2025-12-04",
"count": 1
},
{
"date": "2026-05-27",
"count": 1
}
],
"complete": true,
"collected": 41,
"total_forks": 41
},
"star_history": null,
"open_issues_and_prs": 70
},
"ai_readiness": {
"has_nix": false,
"example_dirs": [],
"has_llms_txt": false,
"has_dockerfile": true,
"has_mcp_signal": false,
"bootstrap_files": [
"Makefile"
],
"api_schema_files": [],
"has_devcontainer": false,
"typecheck_configs": [],
"toolchain_manifests": [
"_test/regress/issue193/go.mod",
"_test/regress/issue317/go.mod",
"cmd/gorules/go.mod",
"dsl/go.mod",
"go.mod",
"rules/go.mod"
],
"largest_source_bytes": 36860,
"source_files_sampled": 190,
"oversized_source_files": 0,
"agent_instruction_files": [],
"agent_instruction_max_bytes": null
},
"dependencies": {
"manifests": [
"dsl/go.mod",
"go.mod",
"rules/go.mod"
],
"advisories": {
"error": null,
"scope": "repository_graph",
"source": "osv",
"findings": [],
"collected": true,
"malicious": [],
"truncated": false,
"by_severity": {},
"advisory_count": 0,
"affected_count": 0,
"assessed_count": 24,
"malicious_count": 0,
"assessed_package": null,
"unassessed_count": 0,
"direct_affected_count": 0
},
"ecosystems": [
"go"
],
"dependencies": [
{
"name": "github.com/go-toolsmith/astcopy",
"manifest": "go.mod",
"ecosystem": "go",
"version_constraint": "v1.0.2"
},
{
"name": "github.com/google/go-cmp",
"manifest": "go.mod",
"ecosystem": "go",
"version_constraint": "v0.6.0"
},
{
"name": "github.com/quasilyte/go-ruleguard/dsl",
"manifest": "go.mod",
"ecosystem": "go",
"version_constraint": "v0.3.22"
},
{
"name": "github.com/quasilyte/go-ruleguard/rules",
"manifest": "go.mod",
"ecosystem": "go",
"version_constraint": "v0.0.0-20211022131956-028d6511ab71"
},
{
"name": "github.com/quasilyte/gogrep",
"manifest": "go.mod",
"ecosystem": "go",
"version_constraint": "v0.5.0"
},
{
"name": "github.com/quasilyte/stdinfo",
"manifest": "go.mod",
"ecosystem": "go",
"version_constraint": "v0.0.0-20220114132959-f7386bf02567"
},
{
"name": "golang.org/x/exp/typeparams",
"manifest": "go.mod",
"ecosystem": "go",
"version_constraint": "v0.0.0-20240213143201-ec583247a57a"
},
{
"name": "golang.org/x/tools",
"manifest": "go.mod",
"ecosystem": "go",
"version_constraint": "v0.30.0"
},
{
"name": "github.com/quasilyte/go-ruleguard",
"manifest": "rules/go.mod",
"ecosystem": "go",
"version_constraint": "v0.3.20"
},
{
"name": "github.com/quasilyte/go-ruleguard/dsl",
"manifest": "rules/go.mod",
"ecosystem": "go",
"version_constraint": "v0.3.22"
},
{
"name": "golang.org/x/tools",
"manifest": "rules/go.mod",
"ecosystem": "go",
"version_constraint": "v0.18.0"
}
],
"all_dependencies": {
"error": null,
"source": "github-sbom",
"packages": [
{
"name": "github.com/go-toolsmith/astcopy",
"direct": true,
"version": "1.0.2",
"ecosystem": "go"
},
{
"name": "github.com/google/go-cmp",
"direct": true,
"version": "0.6.0",
"ecosystem": "go"
},
{
"name": "github.com/quasilyte/go-ruleguard",
"direct": true,
"version": "0.3.1-0.20210203134552-1b5a410e1cc8",
"ecosystem": "go"
},
{
"name": "github.com/quasilyte/go-ruleguard",
"direct": true,
"version": "0.3.13",
"ecosystem": "go"
},
{
"name": "github.com/quasilyte/go-ruleguard",
"direct": true,
"version": "0.3.20",
"ecosystem": "go"
},
{
"name": "github.com/quasilyte/go-ruleguard",
"direct": true,
"version": "0.3.5-0.20210429194040-7c68deb7b02b",
"ecosystem": "go"
},
{
"name": "github.com/quasilyte/go-ruleguard/dsl",
"direct": true,
"version": "0.3.0",
"ecosystem": "go"
},
{
"name": "github.com/quasilyte/go-ruleguard/dsl",
"direct": true,
"version": "0.3.22",
"ecosystem": "go"
},
{
"name": "github.com/quasilyte/go-ruleguard/rules",
"direct": true,
"version": "0.0.0-20210429194040-7c68deb7b02b",
"ecosystem": "go"
},
{
"name": "github.com/quasilyte/go-ruleguard/rules",
"direct": true,
"version": "0.0.0-20211022131956-028d6511ab71",
"ecosystem": "go"
},
{
"name": "github.com/quasilyte/gogrep",
"direct": true,
"version": "0.5.0",
"ecosystem": "go"
},
{
"name": "github.com/quasilyte/stdinfo",
"direct": true,
"version": "0.0.0-20220114132959-f7386bf02567",
"ecosystem": "go"
},
{
"name": "golang.org/x/exp/typeparams",
"direct": true,
"version": "0.0.0-20240213143201-ec583247a57a",
"ecosystem": "go"
},
{
"name": "golang.org/x/tools",
"direct": true,
"version": "0.0.0-20201230224404-63754364767c",
"ecosystem": "go"
},
{
"name": "golang.org/x/tools",
"direct": true,
"version": "0.18.0",
"ecosystem": "go"
},
{
"name": "golang.org/x/tools",
"direct": true,
"version": "0.30.0",
"ecosystem": "go"
},
{
"name": "github.com/cespare/subcmd",
"direct": false,
"version": "1.1.0",
"ecosystem": "go"
},
{
"name": "github.com/go-ruleguard/rg1",
"direct": false,
"version": "0.0.0-20210130122814-084e7fd4f2e8",
"ecosystem": "go"
},
{
"name": "github.com/go-toolsmith/astequal",
"direct": false,
"version": "1.0.3",
"ecosystem": "go"
},
{
"name": "github.com/go-toolsmith/strparse",
"direct": false,
"version": "1.0.0",
"ecosystem": "go"
},
{
"name": "go.uber.org/multierr",
"direct": false,
"version": "1.6.0",
"ecosystem": "go"
},
{
"name": "go.uber.org/zap",
"direct": false,
"version": "1.16.0",
"ecosystem": "go"
},
{
"name": "golang.org/x/mod",
"direct": false,
"version": "0.23.0",
"ecosystem": "go"
},
{
"name": "golang.org/x/sync",
"direct": false,
"version": "0.11.0",
"ecosystem": "go"
}
],
"collected": true,
"truncated": false,
"total_count": 24,
"direct_count": 16,
"indirect_count": 8
}
},
"maintainership": {
"issues": {
"open_prs": 9,
"merged_prs": 270,
"open_issues": 61,
"closed_ratio": 0.637,
"closed_issues": 107,
"closed_unmerged_prs": 41
},
"bus_factor": 1,
"bot_contributors": 1,
"top_contributors": [
{
"type": "User",
"login": "quasilyte",
"commits": 377,
"avatar_url": "https://avatars.githubusercontent.com/u/6286655?v=4"
},
{
"type": "User",
"login": "cristaloleg",
"commits": 10,
"avatar_url": "https://avatars.githubusercontent.com/u/366002?v=4"
},
{
"type": "User",
"login": "peakle",
"commits": 6,
"avatar_url": "https://avatars.githubusercontent.com/u/27820873?v=4"
},
{
"type": "User",
"login": "sebastien-rosset",
"commits": 4,
"avatar_url": "https://avatars.githubusercontent.com/u/16657278?v=4"
},
{
"type": "User",
"login": "ldez",
"commits": 3,
"avatar_url": "https://avatars.githubusercontent.com/u/5674651?v=4"
},
{
"type": "User",
"login": "orsinium",
"commits": 2,
"avatar_url": "https://avatars.githubusercontent.com/u/9638362?v=4"
},
{
"type": "User",
"login": "tmzane",
"commits": 2,
"avatar_url": "https://avatars.githubusercontent.com/u/73077675?v=4"
},
{
"type": "User",
"login": "liggitt",
"commits": 2,
"avatar_url": "https://avatars.githubusercontent.com/u/980082?v=4"
},
{
"type": "User",
"login": "mem",
"commits": 1,
"avatar_url": "https://avatars.githubusercontent.com/u/189701?v=4"
},
{
"type": "User",
"login": "alexandear",
"commits": 1,
"avatar_url": "https://avatars.githubusercontent.com/u/3228886?v=4"
}
],
"contributors_sampled": 25,
"top_contributor_share": 0.891
},
"quality_signals": {
"has_ci": true,
"has_tests": true,
"ci_workflows": [
"go.yml",
"merge.yml",
"release-management.yml"
],
"has_docs_dir": false,
"linter_configs": [
".golangci.yml"
],
"has_editorconfig": false,
"has_linter_config": true,
"has_precommit_config": false
},
"security_signals": {
"lockfiles": [
"go.sum"
],
"scorecard": {
"checks": [
{
"name": "Binary-Artifacts",
"score": 10,
"reason": "no binaries found in the repo",
"documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#binary-artifacts"
},
{
"name": "Branch-Protection",
"score": null,
"reason": "internal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md",
"documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#branch-protection"
},
{
"name": "CI-Tests",
"score": 0,
"reason": "0 out of 27 merged PRs checked by a CI test -- score normalized to 0",
"documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#ci-tests"
},
{
"name": "CII-Best-Practices",
"score": 0,
"reason": "no effort to earn an OpenSSF best practices badge detected",
"documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#cii-best-practices"
},
{
"name": "Code-Review",
"score": 6,
"reason": "Found 14/22 approved changesets -- score normalized to 6",
"documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#code-review"
},
{
"name": "Contributors",
"score": 10,
"reason": "project has 16 contributing companies or organizations",
"documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#contributors"
},
{
"name": "Dangerous-Workflow",
"score": 10,
"reason": "no dangerous workflow patterns detected",
"documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#dangerous-workflow"
},
{
"name": "Dependency-Update-Tool",
"score": 10,
"reason": "update tool detected",
"documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#dependency-update-tool"
},
{
"name": "Fuzzing",
"score": 0,
"reason": "project is not fuzzed",
"documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#fuzzing"
},
{
"name": "License",
"score": 10,
"reason": "license file detected",
"documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#license"
},
{
"name": "Maintained",
"score": 0,
"reason": "0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0",
"documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#maintained"
},
{
"name": "Packaging",
"score": null,
"reason": "packaging workflow not detected",
"documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#packaging"
},
{
"name": "Pinned-Dependencies",
"score": 0,
"reason": "dependency not pinned by hash detected -- score normalized to 0",
"documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#pinned-dependencies"
},
{
"name": "SAST",
"score": 0,
"reason": "SAST tool is not run on all commits -- score normalized to 0",
"documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#sast"
},
{
"name": "Security-Policy",
"score": 0,
"reason": "security policy file not detected",
"documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#security-policy"
},
{
"name": "Signed-Releases",
"score": null,
"reason": "no releases found",
"documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#signed-releases"
},
{
"name": "Token-Permissions",
"score": 0,
"reason": "detected GitHub workflow tokens with excessive permissions",
"documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#token-permissions"
},
{
"name": "Vulnerabilities",
"score": 7,
"reason": "3 existing vulnerabilities detected",
"documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#vulnerabilities"
}
],
"commit": "53ee6ef0c75c144ddf76c8a9be430ac32e206d3a",
"ran_at": "2026-07-30T23:05:21Z",
"aggregate_score": 4.7,
"scorecard_version": "v5.5.0"
},
"has_codeql_workflow": false,
"has_security_policy": false,
"has_dependabot_config": true
},
"contribution_flow": {
"collected": true,
"ci_last_run_at": "2025-09-25T14:09:01Z",
"oldest_open_prs": [
{
"number": 71,
"created_at": "2020-08-21T18:11:49Z",
"last_comment_at": "2020-08-23T07:53:48Z",
"last_comment_author": "quasilyte"
},
{
"number": 96,
"created_at": "2020-10-23T10:33:21Z",
"last_comment_at": "2020-10-30T16:18:40Z",
"last_comment_author": "quasilyte"
},
{
"number": 100,
"created_at": "2020-10-26T08:33:37Z",
"last_comment_at": null,
"last_comment_author": null
},
{
"number": 392,
"created_at": "2022-05-03T13:12:21Z",
"last_comment_at": null,
"last_comment_author": null
},
{
"number": 420,
"created_at": "2022-10-09T15:18:55Z",
"last_comment_at": null,
"last_comment_author": null
},
{
"number": 432,
"created_at": "2023-02-06T13:26:03Z",
"last_comment_at": null,
"last_comment_author": null
},
{
"number": 441,
"created_at": "2023-04-12T07:59:11Z",
"last_comment_at": "2023-09-05T07:57:05Z",
"last_comment_author": "cristaloleg"
},
{
"number": 442,
"created_at": "2023-04-12T08:26:38Z",
"last_comment_at": "2023-04-12T11:18:54Z",
"last_comment_author": "quasilyte"
},
{
"number": 477,
"created_at": "2024-05-07T13:51:58Z",
"last_comment_at": null,
"last_comment_author": null
}
],
"last_merged_pr_at": "2025-02-20T07:19:11Z",
"ci_last_conclusion": "FAILURE",
"oldest_open_issues": [
{
"number": 16,
"created_at": "2019-12-20T14:02:29Z",
"last_comment_at": "2025-11-08T22:27:22Z",
"last_comment_author": "thediveo"
},
{
"number": 19,
"created_at": "2019-12-21T13:17:36Z",
"last_comment_at": null,
"last_comment_author": null
},
{
"number": 21,
"created_at": "2019-12-21T13:59:12Z",
"last_comment_at": null,
"last_comment_author": null
},
{
"number": 27,
"created_at": "2019-12-25T22:18:45Z",
"last_comment_at": null,
"last_comment_author": null
},
{
"number": 34,
"created_at": "2020-01-09T08:59:34Z",
"last_comment_at": "2020-01-10T15:17:30Z",
"last_comment_author": "quasilyte"
},
{
"number": 36,
"created_at": "2020-01-09T10:51:18Z",
"last_comment_at": "2024-11-08T11:53:21Z",
"last_comment_author": "IlyasYOY"
},
{
"number": 42,
"created_at": "2020-01-09T16:04:28Z",
"last_comment_at": null,
"last_comment_author": null
},
{
"number": 45,
"created_at": "2020-01-10T16:25:09Z",
"last_comment_at": null,
"last_comment_author": null
},
{
"number": 47,
"created_at": "2020-02-17T18:25:14Z",
"last_comment_at": null,
"last_comment_author": null
},
{
"number": 48,
"created_at": "2020-02-28T20:54:48Z",
"last_comment_at": "2020-03-18T21:39:07Z",
"last_comment_author": "quasilyte"
},
{
"number": 70,
"created_at": "2020-08-21T17:49:37Z",
"last_comment_at": "2020-08-23T08:09:38Z",
"last_comment_author": "quasilyte"
},
{
"number": 74,
"created_at": "2020-08-23T08:21:02Z",
"last_comment_at": "2020-08-23T08:37:31Z",
"last_comment_author": "quasilyte"
},
{
"number": 75,
"created_at": "2020-08-25T08:41:03Z",
"last_comment_at": null,
"last_comment_author": null
},
{
"number": 78,
"created_at": "2020-09-05T13:52:42Z",
"last_comment_at": "2025-08-01T08:37:29Z",
"last_comment_author": "antonishutko"
},
{
"number": 79,
"created_at": "2020-09-24T20:27:36Z",
"last_comment_at": "2020-09-30T22:03:24Z",
"last_comment_author": "quasilyte"
},
{
"number": 110,
"created_at": "2020-10-30T15:54:38Z",
"last_comment_at": null,
"last_comment_author": null
},
{
"number": 117,
"created_at": "2020-11-02T10:14:27Z",
"last_comment_at": null,
"last_comment_author": null
},
{
"number": 118,
"created_at": "2020-11-03T18:04:12Z",
"last_comment_at": null,
"last_comment_author": null
},
{
"number": 121,
"created_at": "2020-11-06T20:46:05Z",
"last_comment_at": null,
"last_comment_author": null
},
{
"number": 125,
"created_at": "2020-11-07T21:03:00Z",
"last_comment_at": null,
"last_comment_author": null
}
]
}
},
"config": {
"disabled_metrics": [],
"disabled_categories": [],
"disabled_components": {}
},
"source": {
"url": "https://github.com/quasilyte/go-ruleguard",
"host": "github.com",
"name": "go-ruleguard",
"owner": "quasilyte"
},
"metrics": {
"overall": {
"key": "overall",
"band": "at_risk",
"name": "Overall health",
"note": "The weighted overall 54 is calibrated to 56 on the published index scale (record calibration 2026-08-02). High-Risk Jurisdiction Policy applies a 75% multiplier to weighted overall health and gives it an At Risk ceiling of 34.",
"notes": [
{
"code": "overall_calibration",
"params": {
"raw": 54,
"calibrated": 56,
"calibration": "2026-08-02"
}
},
{
"code": "jurisdiction_overall_adjustment",
"params": {
"cap": 34,
"pct": 75
}
}
],
"value": 34,
"inputs": {
"security": 47,
"vitality": 30,
"community": 59,
"governance": 64,
"calibration": "2026-08-02",
"engineering": 68,
"ai_readiness": 69,
"weighted_overall_raw": 54,
"high_risk_jurisdiction_cap": 34,
"high_risk_jurisdiction_multiplier": 75,
"weighted_overall_before_jurisdiction": 56,
"overall_after_jurisdiction_multiplier": 42
},
"components": []
},
"categories": [
{
"key": "vitality",
"band": "at_risk",
"name": "Vitality",
"value": 30,
"weight": 0.21,
"metrics": [
{
"key": "development_activity",
"band": "critical",
"name": "Development activity",
"note": null,
"notes": [],
"value": 9,
"inputs": {
"commits_last_year": 2,
"human_commit_share": 0.92,
"days_since_last_push": 308,
"active_weeks_last_year": 1
},
"components": [
{
"key": "push_recency",
"name": "Push recency",
"detail": "last push 308 days ago",
"points": 3.6,
"status": "partial",
"details": [
{
"code": "push_recency",
"params": {
"days": 308
}
}
],
"max_points": 36
},
{
"key": "commit_cadence",
"name": "Commit cadence",
"detail": "1/52 weeks with commits",
"points": 0.7,
"status": "partial",
"details": [
{
"code": "commit_cadence_weeks",
"params": {
"weeks": 1
}
}
],
"max_points": 36
},
{
"key": "commit_volume",
"name": "Commit volume",
"detail": "2 commits in the last year",
"points": 4.3,
"status": "partial",
"details": [
{
"code": "commits_last_year",
"params": {
"count": 2
}
}
],
"max_points": 18
},
{
"key": "openssf_scorecard_maintained",
"name": "OpenSSF Scorecard: Maintained",
"detail": "0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0",
"points": 0,
"status": "missed",
"details": [],
"max_points": 10
}
]
},
{
"key": "release_discipline",
"band": "moderate",
"name": "Release discipline",
"note": "Excluded from scoring (no data or not applicable): OpenSSF Scorecard: Signed-Releases. Remaining weights renormalized.",
"notes": [
{
"code": "excluded_no_data",
"params": {
"components": [
"openssf_scorecard_signed_releases"
]
}
},
{
"code": "weights_renormalized",
"params": {}
}
],
"value": 62,
"inputs": {
"releases_count": 35,
"latest_release_tag": "v0.4.5",
"releases_from_tags": false,
"days_since_latest_release": 308,
"mean_days_between_releases": 136.2
},
"components": [
{
"key": "ships_releases",
"name": "Ships releases",
"detail": "35 releases published",
"points": 27,
"status": "met",
"details": [
{
"code": "releases_published",
"params": {
"count": 35
}
}
],
"max_points": 27
},
{
"key": "release_recency",
"name": "Release recency",
"detail": "latest release 308 days ago",
"points": 16.2,
"status": "partial",
"details": [
{
"code": "release_recency",
"params": {
"days": 308
}
}
],
"max_points": 36
},
{
"key": "release_cadence",
"name": "Release cadence",
"detail": "a release every ~136.2 days",
"points": 12.6,
"status": "partial",
"details": [
{
"code": "release_cadence",
"params": {
"gap": 136.2
}
}
],
"max_points": 27
},
{
"key": "openssf_scorecard_signed_releases",
"name": "OpenSSF Scorecard: Signed-Releases",
"detail": "no releases found",
"points": 0,
"status": "excluded",
"details": [
{
"code": "no_data",
"params": {}
}
],
"max_points": 10
}
]
},
{
"key": "abandonment",
"band": "exceptional",
"name": "Abandonment",
"note": null,
"notes": [],
"value": 100,
"inputs": {
"cap": null,
"state": "dormant",
"guards": [
"recent_release",
"dependencies_clean"
],
"signals": [
"unanswered_contributions",
"issue_rot",
"scorecard_unmaintained",
"broken_ci"
],
"red_flag": false,
"multiplier_pct": 100,
"declared_reason": null,
"unverified_reason": null,
"unanswered_open_prs": 9,
"unanswered_open_issues": 15,
"days_since_last_merged_pr": 530,
"days_since_last_human_commit": 313,
"days_since_last_human_commit_is_floor": false
},
"components": [
{
"key": "project_is_still_maintained",
"name": "Project is still maintained",
"detail": "no human commit for 313 days, with nothing left unanswered; held at dormant by a release within the year, no affected dependency",
"points": 100,
"status": "met",
"details": [
{
"code": "abandonment_quiet",
"params": {
"days": 313
}
},
{
"code": "abandonment_guarded",
"params": {
"guards": "a release within the year, no affected dependency"
}
}
],
"max_points": 100
}
]
}
],
"description": "Is the project alive — is code being written and are releases shipping?"
},
{
"key": "community",
"band": "moderate",
"name": "Community & Adoption",
"value": 59,
"weight": 0.17,
"metrics": [
{
"key": "popularity",
"band": "good",
"name": "Popularity & adoption",
"note": null,
"notes": [],
"value": 66,
"inputs": {
"forks": 41,
"stars": 875,
"watchers": 10,
"growth_state": "unverified",
"growth_factor_pct": 100,
"growth_unverified_reason": "no_history"
},
"components": [
{
"key": "stars",
"name": "Stars",
"detail": "875 stars",
"points": 47.7,
"status": "partial",
"details": [
{
"code": "stars",
"params": {
"count": 875
}
}
],
"max_points": 60
},
{
"key": "forks",
"name": "Forks",
"detail": "41 forks",
"points": 13.4,
"status": "partial",
"details": [
{
"code": "forks",
"params": {
"count": 41
}
}
],
"max_points": 25
},
{
"key": "watchers",
"name": "Watchers",
"detail": "10 watchers",
"points": 5.3,
"status": "partial",
"details": [
{
"code": "watchers",
"params": {
"count": 10
}
}
],
"max_points": 15
}
]
},
{
"key": "community_health",
"band": "moderate",
"name": "Community health",
"note": null,
"notes": [],
"value": 50,
"inputs": {
"has_readme": true,
"has_license": true,
"readme_badges": null,
"has_contributing": false,
"has_issue_template": false,
"has_code_of_conduct": false,
"readme_badge_services": [],
"has_pull_request_template": false
},
"components": [
{
"key": "readme",
"name": "README",
"detail": null,
"points": 22.5,
"status": "met",
"details": [],
"max_points": 22.5
},
{
"key": "license",
"name": "License",
"detail": "recognized license (BSD-3-Clause)",
"points": 22.5,
"status": "met",
"details": [
{
"code": "license_standard",
"params": {}
},
{
"code": "license_spdx",
"params": {
"spdx": "BSD-3-Clause"
}
}
],
"max_points": 22.5
},
{
"key": "contributing_guide",
"name": "CONTRIBUTING guide",
"detail": null,
"points": 0,
"status": "missed",
"details": [],
"max_points": 18
},
{
"key": "code_of_conduct",
"name": "Code of conduct",
"detail": null,
"points": 0,
"status": "missed",
"details": [],
"max_points": 13.5
},
{
"key": "issue_template",
"name": "Issue template",
"detail": null,
"points": 0,
"status": "missed",
"details": [],
"max_points": 7.2
},
{
"key": "pr_template",
"name": "PR template",
"detail": null,
"points": 0,
"status": "missed",
"details": [],
"max_points": 6.3
}
]
}
],
"description": "Does the project have users, downloads, attention, and a welcoming setup for contributors?"
},
{
"key": "governance",
"band": "moderate",
"name": "Sustainability & Governance",
"value": 64,
"weight": 0.23,
"metrics": [
{
"key": "maintainer_resilience",
"band": "weak",
"name": "Maintainer resilience (bus factor)",
"note": null,
"notes": [],
"value": 35,
"inputs": {
"bus_factor": 1,
"contributors_sampled": 25,
"top_contributor_share": 0.891
},
"components": [
{
"key": "bus_factor",
"name": "Bus factor",
"detail": "1 contributor(s) cover half of all commits",
"points": 9,
"status": "partial",
"details": [
{
"code": "bus_factor",
"params": {
"count": 1
}
}
],
"max_points": 54
},
{
"key": "commit_distribution",
"name": "Commit distribution",
"detail": "top contributor authored 89% of commits",
"points": 2.5,
"status": "partial",
"details": [
{
"code": "top_contributor_share",
"params": {
"share": 89
}
}
],
"max_points": 22.5
},
{
"key": "contributor_breadth",
"name": "Contributor breadth",
"detail": "25 contributors",
"points": 13.5,
"status": "met",
"details": [
{
"code": "contributors_sampled",
"params": {
"count": 25
}
}
],
"max_points": 13.5
},
{
"key": "openssf_scorecard_contributors",
"name": "OpenSSF Scorecard: Contributors",
"detail": "project has 16 contributing companies or organizations",
"points": 10,
"status": "met",
"details": [],
"max_points": 10
}
]
},
{
"key": "responsiveness",
"band": "good",
"name": "Issue & PR responsiveness",
"note": "Excluded from scoring (no data or not applicable): Newcomer PR acceptance. Remaining weights renormalized.",
"notes": [
{
"code": "excluded_no_data",
"params": {
"components": [
"newcomer_pr_acceptance"
]
}
},
{
"code": "weights_renormalized",
"params": {}
}
],
"value": 71,
"inputs": {
"merged_prs": 270,
"open_issues": 61,
"closed_issues": 107,
"prs_merged_7d": null,
"prs_decided_7d": null,
"prs_merged_30d": null,
"prs_decided_30d": null,
"issue_closed_ratio": 0.637,
"closed_unmerged_prs": 41,
"first_time_authors_30d": null,
"first_time_prs_merged_30d": null,
"first_time_prs_decided_30d": null
},
"components": [
{
"key": "issue_resolution",
"name": "Issue resolution",
"detail": "64% of issues closed",
"points": 26.8,
"status": "partial",
"details": [
{
"code": "issues_closed_share",
"params": {
"share": 64
}
}
],
"max_points": 42
},
{
"key": "pr_acceptance",
"name": "PR acceptance",
"detail": "270/311 decided PRs merged",
"points": 26,
"status": "partial",
"details": [
{
"code": "decided_prs_merged",
"params": {
"merged": 270,
"decided": 311
}
}
],
"max_points": 30
},
{
"key": "newcomer_pr_acceptance",
"name": "Newcomer PR acceptance",
"detail": "no first-time contributor's PR decided in 30d",
"points": 0,
"status": "excluded",
"details": [
{
"code": "no_newcomer_prs",
"params": {
"days": 30
}
}
],
"max_points": 13
},
{
"key": "openssf_scorecard_code_review",
"name": "OpenSSF Scorecard: Code-Review",
"detail": "Found 14/22 approved changesets -- score normalized to 6",
"points": 9,
"status": "partial",
"details": [],
"max_points": 15
}
]
},
{
"key": "stewardship",
"band": "good",
"name": "Ownership & stewardship",
"note": "Excluded from scoring (no data or not applicable): Verified domain. Remaining weights renormalized.",
"notes": [
{
"code": "excluded_no_data",
"params": {
"components": [
"verified_domain"
]
}
},
{
"code": "weights_renormalized",
"params": {}
}
],
"value": 70,
"inputs": {
"followers": 844,
"owner_type": "User",
"is_verified": null,
"owner_login": "quasilyte",
"public_repos": 169,
"account_age_days": 4595
},
"components": [
{
"key": "ownership_backing",
"name": "Ownership backing",
"detail": "personal (user) account",
"points": 10,
"status": "partial",
"details": [
{
"code": "owner_personal",
"params": {}
}
],
"max_points": 30
},
{
"key": "verified_domain",
"name": "Verified domain",
"detail": "not applicable to user accounts",
"points": 0,
"status": "excluded",
"details": [
{
"code": "not_applicable_to_user_accounts",
"params": {}
}
],
"max_points": 20
},
{
"key": "owner_reach",
"name": "Owner reach",
"detail": "844 followers of quasilyte",
"points": 21,
"status": "partial",
"details": [
{
"code": "owner_followers",
"params": {
"count": 844,
"login": "quasilyte"
}
}
],
"max_points": 25
},
{
"key": "track_record",
"name": "Track record",
"detail": "169 public repos, account ~12 yr old",
"points": 25,
"status": "met",
"details": [
{
"code": "public_repos",
"params": {
"count": 169
}
},
{
"code": "account_age_years",
"params": {
"years": 12
}
}
],
"max_points": 25
}
]
},
{
"key": "package_maintenance",
"band": "excellent",
"name": "Package maintenance",
"note": null,
"notes": [],
"value": 91,
"inputs": {
"packages": [
"github.com/quasilyte/go-ruleguard",
"github.com/quasilyte/go-ruleguard/dsl"
],
"ecosystems": "go",
"any_deprecated": false,
"min_days_since_publish": 308
},
"components": [
{
"key": "published_resolvable",
"name": "Published & resolvable",
"detail": "2 package(s) on go",
"points": 25,
"status": "met",
"details": [
{
"code": "packages_published",
"params": {
"count": 2,
"ecosystems": "go"
}
}
],
"max_points": 25
},
{
"key": "publish_recency",
"name": "Publish recency",
"detail": "latest publish 308 days ago",
"points": 26,
"status": "partial",
"details": [
{
"code": "publish_recency",
"params": {
"days": 308
}
}
],
"max_points": 35
},
{
"key": "version_history",
"name": "Version history",
"detail": "35 published versions",
"points": 20,
"status": "met",
"details": [
{
"code": "published_versions",
"params": {
"count": 35
}
}
],
"max_points": 20
},
{
"key": "not_deprecated",
"name": "Not deprecated",
"detail": "active, not deprecated or yanked",
"points": 20,
"status": "met",
"details": [
{
"code": "package_not_deprecated",
"params": {}
}
],
"max_points": 20
}
]
}
],
"description": "Will the project survive its people — bus factor, responsiveness, who backs it, and package upkeep?"
},
{
"key": "engineering",
"band": "good",
"name": "Engineering Quality",
"value": 68,
"weight": 0.19,
"metrics": [
{
"key": "engineering_practices",
"band": "moderate",
"name": "Engineering practices",
"note": null,
"notes": [],
"value": 64,
"inputs": {
"has_ci": true,
"has_tests": true,
"has_editorconfig": false,
"has_linter_config": true,
"has_precommit_config": false
},
"components": [
{
"key": "ci_workflows",
"name": "CI workflows",
"detail": "3 workflow(s)",
"points": 24,
"status": "met",
"details": [
{
"code": "ci_workflows",
"params": {
"count": 3
}
}
],
"max_points": 24
},
{
"key": "tests_present",
"name": "Tests present",
"detail": null,
"points": 24,
"status": "met",
"details": [],
"max_points": 24
},
{
"key": "linter_config",
"name": "Linter config",
"detail": ".golangci.yml",
"points": 16,
"status": "met",
"details": [
{
"code": "file_list",
"params": {
"files": ".golangci.yml"
}
}
],
"max_points": 16
},
{
"key": "pre_commit_hooks",
"name": "Pre-commit hooks",
"detail": null,
"points": 0,
"status": "missed",
"details": [],
"max_points": 9.6
},
{
"key": "editorconfig",
"name": ".editorconfig",
"detail": null,
"points": 0,
"status": "missed",
"details": [],
"max_points": 6.4
},
{
"key": "openssf_scorecard_ci_tests",
"name": "OpenSSF Scorecard: CI-Tests",
"detail": "0 out of 27 merged PRs checked by a CI test -- score normalized to 0",
"points": 0,
"status": "missed",
"details": [],
"max_points": 20
}
]
},
{
"key": "documentation",
"band": "good",
"name": "Documentation",
"note": null,
"notes": [],
"value": 75,
"inputs": {
"topics": [
"go",
"golang",
"gogrep",
"linter",
"static-analysis",
"ruleguard",
"go-analysis",
"analysis",
"dynamic-rules",
"codeql",
"semgrep"
],
"has_wiki": true,
"homepage": "https://go-ruleguard.github.io/",
"has_readme": true,
"has_docs_dir": false,
"has_description": true
},
"components": [
{
"key": "readme",
"name": "README",
"detail": null,
"points": 30,
"status": "met",
"details": [],
"max_points": 30
},
{
"key": "documentation_directory",
"name": "Documentation directory",
"detail": null,
"points": 0,
"status": "missed",
"details": [],
"max_points": 25
},
{
"key": "documentation_homepage_site",
"name": "Documentation / homepage site",
"detail": "https://go-ruleguard.github.io/",
"points": 15,
"status": "met",
"details": [],
"max_points": 15
},
{
"key": "repository_description",
"name": "Repository description",
"detail": null,
"points": 10,
"status": "met",
"details": [],
"max_points": 10
},
{
"key": "topics",
"name": "Topics",
"detail": "11 topics",
"points": 10,
"status": "met",
"details": [
{
"code": "topics_count",
"params": {
"count": 11
}
}
],
"max_points": 10
},
{
"key": "wiki",
"name": "Wiki",
"detail": null,
"points": 10,
"status": "met",
"details": [],
"max_points": 10
}
]
}
],
"description": "Are baseline engineering and documentation practices in place?"
},
{
"key": "security",
"band": "weak",
"name": "Security",
"value": 47,
"weight": 0.16,
"metrics": [
{
"key": "security_posture",
"band": "at_risk",
"name": "Security posture",
"note": "Excluded from scoring (no data or not applicable): Branch-Protection, Packaging, Signed-Releases. Remaining weights renormalized. High-Risk Jurisdiction Policy applies a 75% multiplier to Security posture and gives it an At Risk ceiling of 34.",
"notes": [
{
"code": "excluded_no_data",
"params": {
"components": [
"branch_protection",
"packaging",
"signed_releases"
]
}
},
{
"code": "weights_renormalized",
"params": {}
},
{
"code": "jurisdiction_posture_adjustment",
"params": {
"cap": 34,
"pct": 75
}
}
],
"value": 34,
"inputs": {
"source": "openssf_scorecard",
"checks_evaluated": 15,
"scorecard_version": "v5.5.0",
"checks_inconclusive": 3,
"scorecard_aggregate": 4.7,
"high_risk_jurisdiction_cap": 34,
"high_risk_jurisdiction_multiplier": 75,
"security_posture_after_multiplier": 35,
"security_posture_before_jurisdiction": 47
},
"components": [
{
"key": "binary_artifacts",
"name": "Binary-Artifacts",
"detail": "no binaries found in the repo",
"points": 7.5,
"status": "met",
"details": [],
"max_points": 7.5
},
{
"key": "branch_protection",
"name": "Branch-Protection",
"detail": "internal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md",
"points": 0,
"status": "excluded",
"details": [
{
"code": "no_data",
"params": {}
}
],
"max_points": 7.5
},
{
"key": "ci_tests",
"name": "CI-Tests",
"detail": "0 out of 27 merged PRs checked by a CI test -- score normalized to 0",
"points": 0,
"status": "missed",
"details": [],
"max_points": 2.5
},
{
"key": "cii_best_practices",
"name": "CII-Best-Practices",
"detail": "no effort to earn an OpenSSF best practices badge detected",
"points": 0,
"status": "missed",
"details": [],
"max_points": 2.5
},
{
"key": "code_review",
"name": "Code-Review",
"detail": "Found 14/22 approved changesets -- score normalized to 6",
"points": 4.5,
"status": "partial",
"details": [],
"max_points": 7.5
},
{
"key": "contributors",
"name": "Contributors",
"detail": "project has 16 contributing companies or organizations",
"points": 2.5,
"status": "met",
"details": [],
"max_points": 2.5
},
{
"key": "dangerous_workflow",
"name": "Dangerous-Workflow",
"detail": "no dangerous workflow patterns detected",
"points": 10,
"status": "met",
"details": [],
"max_points": 10
},
{
"key": "dependency_update_tool",
"name": "Dependency-Update-Tool",
"detail": "update tool detected",
"points": 7.5,
"status": "met",
"details": [],
"max_points": 7.5
},
{
"key": "fuzzing",
"name": "Fuzzing",
"detail": "project is not fuzzed",
"points": 0,
"status": "missed",
"details": [],
"max_points": 5
},
{
"key": "license",
"name": "License",
"detail": "license file detected",
"points": 2.5,
"status": "met",
"details": [],
"max_points": 2.5
},
{
"key": "maintained",
"name": "Maintained",
"detail": "0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0",
"points": 0,
"status": "missed",
"details": [],
"max_points": 7.5
},
{
"key": "packaging",
"name": "Packaging",
"detail": "packaging workflow not detected",
"points": 0,
"status": "excluded",
"details": [
{
"code": "no_data",
"params": {}
}
],
"max_points": 5
},
{
"key": "pinned_dependencies",
"name": "Pinned-Dependencies",
"detail": "dependency not pinned by hash detected -- score normalized to 0",
"points": 0,
"status": "missed",
"details": [],
"max_points": 5
},
{
"key": "sast",
"name": "SAST",
"detail": "SAST tool is not run on all commits -- score normalized to 0",
"points": 0,
"status": "missed",
"details": [],
"max_points": 5
},
{
"key": "security_policy",
"name": "Security-Policy",
"detail": "security policy file not detected",
"points": 0,
"status": "missed",
"details": [],
"max_points": 5
},
{
"key": "signed_releases",
"name": "Signed-Releases",
"detail": "no releases found",
"points": 0,
"status": "excluded",
"details": [
{
"code": "no_data",
"params": {}
}
],
"max_points": 7.5
},
{
"key": "token_permissions",
"name": "Token-Permissions",
"detail": "detected GitHub workflow tokens with excessive permissions",
"points": 0,
"status": "missed",
"details": [],
"max_points": 7.5
},
{
"key": "vulnerabilities",
"name": "Vulnerabilities",
"detail": "3 existing vulnerabilities detected",
"points": 5.2,
"status": "partial",
"details": [],
"max_points": 7.5
}
]
},
{
"key": "dependency_advisories",
"band": "exceptional",
"name": "Dependency advisories",
"note": "Excluded from scoring (no data or not applicable): Indirect dependencies free of known advisories, No advisories left outstanding. Remaining weights renormalized. Matched 24 resolved dependencies against OSV. This repository publishes no package the index resolves, so the repository dependency graph was assessed instead. That graph mixes development and test pins with shipped dependencies, so only the declared runtime dependencies are scored; transitive findings are reported as context and excluded from the score. Reachability is not analyzed.",
"notes": [
{
"code": "excluded_no_data",
"params": {
"components": [
"indirect_dependencies_free_of_known_advisories",
"no_advisories_left_outstanding"
]
}
},
{
"code": "weights_renormalized",
"params": {}
},
{
"code": "advisories_scope_repository",
"params": {
"assessed": 24
}
},
{
"code": "advisories_repo_graph_caveat",
"params": {}
},
{
"code": "advisories_reachability",
"params": {}
}
],
"value": 100,
"inputs": {
"source": "osv",
"advisories": 0,
"affected_packages": 0,
"assessed_packages": 24,
"unassessed_packages": 0,
"affected_by_severity": "none",
"direct_affected_packages": 0
},
"components": [
{
"key": "direct_dependencies_free_of_known_advisories",
"name": "Direct dependencies free of known advisories",
"detail": "no direct dependency carries a known advisory",
"points": 35,
"status": "met",
"details": [
{
"code": "no_direct_advisories",
"params": {}
}
],
"max_points": 35
},
{
"key": "indirect_dependencies_free_of_known_advisories",
"name": "Indirect dependencies free of known advisories",
"detail": "transitive set not separable from development and test dependencies in this scope",
"points": 0,
"status": "excluded",
"details": [
{
"code": "advisories_scope_not_separable",
"params": {}
}
],
"max_points": 25
},
{
"key": "no_advisories_left_outstanding",
"name": "No advisories left outstanding",
"detail": "no advisory carries a publication date",
"points": 0,
"status": "excluded",
"details": [
{
"code": "advisories_no_publication_date",
"params": {}
}
],
"max_points": 40
}
]
},
{
"key": "malicious_dependencies",
"band": "exceptional",
"name": "Malicious dependencies",
"note": null,
"notes": [],
"value": 100,
"inputs": {
"source": "osv",
"meaning": "reported as a malicious package by the OpenSSF corpus; the remedy is removal or moving off the compromised name, never an upgrade of the same artifact. Versions the registry has since pulled are listed but not scored",
"packages": [],
"red_flag": false,
"assessed_packages": 24,
"malicious_packages": 0,
"direct_malicious_packages": 0,
"withdrawn_malicious_packages": 0,
"installable_malicious_packages": 0
},
"components": [
{
"key": "no_dependency_reported_as_a_malicious_package",
"name": "No dependency reported as a malicious package",
"detail": "no dependency is reported as a malicious package",
"points": 100,
"status": "met",
"details": [
{
"code": "no_malicious_dependencies",
"params": {}
}
],
"max_points": 100
}
]
},
{
"key": "high_risk_jurisdiction_exposure",
"band": "good",
"name": "High-Risk Jurisdiction Exposure",
"note": "Only high-confidence self-published location evidence affects this multiplier. Ambiguous matches are review-only; country evidence is not proof of nationality, citizenship, legal registration, malicious intent, or sanctions status.",
"notes": [
{
"code": "jurisdiction_evidence_limits",
"params": {}
}
],
"value": 75,
"inputs": {
"meaning": "self-published location evidence; not nationality or citizenship",
"red_flag": true,
"exposures": [
{
"role": "contributor_organization",
"count": 1,
"country": "Russia"
}
],
"policy_countries": [
"Russia",
"Iran",
"North Korea"
],
"commit_weight_rule": {
"min_commits": 50,
"min_commit_share": 0.1
},
"review_only_matches": 0,
"below_threshold_exposures": [],
"assessed_self_published_locations": 18
},
"components": [
{
"key": "policy_exposure_multiplier",
"name": "Policy exposure multiplier",
"detail": "Russia: contributor_organization (1)",
"points": 75,
"status": "partial",
"details": [
{
"code": "jurisdiction_exposure",
"params": {
"role": "contributor_organization",
"count": 1,
"country": "Russia"
}
}
],
"max_points": 100
}
]
}
],
"description": "Are visible security and supply-chain practices strong, with no malicious dependency and no unresolved high-risk jurisdiction exposure?"
},
{
"key": "ai_readiness",
"band": "good",
"name": "AI Readiness",
"value": 69,
"weight": 0.04,
"metrics": [
{
"key": "ai_agent_context",
"band": "weak",
"name": "Agent context & guidance",
"note": null,
"notes": [],
"value": 40,
"inputs": {
"has_llms_txt": false,
"legible_history_share": 0.772,
"agent_instruction_files": [],
"agent_instruction_max_bytes": null
},
"components": [
{
"key": "agent_instructions",
"name": "Agent instructions",
"detail": "no CLAUDE.md / AGENTS.md / editor rules",
"points": 0,
"status": "missed",
"details": [
{
"code": "no_agent_instructions",
"params": {}
}
],
"max_points": 45
},
{
"key": "machine_readable_docs_llms_txt",
"name": "Machine-readable docs (llms.txt)",
"detail": null,
"points": 0,
"status": "missed",
"details": [],
"max_points": 15
},
{
"key": "legible_commit_history",
"name": "Legible commit history",
"detail": "71 of 92 human commits state their intent (structured subject or explanatory body)",
"points": 40,
"status": "met",
"details": [
{
"code": "legible_history",
"params": {
"legible": 71,
"sampled": 92
}
}
],
"max_points": 40
}
]
},
{
"key": "ai_verify_loop",
"band": "excellent",
"name": "Verify loop (build / test / typecheck)",
"note": null,
"notes": [],
"value": 80,
"inputs": {
"has_nix": false,
"has_tests": true,
"lockfiles": [
"go.sum"
],
"has_dockerfile": true,
"typed_language": true,
"bootstrap_files": [
"Makefile"
],
"has_devcontainer": false,
"has_linter_config": true,
"typecheck_configs": [],
"agent_commit_share": 0,
"toolchain_manifests": [
"_test/regress/issue193/go.mod",
"_test/regress/issue317/go.mod",
"cmd/gorules/go.mod",
"dsl/go.mod",
"go.mod",
"rules/go.mod"
],
"dependency_bot_commit_share": 0.08
},
"components": [
{
"key": "one_command_bootstrap",
"name": "One-command bootstrap",
"detail": "Makefile",
"points": 18,
"status": "met",
"details": [
{
"code": "file_list",
"params": {
"files": "Makefile"
}
}
],
"max_points": 18
},
{
"key": "automated_tests",
"name": "Automated tests",
"detail": null,
"points": 22,
"status": "met",
"details": [],
"max_points": 22
},
{
"key": "lint_format_config",
"name": "Lint / format config",
"detail": ".golangci.yml",
"points": 11,
"status": "met",
"details": [
{
"code": "file_list",
"params": {
"files": ".golangci.yml"
}
}
],
"max_points": 11
},
{
"key": "static_type_checking",
"name": "Static type checking",
"detail": "Go (statically typed)",
"points": 11,
"status": "met",
"details": [
{
"code": "statically_typed_language",
"params": {
"language": "Go"
}
}
],
"max_points": 11
},
{
"key": "reproducible_environment",
"name": "Reproducible environment",
"detail": "Dockerfile, lockfile",
"points": 10,
"status": "met",
"details": [
{
"code": "file_list",
"params": {
"files": "Dockerfile, lockfile"
}
}
],
"max_points": 10
},
{
"key": "demonstrated_agent_practice",
"name": "Demonstrated agent practice",
"detail": "no agent-authored commits among the last 100",
"points": 0,
"status": "missed",
"details": [
{
"code": "no_agent_authored_commits",
"params": {
"sampled": 100
}
}
],
"max_points": 10
},
{
"key": "automated_maintenance",
"name": "Automated maintenance",
"detail": "8 of the last 100 commits are automated dependency updates",
"points": 8,
"status": "met",
"details": [
{
"code": "dependency_bot_commits",
"params": {
"count": 8,
"sampled": 100
}
}
],
"max_points": 8
},
{
"key": "openssf_scorecard_pinned_dependencies",
"name": "OpenSSF Scorecard: Pinned-Dependencies",
"detail": "dependency not pinned by hash detected -- score normalized to 0",
"points": 0,
"status": "missed",
"details": [],
"max_points": 10
}
]
},
{
"key": "ai_code_legibility",
"band": "exceptional",
"name": "Code legibility for models",
"note": null,
"notes": [],
"value": 100,
"inputs": {
"primary_language": "Go",
"largest_source_bytes": 36860,
"source_files_sampled": 190,
"oversized_source_files": 0
},
"components": [
{
"key": "type_checkable_code",
"name": "Type-checkable code",
"detail": "Go (statically typed)",
"points": 45,
"status": "met",
"details": [
{
"code": "statically_typed_language",
"params": {
"language": "Go"
}
}
],
"max_points": 45
},
{
"key": "manageable_file_sizes",
"name": "Manageable file sizes",
"detail": "0/190 source files over 60KB",
"points": 55,
"status": "met",
"details": [
{
"code": "oversized_source_files",
"params": {
"kb": 60,
"sampled": 190,
"oversized": 0
}
}
],
"max_points": 55
}
]
}
],
"description": "How well is the repo equipped to be developed and maintained with AI coding agents? Carries a deliberately small weight: agent tooling is a real maintenance signal, but its absence must never gate the top of the scale (calibration saturates at raw 91, so 100/100 remains reachable with AI Readiness at zero)."
}
],
"classification": {
"top": [],
"labels": [],
"scores": {
"cli": 2,
"library": 3
},
"primary": null,
"evidence": [
{
"tier": "distribution",
"label": "library",
"source": "registry:go",
"weight": 3
},
{
"tier": "tags",
"label": "cli",
"source": "tag:linter",
"weight": 2
}
],
"artifacts": [],
"confidence": "none",
"host_extension": false,
"runs_as_process": false,
"consumed_by_code": false
},
"metrics_version": "2.5.0"
},
"warnings": [
"Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token"
],
"report_type": "repository",
"generated_at": "2026-07-30T23:05:46.835431Z",
"schema_version": "0.27.0",
"badge_url": "https://raw.githubusercontent.com/inspect-software/badges/main/v1/q/quasilyte/go-ruleguard.svg",
"full_name": "quasilyte/go-ruleguard",
"license_state": "standard",
"license_spdx": "BSD-3-Clause"
}