runtimeverification / runtimeverification/kontrol

Investigate conflict between `--foundry-project-root` and lemmas paths

Open
#683 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
122
Forks
16
PR merge metrics
No merged PRs in 30d

Description

When using --foundry-project-root, kontrol build throws an error due to inability to find the lemmas.k file specified in foundry.toml:

require                    = 'lemmas.k'
module-import              = 'TestBase:KONTROL-LEMMAS'

We should ensure that the require parameter gets appended to the path provided via --foundry-project-root.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure with kontrol build, --foundry-project-root, and the foundry.toml entries shown in the issue. Trace how the require path is resolved relative to the project root, then verify that lemmas.k is found through the configured root and that the build succeeds.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system, cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.